AbsoluteWaitCriteria Specifies the absolute wait criteria. You can specify fixed length of wait duration.
type AbsoluteWaitCriteria struct { // The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days. WaitDuration *string `mandatory:"true" json:"waitDuration"` }
func (m AbsoluteWaitCriteria) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AbsoluteWaitCriteria) String() string
AbsoluteWaitCriteriaSummary Specifies the absolute wait criteria, user can specify fixed length of wait duration.
type AbsoluteWaitCriteriaSummary struct { // The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days. WaitDuration *string `mandatory:"false" json:"waitDuration"` }
func (m AbsoluteWaitCriteriaSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AbsoluteWaitCriteriaSummary) String() string
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
ApprovalAction Information about the approval action of DevOps deployment stages.
type ApprovalAction struct { // The subject ID of the user who approves or disapproves a DevOps deployment stage. SubjectId *string `mandatory:"true" json:"subjectId"` // The action of the user on the DevOps deployment stage. Action ApprovalActionActionEnum `mandatory:"true" json:"action"` }
func (m ApprovalAction) String() string
ApprovalActionActionEnum Enum with underlying type: string
type ApprovalActionActionEnum string
Set of constants representing the allowable values for ApprovalActionActionEnum
const ( ApprovalActionActionApprove ApprovalActionActionEnum = "APPROVE" ApprovalActionActionReject ApprovalActionActionEnum = "REJECT" )
func GetApprovalActionActionEnumValues() []ApprovalActionActionEnum
GetApprovalActionActionEnumValues Enumerates the set of values for ApprovalActionActionEnum
ApprovalPolicy Specifies the approval policy.
type ApprovalPolicy interface { }
ApprovalPolicyApprovalPolicyTypeEnum Enum with underlying type: string
type ApprovalPolicyApprovalPolicyTypeEnum string
Set of constants representing the allowable values for ApprovalPolicyApprovalPolicyTypeEnum
const ( ApprovalPolicyApprovalPolicyTypeCountBasedApproval ApprovalPolicyApprovalPolicyTypeEnum = "COUNT_BASED_APPROVAL" )
func GetApprovalPolicyApprovalPolicyTypeEnumValues() []ApprovalPolicyApprovalPolicyTypeEnum
GetApprovalPolicyApprovalPolicyTypeEnumValues Enumerates the set of values for ApprovalPolicyApprovalPolicyTypeEnum
ApproveDeploymentDetails The stage information for submitting for approval.
type ApproveDeploymentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the stage which is marked for approval. DeployStageId *string `mandatory:"true" json:"deployStageId"` // The action of Approve or Reject. Action ApproveDeploymentDetailsActionEnum `mandatory:"true" json:"action"` // The reason for approving or rejecting the deployment. Reason *string `mandatory:"false" json:"reason"` }
func (m ApproveDeploymentDetails) String() string
ApproveDeploymentDetailsActionEnum Enum with underlying type: string
type ApproveDeploymentDetailsActionEnum string
Set of constants representing the allowable values for ApproveDeploymentDetailsActionEnum
const ( ApproveDeploymentDetailsActionApprove ApproveDeploymentDetailsActionEnum = "APPROVE" ApproveDeploymentDetailsActionReject ApproveDeploymentDetailsActionEnum = "REJECT" )
func GetApproveDeploymentDetailsActionEnumValues() []ApproveDeploymentDetailsActionEnum
GetApproveDeploymentDetailsActionEnumValues Enumerates the set of values for ApproveDeploymentDetailsActionEnum
ApproveDeploymentRequest wrapper for the ApproveDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ApproveDeployment.go.html to see an example of how to use ApproveDeploymentRequest.
type ApproveDeploymentRequest struct { // Unique deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // The stage information for approval. ApproveDeploymentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ApproveDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ApproveDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ApproveDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ApproveDeploymentRequest) String() string
ApproveDeploymentResponse wrapper for the ApproveDeployment operation
type ApproveDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The Deployment instance Deployment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ApproveDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ApproveDeploymentResponse) String() string
AutomatedDeployStageRollbackPolicy Specifies the automated rollback policy for a stage on failure.
type AutomatedDeployStageRollbackPolicy struct { }
func (m AutomatedDeployStageRollbackPolicy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m AutomatedDeployStageRollbackPolicy) String() string
BackendSetIpCollection Collection of backend environment IP addresses.
type BackendSetIpCollection struct { // The IP address of the backend server. A server could be a compute instance or a load balancer. Items []string `mandatory:"false" json:"items"` }
func (m BackendSetIpCollection) String() string
CancelDeploymentDetails The information regarding the deployment to be canceled.
type CancelDeploymentDetails struct { // The reason for canceling the deployment. Reason *string `mandatory:"true" json:"reason"` }
func (m CancelDeploymentDetails) String() string
CancelDeploymentRequest wrapper for the CancelDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CancelDeployment.go.html to see an example of how to use CancelDeploymentRequest.
type CancelDeploymentRequest struct { // Unique deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // The information regarding the deployment to be canceled. CancelDeploymentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CancelDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelDeploymentRequest) String() string
CancelDeploymentResponse wrapper for the CancelDeployment operation
type CancelDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The Deployment instance Deployment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelDeploymentResponse) String() string
ChangeProjectCompartmentDetails The OCID of the compartment to which the project must be moved to.
type ChangeProjectCompartmentDetails struct { // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to which the resource must be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
func (m ChangeProjectCompartmentDetails) String() string
ChangeProjectCompartmentRequest wrapper for the ChangeProjectCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartmentRequest.
type ChangeProjectCompartmentRequest struct { // Unique project identifier. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // The information to be updated. ChangeProjectCompartmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeProjectCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeProjectCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeProjectCompartmentRequest) String() string
ChangeProjectCompartmentResponse wrapper for the ChangeProjectCompartment operation
type ChangeProjectCompartmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ChangeProjectCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeProjectCompartmentResponse) String() string
ComputeInstanceGroupBlueGreenDeployStageExecutionProgress Specifies the instance group blue-green deployment stage.
type ComputeInstanceGroupBlueGreenDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) String() string
ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress Specifies the instance group blue-green deployment load balancer traffic shift stage.
type ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) String() string
ComputeInstanceGroupByIdsSelector Specifies the Compute instance group environment by listing the OCIDs of the compute instances.
type ComputeInstanceGroupByIdsSelector struct { // Compute instance OCID identifiers that are members of this group. ComputeInstanceIds []string `mandatory:"true" json:"computeInstanceIds"` }
func (m ComputeInstanceGroupByIdsSelector) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupByIdsSelector) String() string
ComputeInstanceGroupByQuerySelector Specifies the Compute instance group environment filtered by DSL expression of the compute instances.
type ComputeInstanceGroupByQuerySelector struct { // Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm Region *string `mandatory:"true" json:"region"` // Query expression confirming to the OCI Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm Query *string `mandatory:"true" json:"query"` }
func (m ComputeInstanceGroupByQuerySelector) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupByQuerySelector) String() string
ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress Specifies the Canary approval stage.
type ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` ApprovalActions []ApprovalAction `mandatory:"false" json:"approvalActions"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) String() string
ComputeInstanceGroupCanaryDeployStageExecutionProgress Specifies the Instance Group Canary deployment stage.
type ComputeInstanceGroupCanaryDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) String() string
ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress Specifies the Instance Group Canary deployment load balancer traffic shift stage.
type ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) String() string
ComputeInstanceGroupDeployEnvironment Specifies the Compute instance group environment. The instances in the group is the combined results of each selectors in the instance group selectors.
type ComputeInstanceGroupDeployEnvironment struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` ComputeInstanceGroupSelectors *ComputeInstanceGroupSelectorCollection `mandatory:"true" json:"computeInstanceGroupSelectors"` // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment environment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment environment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment environment. LifecycleState DeployEnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupDeployEnvironment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupDeployEnvironment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupDeployEnvironment) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupDeployEnvironment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupDeployEnvironment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupDeployEnvironment) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupDeployEnvironment) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupDeployEnvironment) GetLifecycleState() DeployEnvironmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupDeployEnvironment) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupDeployEnvironment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupDeployEnvironment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupDeployEnvironment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupDeployEnvironment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupDeployEnvironment) String() string
ComputeInstanceGroupDeployEnvironmentSummary Specifies the Compute instance group environment.
type ComputeInstanceGroupDeployEnvironmentSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` ComputeInstanceGroupSelectors *ComputeInstanceGroupSelectorCollection `mandatory:"true" json:"computeInstanceGroupSelectors"` // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name, which can be renamed and is not necessarily unique. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment environment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment environment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment environment. LifecycleState DeployEnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetLifecycleState() DeployEnvironmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupDeployEnvironmentSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupDeployEnvironmentSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupDeployEnvironmentSummary) String() string
ComputeInstanceGroupDeployStage Specifies the instance group rolling deployment stage.
type ComputeInstanceGroupDeployStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A compute instance group environment OCID for rolling deployment. ComputeInstanceGroupDeployEnvironmentId *string `mandatory:"true" json:"computeInstanceGroupDeployEnvironmentId"` // The OCID of the artifact that contains the deployment specification. DeploymentSpecDeployArtifactId *string `mandatory:"true" json:"deploymentSpecDeployArtifactId"` RolloutPolicy ComputeInstanceGroupRolloutPolicy `mandatory:"true" json:"rolloutPolicy"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Additional file artifact OCIDs. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` FailurePolicy ComputeInstanceGroupFailurePolicy `mandatory:"false" json:"failurePolicy"` LoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"loadBalancerConfig"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupDeployStage) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupDeployStage) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupDeployStage) String() string
func (m *ComputeInstanceGroupDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ComputeInstanceGroupDeployStageExecutionProgress Specifies the execution details for the instance group rolling deployment stage.
type ComputeInstanceGroupDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m ComputeInstanceGroupDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m ComputeInstanceGroupDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m ComputeInstanceGroupDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m ComputeInstanceGroupDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m ComputeInstanceGroupDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m ComputeInstanceGroupDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m ComputeInstanceGroupDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m ComputeInstanceGroupDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupDeployStageExecutionProgress) String() string
ComputeInstanceGroupDeployStageSummary Specifies the instance group rolling deployment stage.
type ComputeInstanceGroupDeployStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A compute instance group environment OCID for rolling deployment. ComputeInstanceGroupDeployEnvironmentId *string `mandatory:"true" json:"computeInstanceGroupDeployEnvironmentId"` // The OCID of the artifact that contains the deployment specification. DeploymentSpecDeployArtifactId *string `mandatory:"true" json:"deploymentSpecDeployArtifactId"` RolloutPolicy ComputeInstanceGroupRolloutPolicy `mandatory:"true" json:"rolloutPolicy"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Additional file artifact OCIDs. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` FailurePolicy ComputeInstanceGroupFailurePolicy `mandatory:"false" json:"failurePolicy"` LoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"loadBalancerConfig"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupDeployStageSummary) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupDeployStageSummary) String() string
func (m *ComputeInstanceGroupDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ComputeInstanceGroupFailurePolicy Specifies a failure policy for a compute instance group rolling deployment stage.
type ComputeInstanceGroupFailurePolicy interface { }
ComputeInstanceGroupFailurePolicyByCount Specifies a failure policy by count for a compute instance group rolling deployment stage.
type ComputeInstanceGroupFailurePolicyByCount struct { // The threshold count of failed instances in the group, which when reached or exceeded sets the stage as FAILED. FailureCount *int `mandatory:"true" json:"failureCount"` }
func (m ComputeInstanceGroupFailurePolicyByCount) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupFailurePolicyByCount) String() string
ComputeInstanceGroupFailurePolicyByPercentage Specifies a failure policy by percentage for a compute instance group rolling deployment stage.
type ComputeInstanceGroupFailurePolicyByPercentage struct { // The failure percentage threshold, which when reached or exceeded sets the stage as FAILED. Percentage is computed as the ceiling value of the number of failed instances over the total count of the instances in the group. FailurePercentage *int `mandatory:"true" json:"failurePercentage"` }
func (m ComputeInstanceGroupFailurePolicyByPercentage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupFailurePolicyByPercentage) String() string
ComputeInstanceGroupFailurePolicyPolicyTypeEnum Enum with underlying type: string
type ComputeInstanceGroupFailurePolicyPolicyTypeEnum string
Set of constants representing the allowable values for ComputeInstanceGroupFailurePolicyPolicyTypeEnum
const ( ComputeInstanceGroupFailurePolicyPolicyTypeCount ComputeInstanceGroupFailurePolicyPolicyTypeEnum = "COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_COUNT" ComputeInstanceGroupFailurePolicyPolicyTypePercentage ComputeInstanceGroupFailurePolicyPolicyTypeEnum = "COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_PERCENTAGE" )
func GetComputeInstanceGroupFailurePolicyPolicyTypeEnumValues() []ComputeInstanceGroupFailurePolicyPolicyTypeEnum
GetComputeInstanceGroupFailurePolicyPolicyTypeEnumValues Enumerates the set of values for ComputeInstanceGroupFailurePolicyPolicyTypeEnum
ComputeInstanceGroupLinearRolloutPolicyByCount Specifies a linear rollout strategy for a compute instance group rolling deployment stage.
type ComputeInstanceGroupLinearRolloutPolicyByCount struct { // The number that will be used to determine how many instances will be deployed concurrently. BatchCount *int `mandatory:"true" json:"batchCount"` // The duration of delay between batch rollout. The default delay is 1 minute. BatchDelayInSeconds *int `mandatory:"false" json:"batchDelayInSeconds"` }
func (m ComputeInstanceGroupLinearRolloutPolicyByCount) GetBatchDelayInSeconds() *int
GetBatchDelayInSeconds returns BatchDelayInSeconds
func (m ComputeInstanceGroupLinearRolloutPolicyByCount) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupLinearRolloutPolicyByCount) String() string
ComputeInstanceGroupLinearRolloutPolicyByPercentage Specifies a linear rollout strategy for a compute instance group rolling deployment stage.
type ComputeInstanceGroupLinearRolloutPolicyByPercentage struct { // The percentage that will be used to determine how many instances will be deployed concurrently. BatchPercentage *int `mandatory:"true" json:"batchPercentage"` // The duration of delay between batch rollout. The default delay is 1 minute. BatchDelayInSeconds *int `mandatory:"false" json:"batchDelayInSeconds"` }
func (m ComputeInstanceGroupLinearRolloutPolicyByPercentage) GetBatchDelayInSeconds() *int
GetBatchDelayInSeconds returns BatchDelayInSeconds
func (m ComputeInstanceGroupLinearRolloutPolicyByPercentage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupLinearRolloutPolicyByPercentage) String() string
ComputeInstanceGroupRolloutPolicy Specifies the rollout policy for compute instance group stages.
type ComputeInstanceGroupRolloutPolicy interface { // The duration of delay between batch rollout. The default delay is 1 minute. GetBatchDelayInSeconds() *int }
ComputeInstanceGroupRolloutPolicyPolicyTypeEnum Enum with underlying type: string
type ComputeInstanceGroupRolloutPolicyPolicyTypeEnum string
Set of constants representing the allowable values for ComputeInstanceGroupRolloutPolicyPolicyTypeEnum
const ( ComputeInstanceGroupRolloutPolicyPolicyTypeCount ComputeInstanceGroupRolloutPolicyPolicyTypeEnum = "COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_COUNT" ComputeInstanceGroupRolloutPolicyPolicyTypePercentage ComputeInstanceGroupRolloutPolicyPolicyTypeEnum = "COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAGE" )
func GetComputeInstanceGroupRolloutPolicyPolicyTypeEnumValues() []ComputeInstanceGroupRolloutPolicyPolicyTypeEnum
GetComputeInstanceGroupRolloutPolicyPolicyTypeEnumValues Enumerates the set of values for ComputeInstanceGroupRolloutPolicyPolicyTypeEnum
ComputeInstanceGroupSelector Defines how the instances in a instance group environment is selected.
type ComputeInstanceGroupSelector interface { }
ComputeInstanceGroupSelectorCollection A collection of selectors. The combination of instances matching the selectors are included in the instance group.
type ComputeInstanceGroupSelectorCollection struct { // A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector. Items []ComputeInstanceGroupSelector `mandatory:"true" json:"items"` }
func (m ComputeInstanceGroupSelectorCollection) String() string
func (m *ComputeInstanceGroupSelectorCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ComputeInstanceGroupSelectorSelectorTypeEnum Enum with underlying type: string
type ComputeInstanceGroupSelectorSelectorTypeEnum string
Set of constants representing the allowable values for ComputeInstanceGroupSelectorSelectorTypeEnum
const ( ComputeInstanceGroupSelectorSelectorTypeIds ComputeInstanceGroupSelectorSelectorTypeEnum = "INSTANCE_IDS" ComputeInstanceGroupSelectorSelectorTypeQuery ComputeInstanceGroupSelectorSelectorTypeEnum = "INSTANCE_QUERY" )
func GetComputeInstanceGroupSelectorSelectorTypeEnumValues() []ComputeInstanceGroupSelectorSelectorTypeEnum
GetComputeInstanceGroupSelectorSelectorTypeEnumValues Enumerates the set of values for ComputeInstanceGroupSelectorSelectorTypeEnum
CountBasedApprovalPolicy Count based stage approval policy.
type CountBasedApprovalPolicy struct { // A minimum number of approvals required for stage to proceed. NumberOfApprovalsRequired *int `mandatory:"true" json:"numberOfApprovalsRequired"` }
func (m CountBasedApprovalPolicy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CountBasedApprovalPolicy) String() string
CreateComputeInstanceGroupDeployEnvironmentDetails Specifies the Compute instance group environment.
type CreateComputeInstanceGroupDeployEnvironmentDetails struct { // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` ComputeInstanceGroupSelectors *ComputeInstanceGroupSelectorCollection `mandatory:"true" json:"computeInstanceGroupSelectors"` // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateComputeInstanceGroupDeployEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateComputeInstanceGroupDeployEnvironmentDetails) GetDescription() *string
GetDescription returns Description
func (m CreateComputeInstanceGroupDeployEnvironmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateComputeInstanceGroupDeployEnvironmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateComputeInstanceGroupDeployEnvironmentDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateComputeInstanceGroupDeployEnvironmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateComputeInstanceGroupDeployEnvironmentDetails) String() string
CreateComputeInstanceGroupDeployStageDetails Specifies the instance group rolling deployment stage.
type CreateComputeInstanceGroupDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // A compute instance group environment OCID for rolling deployment. ComputeInstanceGroupDeployEnvironmentId *string `mandatory:"true" json:"computeInstanceGroupDeployEnvironmentId"` // The OCID of the artifact that contains the deployment specification. DeploymentSpecDeployArtifactId *string `mandatory:"true" json:"deploymentSpecDeployArtifactId"` RolloutPolicy ComputeInstanceGroupRolloutPolicy `mandatory:"true" json:"rolloutPolicy"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Additional file artifact OCIDs. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` FailurePolicy ComputeInstanceGroupFailurePolicy `mandatory:"false" json:"failurePolicy"` LoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"loadBalancerConfig"` }
func (m CreateComputeInstanceGroupDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateComputeInstanceGroupDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateComputeInstanceGroupDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateComputeInstanceGroupDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateComputeInstanceGroupDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateComputeInstanceGroupDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateComputeInstanceGroupDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateComputeInstanceGroupDeployStageDetails) String() string
func (m *CreateComputeInstanceGroupDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateDeployArtifactDetails Information about a new deployment artifact.
type CreateDeployArtifactDetails struct { // Type of the deployment artifact. DeployArtifactType DeployArtifactDeployArtifactTypeEnum `mandatory:"true" json:"deployArtifactType"` DeployArtifactSource DeployArtifactSource `mandatory:"true" json:"deployArtifactSource"` // Mode for artifact parameter substitution. ArgumentSubstitutionMode DeployArtifactArgumentSubstitutionModeEnum `mandatory:"true" json:"argumentSubstitutionMode"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // Optional description about the deployment artifact. Description *string `mandatory:"false" json:"description"` // Deployment artifact display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateDeployArtifactDetails) String() string
func (m *CreateDeployArtifactDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateDeployArtifactRequest wrapper for the CreateDeployArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployArtifact.go.html to see an example of how to use CreateDeployArtifactRequest.
type CreateDeployArtifactRequest struct { // Details for the new deployment artifact. CreateDeployArtifactDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDeployArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDeployArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDeployArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDeployArtifactRequest) String() string
CreateDeployArtifactResponse wrapper for the CreateDeployArtifact operation
type CreateDeployArtifactResponse struct { // The underlying http response RawResponse *http.Response // The DeployArtifact instance DeployArtifact `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDeployArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDeployArtifactResponse) String() string
CreateDeployEnvironmentDetails The information about new deployment environment.
type CreateDeployEnvironmentDetails interface { // The OCID of a project. GetProjectId() *string // Optional description about the deployment environment. GetDescription() *string // Deployment environment display name. Avoid entering confidential information. GetDisplayName() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} }
CreateDeployEnvironmentRequest wrapper for the CreateDeployEnvironment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployEnvironment.go.html to see an example of how to use CreateDeployEnvironmentRequest.
type CreateDeployEnvironmentRequest struct { // Details for the new deployment environment. CreateDeployEnvironmentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDeployEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDeployEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDeployEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDeployEnvironmentRequest) String() string
CreateDeployEnvironmentResponse wrapper for the CreateDeployEnvironment operation
type CreateDeployEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // The DeployEnvironment instance DeployEnvironment `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDeployEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDeployEnvironmentResponse) String() string
CreateDeployPipelineDeploymentDetails Details of the new deployment to be created that will run all the stages in the pipeline.
type CreateDeployPipelineDeploymentDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // Deployment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"` DeployArtifactOverrideArguments *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"deployArtifactOverrideArguments"` }
func (m CreateDeployPipelineDeploymentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDeployPipelineDeploymentDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateDeployPipelineDeploymentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDeployPipelineDeploymentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDeployPipelineDeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDeployPipelineDeploymentDetails) String() string
CreateDeployPipelineDetails The information about new deployment pipeline to be created.
type CreateDeployPipelineDetails struct { // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // Optional description about the deployment pipeline. Description *string `mandatory:"false" json:"description"` // Deployment pipeline display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployPipelineParameters *DeployPipelineParameterCollection `mandatory:"false" json:"deployPipelineParameters"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateDeployPipelineDetails) String() string
CreateDeployPipelineRedeploymentDetails Details of the new deployment to be created based on a previously executed deployment.
type CreateDeployPipelineRedeploymentDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // Deployment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Specifies the OCID of the previous deployment to be redeployed. PreviousDeploymentId *string `mandatory:"false" json:"previousDeploymentId"` }
func (m CreateDeployPipelineRedeploymentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDeployPipelineRedeploymentDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateDeployPipelineRedeploymentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDeployPipelineRedeploymentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDeployPipelineRedeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDeployPipelineRedeploymentDetails) String() string
CreateDeployPipelineRequest wrapper for the CreateDeployPipeline operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployPipeline.go.html to see an example of how to use CreateDeployPipelineRequest.
type CreateDeployPipelineRequest struct { // Details for the new deployment pipeline. CreateDeployPipelineDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDeployPipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDeployPipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDeployPipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDeployPipelineRequest) String() string
CreateDeployPipelineResponse wrapper for the CreateDeployPipeline operation
type CreateDeployPipelineResponse struct { // The underlying http response RawResponse *http.Response // The DeployPipeline instance DeployPipeline `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDeployPipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDeployPipelineResponse) String() string
CreateDeployStageDetails The information about new deployment stage.
type CreateDeployStageDetails interface { // The OCID of a pipeline. GetDeployPipelineId() *string GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection // Optional description about the deployment stage. GetDescription() *string // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} }
CreateDeployStageRequest wrapper for the CreateDeployStage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployStage.go.html to see an example of how to use CreateDeployStageRequest.
type CreateDeployStageRequest struct { // Details for the new DeployStage. CreateDeployStageDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDeployStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDeployStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDeployStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDeployStageRequest) String() string
CreateDeployStageResponse wrapper for the CreateDeployStage operation
type CreateDeployStageResponse struct { // The underlying http response RawResponse *http.Response // The DeployStage instance DeployStage `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDeployStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDeployStageResponse) String() string
CreateDeploymentDetails The information about new deployment.
type CreateDeploymentDetails interface { // The OCID of a pipeline. GetDeployPipelineId() *string // Deployment display name. Avoid entering confidential information. GetDisplayName() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} }
CreateDeploymentRequest wrapper for the CreateDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployment.go.html to see an example of how to use CreateDeploymentRequest.
type CreateDeploymentRequest struct { // Details for the new deployment. CreateDeploymentDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateDeploymentRequest) String() string
CreateDeploymentResponse wrapper for the CreateDeployment operation
type CreateDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The Deployment instance Deployment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateDeploymentResponse) String() string
CreateFunctionDeployEnvironmentDetails Specifies the Function environment.
type CreateFunctionDeployEnvironmentDetails struct { // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the Function. FunctionId *string `mandatory:"true" json:"functionId"` // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateFunctionDeployEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateFunctionDeployEnvironmentDetails) GetDescription() *string
GetDescription returns Description
func (m CreateFunctionDeployEnvironmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateFunctionDeployEnvironmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateFunctionDeployEnvironmentDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateFunctionDeployEnvironmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateFunctionDeployEnvironmentDetails) String() string
CreateFunctionDeployStageDetails Specifies the Function stage.
type CreateFunctionDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // Function environment OCID. FunctionDeployEnvironmentId *string `mandatory:"true" json:"functionDeployEnvironmentId"` // A Docker image artifact OCID. DockerImageDeployArtifactId *string `mandatory:"true" json:"dockerImageDeployArtifactId"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // User provided key and value pair configuration, which is assigned through constants or parameter. Config map[string]string `mandatory:"false" json:"config"` // Maximum usable memory for the Function (in MB). MaxMemoryInMBs *int64 `mandatory:"false" json:"maxMemoryInMBs"` // Timeout for execution of the Function. Value in seconds. FunctionTimeoutInSeconds *int `mandatory:"false" json:"functionTimeoutInSeconds"` }
func (m CreateFunctionDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateFunctionDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateFunctionDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateFunctionDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateFunctionDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateFunctionDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateFunctionDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateFunctionDeployStageDetails) String() string
CreateInvokeFunctionDeployStageDetails Specifies Invoke Function stage.
type CreateInvokeFunctionDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // Function environment OCID. FunctionDeployEnvironmentId *string `mandatory:"true" json:"functionDeployEnvironmentId"` // A boolean flag specifies whether this stage executes asynchronously. IsAsync *bool `mandatory:"true" json:"isAsync"` // A boolean flag specifies whether the invoked function should be validated. IsValidationEnabled *bool `mandatory:"true" json:"isValidationEnabled"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Optional binary artifact OCID user may provide to this stage. DeployArtifactId *string `mandatory:"false" json:"deployArtifactId"` }
func (m CreateInvokeFunctionDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateInvokeFunctionDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateInvokeFunctionDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateInvokeFunctionDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateInvokeFunctionDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateInvokeFunctionDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateInvokeFunctionDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateInvokeFunctionDeployStageDetails) String() string
CreateLoadBalancerTrafficShiftDeployStageDetails Specifies load balancer traffic shift stage.
type CreateLoadBalancerTrafficShiftDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` BlueBackendIps *BackendSetIpCollection `mandatory:"true" json:"blueBackendIps"` GreenBackendIps *BackendSetIpCollection `mandatory:"true" json:"greenBackendIps"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `mandatory:"true" json:"rolloutPolicy"` LoadBalancerConfig *LoadBalancerConfig `mandatory:"true" json:"loadBalancerConfig"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` // Specifies the target or destination backend set. TrafficShiftTarget LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum `mandatory:"true" json:"trafficShiftTarget"` }
func (m CreateLoadBalancerTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateLoadBalancerTrafficShiftDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateLoadBalancerTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateLoadBalancerTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateLoadBalancerTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateLoadBalancerTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateLoadBalancerTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateLoadBalancerTrafficShiftDeployStageDetails) String() string
func (m *CreateLoadBalancerTrafficShiftDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateManualApprovalDeployStageDetails Specifies the manual approval stage.
type CreateManualApprovalDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` ApprovalPolicy ApprovalPolicy `mandatory:"true" json:"approvalPolicy"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateManualApprovalDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateManualApprovalDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateManualApprovalDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateManualApprovalDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateManualApprovalDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateManualApprovalDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateManualApprovalDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateManualApprovalDeployStageDetails) String() string
func (m *CreateManualApprovalDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateOkeClusterDeployEnvironmentDetails Specifies the Kubernetes cluster environment.
type CreateOkeClusterDeployEnvironmentDetails struct { // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the Kubernetes cluster. ClusterId *string `mandatory:"true" json:"clusterId"` // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateOkeClusterDeployEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOkeClusterDeployEnvironmentDetails) GetDescription() *string
GetDescription returns Description
func (m CreateOkeClusterDeployEnvironmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOkeClusterDeployEnvironmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOkeClusterDeployEnvironmentDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateOkeClusterDeployEnvironmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOkeClusterDeployEnvironmentDetails) String() string
CreateOkeDeployStageDetails Specifies the Kubernetes cluster deployment stage.
type CreateOkeDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // Kubernetes cluster environment OCID for deployment. OkeClusterDeployEnvironmentId *string `mandatory:"true" json:"okeClusterDeployEnvironmentId"` // List of Kubernetes manifest artifact OCIDs, the manifests should not include any job resource. KubernetesManifestDeployArtifactIds []string `mandatory:"true" json:"kubernetesManifestDeployArtifactIds"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Default namespace to be used for Kubernetes deployment when not specified in the manifest. Namespace *string `mandatory:"false" json:"namespace"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` }
func (m CreateOkeDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOkeDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateOkeDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateOkeDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateOkeDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOkeDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOkeDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOkeDeployStageDetails) String() string
func (m *CreateOkeDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateProjectDetails The information about new project to be created.
type CreateProjectDetails struct { // Project name (case-sensitive). Name *string `mandatory:"true" json:"name"` NotificationConfig *NotificationConfig `mandatory:"true" json:"notificationConfig"` // The OCID of the compartment where the project is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Project description. Description *string `mandatory:"false" json:"description"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateProjectDetails) String() string
CreateProjectRequest wrapper for the CreateProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateProject.go.html to see an example of how to use CreateProjectRequest.
type CreateProjectRequest struct { // Details for the new project. CreateProjectDetails `contributesTo:"body"` // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateProjectRequest) String() string
CreateProjectResponse wrapper for the CreateProject operation
type CreateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CreateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateProjectResponse) String() string
CreateSingleDeployStageDeploymentDetails Details of a new deployment to be created that will run a single stage of the pipeline.
type CreateSingleDeployStageDeploymentDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // Deployment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Specifies the OCID of the stage to be redeployed. DeployStageId *string `mandatory:"false" json:"deployStageId"` DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"` DeployArtifactOverrideArguments *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"deployArtifactOverrideArguments"` }
func (m CreateSingleDeployStageDeploymentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateSingleDeployStageDeploymentDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateSingleDeployStageDeploymentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateSingleDeployStageDeploymentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateSingleDeployStageDeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateSingleDeployStageDeploymentDetails) String() string
CreateWaitDeployStageDetails Specifies the Wait stage. User can specify a criteria for wait time or give an absolute duration.
type CreateWaitDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` WaitCriteria WaitCriteria `mandatory:"true" json:"waitCriteria"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m CreateWaitDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateWaitDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateWaitDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateWaitDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateWaitDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateWaitDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateWaitDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateWaitDeployStageDetails) String() string
func (m *CreateWaitDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DeleteDeployArtifactRequest wrapper for the DeleteDeployArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteDeployArtifact.go.html to see an example of how to use DeleteDeployArtifactRequest.
type DeleteDeployArtifactRequest struct { // Unique artifact identifier. DeployArtifactId *string `mandatory:"true" contributesTo:"path" name:"deployArtifactId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteDeployArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDeployArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDeployArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDeployArtifactRequest) String() string
DeleteDeployArtifactResponse wrapper for the DeleteDeployArtifact operation
type DeleteDeployArtifactResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDeployArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDeployArtifactResponse) String() string
DeleteDeployEnvironmentRequest wrapper for the DeleteDeployEnvironment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteDeployEnvironment.go.html to see an example of how to use DeleteDeployEnvironmentRequest.
type DeleteDeployEnvironmentRequest struct { // Unique environment identifier. DeployEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"deployEnvironmentId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteDeployEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDeployEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDeployEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDeployEnvironmentRequest) String() string
DeleteDeployEnvironmentResponse wrapper for the DeleteDeployEnvironment operation
type DeleteDeployEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDeployEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDeployEnvironmentResponse) String() string
DeleteDeployPipelineRequest wrapper for the DeleteDeployPipeline operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteDeployPipeline.go.html to see an example of how to use DeleteDeployPipelineRequest.
type DeleteDeployPipelineRequest struct { // Unique pipeline identifier. DeployPipelineId *string `mandatory:"true" contributesTo:"path" name:"deployPipelineId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteDeployPipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDeployPipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDeployPipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDeployPipelineRequest) String() string
DeleteDeployPipelineResponse wrapper for the DeleteDeployPipeline operation
type DeleteDeployPipelineResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDeployPipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDeployPipelineResponse) String() string
DeleteDeployStageRequest wrapper for the DeleteDeployStage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteDeployStage.go.html to see an example of how to use DeleteDeployStageRequest.
type DeleteDeployStageRequest struct { // Unique stage identifier. DeployStageId *string `mandatory:"true" contributesTo:"path" name:"deployStageId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteDeployStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDeployStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDeployStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDeployStageRequest) String() string
DeleteDeployStageResponse wrapper for the DeleteDeployStage operation
type DeleteDeployStageResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteDeployStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDeployStageResponse) String() string
DeleteProjectRequest wrapper for the DeleteProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteProject.go.html to see an example of how to use DeleteProjectRequest.
type DeleteProjectRequest struct { // Unique project identifier. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteProjectRequest) String() string
DeleteProjectResponse wrapper for the DeleteProject operation
type DeleteProjectResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteProjectResponse) String() string
DeployArtifact Artifacts are deployment manifests that are referenced in a pipeline stage for automated deployment to the target environment. DevOps artifacts can be an OCI Container image repository, Kubernetes manifest, an Artifact Registry artifact, or defined inline.
type DeployArtifact struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Type of the deployment artifact. DeployArtifactType DeployArtifactDeployArtifactTypeEnum `mandatory:"true" json:"deployArtifactType"` // Mode for artifact parameter substitution. ArgumentSubstitutionMode DeployArtifactArgumentSubstitutionModeEnum `mandatory:"true" json:"argumentSubstitutionMode"` DeployArtifactSource DeployArtifactSource `mandatory:"true" json:"deployArtifactSource"` // Optional description about the artifact to be deployed. Description *string `mandatory:"false" json:"description"` // Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment artifact was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment artifact was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Current state of the deployment artifact. LifecycleState DeployArtifactLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DeployArtifact) String() string
func (m *DeployArtifact) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DeployArtifactArgumentSubstitutionModeEnum Enum with underlying type: string
type DeployArtifactArgumentSubstitutionModeEnum string
Set of constants representing the allowable values for DeployArtifactArgumentSubstitutionModeEnum
const ( DeployArtifactArgumentSubstitutionModeNone DeployArtifactArgumentSubstitutionModeEnum = "NONE" DeployArtifactArgumentSubstitutionModeSubstitutePlaceholders DeployArtifactArgumentSubstitutionModeEnum = "SUBSTITUTE_PLACEHOLDERS" )
func GetDeployArtifactArgumentSubstitutionModeEnumValues() []DeployArtifactArgumentSubstitutionModeEnum
GetDeployArtifactArgumentSubstitutionModeEnumValues Enumerates the set of values for DeployArtifactArgumentSubstitutionModeEnum
DeployArtifactCollection Results of a deployment artifact search.
type DeployArtifactCollection struct { // Deployment artifact summary items found for the search. Items []DeployArtifactSummary `mandatory:"true" json:"items"` }
func (m DeployArtifactCollection) String() string
DeployArtifactDeployArtifactTypeEnum Enum with underlying type: string
type DeployArtifactDeployArtifactTypeEnum string
Set of constants representing the allowable values for DeployArtifactDeployArtifactTypeEnum
const ( DeployArtifactDeployArtifactTypeDeploymentSpec DeployArtifactDeployArtifactTypeEnum = "DEPLOYMENT_SPEC" DeployArtifactDeployArtifactTypeJobSpec DeployArtifactDeployArtifactTypeEnum = "JOB_SPEC" DeployArtifactDeployArtifactTypeKubernetesManifest DeployArtifactDeployArtifactTypeEnum = "KUBERNETES_MANIFEST" DeployArtifactDeployArtifactTypeGenericFile DeployArtifactDeployArtifactTypeEnum = "GENERIC_FILE" DeployArtifactDeployArtifactTypeDockerImage DeployArtifactDeployArtifactTypeEnum = "DOCKER_IMAGE" )
func GetDeployArtifactDeployArtifactTypeEnumValues() []DeployArtifactDeployArtifactTypeEnum
GetDeployArtifactDeployArtifactTypeEnumValues Enumerates the set of values for DeployArtifactDeployArtifactTypeEnum
DeployArtifactLifecycleStateEnum Enum with underlying type: string
type DeployArtifactLifecycleStateEnum string
Set of constants representing the allowable values for DeployArtifactLifecycleStateEnum
const ( DeployArtifactLifecycleStateCreating DeployArtifactLifecycleStateEnum = "CREATING" DeployArtifactLifecycleStateUpdating DeployArtifactLifecycleStateEnum = "UPDATING" DeployArtifactLifecycleStateActive DeployArtifactLifecycleStateEnum = "ACTIVE" DeployArtifactLifecycleStateDeleting DeployArtifactLifecycleStateEnum = "DELETING" DeployArtifactLifecycleStateDeleted DeployArtifactLifecycleStateEnum = "DELETED" DeployArtifactLifecycleStateFailed DeployArtifactLifecycleStateEnum = "FAILED" )
func GetDeployArtifactLifecycleStateEnumValues() []DeployArtifactLifecycleStateEnum
GetDeployArtifactLifecycleStateEnumValues Enumerates the set of values for DeployArtifactLifecycleStateEnum
DeployArtifactOverrideArgument Values for artifact parameters to be supplied at the time of deployment.
type DeployArtifactOverrideArgument struct { // The OCID of the artifact to which this parameter applies. DeployArtifactId *string `mandatory:"true" json:"deployArtifactId"` // Name of the parameter (case-sensitive). Name *string `mandatory:"true" json:"name"` // Value of the parameter. Value *string `mandatory:"true" json:"value"` }
func (m DeployArtifactOverrideArgument) String() string
DeployArtifactOverrideArgumentCollection Specifies the list of artifact override arguments at the time of deployment.
type DeployArtifactOverrideArgumentCollection struct { // List of artifact override arguments at the time of deployment. Items []DeployArtifactOverrideArgument `mandatory:"true" json:"items"` }
func (m DeployArtifactOverrideArgumentCollection) String() string
DeployArtifactSource Specifies source of an artifact.
type DeployArtifactSource interface { }
DeployArtifactSourceDeployArtifactSourceTypeEnum Enum with underlying type: string
type DeployArtifactSourceDeployArtifactSourceTypeEnum string
Set of constants representing the allowable values for DeployArtifactSourceDeployArtifactSourceTypeEnum
const ( DeployArtifactSourceDeployArtifactSourceTypeInline DeployArtifactSourceDeployArtifactSourceTypeEnum = "INLINE" DeployArtifactSourceDeployArtifactSourceTypeOcir DeployArtifactSourceDeployArtifactSourceTypeEnum = "OCIR" DeployArtifactSourceDeployArtifactSourceTypeGenericArtifact DeployArtifactSourceDeployArtifactSourceTypeEnum = "GENERIC_ARTIFACT" )
func GetDeployArtifactSourceDeployArtifactSourceTypeEnumValues() []DeployArtifactSourceDeployArtifactSourceTypeEnum
GetDeployArtifactSourceDeployArtifactSourceTypeEnumValues Enumerates the set of values for DeployArtifactSourceDeployArtifactSourceTypeEnum
DeployArtifactSummary Summary of the deployment artifact.
type DeployArtifactSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Type of the deployment artifact. DeployArtifactType DeployArtifactDeployArtifactTypeEnum `mandatory:"true" json:"deployArtifactType"` DeployArtifactSource DeployArtifactSource `mandatory:"true" json:"deployArtifactSource"` // Mode for artifact parameter substitution. ArgumentSubstitutionMode DeployArtifactArgumentSubstitutionModeEnum `mandatory:"true" json:"argumentSubstitutionMode"` // Optional description about the deployment artifact. Description *string `mandatory:"false" json:"description"` // Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment artifact was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment artifact was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Current state of the deployment artifact. LifecycleState DeployArtifactLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DeployArtifactSummary) String() string
func (m *DeployArtifactSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DeployEnvironment The target OCI resources, such as Compute instances, Container Engine for Kubernetes(OKE) clusters, or Function, where artifacts will be deployed.
type DeployEnvironment interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of a project. GetProjectId() *string // The OCID of a compartment. GetCompartmentId() *string // Optional description about the deployment environment. GetDescription() *string // Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Time the deployment environment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // Time the deployment environment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the deployment environment. GetLifecycleState() DeployEnvironmentLifecycleStateEnum // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
DeployEnvironmentCollection Results of a deployment environment search.
type DeployEnvironmentCollection struct { // Deployment environment summary items found for the search. Items []DeployEnvironmentSummary `mandatory:"true" json:"items"` }
func (m DeployEnvironmentCollection) String() string
func (m *DeployEnvironmentCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DeployEnvironmentDeployEnvironmentTypeEnum Enum with underlying type: string
type DeployEnvironmentDeployEnvironmentTypeEnum string
Set of constants representing the allowable values for DeployEnvironmentDeployEnvironmentTypeEnum
const ( DeployEnvironmentDeployEnvironmentTypeOkeCluster DeployEnvironmentDeployEnvironmentTypeEnum = "OKE_CLUSTER" DeployEnvironmentDeployEnvironmentTypeComputeInstanceGroup DeployEnvironmentDeployEnvironmentTypeEnum = "COMPUTE_INSTANCE_GROUP" DeployEnvironmentDeployEnvironmentTypeFunction DeployEnvironmentDeployEnvironmentTypeEnum = "FUNCTION" )
func GetDeployEnvironmentDeployEnvironmentTypeEnumValues() []DeployEnvironmentDeployEnvironmentTypeEnum
GetDeployEnvironmentDeployEnvironmentTypeEnumValues Enumerates the set of values for DeployEnvironmentDeployEnvironmentTypeEnum
DeployEnvironmentLifecycleStateEnum Enum with underlying type: string
type DeployEnvironmentLifecycleStateEnum string
Set of constants representing the allowable values for DeployEnvironmentLifecycleStateEnum
const ( DeployEnvironmentLifecycleStateCreating DeployEnvironmentLifecycleStateEnum = "CREATING" DeployEnvironmentLifecycleStateUpdating DeployEnvironmentLifecycleStateEnum = "UPDATING" DeployEnvironmentLifecycleStateActive DeployEnvironmentLifecycleStateEnum = "ACTIVE" DeployEnvironmentLifecycleStateDeleting DeployEnvironmentLifecycleStateEnum = "DELETING" DeployEnvironmentLifecycleStateDeleted DeployEnvironmentLifecycleStateEnum = "DELETED" DeployEnvironmentLifecycleStateFailed DeployEnvironmentLifecycleStateEnum = "FAILED" )
func GetDeployEnvironmentLifecycleStateEnumValues() []DeployEnvironmentLifecycleStateEnum
GetDeployEnvironmentLifecycleStateEnumValues Enumerates the set of values for DeployEnvironmentLifecycleStateEnum
DeployEnvironmentSummary Summary of the deployment environment.
type DeployEnvironmentSummary interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of a project. GetProjectId() *string // The OCID of a compartment. GetCompartmentId() *string // Optional description about the deployment environment. GetDescription() *string // Deployment environment display name, which can be renamed and is not necessarily unique. GetDisplayName() *string // Time the deployment environment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // Time the deployment environment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the deployment environment. GetLifecycleState() DeployEnvironmentLifecycleStateEnum // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
DeployPipeline A set of stages whose predecessor relation forms a directed acyclic graph.
type DeployPipeline struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` DeployPipelineParameters *DeployPipelineParameterCollection `mandatory:"true" json:"deployPipelineParameters"` // Optional description about the deployment pipeline. Description *string `mandatory:"false" json:"description"` // Deployment pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployPipelineArtifacts *DeployPipelineArtifactCollection `mandatory:"false" json:"deployPipelineArtifacts"` DeployPipelineEnvironments *DeployPipelineEnvironmentCollection `mandatory:"false" json:"deployPipelineEnvironments"` // Time the deployment pipeline was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment pipeline was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the deployment pipeline. LifecycleState DeployPipelineLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DeployPipeline) String() string
DeployPipelineArtifact Artifact used in the pipeline.
type DeployPipelineArtifact struct { // The OCID of an artifact DeployArtifactId *string `mandatory:"true" json:"deployArtifactId"` DeployPipelineStages *DeployPipelineStageCollection `mandatory:"true" json:"deployPipelineStages"` // Display name of the artifact. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m DeployPipelineArtifact) String() string
DeployPipelineArtifactCollection List of all artifacts used in the pipeline.
type DeployPipelineArtifactCollection struct { // List of all artifacts used in the pipeline. Items []DeployPipelineArtifact `mandatory:"true" json:"items"` }
func (m DeployPipelineArtifactCollection) String() string
DeployPipelineCollection Results of an pipeline search.
type DeployPipelineCollection struct { // Array of deployment pipeline summary items. Items []DeployPipelineSummary `mandatory:"true" json:"items"` }
func (m DeployPipelineCollection) String() string
DeployPipelineDeployment Deployment of all the stages in the pipeline.
type DeployPipelineDeployment struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` DeployPipelineArtifacts *DeployPipelineArtifactCollection `mandatory:"false" json:"deployPipelineArtifacts"` DeployPipelineEnvironments *DeployPipelineEnvironmentCollection `mandatory:"false" json:"deployPipelineEnvironments"` // Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"` DeployArtifactOverrideArguments *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"deployArtifactOverrideArguments"` DeploymentExecutionProgress *DeploymentExecutionProgress `mandatory:"false" json:"deploymentExecutionProgress"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment. LifecycleState DeploymentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DeployPipelineDeployment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DeployPipelineDeployment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DeployPipelineDeployment) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection
GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m DeployPipelineDeployment) GetDeployPipelineArtifacts() *DeployPipelineArtifactCollection
GetDeployPipelineArtifacts returns DeployPipelineArtifacts
func (m DeployPipelineDeployment) GetDeployPipelineEnvironments() *DeployPipelineEnvironmentCollection
GetDeployPipelineEnvironments returns DeployPipelineEnvironments
func (m DeployPipelineDeployment) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m DeployPipelineDeployment) GetDeploymentArguments() *DeploymentArgumentCollection
GetDeploymentArguments returns DeploymentArguments
func (m DeployPipelineDeployment) GetDeploymentExecutionProgress() *DeploymentExecutionProgress
GetDeploymentExecutionProgress returns DeploymentExecutionProgress
func (m DeployPipelineDeployment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DeployPipelineDeployment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DeployPipelineDeployment) GetId() *string
GetId returns Id
func (m DeployPipelineDeployment) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DeployPipelineDeployment) GetLifecycleState() DeploymentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DeployPipelineDeployment) GetProjectId() *string
GetProjectId returns ProjectId
func (m DeployPipelineDeployment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DeployPipelineDeployment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DeployPipelineDeployment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DeployPipelineDeployment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DeployPipelineDeployment) String() string
DeployPipelineDeploymentSummary Summary of a full pipeline deployment.
type DeployPipelineDeploymentSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"` DeployArtifactOverrideArguments *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"deployArtifactOverrideArguments"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment. LifecycleState DeploymentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DeployPipelineDeploymentSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DeployPipelineDeploymentSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DeployPipelineDeploymentSummary) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection
GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m DeployPipelineDeploymentSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m DeployPipelineDeploymentSummary) GetDeploymentArguments() *DeploymentArgumentCollection
GetDeploymentArguments returns DeploymentArguments
func (m DeployPipelineDeploymentSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DeployPipelineDeploymentSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DeployPipelineDeploymentSummary) GetId() *string
GetId returns Id
func (m DeployPipelineDeploymentSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DeployPipelineDeploymentSummary) GetLifecycleState() DeploymentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DeployPipelineDeploymentSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m DeployPipelineDeploymentSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DeployPipelineDeploymentSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DeployPipelineDeploymentSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DeployPipelineDeploymentSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DeployPipelineDeploymentSummary) String() string
DeployPipelineEnvironment Environment used in the pipeline.
type DeployPipelineEnvironment struct { // The OCID of an Environment DeployEnvironmentId *string `mandatory:"true" json:"deployEnvironmentId"` DeployPipelineStages *DeployPipelineStageCollection `mandatory:"true" json:"deployPipelineStages"` // Display name of the environment. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m DeployPipelineEnvironment) String() string
DeployPipelineEnvironmentCollection List of all environments used in the pipeline.
type DeployPipelineEnvironmentCollection struct { // List of all environments used in the pipeline. Items []DeployPipelineEnvironment `mandatory:"true" json:"items"` }
func (m DeployPipelineEnvironmentCollection) String() string
DeployPipelineLifecycleStateEnum Enum with underlying type: string
type DeployPipelineLifecycleStateEnum string
Set of constants representing the allowable values for DeployPipelineLifecycleStateEnum
const ( DeployPipelineLifecycleStateCreating DeployPipelineLifecycleStateEnum = "CREATING" DeployPipelineLifecycleStateUpdating DeployPipelineLifecycleStateEnum = "UPDATING" DeployPipelineLifecycleStateActive DeployPipelineLifecycleStateEnum = "ACTIVE" DeployPipelineLifecycleStateInactive DeployPipelineLifecycleStateEnum = "INACTIVE" DeployPipelineLifecycleStateDeleting DeployPipelineLifecycleStateEnum = "DELETING" DeployPipelineLifecycleStateDeleted DeployPipelineLifecycleStateEnum = "DELETED" DeployPipelineLifecycleStateFailed DeployPipelineLifecycleStateEnum = "FAILED" )
func GetDeployPipelineLifecycleStateEnumValues() []DeployPipelineLifecycleStateEnum
GetDeployPipelineLifecycleStateEnumValues Enumerates the set of values for DeployPipelineLifecycleStateEnum
DeployPipelineParameter Parameter name for which the values will be supplied at the time of deployment.
type DeployPipelineParameter struct { // Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Name *string `mandatory:"true" json:"name"` // Default value of the parameter. DefaultValue *string `mandatory:"false" json:"defaultValue"` // Description of the parameter. Description *string `mandatory:"false" json:"description"` }
func (m DeployPipelineParameter) String() string
DeployPipelineParameterCollection Specifies list of parameters present in the deployment pipeline. In case of Update operation, replaces existing parameters list. Merging with existing parameters is not supported.
type DeployPipelineParameterCollection struct { // List of parameters defined for a deployment pipeline. Items []DeployPipelineParameter `mandatory:"true" json:"items"` }
func (m DeployPipelineParameterCollection) String() string
DeployPipelineRedeployment Redeployment of the full pipeline of a previous deployment.
type DeployPipelineRedeployment struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` DeployPipelineArtifacts *DeployPipelineArtifactCollection `mandatory:"false" json:"deployPipelineArtifacts"` DeployPipelineEnvironments *DeployPipelineEnvironmentCollection `mandatory:"false" json:"deployPipelineEnvironments"` // Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"` DeployArtifactOverrideArguments *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"deployArtifactOverrideArguments"` DeploymentExecutionProgress *DeploymentExecutionProgress `mandatory:"false" json:"deploymentExecutionProgress"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Specifies the OCID of the previous deployment to be redeployed. PreviousDeploymentId *string `mandatory:"false" json:"previousDeploymentId"` // The current state of the deployment. LifecycleState DeploymentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DeployPipelineRedeployment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DeployPipelineRedeployment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DeployPipelineRedeployment) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection
GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m DeployPipelineRedeployment) GetDeployPipelineArtifacts() *DeployPipelineArtifactCollection
GetDeployPipelineArtifacts returns DeployPipelineArtifacts
func (m DeployPipelineRedeployment) GetDeployPipelineEnvironments() *DeployPipelineEnvironmentCollection
GetDeployPipelineEnvironments returns DeployPipelineEnvironments
func (m DeployPipelineRedeployment) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m DeployPipelineRedeployment) GetDeploymentArguments() *DeploymentArgumentCollection
GetDeploymentArguments returns DeploymentArguments
func (m DeployPipelineRedeployment) GetDeploymentExecutionProgress() *DeploymentExecutionProgress
GetDeploymentExecutionProgress returns DeploymentExecutionProgress
func (m DeployPipelineRedeployment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DeployPipelineRedeployment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DeployPipelineRedeployment) GetId() *string
GetId returns Id
func (m DeployPipelineRedeployment) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DeployPipelineRedeployment) GetLifecycleState() DeploymentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DeployPipelineRedeployment) GetProjectId() *string
GetProjectId returns ProjectId
func (m DeployPipelineRedeployment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DeployPipelineRedeployment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DeployPipelineRedeployment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DeployPipelineRedeployment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DeployPipelineRedeployment) String() string
DeployPipelineRedeploymentSummary Summary of a full pipeline redeployment.
type DeployPipelineRedeploymentSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"` DeployArtifactOverrideArguments *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"deployArtifactOverrideArguments"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Specifies the OCID of the previous deployment to be redeployed. PreviousDeploymentId *string `mandatory:"false" json:"previousDeploymentId"` // The current state of the deployment. LifecycleState DeploymentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DeployPipelineRedeploymentSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DeployPipelineRedeploymentSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DeployPipelineRedeploymentSummary) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection
GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m DeployPipelineRedeploymentSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m DeployPipelineRedeploymentSummary) GetDeploymentArguments() *DeploymentArgumentCollection
GetDeploymentArguments returns DeploymentArguments
func (m DeployPipelineRedeploymentSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DeployPipelineRedeploymentSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DeployPipelineRedeploymentSummary) GetId() *string
GetId returns Id
func (m DeployPipelineRedeploymentSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DeployPipelineRedeploymentSummary) GetLifecycleState() DeploymentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DeployPipelineRedeploymentSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m DeployPipelineRedeploymentSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DeployPipelineRedeploymentSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DeployPipelineRedeploymentSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DeployPipelineRedeploymentSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DeployPipelineRedeploymentSummary) String() string
DeployPipelineStage Stage used in the pipeline for an artifact or environment.
type DeployPipelineStage struct { // The OCID of a stage DeployStageId *string `mandatory:"true" json:"deployStageId"` // Display name of the stage. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m DeployPipelineStage) String() string
DeployPipelineStageCollection List of stages.
type DeployPipelineStageCollection struct { // List of stages. Items []DeployPipelineStage `mandatory:"true" json:"items"` }
func (m DeployPipelineStageCollection) String() string
DeployPipelineSummary Summary of the deployment pipeline.
type DeployPipelineSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Optional description about the deployment pipeline. Description *string `mandatory:"false" json:"description"` // Deployment pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment pipeline was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment pipeline was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the deployment pipeline. LifecycleState DeployPipelineLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` DeployPipelineParameters *DeployPipelineParameterCollection `mandatory:"false" json:"deployPipelineParameters"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m DeployPipelineSummary) String() string
DeployStage A single node in a pipeline. It is usually associated with some action on a specific set of OCI resources such as environments. For example, updating a Function or a Kubernetes cluster.
type DeployStage interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of a project. GetProjectId() *string // The OCID of a pipeline. GetDeployPipelineId() *string // The OCID of a compartment. GetCompartmentId() *string // Optional description about the deployment stage. GetDescription() *string // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the deployment stage. GetLifecycleState() DeployStageLifecycleStateEnum // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
DeployStageCollection Result of a stage search.
type DeployStageCollection struct { // Deployment stage summary items found for the search. Items []DeployStageSummary `mandatory:"true" json:"items"` }
func (m DeployStageCollection) String() string
func (m *DeployStageCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DeployStageDeployStageTypeEnum Enum with underlying type: string
type DeployStageDeployStageTypeEnum string
Set of constants representing the allowable values for DeployStageDeployStageTypeEnum
const ( DeployStageDeployStageTypeWait DeployStageDeployStageTypeEnum = "WAIT" DeployStageDeployStageTypeComputeInstanceGroupRollingDeployment DeployStageDeployStageTypeEnum = "COMPUTE_INSTANCE_GROUP_ROLLING_DEPLOYMENT" DeployStageDeployStageTypeOkeDeployment DeployStageDeployStageTypeEnum = "OKE_DEPLOYMENT" DeployStageDeployStageTypeDeployFunction DeployStageDeployStageTypeEnum = "DEPLOY_FUNCTION" DeployStageDeployStageTypeInvokeFunction DeployStageDeployStageTypeEnum = "INVOKE_FUNCTION" DeployStageDeployStageTypeLoadBalancerTrafficShift DeployStageDeployStageTypeEnum = "LOAD_BALANCER_TRAFFIC_SHIFT" DeployStageDeployStageTypeManualApproval DeployStageDeployStageTypeEnum = "MANUAL_APPROVAL" )
func GetDeployStageDeployStageTypeEnumValues() []DeployStageDeployStageTypeEnum
GetDeployStageDeployStageTypeEnumValues Enumerates the set of values for DeployStageDeployStageTypeEnum
DeployStageExecutionProgress Details about the execution progress of a stage in a deployment.
type DeployStageExecutionProgress interface { // Stage display name. Avoid entering confidential information. GetDeployStageDisplayName() *string // The OCID of the stage. GetDeployStageId() *string // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeStarted() *common.SDKTime // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeFinished() *common.SDKTime // The current state of the stage. GetStatus() DeployStageExecutionProgressStatusEnum GetDeployStagePredecessors() *DeployStagePredecessorCollection // Details about stage execution for all the target environments. GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails }
DeployStageExecutionProgressDetails Details about stage execution for each target environment.
type DeployStageExecutionProgressDetails struct { // The function ID, instance ID or the cluster ID. For Wait stage it will be the stage ID. TargetId *string `mandatory:"false" json:"targetId"` // Group for the target environment for example, the batch number for an Instance Group deployment. TargetGroup *string `mandatory:"false" json:"targetGroup"` // Details about all the steps for one target environment. Steps []DeployStageExecutionStep `mandatory:"false" json:"steps"` // Details about all the rollback steps for one target environment. RollbackSteps []DeployStageExecutionStep `mandatory:"false" json:"rollbackSteps"` }
func (m DeployStageExecutionProgressDetails) String() string
DeployStageExecutionProgressStatusEnum Enum with underlying type: string
type DeployStageExecutionProgressStatusEnum string
Set of constants representing the allowable values for DeployStageExecutionProgressStatusEnum
const ( DeployStageExecutionProgressStatusAccepted DeployStageExecutionProgressStatusEnum = "ACCEPTED" DeployStageExecutionProgressStatusInProgress DeployStageExecutionProgressStatusEnum = "IN_PROGRESS" DeployStageExecutionProgressStatusFailed DeployStageExecutionProgressStatusEnum = "FAILED" DeployStageExecutionProgressStatusSucceeded DeployStageExecutionProgressStatusEnum = "SUCCEEDED" DeployStageExecutionProgressStatusCanceling DeployStageExecutionProgressStatusEnum = "CANCELING" DeployStageExecutionProgressStatusCanceled DeployStageExecutionProgressStatusEnum = "CANCELED" DeployStageExecutionProgressStatusRollbackInProgress DeployStageExecutionProgressStatusEnum = "ROLLBACK_IN_PROGRESS" DeployStageExecutionProgressStatusRollbackSucceeded DeployStageExecutionProgressStatusEnum = "ROLLBACK_SUCCEEDED" DeployStageExecutionProgressStatusRollbackFailed DeployStageExecutionProgressStatusEnum = "ROLLBACK_FAILED" )
func GetDeployStageExecutionProgressStatusEnumValues() []DeployStageExecutionProgressStatusEnum
GetDeployStageExecutionProgressStatusEnumValues Enumerates the set of values for DeployStageExecutionProgressStatusEnum
DeployStageExecutionStep Details about each steps in stage execution for a target environment.
type DeployStageExecutionStep struct { // Name of the step. Name *string `mandatory:"false" json:"name"` // State of the step. State DeployStageExecutionStepStateEnum `mandatory:"false" json:"state,omitempty"` // Time when the step started. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time when the step finished. TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m DeployStageExecutionStep) String() string
DeployStageExecutionStepStateEnum Enum with underlying type: string
type DeployStageExecutionStepStateEnum string
Set of constants representing the allowable values for DeployStageExecutionStepStateEnum
const ( DeployStageExecutionStepStateWaiting DeployStageExecutionStepStateEnum = "WAITING" DeployStageExecutionStepStateInProgress DeployStageExecutionStepStateEnum = "IN_PROGRESS" DeployStageExecutionStepStateFailed DeployStageExecutionStepStateEnum = "FAILED" DeployStageExecutionStepStateSucceeded DeployStageExecutionStepStateEnum = "SUCCEEDED" DeployStageExecutionStepStateCanceled DeployStageExecutionStepStateEnum = "CANCELED" )
func GetDeployStageExecutionStepStateEnumValues() []DeployStageExecutionStepStateEnum
GetDeployStageExecutionStepStateEnumValues Enumerates the set of values for DeployStageExecutionStepStateEnum
DeployStageLifecycleStateEnum Enum with underlying type: string
type DeployStageLifecycleStateEnum string
Set of constants representing the allowable values for DeployStageLifecycleStateEnum
const ( DeployStageLifecycleStateCreating DeployStageLifecycleStateEnum = "CREATING" DeployStageLifecycleStateUpdating DeployStageLifecycleStateEnum = "UPDATING" DeployStageLifecycleStateActive DeployStageLifecycleStateEnum = "ACTIVE" DeployStageLifecycleStateDeleting DeployStageLifecycleStateEnum = "DELETING" DeployStageLifecycleStateDeleted DeployStageLifecycleStateEnum = "DELETED" DeployStageLifecycleStateFailed DeployStageLifecycleStateEnum = "FAILED" )
func GetDeployStageLifecycleStateEnumValues() []DeployStageLifecycleStateEnum
GetDeployStageLifecycleStateEnumValues Enumerates the set of values for DeployStageLifecycleStateEnum
DeployStagePredecessor Metadata for defining a stage's predecessor.
type DeployStagePredecessor struct { // The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID. Id *string `mandatory:"true" json:"id"` }
func (m DeployStagePredecessor) String() string
DeployStagePredecessorCollection Collection containing the predecessors of a stage.
type DeployStagePredecessorCollection struct { // A list of stage predecessors for a stage. Items []DeployStagePredecessor `mandatory:"true" json:"items"` }
func (m DeployStagePredecessorCollection) String() string
DeployStageRollbackPolicy Specifies the rollback policy. This is initiated on the failure of certain stage types.
type DeployStageRollbackPolicy interface { }
DeployStageRollbackPolicyPolicyTypeEnum Enum with underlying type: string
type DeployStageRollbackPolicyPolicyTypeEnum string
Set of constants representing the allowable values for DeployStageRollbackPolicyPolicyTypeEnum
const ( DeployStageRollbackPolicyPolicyTypeAutomatedStageRollbackPolicy DeployStageRollbackPolicyPolicyTypeEnum = "AUTOMATED_STAGE_ROLLBACK_POLICY" DeployStageRollbackPolicyPolicyTypeNoStageRollbackPolicy DeployStageRollbackPolicyPolicyTypeEnum = "NO_STAGE_ROLLBACK_POLICY" )
func GetDeployStageRollbackPolicyPolicyTypeEnumValues() []DeployStageRollbackPolicyPolicyTypeEnum
GetDeployStageRollbackPolicyPolicyTypeEnumValues Enumerates the set of values for DeployStageRollbackPolicyPolicyTypeEnum
DeployStageSummary Summary of the deployment stage.
type DeployStageSummary interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of a project. GetProjectId() *string // The OCID of a pipeline. GetDeployPipelineId() *string // The OCID of a compartment. GetCompartmentId() *string // Optional description about the deployment stage. GetDescription() *string // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the deployment stage. GetLifecycleState() DeployStageLifecycleStateEnum // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
Deployment A single execution or run of a pipeline.
type Deployment interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of a project. GetProjectId() *string // The OCID of a pipeline. GetDeployPipelineId() *string // The OCID of a compartment. GetCompartmentId() *string GetDeployPipelineArtifacts() *DeployPipelineArtifactCollection GetDeployPipelineEnvironments() *DeployPipelineEnvironmentCollection // Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Time the deployment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // Time the deployment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the deployment. GetLifecycleState() DeploymentLifecycleStateEnum // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string GetDeploymentArguments() *DeploymentArgumentCollection GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection GetDeploymentExecutionProgress() *DeploymentExecutionProgress // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
DeploymentArgument Values for pipeline parameters to be supplied at the time of deployment.
type DeploymentArgument struct { // Name of the parameter (case-sensitive). Name *string `mandatory:"true" json:"name"` // value of the argument. Value *string `mandatory:"true" json:"value"` }
func (m DeploymentArgument) String() string
DeploymentArgumentCollection Specifies list of arguments passed along with the deployment.
type DeploymentArgumentCollection struct { // List of arguments provided at the time of deployment. Items []DeploymentArgument `mandatory:"true" json:"items"` }
func (m DeploymentArgumentCollection) String() string
DeploymentCollection Results of a deployment search.
type DeploymentCollection struct { // Array of deployment summary items. Items []DeploymentSummary `mandatory:"true" json:"items"` }
func (m DeploymentCollection) String() string
func (m *DeploymentCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DeploymentDeploymentTypeEnum Enum with underlying type: string
type DeploymentDeploymentTypeEnum string
Set of constants representing the allowable values for DeploymentDeploymentTypeEnum
const ( DeploymentDeploymentTypePipelineDeployment DeploymentDeploymentTypeEnum = "PIPELINE_DEPLOYMENT" DeploymentDeploymentTypePipelineRedeployment DeploymentDeploymentTypeEnum = "PIPELINE_REDEPLOYMENT" DeploymentDeploymentTypeSingleStageDeployment DeploymentDeploymentTypeEnum = "SINGLE_STAGE_DEPLOYMENT" )
func GetDeploymentDeploymentTypeEnumValues() []DeploymentDeploymentTypeEnum
GetDeploymentDeploymentTypeEnumValues Enumerates the set of values for DeploymentDeploymentTypeEnum
DeploymentExecutionProgress The execution progress details of a deployment.
type DeploymentExecutionProgress struct { // Time the deployment is started. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the deployment is finished. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Map of stage OCIDs to deploy stage execution progress model. DeployStageExecutionProgress map[string]DeployStageExecutionProgress `mandatory:"false" json:"deployStageExecutionProgress"` }
func (m DeploymentExecutionProgress) String() string
func (m *DeploymentExecutionProgress) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
DeploymentLifecycleStateEnum Enum with underlying type: string
type DeploymentLifecycleStateEnum string
Set of constants representing the allowable values for DeploymentLifecycleStateEnum
const ( DeploymentLifecycleStateAccepted DeploymentLifecycleStateEnum = "ACCEPTED" DeploymentLifecycleStateInProgress DeploymentLifecycleStateEnum = "IN_PROGRESS" DeploymentLifecycleStateFailed DeploymentLifecycleStateEnum = "FAILED" DeploymentLifecycleStateSucceeded DeploymentLifecycleStateEnum = "SUCCEEDED" DeploymentLifecycleStateCanceling DeploymentLifecycleStateEnum = "CANCELING" DeploymentLifecycleStateCanceled DeploymentLifecycleStateEnum = "CANCELED" )
func GetDeploymentLifecycleStateEnumValues() []DeploymentLifecycleStateEnum
GetDeploymentLifecycleStateEnumValues Enumerates the set of values for DeploymentLifecycleStateEnum
DeploymentSummary Summary of the deployment.
type DeploymentSummary interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of a project. GetProjectId() *string // The OCID of a pipeline. GetDeployPipelineId() *string // The OCID of a compartment. GetCompartmentId() *string // Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Time the deployment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // Time the deployment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the deployment. GetLifecycleState() DeploymentLifecycleStateEnum GetDeploymentArguments() *DeploymentArgumentCollection GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` GetSystemTags() map[string]map[string]interface{} }
DevopsClient a client for Devops
type DevopsClient struct { common.BaseClient // contains filtered or unexported fields }
func NewDevopsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DevopsClient, err error)
NewDevopsClientWithConfigurationProvider Creates a new default Devops client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewDevopsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DevopsClient, err error)
NewDevopsClientWithOboToken Creates a new default Devops client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client DevopsClient) ApproveDeployment(ctx context.Context, request ApproveDeploymentRequest) (response ApproveDeploymentResponse, err error)
ApproveDeployment Submit stage approval.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ApproveDeployment.go.html to see an example of how to use ApproveDeployment API.
func (client DevopsClient) CancelDeployment(ctx context.Context, request CancelDeploymentRequest) (response CancelDeploymentResponse, err error)
CancelDeployment Cancels a deployment resource by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CancelDeployment.go.html to see an example of how to use CancelDeployment API.
func (client DevopsClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
ChangeProjectCompartment Moves a project resource from one compartment OCID to another.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartment API.
func (client *DevopsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DevopsClient) CreateDeployArtifact(ctx context.Context, request CreateDeployArtifactRequest) (response CreateDeployArtifactResponse, err error)
CreateDeployArtifact Creates a new deployment artifact.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployArtifact.go.html to see an example of how to use CreateDeployArtifact API.
func (client DevopsClient) CreateDeployEnvironment(ctx context.Context, request CreateDeployEnvironmentRequest) (response CreateDeployEnvironmentResponse, err error)
CreateDeployEnvironment Creates a new deployment environment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployEnvironment.go.html to see an example of how to use CreateDeployEnvironment API.
func (client DevopsClient) CreateDeployPipeline(ctx context.Context, request CreateDeployPipelineRequest) (response CreateDeployPipelineResponse, err error)
CreateDeployPipeline Creates a new deployment pipeline.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployPipeline.go.html to see an example of how to use CreateDeployPipeline API.
func (client DevopsClient) CreateDeployStage(ctx context.Context, request CreateDeployStageRequest) (response CreateDeployStageResponse, err error)
CreateDeployStage Creates a new deployment stage.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployStage.go.html to see an example of how to use CreateDeployStage API.
func (client DevopsClient) CreateDeployment(ctx context.Context, request CreateDeploymentRequest) (response CreateDeploymentResponse, err error)
CreateDeployment Creates a new deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateDeployment.go.html to see an example of how to use CreateDeployment API.
func (client DevopsClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
CreateProject Creates a new project.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/CreateProject.go.html to see an example of how to use CreateProject API.
func (client DevopsClient) DeleteDeployArtifact(ctx context.Context, request DeleteDeployArtifactRequest) (response DeleteDeployArtifactResponse, err error)
DeleteDeployArtifact Deletes a deployment artifact resource by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteDeployArtifact.go.html to see an example of how to use DeleteDeployArtifact API.
func (client DevopsClient) DeleteDeployEnvironment(ctx context.Context, request DeleteDeployEnvironmentRequest) (response DeleteDeployEnvironmentResponse, err error)
DeleteDeployEnvironment Deletes a deployment environment resource by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteDeployEnvironment.go.html to see an example of how to use DeleteDeployEnvironment API.
func (client DevopsClient) DeleteDeployPipeline(ctx context.Context, request DeleteDeployPipelineRequest) (response DeleteDeployPipelineResponse, err error)
DeleteDeployPipeline Deletes a deployment pipeline resource by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteDeployPipeline.go.html to see an example of how to use DeleteDeployPipeline API.
func (client DevopsClient) DeleteDeployStage(ctx context.Context, request DeleteDeployStageRequest) (response DeleteDeployStageResponse, err error)
DeleteDeployStage Deletes a deployment stage resource by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteDeployStage.go.html to see an example of how to use DeleteDeployStage API.
func (client DevopsClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
DeleteProject Deletes a project resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/DeleteProject.go.html to see an example of how to use DeleteProject API.
func (client DevopsClient) GetDeployArtifact(ctx context.Context, request GetDeployArtifactRequest) (response GetDeployArtifactResponse, err error)
GetDeployArtifact Retrieves a deployment artifact by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployArtifact.go.html to see an example of how to use GetDeployArtifact API.
func (client DevopsClient) GetDeployEnvironment(ctx context.Context, request GetDeployEnvironmentRequest) (response GetDeployEnvironmentResponse, err error)
GetDeployEnvironment Retrieves a deployment environment by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployEnvironment.go.html to see an example of how to use GetDeployEnvironment API.
func (client DevopsClient) GetDeployPipeline(ctx context.Context, request GetDeployPipelineRequest) (response GetDeployPipelineResponse, err error)
GetDeployPipeline Retrieves a deployment pipeline by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployPipeline.go.html to see an example of how to use GetDeployPipeline API.
func (client DevopsClient) GetDeployStage(ctx context.Context, request GetDeployStageRequest) (response GetDeployStageResponse, err error)
GetDeployStage Retrieves a deployment stage by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployStage.go.html to see an example of how to use GetDeployStage API.
func (client DevopsClient) GetDeployment(ctx context.Context, request GetDeploymentRequest) (response GetDeploymentResponse, err error)
GetDeployment Retrieves a deployment by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployment.go.html to see an example of how to use GetDeployment API.
func (client DevopsClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
GetProject Retrieves a project by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetProject.go.html to see an example of how to use GetProject API.
func (client DevopsClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Retrieves the status of the work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client DevopsClient) ListDeployArtifacts(ctx context.Context, request ListDeployArtifactsRequest) (response ListDeployArtifactsResponse, err error)
ListDeployArtifacts Returns a list of deployment artifacts.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployArtifacts.go.html to see an example of how to use ListDeployArtifacts API.
func (client DevopsClient) ListDeployEnvironments(ctx context.Context, request ListDeployEnvironmentsRequest) (response ListDeployEnvironmentsResponse, err error)
ListDeployEnvironments Returns a list of deployment environments.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployEnvironments.go.html to see an example of how to use ListDeployEnvironments API.
func (client DevopsClient) ListDeployPipelines(ctx context.Context, request ListDeployPipelinesRequest) (response ListDeployPipelinesResponse, err error)
ListDeployPipelines Returns a list of deployment pipelines.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployPipelines.go.html to see an example of how to use ListDeployPipelines API.
func (client DevopsClient) ListDeployStages(ctx context.Context, request ListDeployStagesRequest) (response ListDeployStagesResponse, err error)
ListDeployStages Retrieves a list of deployment stages.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployStages.go.html to see an example of how to use ListDeployStages API.
func (client DevopsClient) ListDeployments(ctx context.Context, request ListDeploymentsRequest) (response ListDeploymentsResponse, err error)
ListDeployments Returns a list of deployments.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployments.go.html to see an example of how to use ListDeployments API.
func (client DevopsClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
ListProjects Returns a list of projects.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListProjects.go.html to see an example of how to use ListProjects API.
func (client DevopsClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Returns a list of errors for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client DevopsClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Returns a list of logs for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client DevopsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *DevopsClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DevopsClient) UpdateDeployArtifact(ctx context.Context, request UpdateDeployArtifactRequest) (response UpdateDeployArtifactResponse, err error)
UpdateDeployArtifact Updates the deployment artifact.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployArtifact.go.html to see an example of how to use UpdateDeployArtifact API.
func (client DevopsClient) UpdateDeployEnvironment(ctx context.Context, request UpdateDeployEnvironmentRequest) (response UpdateDeployEnvironmentResponse, err error)
UpdateDeployEnvironment Updates the deployment environment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployEnvironment.go.html to see an example of how to use UpdateDeployEnvironment API.
func (client DevopsClient) UpdateDeployPipeline(ctx context.Context, request UpdateDeployPipelineRequest) (response UpdateDeployPipelineResponse, err error)
UpdateDeployPipeline Updates the deployment pipeline.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployPipeline.go.html to see an example of how to use UpdateDeployPipeline API.
func (client DevopsClient) UpdateDeployStage(ctx context.Context, request UpdateDeployStageRequest) (response UpdateDeployStageResponse, err error)
UpdateDeployStage Updates the deployment stage.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployStage.go.html to see an example of how to use UpdateDeployStage API.
func (client DevopsClient) UpdateDeployment(ctx context.Context, request UpdateDeploymentRequest) (response UpdateDeploymentResponse, err error)
UpdateDeployment Updates the deployment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployment.go.html to see an example of how to use UpdateDeployment API.
func (client DevopsClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
UpdateProject Updates the project.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateProject.go.html to see an example of how to use UpdateProject API.
FunctionDeployEnvironment Specifies the Function environment.
type FunctionDeployEnvironment struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Function. FunctionId *string `mandatory:"true" json:"functionId"` // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment environment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment environment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment environment. LifecycleState DeployEnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m FunctionDeployEnvironment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m FunctionDeployEnvironment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m FunctionDeployEnvironment) GetDescription() *string
GetDescription returns Description
func (m FunctionDeployEnvironment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m FunctionDeployEnvironment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m FunctionDeployEnvironment) GetId() *string
GetId returns Id
func (m FunctionDeployEnvironment) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m FunctionDeployEnvironment) GetLifecycleState() DeployEnvironmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m FunctionDeployEnvironment) GetProjectId() *string
GetProjectId returns ProjectId
func (m FunctionDeployEnvironment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m FunctionDeployEnvironment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m FunctionDeployEnvironment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m FunctionDeployEnvironment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FunctionDeployEnvironment) String() string
FunctionDeployEnvironmentSummary Specifies the Function environment.
type FunctionDeployEnvironmentSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Function. FunctionId *string `mandatory:"true" json:"functionId"` // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name, which can be renamed and is not necessarily unique. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment environment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment environment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment environment. LifecycleState DeployEnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m FunctionDeployEnvironmentSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m FunctionDeployEnvironmentSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m FunctionDeployEnvironmentSummary) GetDescription() *string
GetDescription returns Description
func (m FunctionDeployEnvironmentSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m FunctionDeployEnvironmentSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m FunctionDeployEnvironmentSummary) GetId() *string
GetId returns Id
func (m FunctionDeployEnvironmentSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m FunctionDeployEnvironmentSummary) GetLifecycleState() DeployEnvironmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m FunctionDeployEnvironmentSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m FunctionDeployEnvironmentSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m FunctionDeployEnvironmentSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m FunctionDeployEnvironmentSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m FunctionDeployEnvironmentSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FunctionDeployEnvironmentSummary) String() string
FunctionDeployStage Specifies the Function stage.
type FunctionDeployStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Function environment OCID. FunctionDeployEnvironmentId *string `mandatory:"true" json:"functionDeployEnvironmentId"` // A Docker image artifact OCID. DockerImageDeployArtifactId *string `mandatory:"true" json:"dockerImageDeployArtifactId"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // User provided key and value pair configuration, which is assigned through constants or parameter. Config map[string]string `mandatory:"false" json:"config"` // Maximum usable memory for the Function (in MB). MaxMemoryInMBs *int64 `mandatory:"false" json:"maxMemoryInMBs"` // Timeout for execution of the Function. Value in seconds. FunctionTimeoutInSeconds *int `mandatory:"false" json:"functionTimeoutInSeconds"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m FunctionDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m FunctionDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m FunctionDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m FunctionDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m FunctionDeployStage) GetDescription() *string
GetDescription returns Description
func (m FunctionDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m FunctionDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m FunctionDeployStage) GetId() *string
GetId returns Id
func (m FunctionDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m FunctionDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m FunctionDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m FunctionDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m FunctionDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m FunctionDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m FunctionDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FunctionDeployStage) String() string
FunctionDeployStageExecutionProgress Specifies the execution details for Function deployment stage.
type FunctionDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m FunctionDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m FunctionDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m FunctionDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m FunctionDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m FunctionDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m FunctionDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m FunctionDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m FunctionDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FunctionDeployStageExecutionProgress) String() string
FunctionDeployStageSummary Specifies the Function stage.
type FunctionDeployStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Function environment OCID. FunctionDeployEnvironmentId *string `mandatory:"true" json:"functionDeployEnvironmentId"` // A Docker image artifact OCID. DockerImageDeployArtifactId *string `mandatory:"true" json:"dockerImageDeployArtifactId"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // User provided key and value pair configuration, which is assigned through constants or parameter. Config map[string]string `mandatory:"false" json:"config"` // Maximum usable memory for the Function (in MB). MaxMemoryInMBs *int64 `mandatory:"false" json:"maxMemoryInMBs"` // Timeout for execution of the Function. Value in seconds. FunctionTimeoutInSeconds *int `mandatory:"false" json:"functionTimeoutInSeconds"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m FunctionDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m FunctionDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m FunctionDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m FunctionDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m FunctionDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m FunctionDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m FunctionDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m FunctionDeployStageSummary) GetId() *string
GetId returns Id
func (m FunctionDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m FunctionDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m FunctionDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m FunctionDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m FunctionDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m FunctionDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m FunctionDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m FunctionDeployStageSummary) String() string
GenericDeployArtifactSource Specifies the Artifact Registry source details.
type GenericDeployArtifactSource struct { // The OCID of a repository RepositoryId *string `mandatory:"true" json:"repositoryId"` // Specifies the artifact path in the repository. DeployArtifactPath *string `mandatory:"true" json:"deployArtifactPath"` // Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}. DeployArtifactVersion *string `mandatory:"true" json:"deployArtifactVersion"` }
func (m GenericDeployArtifactSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GenericDeployArtifactSource) String() string
GetDeployArtifactRequest wrapper for the GetDeployArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployArtifact.go.html to see an example of how to use GetDeployArtifactRequest.
type GetDeployArtifactRequest struct { // Unique artifact identifier. DeployArtifactId *string `mandatory:"true" contributesTo:"path" name:"deployArtifactId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDeployArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDeployArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDeployArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDeployArtifactRequest) String() string
GetDeployArtifactResponse wrapper for the GetDeployArtifact operation
type GetDeployArtifactResponse struct { // The underlying http response RawResponse *http.Response // The DeployArtifact instance DeployArtifact `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDeployArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDeployArtifactResponse) String() string
GetDeployEnvironmentRequest wrapper for the GetDeployEnvironment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployEnvironment.go.html to see an example of how to use GetDeployEnvironmentRequest.
type GetDeployEnvironmentRequest struct { // Unique environment identifier. DeployEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"deployEnvironmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDeployEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDeployEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDeployEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDeployEnvironmentRequest) String() string
GetDeployEnvironmentResponse wrapper for the GetDeployEnvironment operation
type GetDeployEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // The DeployEnvironment instance DeployEnvironment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDeployEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDeployEnvironmentResponse) String() string
GetDeployPipelineRequest wrapper for the GetDeployPipeline operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployPipeline.go.html to see an example of how to use GetDeployPipelineRequest.
type GetDeployPipelineRequest struct { // Unique pipeline identifier. DeployPipelineId *string `mandatory:"true" contributesTo:"path" name:"deployPipelineId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDeployPipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDeployPipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDeployPipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDeployPipelineRequest) String() string
GetDeployPipelineResponse wrapper for the GetDeployPipeline operation
type GetDeployPipelineResponse struct { // The underlying http response RawResponse *http.Response // The DeployPipeline instance DeployPipeline `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDeployPipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDeployPipelineResponse) String() string
GetDeployStageRequest wrapper for the GetDeployStage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployStage.go.html to see an example of how to use GetDeployStageRequest.
type GetDeployStageRequest struct { // Unique stage identifier. DeployStageId *string `mandatory:"true" contributesTo:"path" name:"deployStageId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDeployStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDeployStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDeployStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDeployStageRequest) String() string
GetDeployStageResponse wrapper for the GetDeployStage operation
type GetDeployStageResponse struct { // The underlying http response RawResponse *http.Response // The DeployStage instance DeployStage `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDeployStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDeployStageResponse) String() string
GetDeploymentRequest wrapper for the GetDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetDeployment.go.html to see an example of how to use GetDeploymentRequest.
type GetDeploymentRequest struct { // Unique deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDeploymentRequest) String() string
GetDeploymentResponse wrapper for the GetDeployment operation
type GetDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The Deployment instance Deployment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDeploymentResponse) String() string
GetProjectRequest wrapper for the GetProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetProject.go.html to see an example of how to use GetProjectRequest.
type GetProjectRequest struct { // Unique project identifier. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetProjectRequest) String() string
GetProjectResponse wrapper for the GetProject operation
type GetProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response GetProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetProjectResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
InlineDeployArtifactSource Specifies the inline deployment artifact source details.
type InlineDeployArtifactSource struct { // base64 Encoded String Base64EncodedContent []byte `mandatory:"true" json:"base64EncodedContent"` }
func (m InlineDeployArtifactSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InlineDeployArtifactSource) String() string
InvokeFunctionDeployStage Specifies Invoke Function stage.
type InvokeFunctionDeployStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Function environment OCID. FunctionDeployEnvironmentId *string `mandatory:"true" json:"functionDeployEnvironmentId"` // A boolean flag specifies whether this stage executes asynchronously. IsAsync *bool `mandatory:"true" json:"isAsync"` // A boolean flag specifies whether the invoked function must be validated. IsValidationEnabled *bool `mandatory:"true" json:"isValidationEnabled"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Optional binary artifact OCID user may provide to this stage. DeployArtifactId *string `mandatory:"false" json:"deployArtifactId"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m InvokeFunctionDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m InvokeFunctionDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m InvokeFunctionDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m InvokeFunctionDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m InvokeFunctionDeployStage) GetDescription() *string
GetDescription returns Description
func (m InvokeFunctionDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m InvokeFunctionDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m InvokeFunctionDeployStage) GetId() *string
GetId returns Id
func (m InvokeFunctionDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m InvokeFunctionDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m InvokeFunctionDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m InvokeFunctionDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m InvokeFunctionDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m InvokeFunctionDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m InvokeFunctionDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InvokeFunctionDeployStage) String() string
InvokeFunctionDeployStageExecutionProgress Specifies the invoke function stage specific execution details.
type InvokeFunctionDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m InvokeFunctionDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m InvokeFunctionDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m InvokeFunctionDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m InvokeFunctionDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m InvokeFunctionDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m InvokeFunctionDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m InvokeFunctionDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m InvokeFunctionDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InvokeFunctionDeployStageExecutionProgress) String() string
InvokeFunctionDeployStageSummary Specifies Invoke Function stage.
type InvokeFunctionDeployStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Function environment OCID. FunctionDeployEnvironmentId *string `mandatory:"true" json:"functionDeployEnvironmentId"` // A boolean flag specifies whether this stage executes asynchronously. IsAsync *bool `mandatory:"true" json:"isAsync"` // A boolean flag specifies whether the invoked function must be validated. IsValidationEnabled *bool `mandatory:"true" json:"isValidationEnabled"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Optional binary artifact OCID user may provide to this stage. DeployArtifactId *string `mandatory:"false" json:"deployArtifactId"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m InvokeFunctionDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m InvokeFunctionDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m InvokeFunctionDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m InvokeFunctionDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m InvokeFunctionDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m InvokeFunctionDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m InvokeFunctionDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m InvokeFunctionDeployStageSummary) GetId() *string
GetId returns Id
func (m InvokeFunctionDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m InvokeFunctionDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m InvokeFunctionDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m InvokeFunctionDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m InvokeFunctionDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m InvokeFunctionDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m InvokeFunctionDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InvokeFunctionDeployStageSummary) String() string
ListDeployArtifactsRequest wrapper for the ListDeployArtifacts operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployArtifacts.go.html to see an example of how to use ListDeployArtifactsRequest.
type ListDeployArtifactsRequest struct { // Unique identifier or OCID for listing a single resource by ID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // unique project identifier ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return only DeployArtifacts that matches the given lifecycleState. LifecycleState DeployArtifactLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use. Use either ascending or descending. SortOrder ListDeployArtifactsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered. SortBy ListDeployArtifactsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDeployArtifactsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDeployArtifactsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDeployArtifactsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDeployArtifactsRequest) String() string
ListDeployArtifactsResponse wrapper for the ListDeployArtifacts operation
type ListDeployArtifactsResponse struct { // The underlying http response RawResponse *http.Response // A list of DeployArtifactCollection instances DeployArtifactCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDeployArtifactsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDeployArtifactsResponse) String() string
ListDeployArtifactsSortByEnum Enum with underlying type: string
type ListDeployArtifactsSortByEnum string
Set of constants representing the allowable values for ListDeployArtifactsSortByEnum
const ( ListDeployArtifactsSortByTimecreated ListDeployArtifactsSortByEnum = "timeCreated" ListDeployArtifactsSortByDisplayname ListDeployArtifactsSortByEnum = "displayName" )
func GetListDeployArtifactsSortByEnumValues() []ListDeployArtifactsSortByEnum
GetListDeployArtifactsSortByEnumValues Enumerates the set of values for ListDeployArtifactsSortByEnum
ListDeployArtifactsSortOrderEnum Enum with underlying type: string
type ListDeployArtifactsSortOrderEnum string
Set of constants representing the allowable values for ListDeployArtifactsSortOrderEnum
const ( ListDeployArtifactsSortOrderAsc ListDeployArtifactsSortOrderEnum = "ASC" ListDeployArtifactsSortOrderDesc ListDeployArtifactsSortOrderEnum = "DESC" )
func GetListDeployArtifactsSortOrderEnumValues() []ListDeployArtifactsSortOrderEnum
GetListDeployArtifactsSortOrderEnumValues Enumerates the set of values for ListDeployArtifactsSortOrderEnum
ListDeployEnvironmentsRequest wrapper for the ListDeployEnvironments operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployEnvironments.go.html to see an example of how to use ListDeployEnvironmentsRequest.
type ListDeployEnvironmentsRequest struct { // unique project identifier ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Unique identifier or OCID for listing a single resource by ID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only DeployEnvironments that matches the given lifecycleState. LifecycleState DeployEnvironmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use. Use either ascending or descending. SortOrder ListDeployEnvironmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered. SortBy ListDeployEnvironmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDeployEnvironmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDeployEnvironmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDeployEnvironmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDeployEnvironmentsRequest) String() string
ListDeployEnvironmentsResponse wrapper for the ListDeployEnvironments operation
type ListDeployEnvironmentsResponse struct { // The underlying http response RawResponse *http.Response // A list of DeployEnvironmentCollection instances DeployEnvironmentCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDeployEnvironmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDeployEnvironmentsResponse) String() string
ListDeployEnvironmentsSortByEnum Enum with underlying type: string
type ListDeployEnvironmentsSortByEnum string
Set of constants representing the allowable values for ListDeployEnvironmentsSortByEnum
const ( ListDeployEnvironmentsSortByTimecreated ListDeployEnvironmentsSortByEnum = "timeCreated" ListDeployEnvironmentsSortByDisplayname ListDeployEnvironmentsSortByEnum = "displayName" )
func GetListDeployEnvironmentsSortByEnumValues() []ListDeployEnvironmentsSortByEnum
GetListDeployEnvironmentsSortByEnumValues Enumerates the set of values for ListDeployEnvironmentsSortByEnum
ListDeployEnvironmentsSortOrderEnum Enum with underlying type: string
type ListDeployEnvironmentsSortOrderEnum string
Set of constants representing the allowable values for ListDeployEnvironmentsSortOrderEnum
const ( ListDeployEnvironmentsSortOrderAsc ListDeployEnvironmentsSortOrderEnum = "ASC" ListDeployEnvironmentsSortOrderDesc ListDeployEnvironmentsSortOrderEnum = "DESC" )
func GetListDeployEnvironmentsSortOrderEnumValues() []ListDeployEnvironmentsSortOrderEnum
GetListDeployEnvironmentsSortOrderEnumValues Enumerates the set of values for ListDeployEnvironmentsSortOrderEnum
ListDeployPipelinesRequest wrapper for the ListDeployPipelines operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployPipelines.go.html to see an example of how to use ListDeployPipelinesRequest.
type ListDeployPipelinesRequest struct { // Unique identifier or OCID for listing a single resource by ID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // unique project identifier ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return only DeployPipelines that matches the given lifecycleState. LifecycleState DeployPipelineLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use. Use either ascending or descending. SortOrder ListDeployPipelinesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered. SortBy ListDeployPipelinesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDeployPipelinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDeployPipelinesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDeployPipelinesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDeployPipelinesRequest) String() string
ListDeployPipelinesResponse wrapper for the ListDeployPipelines operation
type ListDeployPipelinesResponse struct { // The underlying http response RawResponse *http.Response // A list of DeployPipelineCollection instances DeployPipelineCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDeployPipelinesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDeployPipelinesResponse) String() string
ListDeployPipelinesSortByEnum Enum with underlying type: string
type ListDeployPipelinesSortByEnum string
Set of constants representing the allowable values for ListDeployPipelinesSortByEnum
const ( ListDeployPipelinesSortByTimecreated ListDeployPipelinesSortByEnum = "timeCreated" ListDeployPipelinesSortByDisplayname ListDeployPipelinesSortByEnum = "displayName" )
func GetListDeployPipelinesSortByEnumValues() []ListDeployPipelinesSortByEnum
GetListDeployPipelinesSortByEnumValues Enumerates the set of values for ListDeployPipelinesSortByEnum
ListDeployPipelinesSortOrderEnum Enum with underlying type: string
type ListDeployPipelinesSortOrderEnum string
Set of constants representing the allowable values for ListDeployPipelinesSortOrderEnum
const ( ListDeployPipelinesSortOrderAsc ListDeployPipelinesSortOrderEnum = "ASC" ListDeployPipelinesSortOrderDesc ListDeployPipelinesSortOrderEnum = "DESC" )
func GetListDeployPipelinesSortOrderEnumValues() []ListDeployPipelinesSortOrderEnum
GetListDeployPipelinesSortOrderEnumValues Enumerates the set of values for ListDeployPipelinesSortOrderEnum
ListDeployStagesRequest wrapper for the ListDeployStages operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployStages.go.html to see an example of how to use ListDeployStagesRequest.
type ListDeployStagesRequest struct { // Unique identifier or OCID for listing a single resource by ID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The ID of the parent pipeline. DeployPipelineId *string `mandatory:"false" contributesTo:"query" name:"deployPipelineId"` // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return only deployment stages that matches the given lifecycle state. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use. Use either ascending or descending. SortOrder ListDeployStagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered. SortBy ListDeployStagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDeployStagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDeployStagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDeployStagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDeployStagesRequest) String() string
ListDeployStagesResponse wrapper for the ListDeployStages operation
type ListDeployStagesResponse struct { // The underlying http response RawResponse *http.Response // A list of DeployStageCollection instances DeployStageCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDeployStagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDeployStagesResponse) String() string
ListDeployStagesSortByEnum Enum with underlying type: string
type ListDeployStagesSortByEnum string
Set of constants representing the allowable values for ListDeployStagesSortByEnum
const ( ListDeployStagesSortByTimecreated ListDeployStagesSortByEnum = "timeCreated" ListDeployStagesSortByDisplayname ListDeployStagesSortByEnum = "displayName" )
func GetListDeployStagesSortByEnumValues() []ListDeployStagesSortByEnum
GetListDeployStagesSortByEnumValues Enumerates the set of values for ListDeployStagesSortByEnum
ListDeployStagesSortOrderEnum Enum with underlying type: string
type ListDeployStagesSortOrderEnum string
Set of constants representing the allowable values for ListDeployStagesSortOrderEnum
const ( ListDeployStagesSortOrderAsc ListDeployStagesSortOrderEnum = "ASC" ListDeployStagesSortOrderDesc ListDeployStagesSortOrderEnum = "DESC" )
func GetListDeployStagesSortOrderEnumValues() []ListDeployStagesSortOrderEnum
GetListDeployStagesSortOrderEnumValues Enumerates the set of values for ListDeployStagesSortOrderEnum
ListDeploymentsRequest wrapper for the ListDeployments operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListDeployments.go.html to see an example of how to use ListDeploymentsRequest.
type ListDeploymentsRequest struct { // The ID of the parent pipeline. DeployPipelineId *string `mandatory:"false" contributesTo:"query" name:"deployPipelineId"` // Unique identifier or OCID for listing a single resource by ID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // unique project identifier ProjectId *string `mandatory:"false" contributesTo:"query" name:"projectId"` // A filter to return only Deployments that matches the given lifecycleState. LifecycleState DeploymentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use. Use either ascending or descending. SortOrder ListDeploymentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered. SortBy ListDeploymentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to `timeCreatedLessThan` parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"` // Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to `timeCreatedGreaterThanOrEqualTo` parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListDeploymentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListDeploymentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListDeploymentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListDeploymentsRequest) String() string
ListDeploymentsResponse wrapper for the ListDeployments operation
type ListDeploymentsResponse struct { // The underlying http response RawResponse *http.Response // A list of DeploymentCollection instances DeploymentCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListDeploymentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListDeploymentsResponse) String() string
ListDeploymentsSortByEnum Enum with underlying type: string
type ListDeploymentsSortByEnum string
Set of constants representing the allowable values for ListDeploymentsSortByEnum
const ( ListDeploymentsSortByTimecreated ListDeploymentsSortByEnum = "timeCreated" ListDeploymentsSortByDisplayname ListDeploymentsSortByEnum = "displayName" )
func GetListDeploymentsSortByEnumValues() []ListDeploymentsSortByEnum
GetListDeploymentsSortByEnumValues Enumerates the set of values for ListDeploymentsSortByEnum
ListDeploymentsSortOrderEnum Enum with underlying type: string
type ListDeploymentsSortOrderEnum string
Set of constants representing the allowable values for ListDeploymentsSortOrderEnum
const ( ListDeploymentsSortOrderAsc ListDeploymentsSortOrderEnum = "ASC" ListDeploymentsSortOrderDesc ListDeploymentsSortOrderEnum = "DESC" )
func GetListDeploymentsSortOrderEnumValues() []ListDeploymentsSortOrderEnum
GetListDeploymentsSortOrderEnumValues Enumerates the set of values for ListDeploymentsSortOrderEnum
ListProjectsRequest wrapper for the ListProjects operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListProjects.go.html to see an example of how to use ListProjectsRequest.
type ListProjectsRequest struct { // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique identifier or OCID for listing a single resource by ID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // A filter to return only Projects that matches the given lifecycleState. LifecycleState ProjectLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // A filter to return only resources that match the entire name given. Name *string `mandatory:"false" contributesTo:"query" name:"name"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use. Use either ascending or descending. SortOrder ListProjectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered. SortBy ListProjectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListProjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListProjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListProjectsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListProjectsRequest) String() string
ListProjectsResponse wrapper for the ListProjects operation
type ListProjectsResponse struct { // The underlying http response RawResponse *http.Response // A list of ProjectCollection instances ProjectCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListProjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListProjectsResponse) String() string
ListProjectsSortByEnum Enum with underlying type: string
type ListProjectsSortByEnum string
Set of constants representing the allowable values for ListProjectsSortByEnum
const ( ListProjectsSortByTimecreated ListProjectsSortByEnum = "timeCreated" ListProjectsSortByDisplayname ListProjectsSortByEnum = "displayName" )
func GetListProjectsSortByEnumValues() []ListProjectsSortByEnum
GetListProjectsSortByEnumValues Enumerates the set of values for ListProjectsSortByEnum
ListProjectsSortOrderEnum Enum with underlying type: string
type ListProjectsSortOrderEnum string
Set of constants representing the allowable values for ListProjectsSortOrderEnum
const ( ListProjectsSortOrderAsc ListProjectsSortOrderEnum = "ASC" ListProjectsSortOrderDesc ListProjectsSortOrderEnum = "DESC" )
func GetListProjectsSortOrderEnumValues() []ListProjectsSortOrderEnum
GetListProjectsSortOrderEnumValues Enumerates the set of values for ListProjectsSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use. Use either ascending or descending. SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order can be provided. Default sort order is descending and is based on the timeAccepted field. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use. Use either ascending or descending. SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order can be provided. Default sort order is descending and is based on the timeAccepted field. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only resources where the lifecycle state matches the given operation status. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The ID of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The sort order to use. Use either ascending or descending. SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order can be provided. Default sort order is descending and is based on the timeAccepted field. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestCollection instances WorkRequestCollection `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
LoadBalancerConfig Specifies config for load balancer traffic shift stages.
type LoadBalancerConfig struct { // The OCID of the load balancer. LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"` // Name of the load balancer listener. ListenerName *string `mandatory:"true" json:"listenerName"` // Listen port for the backend server. BackendPort *int `mandatory:"false" json:"backendPort"` }
func (m LoadBalancerConfig) String() string
LoadBalancerTrafficShiftDeployStage Specifies load balancer traffic shift stage.
type LoadBalancerTrafficShiftDeployStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` BlueBackendIps *BackendSetIpCollection `mandatory:"true" json:"blueBackendIps"` GreenBackendIps *BackendSetIpCollection `mandatory:"true" json:"greenBackendIps"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `mandatory:"true" json:"rolloutPolicy"` LoadBalancerConfig *LoadBalancerConfig `mandatory:"true" json:"loadBalancerConfig"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` // Specifies the target or destination backend set. TrafficShiftTarget LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum `mandatory:"true" json:"trafficShiftTarget"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m LoadBalancerTrafficShiftDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m LoadBalancerTrafficShiftDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m LoadBalancerTrafficShiftDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m LoadBalancerTrafficShiftDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m LoadBalancerTrafficShiftDeployStage) GetDescription() *string
GetDescription returns Description
func (m LoadBalancerTrafficShiftDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m LoadBalancerTrafficShiftDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m LoadBalancerTrafficShiftDeployStage) GetId() *string
GetId returns Id
func (m LoadBalancerTrafficShiftDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m LoadBalancerTrafficShiftDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m LoadBalancerTrafficShiftDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m LoadBalancerTrafficShiftDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m LoadBalancerTrafficShiftDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m LoadBalancerTrafficShiftDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m LoadBalancerTrafficShiftDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LoadBalancerTrafficShiftDeployStage) String() string
func (m *LoadBalancerTrafficShiftDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
LoadBalancerTrafficShiftDeployStageExecutionProgress Specifies the load balancer traffic shift stage execution details.
type LoadBalancerTrafficShiftDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) String() string
LoadBalancerTrafficShiftDeployStageSummary Specifies load balancer traffic shift stage.
type LoadBalancerTrafficShiftDeployStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` BlueBackendIps *BackendSetIpCollection `mandatory:"true" json:"blueBackendIps"` GreenBackendIps *BackendSetIpCollection `mandatory:"true" json:"greenBackendIps"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `mandatory:"true" json:"rolloutPolicy"` LoadBalancerConfig *LoadBalancerConfig `mandatory:"true" json:"loadBalancerConfig"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Specifies the target or destination backend set. TrafficShiftTarget LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum `mandatory:"true" json:"trafficShiftTarget"` }
func (m LoadBalancerTrafficShiftDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m LoadBalancerTrafficShiftDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m LoadBalancerTrafficShiftDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m LoadBalancerTrafficShiftDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m LoadBalancerTrafficShiftDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m LoadBalancerTrafficShiftDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m LoadBalancerTrafficShiftDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m LoadBalancerTrafficShiftDeployStageSummary) GetId() *string
GetId returns Id
func (m LoadBalancerTrafficShiftDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m LoadBalancerTrafficShiftDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m LoadBalancerTrafficShiftDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m LoadBalancerTrafficShiftDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m LoadBalancerTrafficShiftDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m LoadBalancerTrafficShiftDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m LoadBalancerTrafficShiftDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m LoadBalancerTrafficShiftDeployStageSummary) String() string
func (m *LoadBalancerTrafficShiftDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum Enum with underlying type: string
type LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum string
Set of constants representing the allowable values for LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum
const ( LoadBalancerTrafficShiftDeployStageTrafficShiftTargetAutoSelect LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum = "AUTO_SELECT" LoadBalancerTrafficShiftDeployStageTrafficShiftTargetBlue LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum = "BLUE" LoadBalancerTrafficShiftDeployStageTrafficShiftTargetGreen LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum = "GREEN" )
func GetLoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnumValues() []LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum
GetLoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnumValues Enumerates the set of values for LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum
LoadBalancerTrafficShiftRolloutPolicy Description of rollout policy for load balancer traffic shift stage.
type LoadBalancerTrafficShiftRolloutPolicy struct { // Specifies number of batches for this stage. BatchCount *int `mandatory:"true" json:"batchCount"` // Specifies delay in seconds between batches. The default delay is 1 minute. BatchDelayInSeconds *int `mandatory:"false" json:"batchDelayInSeconds"` // Indicates the criteria to stop. RampLimitPercent *float32 `mandatory:"false" json:"rampLimitPercent"` }
func (m LoadBalancerTrafficShiftRolloutPolicy) String() string
ManualApprovalDeployStage Specifies the manual approval stage.
type ManualApprovalDeployStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` ApprovalPolicy ApprovalPolicy `mandatory:"true" json:"approvalPolicy"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ManualApprovalDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ManualApprovalDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ManualApprovalDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ManualApprovalDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ManualApprovalDeployStage) GetDescription() *string
GetDescription returns Description
func (m ManualApprovalDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ManualApprovalDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ManualApprovalDeployStage) GetId() *string
GetId returns Id
func (m ManualApprovalDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ManualApprovalDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ManualApprovalDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m ManualApprovalDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ManualApprovalDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ManualApprovalDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ManualApprovalDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ManualApprovalDeployStage) String() string
func (m *ManualApprovalDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ManualApprovalDeployStageExecutionProgress Specifies the manual approval stage specific execution details.
type ManualApprovalDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` ApprovalActions []ApprovalAction `mandatory:"false" json:"approvalActions"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m ManualApprovalDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m ManualApprovalDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m ManualApprovalDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m ManualApprovalDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m ManualApprovalDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m ManualApprovalDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m ManualApprovalDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m ManualApprovalDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ManualApprovalDeployStageExecutionProgress) String() string
ManualApprovalDeployStageSummary Specifies the manual approval stage.
type ManualApprovalDeployStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` ApprovalPolicy ApprovalPolicy `mandatory:"true" json:"approvalPolicy"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ManualApprovalDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ManualApprovalDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ManualApprovalDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ManualApprovalDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ManualApprovalDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m ManualApprovalDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ManualApprovalDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ManualApprovalDeployStageSummary) GetId() *string
GetId returns Id
func (m ManualApprovalDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ManualApprovalDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ManualApprovalDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m ManualApprovalDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ManualApprovalDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ManualApprovalDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ManualApprovalDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ManualApprovalDeployStageSummary) String() string
func (m *ManualApprovalDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
NoDeployStageRollbackPolicy Specifies the no rollback policy for a Stage on failure.
type NoDeployStageRollbackPolicy struct { }
func (m NoDeployStageRollbackPolicy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m NoDeployStageRollbackPolicy) String() string
NotificationConfig Notification configuration for the project.
type NotificationConfig struct { // The topic ID for notifications. TopicId *string `mandatory:"true" json:"topicId"` }
func (m NotificationConfig) String() string
OcirDeployArtifactSource Specifies the OCIR details.
type OcirDeployArtifactSource struct { // Specifies OCIR Image Path - optionally include tag. ImageUri *string `mandatory:"true" json:"imageUri"` // Specifies image digest for the version of the image. ImageDigest *string `mandatory:"false" json:"imageDigest"` }
func (m OcirDeployArtifactSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OcirDeployArtifactSource) String() string
OkeClusterDeployEnvironment Specifies the Kubernetes cluster environment.
type OkeClusterDeployEnvironment struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Kubernetes cluster. ClusterId *string `mandatory:"true" json:"clusterId"` // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment environment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment environment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment environment. LifecycleState DeployEnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m OkeClusterDeployEnvironment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeClusterDeployEnvironment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeClusterDeployEnvironment) GetDescription() *string
GetDescription returns Description
func (m OkeClusterDeployEnvironment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeClusterDeployEnvironment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeClusterDeployEnvironment) GetId() *string
GetId returns Id
func (m OkeClusterDeployEnvironment) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeClusterDeployEnvironment) GetLifecycleState() DeployEnvironmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeClusterDeployEnvironment) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeClusterDeployEnvironment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeClusterDeployEnvironment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeClusterDeployEnvironment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeClusterDeployEnvironment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeClusterDeployEnvironment) String() string
OkeClusterDeployEnvironmentSummary Specifies the Kubernetes cluster environment.
type OkeClusterDeployEnvironmentSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the Kubernetes cluster. ClusterId *string `mandatory:"true" json:"clusterId"` // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name, which can be renamed and is not necessarily unique. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment environment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment environment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment environment. LifecycleState DeployEnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m OkeClusterDeployEnvironmentSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeClusterDeployEnvironmentSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeClusterDeployEnvironmentSummary) GetDescription() *string
GetDescription returns Description
func (m OkeClusterDeployEnvironmentSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeClusterDeployEnvironmentSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeClusterDeployEnvironmentSummary) GetId() *string
GetId returns Id
func (m OkeClusterDeployEnvironmentSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeClusterDeployEnvironmentSummary) GetLifecycleState() DeployEnvironmentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeClusterDeployEnvironmentSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeClusterDeployEnvironmentSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeClusterDeployEnvironmentSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeClusterDeployEnvironmentSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeClusterDeployEnvironmentSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeClusterDeployEnvironmentSummary) String() string
OkeDeployStage Specifies the Container Engine for Kubernetes(OKE) cluster deployment stage.
type OkeDeployStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Kubernetes cluster environment OCID for deployment. OkeClusterDeployEnvironmentId *string `mandatory:"true" json:"okeClusterDeployEnvironmentId"` // List of Kubernetes manifest artifact OCIDs, the manifests should not include any job resource. KubernetesManifestDeployArtifactIds []string `mandatory:"true" json:"kubernetesManifestDeployArtifactIds"` // Default Namespace to be used for Kubernetes deployment when not specified in the manifest. Namespace *string `mandatory:"true" json:"namespace"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m OkeDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeDeployStage) GetDescription() *string
GetDescription returns Description
func (m OkeDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeDeployStage) GetId() *string
GetId returns Id
func (m OkeDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeDeployStage) String() string
func (m *OkeDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
OkeDeployStageExecutionProgress Specifies the execution details for a Container Engine for Kubernetes (OKE) cluster deployment stage.
type OkeDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m OkeDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m OkeDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m OkeDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m OkeDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m OkeDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m OkeDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m OkeDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m OkeDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeDeployStageExecutionProgress) String() string
OkeDeployStageSummary Specifies the Kubernetes cluster deployment stage.
type OkeDeployStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Kubernetes cluster environment OCID for deployment. OkeClusterDeployEnvironmentId *string `mandatory:"true" json:"okeClusterDeployEnvironmentId"` // List of Kubernetes manifest artifact OCIDs, the manifests should not include any job resource. KubernetesManifestDeployArtifactIds []string `mandatory:"true" json:"kubernetesManifestDeployArtifactIds"` // Default namespace to be used for Kubernetes deployment when not specified in the manifest. Namespace *string `mandatory:"true" json:"namespace"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m OkeDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m OkeDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeDeployStageSummary) GetId() *string
GetId returns Id
func (m OkeDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeDeployStageSummary) String() string
func (m *OkeDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( OperationTypeCreateProject OperationTypeEnum = "CREATE_PROJECT" OperationTypeUpdateProject OperationTypeEnum = "UPDATE_PROJECT" OperationTypeDeleteProject OperationTypeEnum = "DELETE_PROJECT" OperationTypeMoveProject OperationTypeEnum = "MOVE_PROJECT" OperationTypeCreateDeployPipeline OperationTypeEnum = "CREATE_DEPLOY_PIPELINE" OperationTypeUpdateDeployPipeline OperationTypeEnum = "UPDATE_DEPLOY_PIPELINE" OperationTypeDeleteDeployPipeline OperationTypeEnum = "DELETE_DEPLOY_PIPELINE" OperationTypeCreateDeployStage OperationTypeEnum = "CREATE_DEPLOY_STAGE" OperationTypeUpdateDeployStage OperationTypeEnum = "UPDATE_DEPLOY_STAGE" OperationTypeDeleteDeployStage OperationTypeEnum = "DELETE_DEPLOY_STAGE" OperationTypeCreateDeployArtifact OperationTypeEnum = "CREATE_DEPLOY_ARTIFACT" OperationTypeUpdateDeployArtifact OperationTypeEnum = "UPDATE_DEPLOY_ARTIFACT" OperationTypeDeleteDeployArtifact OperationTypeEnum = "DELETE_DEPLOY_ARTIFACT" OperationTypeCreateDeployEnvironment OperationTypeEnum = "CREATE_DEPLOY_ENVIRONMENT" OperationTypeUpdateDeployEnvironment OperationTypeEnum = "UPDATE_DEPLOY_ENVIRONMENT" OperationTypeDeleteDeployEnvironment OperationTypeEnum = "DELETE_DEPLOY_ENVIRONMENT" OperationTypeCreateDeployment OperationTypeEnum = "CREATE_DEPLOYMENT" OperationTypeUpdateDeployment OperationTypeEnum = "UPDATE_DEPLOYMENT" OperationTypeDeleteDeployment OperationTypeEnum = "DELETE_DEPLOYMENT" )
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
Project DevOps project groups resources needed to implement the CI/CD workload. DevOps resources include artifacts, pipelines, and environments.
type Project struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Project name (case-sensitive). Name *string `mandatory:"true" json:"name"` // The OCID of the compartment where the project is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` NotificationConfig *NotificationConfig `mandatory:"true" json:"notificationConfig"` // Project description. Description *string `mandatory:"false" json:"description"` // Namespace associated with the project. Namespace *string `mandatory:"false" json:"namespace"` // Time the project was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the project was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the project. LifecycleState ProjectLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m Project) String() string
ProjectCollection Results of an project search.
type ProjectCollection struct { // List of project summary items. Items []ProjectSummary `mandatory:"true" json:"items"` }
func (m ProjectCollection) String() string
ProjectLifecycleStateEnum Enum with underlying type: string
type ProjectLifecycleStateEnum string
Set of constants representing the allowable values for ProjectLifecycleStateEnum
const ( ProjectLifecycleStateCreating ProjectLifecycleStateEnum = "CREATING" ProjectLifecycleStateUpdating ProjectLifecycleStateEnum = "UPDATING" ProjectLifecycleStateActive ProjectLifecycleStateEnum = "ACTIVE" ProjectLifecycleStateDeleting ProjectLifecycleStateEnum = "DELETING" ProjectLifecycleStateDeleted ProjectLifecycleStateEnum = "DELETED" ProjectLifecycleStateFailed ProjectLifecycleStateEnum = "FAILED" )
func GetProjectLifecycleStateEnumValues() []ProjectLifecycleStateEnum
GetProjectLifecycleStateEnumValues Enumerates the set of values for ProjectLifecycleStateEnum
ProjectSummary Summary of the project.
type ProjectSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Project name (case-sensitive). Name *string `mandatory:"true" json:"name"` // The OCID of the compartment where the project is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Project description. Description *string `mandatory:"false" json:"description"` // Namespace associated with the project. Namespace *string `mandatory:"false" json:"namespace"` NotificationConfig *NotificationConfig `mandatory:"false" json:"notificationConfig"` // Time the project was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the project was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the deployment. LifecycleState ProjectLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` }
func (m ProjectSummary) String() string
RunPipelineDeployStageExecutionProgress Specifies run deployment pipleline stage specific exeution details.
type RunPipelineDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m RunPipelineDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m RunPipelineDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m RunPipelineDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m RunPipelineDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m RunPipelineDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m RunPipelineDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m RunPipelineDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m RunPipelineDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RunPipelineDeployStageExecutionProgress) String() string
RunValidationTestOnComputeInstanceDeployStageExecutionProgress Specifies run validation test on an compute instance stage specific execution details.
type RunValidationTestOnComputeInstanceDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m RunValidationTestOnComputeInstanceDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m RunValidationTestOnComputeInstanceDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m RunValidationTestOnComputeInstanceDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m RunValidationTestOnComputeInstanceDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m RunValidationTestOnComputeInstanceDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m RunValidationTestOnComputeInstanceDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m RunValidationTestOnComputeInstanceDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m RunValidationTestOnComputeInstanceDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RunValidationTestOnComputeInstanceDeployStageExecutionProgress) String() string
SingleDeployStageDeployment Deployment of a single stage within the pipeline.
type SingleDeployStageDeployment struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` DeployPipelineArtifacts *DeployPipelineArtifactCollection `mandatory:"false" json:"deployPipelineArtifacts"` DeployPipelineEnvironments *DeployPipelineEnvironmentCollection `mandatory:"false" json:"deployPipelineEnvironments"` // Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"` DeployArtifactOverrideArguments *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"deployArtifactOverrideArguments"` DeploymentExecutionProgress *DeploymentExecutionProgress `mandatory:"false" json:"deploymentExecutionProgress"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Specifies the OCID of the stage to be deployed. DeployStageId *string `mandatory:"false" json:"deployStageId"` // The current state of the deployment. LifecycleState DeploymentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m SingleDeployStageDeployment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m SingleDeployStageDeployment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m SingleDeployStageDeployment) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection
GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m SingleDeployStageDeployment) GetDeployPipelineArtifacts() *DeployPipelineArtifactCollection
GetDeployPipelineArtifacts returns DeployPipelineArtifacts
func (m SingleDeployStageDeployment) GetDeployPipelineEnvironments() *DeployPipelineEnvironmentCollection
GetDeployPipelineEnvironments returns DeployPipelineEnvironments
func (m SingleDeployStageDeployment) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m SingleDeployStageDeployment) GetDeploymentArguments() *DeploymentArgumentCollection
GetDeploymentArguments returns DeploymentArguments
func (m SingleDeployStageDeployment) GetDeploymentExecutionProgress() *DeploymentExecutionProgress
GetDeploymentExecutionProgress returns DeploymentExecutionProgress
func (m SingleDeployStageDeployment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m SingleDeployStageDeployment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m SingleDeployStageDeployment) GetId() *string
GetId returns Id
func (m SingleDeployStageDeployment) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m SingleDeployStageDeployment) GetLifecycleState() DeploymentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m SingleDeployStageDeployment) GetProjectId() *string
GetProjectId returns ProjectId
func (m SingleDeployStageDeployment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m SingleDeployStageDeployment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m SingleDeployStageDeployment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m SingleDeployStageDeployment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SingleDeployStageDeployment) String() string
SingleDeployStageDeploymentSummary Summary of single stage deployment.
type SingleDeployStageDeploymentSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"` DeployArtifactOverrideArguments *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"deployArtifactOverrideArguments"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // Specifies the OCID of the stage to be deployed. DeployStageId *string `mandatory:"false" json:"deployStageId"` // The current state of the deployment. LifecycleState DeploymentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m SingleDeployStageDeploymentSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m SingleDeployStageDeploymentSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m SingleDeployStageDeploymentSummary) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection
GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m SingleDeployStageDeploymentSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m SingleDeployStageDeploymentSummary) GetDeploymentArguments() *DeploymentArgumentCollection
GetDeploymentArguments returns DeploymentArguments
func (m SingleDeployStageDeploymentSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m SingleDeployStageDeploymentSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m SingleDeployStageDeploymentSummary) GetId() *string
GetId returns Id
func (m SingleDeployStageDeploymentSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m SingleDeployStageDeploymentSummary) GetLifecycleState() DeploymentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m SingleDeployStageDeploymentSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m SingleDeployStageDeploymentSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m SingleDeployStageDeploymentSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m SingleDeployStageDeploymentSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m SingleDeployStageDeploymentSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SingleDeployStageDeploymentSummary) String() string
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
UpdateComputeInstanceGroupDeployEnvironmentDetails Specifies the Compute instance group environment.
type UpdateComputeInstanceGroupDeployEnvironmentDetails struct { // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` ComputeInstanceGroupSelectors *ComputeInstanceGroupSelectorCollection `mandatory:"false" json:"computeInstanceGroupSelectors"` }
func (m UpdateComputeInstanceGroupDeployEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateComputeInstanceGroupDeployEnvironmentDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateComputeInstanceGroupDeployEnvironmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateComputeInstanceGroupDeployEnvironmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateComputeInstanceGroupDeployEnvironmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateComputeInstanceGroupDeployEnvironmentDetails) String() string
UpdateComputeInstanceGroupDeployStageDetails Specifies the instance group rolling deployment stage.
type UpdateComputeInstanceGroupDeployStageDetails struct { // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // A compute instance group environment OCID for rolling deployment. ComputeInstanceGroupDeployEnvironmentId *string `mandatory:"false" json:"computeInstanceGroupDeployEnvironmentId"` // The OCID of the artifact that contains the deployment specification. DeploymentSpecDeployArtifactId *string `mandatory:"false" json:"deploymentSpecDeployArtifactId"` // Additional file artifact OCIDs. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` RolloutPolicy ComputeInstanceGroupRolloutPolicy `mandatory:"false" json:"rolloutPolicy"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` FailurePolicy ComputeInstanceGroupFailurePolicy `mandatory:"false" json:"failurePolicy"` LoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"loadBalancerConfig"` }
func (m UpdateComputeInstanceGroupDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateComputeInstanceGroupDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateComputeInstanceGroupDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateComputeInstanceGroupDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateComputeInstanceGroupDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateComputeInstanceGroupDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateComputeInstanceGroupDeployStageDetails) String() string
func (m *UpdateComputeInstanceGroupDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateDeployArtifactDetails The information to be updated for the artifact.
type UpdateDeployArtifactDetails struct { // Optional description about the deployment artifact. Description *string `mandatory:"false" json:"description"` // Deployment artifact display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Type of the deployment artifact. DeployArtifactType DeployArtifactDeployArtifactTypeEnum `mandatory:"false" json:"deployArtifactType,omitempty"` DeployArtifactSource DeployArtifactSource `mandatory:"false" json:"deployArtifactSource"` // Mode for artifact parameter substitution. ArgumentSubstitutionMode DeployArtifactArgumentSubstitutionModeEnum `mandatory:"false" json:"argumentSubstitutionMode,omitempty"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateDeployArtifactDetails) String() string
func (m *UpdateDeployArtifactDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateDeployArtifactRequest wrapper for the UpdateDeployArtifact operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployArtifact.go.html to see an example of how to use UpdateDeployArtifactRequest.
type UpdateDeployArtifactRequest struct { // Unique artifact identifier. DeployArtifactId *string `mandatory:"true" contributesTo:"path" name:"deployArtifactId"` // The information to be updated. UpdateDeployArtifactDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateDeployArtifactRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDeployArtifactRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDeployArtifactRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDeployArtifactRequest) String() string
UpdateDeployArtifactResponse wrapper for the UpdateDeployArtifact operation
type UpdateDeployArtifactResponse struct { // The underlying http response RawResponse *http.Response // The DeployArtifact instance DeployArtifact `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDeployArtifactResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDeployArtifactResponse) String() string
UpdateDeployEnvironmentDetails The information to be updated.
type UpdateDeployEnvironmentDetails interface { // Optional description about the deployment environment. GetDescription() *string // Deployment environment display name. Avoid entering confidential information. GetDisplayName() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} }
UpdateDeployEnvironmentRequest wrapper for the UpdateDeployEnvironment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployEnvironment.go.html to see an example of how to use UpdateDeployEnvironmentRequest.
type UpdateDeployEnvironmentRequest struct { // Unique environment identifier. DeployEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"deployEnvironmentId"` // The information to be updated. UpdateDeployEnvironmentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateDeployEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDeployEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDeployEnvironmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDeployEnvironmentRequest) String() string
UpdateDeployEnvironmentResponse wrapper for the UpdateDeployEnvironment operation
type UpdateDeployEnvironmentResponse struct { // The underlying http response RawResponse *http.Response // The DeployEnvironment instance DeployEnvironment `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDeployEnvironmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDeployEnvironmentResponse) String() string
UpdateDeployPipelineDeploymentDetails Update details for a pipeline deployment.
type UpdateDeployPipelineDeploymentDetails struct { // Deployment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateDeployPipelineDeploymentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDeployPipelineDeploymentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDeployPipelineDeploymentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDeployPipelineDeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDeployPipelineDeploymentDetails) String() string
UpdateDeployPipelineDetails The information to be updated for the given deloyment pipeline.
type UpdateDeployPipelineDetails struct { // Optional description about the deloyment pipeline. Description *string `mandatory:"false" json:"description"` // Deloyment pipeline display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployPipelineParameters *DeployPipelineParameterCollection `mandatory:"false" json:"deployPipelineParameters"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateDeployPipelineDetails) String() string
UpdateDeployPipelineRedeploymentDetails Update details for a pipeline redeployment.
type UpdateDeployPipelineRedeploymentDetails struct { // Deployment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateDeployPipelineRedeploymentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDeployPipelineRedeploymentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDeployPipelineRedeploymentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDeployPipelineRedeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDeployPipelineRedeploymentDetails) String() string
UpdateDeployPipelineRequest wrapper for the UpdateDeployPipeline operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployPipeline.go.html to see an example of how to use UpdateDeployPipelineRequest.
type UpdateDeployPipelineRequest struct { // Unique pipeline identifier. DeployPipelineId *string `mandatory:"true" contributesTo:"path" name:"deployPipelineId"` // The information to be updated. UpdateDeployPipelineDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateDeployPipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDeployPipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDeployPipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDeployPipelineRequest) String() string
UpdateDeployPipelineResponse wrapper for the UpdateDeployPipeline operation
type UpdateDeployPipelineResponse struct { // The underlying http response RawResponse *http.Response // The DeployPipeline instance DeployPipeline `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDeployPipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDeployPipelineResponse) String() string
UpdateDeployStageDetails The information to be updated.
type UpdateDeployStageDetails interface { // Optional description about the deployment stage. GetDescription() *string // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} }
UpdateDeployStageRequest wrapper for the UpdateDeployStage operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployStage.go.html to see an example of how to use UpdateDeployStageRequest.
type UpdateDeployStageRequest struct { // Unique stage identifier. DeployStageId *string `mandatory:"true" contributesTo:"path" name:"deployStageId"` // The information to be updated. UpdateDeployStageDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateDeployStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDeployStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDeployStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDeployStageRequest) String() string
UpdateDeployStageResponse wrapper for the UpdateDeployStage operation
type UpdateDeployStageResponse struct { // The underlying http response RawResponse *http.Response // The DeployStage instance DeployStage `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDeployStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDeployStageResponse) String() string
UpdateDeploymentDetails The information to be updated.
type UpdateDeploymentDetails interface { // Deployment display name. Avoid entering confidential information. GetDisplayName() *string // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` GetDefinedTags() map[string]map[string]interface{} }
UpdateDeploymentRequest wrapper for the UpdateDeployment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateDeployment.go.html to see an example of how to use UpdateDeploymentRequest.
type UpdateDeploymentRequest struct { // Unique deployment identifier. DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"` // The information to be updated. UpdateDeploymentDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateDeploymentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateDeploymentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateDeploymentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateDeploymentRequest) String() string
UpdateDeploymentResponse wrapper for the UpdateDeployment operation
type UpdateDeploymentResponse struct { // The underlying http response RawResponse *http.Response // The Deployment instance Deployment `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateDeploymentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateDeploymentResponse) String() string
UpdateFunctionDeployEnvironmentDetails Specifies the Function environment.
type UpdateFunctionDeployEnvironmentDetails struct { // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The OCID of the Function. FunctionId *string `mandatory:"false" json:"functionId"` }
func (m UpdateFunctionDeployEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateFunctionDeployEnvironmentDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateFunctionDeployEnvironmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateFunctionDeployEnvironmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateFunctionDeployEnvironmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateFunctionDeployEnvironmentDetails) String() string
UpdateFunctionDeployStageDetails Specifies the Function stage.
type UpdateFunctionDeployStageDetails struct { // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Function environment OCID. FunctionDeployEnvironmentId *string `mandatory:"false" json:"functionDeployEnvironmentId"` // A Docker image artifact OCID. DockerImageDeployArtifactId *string `mandatory:"false" json:"dockerImageDeployArtifactId"` // User provided key and value pair configuration, which is assigned through constants or parameter. Config map[string]string `mandatory:"false" json:"config"` // Maximum usable memory for the Function (in MB). MaxMemoryInMBs *int64 `mandatory:"false" json:"maxMemoryInMBs"` // Timeout for execution of the Function. Value in seconds. FunctionTimeoutInSeconds *int `mandatory:"false" json:"functionTimeoutInSeconds"` }
func (m UpdateFunctionDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateFunctionDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateFunctionDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateFunctionDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateFunctionDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateFunctionDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateFunctionDeployStageDetails) String() string
UpdateInvokeFunctionDeployStageDetails Specifies Invoke Function stage.
type UpdateInvokeFunctionDeployStageDetails struct { // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Function environment OCID. FunctionDeployEnvironmentId *string `mandatory:"false" json:"functionDeployEnvironmentId"` // Optional binary artifact OCID user may provide to this stage. DeployArtifactId *string `mandatory:"false" json:"deployArtifactId"` // A boolean flag specifies whether this stage executes asynchronously. IsAsync *bool `mandatory:"false" json:"isAsync"` // A boolean flag specifies whether the invoked function must be validated. IsValidationEnabled *bool `mandatory:"false" json:"isValidationEnabled"` }
func (m UpdateInvokeFunctionDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateInvokeFunctionDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateInvokeFunctionDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateInvokeFunctionDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateInvokeFunctionDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateInvokeFunctionDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateInvokeFunctionDeployStageDetails) String() string
UpdateLoadBalancerTrafficShiftDeployStageDetails Specifies load balancer traffic shift stage.
type UpdateLoadBalancerTrafficShiftDeployStageDetails struct { // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` BlueBackendIps *BackendSetIpCollection `mandatory:"false" json:"blueBackendIps"` GreenBackendIps *BackendSetIpCollection `mandatory:"false" json:"greenBackendIps"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `mandatory:"false" json:"rolloutPolicy"` LoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"loadBalancerConfig"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` // Specifies the target or destination backend set. TrafficShiftTarget LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum `mandatory:"false" json:"trafficShiftTarget,omitempty"` }
func (m UpdateLoadBalancerTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateLoadBalancerTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateLoadBalancerTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateLoadBalancerTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateLoadBalancerTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateLoadBalancerTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateLoadBalancerTrafficShiftDeployStageDetails) String() string
func (m *UpdateLoadBalancerTrafficShiftDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateManualApprovalDeployStageDetails Specifies the manual approval stage.
type UpdateManualApprovalDeployStageDetails struct { // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` ApprovalPolicy ApprovalPolicy `mandatory:"false" json:"approvalPolicy"` }
func (m UpdateManualApprovalDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateManualApprovalDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateManualApprovalDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateManualApprovalDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateManualApprovalDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateManualApprovalDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateManualApprovalDeployStageDetails) String() string
func (m *UpdateManualApprovalDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateOkeClusterDeployEnvironmentDetails Specifies the Kubernetes cluster environment.
type UpdateOkeClusterDeployEnvironmentDetails struct { // Optional description about the deployment environment. Description *string `mandatory:"false" json:"description"` // Deployment environment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The OCID of the Kubernetes cluster. ClusterId *string `mandatory:"false" json:"clusterId"` }
func (m UpdateOkeClusterDeployEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateOkeClusterDeployEnvironmentDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateOkeClusterDeployEnvironmentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateOkeClusterDeployEnvironmentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateOkeClusterDeployEnvironmentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOkeClusterDeployEnvironmentDetails) String() string
UpdateOkeDeployStageDetails Specifies the Kubernetes cluster deployment stage.
type UpdateOkeDeployStageDetails struct { // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Kubernetes cluster environment OCID for deployment. OkeClusterDeployEnvironmentId *string `mandatory:"false" json:"okeClusterDeployEnvironmentId"` // List of Kubernetes manifest artifact OCIDs, the manifests should not include any job resource. KubernetesManifestDeployArtifactIds []string `mandatory:"false" json:"kubernetesManifestDeployArtifactIds"` // Default namespace to be used for Kubernetes deployment when not specified in the manifest. Namespace *string `mandatory:"false" json:"namespace"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` }
func (m UpdateOkeDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateOkeDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateOkeDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateOkeDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateOkeDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateOkeDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOkeDeployStageDetails) String() string
func (m *UpdateOkeDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateProjectDetails The information to be updated for the given project.
type UpdateProjectDetails struct { // Project description. Description *string `mandatory:"false" json:"description"` NotificationConfig *NotificationConfig `mandatory:"false" json:"notificationConfig"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateProjectDetails) String() string
UpdateProjectRequest wrapper for the UpdateProject operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/45.1.0/devops/UpdateProject.go.html to see an example of how to use UpdateProjectRequest.
type UpdateProjectRequest struct { // Unique project identifier. ProjectId *string `mandatory:"true" contributesTo:"path" name:"projectId"` // The information to be updated. UpdateProjectDetails `contributesTo:"body"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateProjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateProjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateProjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateProjectRequest) String() string
UpdateProjectResponse wrapper for the UpdateProject operation
type UpdateProjectResponse struct { // The underlying http response RawResponse *http.Response // The Project instance Project `presentIn:"body"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response UpdateProjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateProjectResponse) String() string
UpdateSingleDeployStageDeploymentDetails Update details for a single stage deployment.
type UpdateSingleDeployStageDeploymentDetails struct { // Deployment display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m UpdateSingleDeployStageDeploymentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateSingleDeployStageDeploymentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateSingleDeployStageDeploymentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateSingleDeployStageDeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateSingleDeployStageDeploymentDetails) String() string
UpdateWaitDeployStageDetails Specifies the Wait stage. User can specify a criteria for wait time or give an absolute duration.
type UpdateWaitDeployStageDetails struct { // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` WaitCriteria WaitCriteria `mandatory:"false" json:"waitCriteria"` }
func (m UpdateWaitDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateWaitDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateWaitDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateWaitDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateWaitDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateWaitDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateWaitDeployStageDetails) String() string
func (m *UpdateWaitDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
WaitCriteria Specifies wait criteria for the Wait stage.
type WaitCriteria interface { }
WaitCriteriaSummary Specifies wait criteria for the Wait stage.
type WaitCriteriaSummary interface { }
WaitCriteriaSummaryWaitTypeEnum Enum with underlying type: string
type WaitCriteriaSummaryWaitTypeEnum string
Set of constants representing the allowable values for WaitCriteriaSummaryWaitTypeEnum
const ( WaitCriteriaSummaryWaitTypeAbsoluteWait WaitCriteriaSummaryWaitTypeEnum = "ABSOLUTE_WAIT" )
func GetWaitCriteriaSummaryWaitTypeEnumValues() []WaitCriteriaSummaryWaitTypeEnum
GetWaitCriteriaSummaryWaitTypeEnumValues Enumerates the set of values for WaitCriteriaSummaryWaitTypeEnum
WaitCriteriaWaitTypeEnum Enum with underlying type: string
type WaitCriteriaWaitTypeEnum string
Set of constants representing the allowable values for WaitCriteriaWaitTypeEnum
const ( WaitCriteriaWaitTypeAbsoluteWait WaitCriteriaWaitTypeEnum = "ABSOLUTE_WAIT" )
func GetWaitCriteriaWaitTypeEnumValues() []WaitCriteriaWaitTypeEnum
GetWaitCriteriaWaitTypeEnumValues Enumerates the set of values for WaitCriteriaWaitTypeEnum
WaitDeployStage Specifies the Wait stage. User can specify a criteria for wait time or give an absolute duration.
type WaitDeployStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` WaitCriteria WaitCriteria `mandatory:"true" json:"waitCriteria"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m WaitDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m WaitDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m WaitDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m WaitDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m WaitDeployStage) GetDescription() *string
GetDescription returns Description
func (m WaitDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m WaitDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m WaitDeployStage) GetId() *string
GetId returns Id
func (m WaitDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m WaitDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m WaitDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m WaitDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m WaitDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m WaitDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m WaitDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m WaitDeployStage) String() string
func (m *WaitDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
WaitDeployStageExecutionProgress Specifies Wait stage specific execution details.
type WaitDeployStageExecutionProgress struct { // Stage display name. Avoid entering confidential information. DeployStageDisplayName *string `mandatory:"false" json:"deployStageDisplayName"` // The OCID of the stage. DeployStageId *string `mandatory:"false" json:"deployStageId"` // Time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` DeployStagePredecessors *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessors"` // Details about stage execution for all the target environments. DeployStageExecutionProgressDetails []DeployStageExecutionProgressDetails `mandatory:"false" json:"deployStageExecutionProgressDetails"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m WaitDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m WaitDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m WaitDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m WaitDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m WaitDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m WaitDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m WaitDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m WaitDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m WaitDeployStageExecutionProgress) String() string
WaitDeployStageSummary Specifies the Wait stage. User can specify a criteria for wait time or give an absolute duration.
type WaitDeployStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of a project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // The OCID of a compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` WaitCriteria WaitCriteriaSummary `mandatory:"true" json:"waitCriteria"` // Optional description about the deployment stage. Description *string `mandatory:"false" json:"description"` // Deployment stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Time the deployment stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Time the deployment stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"false" json:"deployStagePredecessorCollection"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m WaitDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m WaitDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m WaitDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m WaitDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m WaitDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m WaitDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m WaitDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m WaitDeployStageSummary) GetId() *string
GetId returns Id
func (m WaitDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m WaitDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m WaitDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m WaitDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m WaitDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m WaitDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m WaitDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m WaitDeployStageSummary) String() string
func (m *WaitDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
WorkRequest Details of the work request status.
type WorkRequest struct { // Type of the work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // Date and time the request was created, Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // Date and time the request was started. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Date and time the request was completed. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
WorkRequestCollection List of work requests.
type WorkRequestCollection struct { // Work request items found for the search. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestCollection) String() string
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed in API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // Time the error occured. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestErrorCollection List of work request errors encountered while executing a work request.
type WorkRequestErrorCollection struct { // Work request error items. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // Time the log message was written. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestLogEntryCollection List of log messages from the execution of a work request.
type WorkRequestLogEntryCollection struct { // Work request log entry items. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way how the work is tracked in the work request affects this resource. A resource that is created, updated, or deleted remains in the IN PROGRESS state until the work is complete for that resource. Thereafter it transitions to CREATED, UPDATED, or DELETED state. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can use to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
WorkRequestSummary Details of the work request status.
type WorkRequestSummary struct { // Type of the work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID of the work request. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment that contains the work request. Work requests must be scoped to the same compartment as the resource that the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, the service team must pick the primary resource whose compartment must be used. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Percentage of the request completed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // Date and time the request was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // Date and time the request was started. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // Date and time the request was completed. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string