func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetApprovalActionActionEnumStringValues() []string
GetApprovalActionActionEnumStringValues Enumerates the set of values in String for ApprovalActionActionEnum
func GetApprovalPolicyApprovalPolicyTypeEnumStringValues() []string
GetApprovalPolicyApprovalPolicyTypeEnumStringValues Enumerates the set of values in String for ApprovalPolicyApprovalPolicyTypeEnum
func GetApproveDeploymentDetailsActionEnumStringValues() []string
GetApproveDeploymentDetailsActionEnumStringValues Enumerates the set of values in String for ApproveDeploymentDetailsActionEnum
func GetBitbucketCloudFilterEventsEnumStringValues() []string
GetBitbucketCloudFilterEventsEnumStringValues Enumerates the set of values in String for BitbucketCloudFilterEventsEnum
func GetBitbucketServerFilterEventsEnumStringValues() []string
GetBitbucketServerFilterEventsEnumStringValues Enumerates the set of values in String for BitbucketServerFilterEventsEnum
func GetBuildPipelineLifecycleStateEnumStringValues() []string
GetBuildPipelineLifecycleStateEnumStringValues Enumerates the set of values in String for BuildPipelineLifecycleStateEnum
func GetBuildPipelineStageBuildPipelineStageTypeEnumStringValues() []string
GetBuildPipelineStageBuildPipelineStageTypeEnumStringValues Enumerates the set of values in String for BuildPipelineStageBuildPipelineStageTypeEnum
func GetBuildPipelineStageLifecycleStateEnumStringValues() []string
GetBuildPipelineStageLifecycleStateEnumStringValues Enumerates the set of values in String for BuildPipelineStageLifecycleStateEnum
func GetBuildPipelineStageRunProgressStatusEnumStringValues() []string
GetBuildPipelineStageRunProgressStatusEnumStringValues Enumerates the set of values in String for BuildPipelineStageRunProgressStatusEnum
func GetBuildRunLifecycleStateEnumStringValues() []string
GetBuildRunLifecycleStateEnumStringValues Enumerates the set of values in String for BuildRunLifecycleStateEnum
func GetBuildRunSourceSourceTypeEnumStringValues() []string
GetBuildRunSourceSourceTypeEnumStringValues Enumerates the set of values in String for BuildRunSourceSourceTypeEnum
func GetBuildRunnerShapeConfigBuildRunnerTypeEnumStringValues() []string
GetBuildRunnerShapeConfigBuildRunnerTypeEnumStringValues Enumerates the set of values in String for BuildRunnerShapeConfigBuildRunnerTypeEnum
func GetBuildSourceConnectionTypeEnumStringValues() []string
GetBuildSourceConnectionTypeEnumStringValues Enumerates the set of values in String for BuildSourceConnectionTypeEnum
func GetBuildStageImageEnumStringValues() []string
GetBuildStageImageEnumStringValues Enumerates the set of values in String for BuildStageImageEnum
func GetBuildStageRunProgressImageEnumStringValues() []string
GetBuildStageRunProgressImageEnumStringValues Enumerates the set of values in String for BuildStageRunProgressImageEnum
func GetBuildStageRunStepStateEnumStringValues() []string
GetBuildStageRunStepStateEnumStringValues Enumerates the set of values in String for BuildStageRunStepStateEnum
func GetComputeInstanceGroupFailurePolicyPolicyTypeEnumStringValues() []string
GetComputeInstanceGroupFailurePolicyPolicyTypeEnumStringValues Enumerates the set of values in String for ComputeInstanceGroupFailurePolicyPolicyTypeEnum
func GetComputeInstanceGroupRolloutPolicyPolicyTypeEnumStringValues() []string
GetComputeInstanceGroupRolloutPolicyPolicyTypeEnumStringValues Enumerates the set of values in String for ComputeInstanceGroupRolloutPolicyPolicyTypeEnum
func GetComputeInstanceGroupSelectorSelectorTypeEnumStringValues() []string
GetComputeInstanceGroupSelectorSelectorTypeEnumStringValues Enumerates the set of values in String for ComputeInstanceGroupSelectorSelectorTypeEnum
func GetConnectionConnectionTypeEnumStringValues() []string
GetConnectionConnectionTypeEnumStringValues Enumerates the set of values in String for ConnectionConnectionTypeEnum
func GetConnectionLifecycleStateEnumStringValues() []string
GetConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for ConnectionLifecycleStateEnum
func GetConnectionValidationResultResultEnumStringValues() []string
GetConnectionValidationResultResultEnumStringValues Enumerates the set of values in String for ConnectionValidationResultResultEnum
func GetContainerConfigContainerConfigTypeEnumStringValues() []string
GetContainerConfigContainerConfigTypeEnumStringValues Enumerates the set of values in String for ContainerConfigContainerConfigTypeEnum
func GetCreateOkeHelmChartDeployStageDetailsPurposeEnumStringValues() []string
GetCreateOkeHelmChartDeployStageDetailsPurposeEnumStringValues Enumerates the set of values in String for CreateOkeHelmChartDeployStageDetailsPurposeEnum
func GetCreateWaitCriteriaDetailsWaitTypeEnumStringValues() []string
GetCreateWaitCriteriaDetailsWaitTypeEnumStringValues Enumerates the set of values in String for CreateWaitCriteriaDetailsWaitTypeEnum
func GetDeliveredArtifactArtifactTypeEnumStringValues() []string
GetDeliveredArtifactArtifactTypeEnumStringValues Enumerates the set of values in String for DeliveredArtifactArtifactTypeEnum
func GetDeployArtifactArgumentSubstitutionModeEnumStringValues() []string
GetDeployArtifactArgumentSubstitutionModeEnumStringValues Enumerates the set of values in String for DeployArtifactArgumentSubstitutionModeEnum
func GetDeployArtifactDeployArtifactTypeEnumStringValues() []string
GetDeployArtifactDeployArtifactTypeEnumStringValues Enumerates the set of values in String for DeployArtifactDeployArtifactTypeEnum
func GetDeployArtifactLifecycleStateEnumStringValues() []string
GetDeployArtifactLifecycleStateEnumStringValues Enumerates the set of values in String for DeployArtifactLifecycleStateEnum
func GetDeployArtifactSourceDeployArtifactSourceTypeEnumStringValues() []string
GetDeployArtifactSourceDeployArtifactSourceTypeEnumStringValues Enumerates the set of values in String for DeployArtifactSourceDeployArtifactSourceTypeEnum
func GetDeployEnvironmentDeployEnvironmentTypeEnumStringValues() []string
GetDeployEnvironmentDeployEnvironmentTypeEnumStringValues Enumerates the set of values in String for DeployEnvironmentDeployEnvironmentTypeEnum
func GetDeployEnvironmentLifecycleStateEnumStringValues() []string
GetDeployEnvironmentLifecycleStateEnumStringValues Enumerates the set of values in String for DeployEnvironmentLifecycleStateEnum
func GetDeployPipelineLifecycleStateEnumStringValues() []string
GetDeployPipelineLifecycleStateEnumStringValues Enumerates the set of values in String for DeployPipelineLifecycleStateEnum
func GetDeployStageDeployStageTypeEnumStringValues() []string
GetDeployStageDeployStageTypeEnumStringValues Enumerates the set of values in String for DeployStageDeployStageTypeEnum
func GetDeployStageExecutionProgressStatusEnumStringValues() []string
GetDeployStageExecutionProgressStatusEnumStringValues Enumerates the set of values in String for DeployStageExecutionProgressStatusEnum
func GetDeployStageExecutionStepStateEnumStringValues() []string
GetDeployStageExecutionStepStateEnumStringValues Enumerates the set of values in String for DeployStageExecutionStepStateEnum
func GetDeployStageLifecycleStateEnumStringValues() []string
GetDeployStageLifecycleStateEnumStringValues Enumerates the set of values in String for DeployStageLifecycleStateEnum
func GetDeployStageRollbackPolicyPolicyTypeEnumStringValues() []string
GetDeployStageRollbackPolicyPolicyTypeEnumStringValues Enumerates the set of values in String for DeployStageRollbackPolicyPolicyTypeEnum
func GetDeploymentDeploymentTypeEnumStringValues() []string
GetDeploymentDeploymentTypeEnumStringValues Enumerates the set of values in String for DeploymentDeploymentTypeEnum
func GetDeploymentLifecycleStateEnumStringValues() []string
GetDeploymentLifecycleStateEnumStringValues Enumerates the set of values in String for DeploymentLifecycleStateEnum
func GetDevopsCodeRepositoryFilterEventsEnumStringValues() []string
GetDevopsCodeRepositoryFilterEventsEnumStringValues Enumerates the set of values in String for DevopsCodeRepositoryFilterEventsEnum
func GetDiffLineDetailsConflictMarkerEnumStringValues() []string
GetDiffLineDetailsConflictMarkerEnumStringValues Enumerates the set of values in String for DiffLineDetailsConflictMarkerEnum
func GetGetMirrorRecordMirrorRecordTypeEnumStringValues() []string
GetGetMirrorRecordMirrorRecordTypeEnumStringValues Enumerates the set of values in String for GetMirrorRecordMirrorRecordTypeEnum
func GetGetRepositoryFieldsEnumStringValues() []string
GetGetRepositoryFieldsEnumStringValues Enumerates the set of values in String for GetRepositoryFieldsEnum
func GetGithubFilterEventsEnumStringValues() []string
GetGithubFilterEventsEnumStringValues Enumerates the set of values in String for GithubFilterEventsEnum
func GetGitlabFilterEventsEnumStringValues() []string
GetGitlabFilterEventsEnumStringValues Enumerates the set of values in String for GitlabFilterEventsEnum
func GetGitlabServerFilterEventsEnumStringValues() []string
GetGitlabServerFilterEventsEnumStringValues Enumerates the set of values in String for GitlabServerFilterEventsEnum
func GetHelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnumStringValues() []string
GetHelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnumStringValues Enumerates the set of values in String for HelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum
func GetListAuthorsSortOrderEnumStringValues() []string
GetListAuthorsSortOrderEnumStringValues Enumerates the set of values in String for ListAuthorsSortOrderEnum
func GetListBuildPipelineStagesSortByEnumStringValues() []string
GetListBuildPipelineStagesSortByEnumStringValues Enumerates the set of values in String for ListBuildPipelineStagesSortByEnum
func GetListBuildPipelineStagesSortOrderEnumStringValues() []string
GetListBuildPipelineStagesSortOrderEnumStringValues Enumerates the set of values in String for ListBuildPipelineStagesSortOrderEnum
func GetListBuildPipelinesSortByEnumStringValues() []string
GetListBuildPipelinesSortByEnumStringValues Enumerates the set of values in String for ListBuildPipelinesSortByEnum
func GetListBuildPipelinesSortOrderEnumStringValues() []string
GetListBuildPipelinesSortOrderEnumStringValues Enumerates the set of values in String for ListBuildPipelinesSortOrderEnum
func GetListBuildRunsSortByEnumStringValues() []string
GetListBuildRunsSortByEnumStringValues Enumerates the set of values in String for ListBuildRunsSortByEnum
func GetListBuildRunsSortOrderEnumStringValues() []string
GetListBuildRunsSortOrderEnumStringValues Enumerates the set of values in String for ListBuildRunsSortOrderEnum
func GetListConnectionsSortByEnumStringValues() []string
GetListConnectionsSortByEnumStringValues Enumerates the set of values in String for ListConnectionsSortByEnum
func GetListConnectionsSortOrderEnumStringValues() []string
GetListConnectionsSortOrderEnumStringValues Enumerates the set of values in String for ListConnectionsSortOrderEnum
func GetListDeployArtifactsSortByEnumStringValues() []string
GetListDeployArtifactsSortByEnumStringValues Enumerates the set of values in String for ListDeployArtifactsSortByEnum
func GetListDeployArtifactsSortOrderEnumStringValues() []string
GetListDeployArtifactsSortOrderEnumStringValues Enumerates the set of values in String for ListDeployArtifactsSortOrderEnum
func GetListDeployEnvironmentsSortByEnumStringValues() []string
GetListDeployEnvironmentsSortByEnumStringValues Enumerates the set of values in String for ListDeployEnvironmentsSortByEnum
func GetListDeployEnvironmentsSortOrderEnumStringValues() []string
GetListDeployEnvironmentsSortOrderEnumStringValues Enumerates the set of values in String for ListDeployEnvironmentsSortOrderEnum
func GetListDeployPipelinesSortByEnumStringValues() []string
GetListDeployPipelinesSortByEnumStringValues Enumerates the set of values in String for ListDeployPipelinesSortByEnum
func GetListDeployPipelinesSortOrderEnumStringValues() []string
GetListDeployPipelinesSortOrderEnumStringValues Enumerates the set of values in String for ListDeployPipelinesSortOrderEnum
func GetListDeployStagesSortByEnumStringValues() []string
GetListDeployStagesSortByEnumStringValues Enumerates the set of values in String for ListDeployStagesSortByEnum
func GetListDeployStagesSortOrderEnumStringValues() []string
GetListDeployStagesSortOrderEnumStringValues Enumerates the set of values in String for ListDeployStagesSortOrderEnum
func GetListDeploymentsSortByEnumStringValues() []string
GetListDeploymentsSortByEnumStringValues Enumerates the set of values in String for ListDeploymentsSortByEnum
func GetListDeploymentsSortOrderEnumStringValues() []string
GetListDeploymentsSortOrderEnumStringValues Enumerates the set of values in String for ListDeploymentsSortOrderEnum
func GetListMirrorRecordsSortOrderEnumStringValues() []string
GetListMirrorRecordsSortOrderEnumStringValues Enumerates the set of values in String for ListMirrorRecordsSortOrderEnum
func GetListPathsSortByEnumStringValues() []string
GetListPathsSortByEnumStringValues Enumerates the set of values in String for ListPathsSortByEnum
func GetListPathsSortOrderEnumStringValues() []string
GetListPathsSortOrderEnumStringValues Enumerates the set of values in String for ListPathsSortOrderEnum
func GetListProjectsSortByEnumStringValues() []string
GetListProjectsSortByEnumStringValues Enumerates the set of values in String for ListProjectsSortByEnum
func GetListProjectsSortOrderEnumStringValues() []string
GetListProjectsSortOrderEnumStringValues Enumerates the set of values in String for ListProjectsSortOrderEnum
func GetListRefsRefTypeEnumStringValues() []string
GetListRefsRefTypeEnumStringValues Enumerates the set of values in String for ListRefsRefTypeEnum
func GetListRefsSortByEnumStringValues() []string
GetListRefsSortByEnumStringValues Enumerates the set of values in String for ListRefsSortByEnum
func GetListRefsSortOrderEnumStringValues() []string
GetListRefsSortOrderEnumStringValues Enumerates the set of values in String for ListRefsSortOrderEnum
func GetListRepositoriesSortByEnumStringValues() []string
GetListRepositoriesSortByEnumStringValues Enumerates the set of values in String for ListRepositoriesSortByEnum
func GetListRepositoriesSortOrderEnumStringValues() []string
GetListRepositoriesSortOrderEnumStringValues Enumerates the set of values in String for ListRepositoriesSortOrderEnum
func GetListTriggersSortByEnumStringValues() []string
GetListTriggersSortByEnumStringValues Enumerates the set of values in String for ListTriggersSortByEnum
func GetListTriggersSortOrderEnumStringValues() []string
GetListTriggersSortOrderEnumStringValues Enumerates the set of values in String for ListTriggersSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetLoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnumStringValues() []string
GetLoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnumStringValues Enumerates the set of values in String for LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum
func GetNetworkChannelNetworkChannelTypeEnumStringValues() []string
GetNetworkChannelNetworkChannelTypeEnumStringValues Enumerates the set of values in String for NetworkChannelNetworkChannelTypeEnum
func GetOkeBlueGreenStrategyStrategyTypeEnumStringValues() []string
GetOkeBlueGreenStrategyStrategyTypeEnumStringValues Enumerates the set of values in String for OkeBlueGreenStrategyStrategyTypeEnum
func GetOkeCanaryStrategyStrategyTypeEnumStringValues() []string
GetOkeCanaryStrategyStrategyTypeEnumStringValues Enumerates the set of values in String for OkeCanaryStrategyStrategyTypeEnum
func GetOkeHelmChartDeployStagePurposeEnumStringValues() []string
GetOkeHelmChartDeployStagePurposeEnumStringValues Enumerates the set of values in String for OkeHelmChartDeployStagePurposeEnum
func GetOkeHelmChartDeployStageSummaryPurposeEnumStringValues() []string
GetOkeHelmChartDeployStageSummaryPurposeEnumStringValues Enumerates the set of values in String for OkeHelmChartDeployStageSummaryPurposeEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetProjectLifecycleStateEnumStringValues() []string
GetProjectLifecycleStateEnumStringValues Enumerates the set of values in String for ProjectLifecycleStateEnum
func GetPutRepositoryRefDetailsRefTypeEnumStringValues() []string
GetPutRepositoryRefDetailsRefTypeEnumStringValues Enumerates the set of values in String for PutRepositoryRefDetailsRefTypeEnum
func GetRepositoryLifecycleStateEnumStringValues() []string
GetRepositoryLifecycleStateEnumStringValues Enumerates the set of values in String for RepositoryLifecycleStateEnum
func GetRepositoryMirrorRecordMirrorStatusEnumStringValues() []string
GetRepositoryMirrorRecordMirrorStatusEnumStringValues Enumerates the set of values in String for RepositoryMirrorRecordMirrorStatusEnum
func GetRepositoryMirrorRecordSummaryMirrorStatusEnumStringValues() []string
GetRepositoryMirrorRecordSummaryMirrorStatusEnumStringValues Enumerates the set of values in String for RepositoryMirrorRecordSummaryMirrorStatusEnum
func GetRepositoryObjectTypeEnumStringValues() []string
GetRepositoryObjectTypeEnumStringValues Enumerates the set of values in String for RepositoryObjectTypeEnum
func GetRepositoryRefRefTypeEnumStringValues() []string
GetRepositoryRefRefTypeEnumStringValues Enumerates the set of values in String for RepositoryRefRefTypeEnum
func GetRepositoryRepositoryTypeEnumStringValues() []string
GetRepositoryRepositoryTypeEnumStringValues Enumerates the set of values in String for RepositoryRepositoryTypeEnum
func GetRepositoryTriggerBuildEventsEnumStringValues() []string
GetRepositoryTriggerBuildEventsEnumStringValues Enumerates the set of values in String for RepositoryTriggerBuildEventsEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetTlsVerifyConfigTlsVerifyModeEnumStringValues() []string
GetTlsVerifyConfigTlsVerifyModeEnumStringValues Enumerates the set of values in String for TlsVerifyConfigTlsVerifyModeEnum
func GetTriggerActionTypeEnumStringValues() []string
GetTriggerActionTypeEnumStringValues Enumerates the set of values in String for TriggerActionTypeEnum
func GetTriggerLifecycleStateEnumStringValues() []string
GetTriggerLifecycleStateEnumStringValues Enumerates the set of values in String for TriggerLifecycleStateEnum
func GetTriggerScheduleScheduleTypeEnumStringValues() []string
GetTriggerScheduleScheduleTypeEnumStringValues Enumerates the set of values in String for TriggerScheduleScheduleTypeEnum
func GetTriggerTriggerSourceEnumStringValues() []string
GetTriggerTriggerSourceEnumStringValues Enumerates the set of values in String for TriggerTriggerSourceEnum
func GetUpdateOkeHelmChartDeployStageDetailsPurposeEnumStringValues() []string
GetUpdateOkeHelmChartDeployStageDetailsPurposeEnumStringValues Enumerates the set of values in String for UpdateOkeHelmChartDeployStageDetailsPurposeEnum
func GetUpdateWaitCriteriaDetailsWaitTypeEnumStringValues() []string
GetUpdateWaitCriteriaDetailsWaitTypeEnumStringValues Enumerates the set of values in String for UpdateWaitCriteriaDetailsWaitTypeEnum
func GetVbsFilterEventsEnumStringValues() []string
GetVbsFilterEventsEnumStringValues Enumerates the set of values in String for VbsFilterEventsEnum
func GetVerificationKeySourceVerificationKeySourceTypeEnumStringValues() []string
GetVerificationKeySourceVerificationKeySourceTypeEnumStringValues Enumerates the set of values in String for VerificationKeySourceVerificationKeySourceTypeEnum
func GetWaitCriteriaSummaryWaitTypeEnumStringValues() []string
GetWaitCriteriaSummaryWaitTypeEnumStringValues Enumerates the set of values in String for WaitCriteriaSummaryWaitTypeEnum
func GetWaitCriteriaWaitTypeEnumStringValues() []string
GetWaitCriteriaWaitTypeEnumStringValues Enumerates the set of values in String for WaitCriteriaWaitTypeEnum
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
func (m AbsoluteWaitCriteria) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m AbsoluteWaitCriteriaSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ActualBuildRunnerShapeConfig Build Runner Shape configuration.
type ActualBuildRunnerShapeConfig struct { // The total number of OCPUs set for the instance. Ocpus *float64 `mandatory:"true" json:"ocpus"` // The total amount of memory set for the instance in gigabytes. MemoryInGBs *float64 `mandatory:"true" json:"memoryInGBs"` }
func (m ActualBuildRunnerShapeConfig) String() string
func (m ActualBuildRunnerShapeConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // The reason for approving or rejecting the deployment. Reason *string `mandatory:"false" json:"reason"` }
func (m ApprovalAction) String() string
func (m ApprovalAction) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingApprovalActionActionEnum(val string) (ApprovalActionActionEnum, bool)
GetMappingApprovalActionActionEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingApprovalPolicyApprovalPolicyTypeEnum(val string) (ApprovalPolicyApprovalPolicyTypeEnum, bool)
GetMappingApprovalPolicyApprovalPolicyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m ApproveDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingApproveDeploymentDetailsActionEnum(val string) (ApproveDeploymentDetailsActionEnum, bool)
GetMappingApproveDeploymentDetailsActionEnum performs case Insensitive comparison on enum value and return the desired enum
ApproveDeploymentRequest wrapper for the ApproveDeployment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ApproveDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m AutomatedDeployStageRollbackPolicy) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m BackendSetIpCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudAppPasswordConnection The properties that define a connection of the type `BITBUCKET_CLOUD_APP_PASSWORD`. This type corresponds to a connection in Bitbucket Cloud that is authenticated with a App Password along with username.
type BitbucketCloudAppPasswordConnection struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // Public Bitbucket Cloud Username in plain text Username *string `mandatory:"true" json:"username"` // OCID of personal Bitbucket Cloud AppPassword saved in secret store AppPassword *string `mandatory:"true" json:"appPassword"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketCloudAppPasswordConnection) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketCloudAppPasswordConnection) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketCloudAppPasswordConnection) GetDescription() *string
GetDescription returns Description
func (m BitbucketCloudAppPasswordConnection) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketCloudAppPasswordConnection) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketCloudAppPasswordConnection) GetId() *string
GetId returns Id
func (m BitbucketCloudAppPasswordConnection) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m BitbucketCloudAppPasswordConnection) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketCloudAppPasswordConnection) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketCloudAppPasswordConnection) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketCloudAppPasswordConnection) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketCloudAppPasswordConnection) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketCloudAppPasswordConnection) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketCloudAppPasswordConnection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudAppPasswordConnection) String() string
func (m BitbucketCloudAppPasswordConnection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudAppPasswordConnectionSummary Summary information for a connection of the type `BITBUCKET_CLOUD_APP_PASSWORD`. This type corresponds to a connection in Bitbucket Cloud that is authenticated with a username and app password.
type BitbucketCloudAppPasswordConnectionSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // Public Bitbucket Cloud Username in plain text Username *string `mandatory:"true" json:"username"` // OCID of personal Bitbucket Cloud AppPassword saved in secret store AppPassword *string `mandatory:"true" json:"appPassword"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketCloudAppPasswordConnectionSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketCloudAppPasswordConnectionSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketCloudAppPasswordConnectionSummary) GetDescription() *string
GetDescription returns Description
func (m BitbucketCloudAppPasswordConnectionSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketCloudAppPasswordConnectionSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketCloudAppPasswordConnectionSummary) GetId() *string
GetId returns Id
func (m BitbucketCloudAppPasswordConnectionSummary) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m BitbucketCloudAppPasswordConnectionSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketCloudAppPasswordConnectionSummary) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketCloudAppPasswordConnectionSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketCloudAppPasswordConnectionSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketCloudAppPasswordConnectionSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketCloudAppPasswordConnectionSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketCloudAppPasswordConnectionSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudAppPasswordConnectionSummary) String() string
func (m BitbucketCloudAppPasswordConnectionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudBuildRunSource Specifies details of build run through Bitbucket Cloud.
type BitbucketCloudBuildRunSource struct { // The trigger that invoked the build run. TriggerId *string `mandatory:"true" json:"triggerId"` TriggerInfo *TriggerInfo `mandatory:"true" json:"triggerInfo"` }
func (m BitbucketCloudBuildRunSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudBuildRunSource) String() string
func (m BitbucketCloudBuildRunSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudBuildSource Bitbucket Cloud Build Source for Build Stage
type BitbucketCloudBuildSource struct { // Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. Name *string `mandatory:"true" json:"name"` // URL for the repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // Branch name. Branch *string `mandatory:"true" json:"branch"` // Connection identifier pertinent to Bitbucket Cloud source provider ConnectionId *string `mandatory:"true" json:"connectionId"` }
func (m BitbucketCloudBuildSource) GetBranch() *string
GetBranch returns Branch
func (m BitbucketCloudBuildSource) GetName() *string
GetName returns Name
func (m BitbucketCloudBuildSource) GetRepositoryUrl() *string
GetRepositoryUrl returns RepositoryUrl
func (m BitbucketCloudBuildSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudBuildSource) String() string
func (m BitbucketCloudBuildSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudFilter The filter for Bitbucket Cloud events.
type BitbucketCloudFilter struct { Include *BitbucketCloudFilterAttributes `mandatory:"false" json:"include"` Exclude *BitbucketCloudFilterExclusionAttributes `mandatory:"false" json:"exclude"` // The events, for example, PUSH, PULL_REQUEST_MERGE. Events []BitbucketCloudFilterEventsEnum `mandatory:"false" json:"events,omitempty"` }
func (m BitbucketCloudFilter) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudFilter) String() string
func (m BitbucketCloudFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudFilterAttributes Attributes to filter Bitbucket Cloud events.
type BitbucketCloudFilterAttributes struct { // Branch for push event; source branch for pull requests. HeadRef *string `mandatory:"false" json:"headRef"` // The target branch for pull requests; not applicable for push requests. BaseRef *string `mandatory:"false" json:"baseRef"` FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m BitbucketCloudFilterAttributes) String() string
func (m BitbucketCloudFilterAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudFilterEventsEnum Enum with underlying type: string
type BitbucketCloudFilterEventsEnum string
Set of constants representing the allowable values for BitbucketCloudFilterEventsEnum
const ( BitbucketCloudFilterEventsPush BitbucketCloudFilterEventsEnum = "PUSH" BitbucketCloudFilterEventsPullRequestCreated BitbucketCloudFilterEventsEnum = "PULL_REQUEST_CREATED" BitbucketCloudFilterEventsPullRequestUpdated BitbucketCloudFilterEventsEnum = "PULL_REQUEST_UPDATED" BitbucketCloudFilterEventsPullRequestMerged BitbucketCloudFilterEventsEnum = "PULL_REQUEST_MERGED" )
func GetBitbucketCloudFilterEventsEnumValues() []BitbucketCloudFilterEventsEnum
GetBitbucketCloudFilterEventsEnumValues Enumerates the set of values for BitbucketCloudFilterEventsEnum
func GetMappingBitbucketCloudFilterEventsEnum(val string) (BitbucketCloudFilterEventsEnum, bool)
GetMappingBitbucketCloudFilterEventsEnum performs case Insensitive comparison on enum value and return the desired enum
BitbucketCloudFilterExclusionAttributes Attributes to filter Bitbucket Cloud events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
type BitbucketCloudFilterExclusionAttributes struct { FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m BitbucketCloudFilterExclusionAttributes) String() string
func (m BitbucketCloudFilterExclusionAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudTrigger Trigger specific to Bitbucket Cloud
type BitbucketCloudTrigger struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketCloudTrigger) GetActions() []TriggerAction
GetActions returns Actions
func (m BitbucketCloudTrigger) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketCloudTrigger) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketCloudTrigger) GetDescription() *string
GetDescription returns Description
func (m BitbucketCloudTrigger) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketCloudTrigger) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketCloudTrigger) GetId() *string
GetId returns Id
func (m BitbucketCloudTrigger) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketCloudTrigger) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketCloudTrigger) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketCloudTrigger) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketCloudTrigger) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketCloudTrigger) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketCloudTrigger) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudTrigger) String() string
func (m *BitbucketCloudTrigger) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BitbucketCloudTrigger) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudTriggerCreateResult Trigger create response specific to Bitbucket Cloud.
type BitbucketCloudTriggerCreateResult struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The endpoint that listens to trigger events. Contains the secret as a query parameter. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketCloudTriggerCreateResult) GetActions() []TriggerAction
GetActions returns Actions
func (m BitbucketCloudTriggerCreateResult) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketCloudTriggerCreateResult) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketCloudTriggerCreateResult) GetDescription() *string
GetDescription returns Description
func (m BitbucketCloudTriggerCreateResult) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketCloudTriggerCreateResult) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketCloudTriggerCreateResult) GetId() *string
GetId returns Id
func (m BitbucketCloudTriggerCreateResult) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketCloudTriggerCreateResult) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketCloudTriggerCreateResult) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketCloudTriggerCreateResult) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketCloudTriggerCreateResult) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketCloudTriggerCreateResult) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketCloudTriggerCreateResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudTriggerCreateResult) String() string
func (m *BitbucketCloudTriggerCreateResult) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BitbucketCloudTriggerCreateResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketCloudTriggerSummary Summary of the Bitbucket Cloud trigger.
type BitbucketCloudTriggerSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketCloudTriggerSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketCloudTriggerSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketCloudTriggerSummary) GetDescription() *string
GetDescription returns Description
func (m BitbucketCloudTriggerSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketCloudTriggerSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketCloudTriggerSummary) GetId() *string
GetId returns Id
func (m BitbucketCloudTriggerSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketCloudTriggerSummary) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketCloudTriggerSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketCloudTriggerSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketCloudTriggerSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketCloudTriggerSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketCloudTriggerSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketCloudTriggerSummary) String() string
func (m BitbucketCloudTriggerSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerAccessTokenConnection The properties that define a connection of the type `BITBUCKET_SERVER_ACCESS_TOKEN`. This type corresponds to a connection in Bitbucket that is authenticated with a personal access token.
type BitbucketServerAccessTokenConnection struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // The Base URL of the hosted BitbucketServer. BaseUrl *string `mandatory:"true" json:"baseUrl"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` TlsVerifyConfig TlsVerifyConfig `mandatory:"false" json:"tlsVerifyConfig"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketServerAccessTokenConnection) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketServerAccessTokenConnection) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketServerAccessTokenConnection) GetDescription() *string
GetDescription returns Description
func (m BitbucketServerAccessTokenConnection) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketServerAccessTokenConnection) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketServerAccessTokenConnection) GetId() *string
GetId returns Id
func (m BitbucketServerAccessTokenConnection) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m BitbucketServerAccessTokenConnection) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketServerAccessTokenConnection) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketServerAccessTokenConnection) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketServerAccessTokenConnection) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketServerAccessTokenConnection) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketServerAccessTokenConnection) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketServerAccessTokenConnection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerAccessTokenConnection) String() string
func (m *BitbucketServerAccessTokenConnection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BitbucketServerAccessTokenConnection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerBuildRunSource Specifies details of build run through Bitbucket Server.
type BitbucketServerBuildRunSource struct { // The trigger that invoked the build run. TriggerId *string `mandatory:"true" json:"triggerId"` TriggerInfo *TriggerInfo `mandatory:"true" json:"triggerInfo"` }
func (m BitbucketServerBuildRunSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerBuildRunSource) String() string
func (m BitbucketServerBuildRunSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerBuildSource Bitbucket Server Build Source for Build Stage
type BitbucketServerBuildSource struct { // Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. Name *string `mandatory:"true" json:"name"` // URL for the repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // Branch name. Branch *string `mandatory:"true" json:"branch"` // Connection identifier pertinent to Bitbucket Server source provider ConnectionId *string `mandatory:"true" json:"connectionId"` }
func (m BitbucketServerBuildSource) GetBranch() *string
GetBranch returns Branch
func (m BitbucketServerBuildSource) GetName() *string
GetName returns Name
func (m BitbucketServerBuildSource) GetRepositoryUrl() *string
GetRepositoryUrl returns RepositoryUrl
func (m BitbucketServerBuildSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerBuildSource) String() string
func (m BitbucketServerBuildSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerFilter The filter for Bitbucket Server events.
type BitbucketServerFilter struct { Include *BitbucketServerFilterAttributes `mandatory:"false" json:"include"` // The events, for example, PUSH, PULL_REQUEST_MERGE. Events []BitbucketServerFilterEventsEnum `mandatory:"false" json:"events,omitempty"` }
func (m BitbucketServerFilter) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerFilter) String() string
func (m BitbucketServerFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerFilterAttributes Attributes to filter Bitbucket Server events.
type BitbucketServerFilterAttributes struct { // Branch for push event; source branch for pull requests. HeadRef *string `mandatory:"false" json:"headRef"` // The target branch for pull requests; not applicable for push requests. BaseRef *string `mandatory:"false" json:"baseRef"` }
func (m BitbucketServerFilterAttributes) String() string
func (m BitbucketServerFilterAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerFilterEventsEnum Enum with underlying type: string
type BitbucketServerFilterEventsEnum string
Set of constants representing the allowable values for BitbucketServerFilterEventsEnum
const ( BitbucketServerFilterEventsPush BitbucketServerFilterEventsEnum = "PUSH" BitbucketServerFilterEventsPullRequestOpened BitbucketServerFilterEventsEnum = "PULL_REQUEST_OPENED" BitbucketServerFilterEventsPullRequestModified BitbucketServerFilterEventsEnum = "PULL_REQUEST_MODIFIED" BitbucketServerFilterEventsPullRequestMerged BitbucketServerFilterEventsEnum = "PULL_REQUEST_MERGED" )
func GetBitbucketServerFilterEventsEnumValues() []BitbucketServerFilterEventsEnum
GetBitbucketServerFilterEventsEnumValues Enumerates the set of values for BitbucketServerFilterEventsEnum
func GetMappingBitbucketServerFilterEventsEnum(val string) (BitbucketServerFilterEventsEnum, bool)
GetMappingBitbucketServerFilterEventsEnum performs case Insensitive comparison on enum value and return the desired enum
BitbucketServerTokenConnectionSummary Summary information for a connection of the type `BITBUCKET_SERVER_ACCESS_TOKEN`. This type corresponds to a connection in Bitbucket that is authenticated with a personal access token.
type BitbucketServerTokenConnectionSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // The Base URL of the hosted BitbucketServer. BaseUrl *string `mandatory:"true" json:"baseUrl"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` TlsVerifyConfig TlsVerifyConfig `mandatory:"false" json:"tlsVerifyConfig"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketServerTokenConnectionSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketServerTokenConnectionSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketServerTokenConnectionSummary) GetDescription() *string
GetDescription returns Description
func (m BitbucketServerTokenConnectionSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketServerTokenConnectionSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketServerTokenConnectionSummary) GetId() *string
GetId returns Id
func (m BitbucketServerTokenConnectionSummary) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m BitbucketServerTokenConnectionSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketServerTokenConnectionSummary) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketServerTokenConnectionSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketServerTokenConnectionSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketServerTokenConnectionSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketServerTokenConnectionSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketServerTokenConnectionSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerTokenConnectionSummary) String() string
func (m *BitbucketServerTokenConnectionSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BitbucketServerTokenConnectionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerTrigger Trigger specific to Bitbucket Server
type BitbucketServerTrigger struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketServerTrigger) GetActions() []TriggerAction
GetActions returns Actions
func (m BitbucketServerTrigger) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketServerTrigger) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketServerTrigger) GetDescription() *string
GetDescription returns Description
func (m BitbucketServerTrigger) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketServerTrigger) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketServerTrigger) GetId() *string
GetId returns Id
func (m BitbucketServerTrigger) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketServerTrigger) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketServerTrigger) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketServerTrigger) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketServerTrigger) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketServerTrigger) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketServerTrigger) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerTrigger) String() string
func (m *BitbucketServerTrigger) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BitbucketServerTrigger) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerTriggerCreateResult Trigger create response specific to Bitbucket Server.
type BitbucketServerTriggerCreateResult struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The secret used to validate the incoming trigger call. This is visible only after the resource is created. Secret *string `mandatory:"true" json:"secret"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketServerTriggerCreateResult) GetActions() []TriggerAction
GetActions returns Actions
func (m BitbucketServerTriggerCreateResult) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketServerTriggerCreateResult) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketServerTriggerCreateResult) GetDescription() *string
GetDescription returns Description
func (m BitbucketServerTriggerCreateResult) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketServerTriggerCreateResult) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketServerTriggerCreateResult) GetId() *string
GetId returns Id
func (m BitbucketServerTriggerCreateResult) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketServerTriggerCreateResult) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketServerTriggerCreateResult) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketServerTriggerCreateResult) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketServerTriggerCreateResult) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketServerTriggerCreateResult) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketServerTriggerCreateResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerTriggerCreateResult) String() string
func (m *BitbucketServerTriggerCreateResult) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BitbucketServerTriggerCreateResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BitbucketServerTriggerSummary Summary of the Bitbucket Server trigger.
type BitbucketServerTriggerSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BitbucketServerTriggerSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BitbucketServerTriggerSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BitbucketServerTriggerSummary) GetDescription() *string
GetDescription returns Description
func (m BitbucketServerTriggerSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BitbucketServerTriggerSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BitbucketServerTriggerSummary) GetId() *string
GetId returns Id
func (m BitbucketServerTriggerSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BitbucketServerTriggerSummary) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BitbucketServerTriggerSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m BitbucketServerTriggerSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BitbucketServerTriggerSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BitbucketServerTriggerSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BitbucketServerTriggerSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BitbucketServerTriggerSummary) String() string
func (m BitbucketServerTriggerSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildOutputs Outputs from the build.
type BuildOutputs struct { ExportedVariables *ExportedVariableCollection `mandatory:"false" json:"exportedVariables"` DeliveredArtifacts *DeliveredArtifactCollection `mandatory:"false" json:"deliveredArtifacts"` ArtifactOverrideParameters *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"artifactOverrideParameters"` VulnerabilityAuditSummaryCollection *VulnerabilityAuditSummaryCollection `mandatory:"false" json:"vulnerabilityAuditSummaryCollection"` }
func (m BuildOutputs) String() string
func (m BuildOutputs) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildPipeline A set of stages forming a directed acyclic graph that defines the build process.
type BuildPipeline struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment where the build pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // Optional description about the build pipeline. Description *string `mandatory:"false" json:"description"` // Build pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the build pipeline was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the build 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 build pipeline. LifecycleState BuildPipelineLifecycleStateEnum `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"` BuildPipelineParameters *BuildPipelineParameterCollection `mandatory:"false" json:"buildPipelineParameters"` // 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 BuildPipeline) String() string
func (m BuildPipeline) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildPipelineCollection Results of a pipeline search.
type BuildPipelineCollection struct { // Array of build pipeline summary items. Items []BuildPipelineSummary `mandatory:"true" json:"items"` }
func (m BuildPipelineCollection) String() string
func (m BuildPipelineCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildPipelineLifecycleStateEnum Enum with underlying type: string
type BuildPipelineLifecycleStateEnum string
Set of constants representing the allowable values for BuildPipelineLifecycleStateEnum
const ( BuildPipelineLifecycleStateCreating BuildPipelineLifecycleStateEnum = "CREATING" BuildPipelineLifecycleStateUpdating BuildPipelineLifecycleStateEnum = "UPDATING" BuildPipelineLifecycleStateActive BuildPipelineLifecycleStateEnum = "ACTIVE" BuildPipelineLifecycleStateInactive BuildPipelineLifecycleStateEnum = "INACTIVE" BuildPipelineLifecycleStateDeleting BuildPipelineLifecycleStateEnum = "DELETING" BuildPipelineLifecycleStateDeleted BuildPipelineLifecycleStateEnum = "DELETED" BuildPipelineLifecycleStateFailed BuildPipelineLifecycleStateEnum = "FAILED" )
func GetBuildPipelineLifecycleStateEnumValues() []BuildPipelineLifecycleStateEnum
GetBuildPipelineLifecycleStateEnumValues Enumerates the set of values for BuildPipelineLifecycleStateEnum
func GetMappingBuildPipelineLifecycleStateEnum(val string) (BuildPipelineLifecycleStateEnum, bool)
GetMappingBuildPipelineLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
BuildPipelineParameter Parameter name for which the values will be supplied at the time of running the build.
type BuildPipelineParameter struct { // Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. // Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' Name *string `mandatory:"true" json:"name"` // Default value of the parameter. DefaultValue *string `mandatory:"true" json:"defaultValue"` // Description of the parameter. Description *string `mandatory:"false" json:"description"` }
func (m BuildPipelineParameter) String() string
func (m BuildPipelineParameter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildPipelineParameterCollection Specifies list of parameters present in a build pipeline. An UPDATE operation replaces the existing parameters list entirely.
type BuildPipelineParameterCollection struct { // List of parameters defined for a build pipeline. Items []BuildPipelineParameter `mandatory:"true" json:"items"` }
func (m BuildPipelineParameterCollection) String() string
func (m BuildPipelineParameterCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildPipelineStage A single node in a build pipeline. A stage takes a specific designated action. There are many types of stages such as 'BUILD' and 'DELIVER_ARTIFACT'.
type BuildPipelineStage interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of the DevOps project. GetProjectId() *string // The OCID of the build pipeline. GetBuildPipelineId() *string // The OCID of the compartment where the pipeline is created. GetCompartmentId() *string // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Optional description about the build stage. GetDescription() *string // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // The time the stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the stage. GetLifecycleState() BuildPipelineStageLifecycleStateEnum // 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 GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection // 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{} }
BuildPipelineStageBuildPipelineStageTypeEnum Enum with underlying type: string
type BuildPipelineStageBuildPipelineStageTypeEnum string
Set of constants representing the allowable values for BuildPipelineStageBuildPipelineStageTypeEnum
const ( BuildPipelineStageBuildPipelineStageTypeWait BuildPipelineStageBuildPipelineStageTypeEnum = "WAIT" BuildPipelineStageBuildPipelineStageTypeBuild BuildPipelineStageBuildPipelineStageTypeEnum = "BUILD" BuildPipelineStageBuildPipelineStageTypeDeliverArtifact BuildPipelineStageBuildPipelineStageTypeEnum = "DELIVER_ARTIFACT" BuildPipelineStageBuildPipelineStageTypeTriggerDeploymentPipeline BuildPipelineStageBuildPipelineStageTypeEnum = "TRIGGER_DEPLOYMENT_PIPELINE" )
func GetBuildPipelineStageBuildPipelineStageTypeEnumValues() []BuildPipelineStageBuildPipelineStageTypeEnum
GetBuildPipelineStageBuildPipelineStageTypeEnumValues Enumerates the set of values for BuildPipelineStageBuildPipelineStageTypeEnum
func GetMappingBuildPipelineStageBuildPipelineStageTypeEnum(val string) (BuildPipelineStageBuildPipelineStageTypeEnum, bool)
GetMappingBuildPipelineStageBuildPipelineStageTypeEnum performs case Insensitive comparison on enum value and return the desired enum
BuildPipelineStageCollection Result of a stage search.
type BuildPipelineStageCollection struct { // Summary of the list of stages found for the search. Items []BuildPipelineStageSummary `mandatory:"true" json:"items"` }
func (m BuildPipelineStageCollection) String() string
func (m *BuildPipelineStageCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BuildPipelineStageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildPipelineStageLifecycleStateEnum Enum with underlying type: string
type BuildPipelineStageLifecycleStateEnum string
Set of constants representing the allowable values for BuildPipelineStageLifecycleStateEnum
const ( BuildPipelineStageLifecycleStateCreating BuildPipelineStageLifecycleStateEnum = "CREATING" BuildPipelineStageLifecycleStateUpdating BuildPipelineStageLifecycleStateEnum = "UPDATING" BuildPipelineStageLifecycleStateActive BuildPipelineStageLifecycleStateEnum = "ACTIVE" BuildPipelineStageLifecycleStateDeleting BuildPipelineStageLifecycleStateEnum = "DELETING" BuildPipelineStageLifecycleStateDeleted BuildPipelineStageLifecycleStateEnum = "DELETED" BuildPipelineStageLifecycleStateFailed BuildPipelineStageLifecycleStateEnum = "FAILED" )
func GetBuildPipelineStageLifecycleStateEnumValues() []BuildPipelineStageLifecycleStateEnum
GetBuildPipelineStageLifecycleStateEnumValues Enumerates the set of values for BuildPipelineStageLifecycleStateEnum
func GetMappingBuildPipelineStageLifecycleStateEnum(val string) (BuildPipelineStageLifecycleStateEnum, bool)
GetMappingBuildPipelineStageLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
BuildPipelineStagePredecessor Metadata for defining a stage's predecessor.
type BuildPipelineStagePredecessor 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 BuildPipelineStagePredecessor) String() string
func (m BuildPipelineStagePredecessor) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildPipelineStagePredecessorCollection The collection containing the predecessors of a stage.
type BuildPipelineStagePredecessorCollection struct { // A list of build pipeline stage predecessors for a stage. Items []BuildPipelineStagePredecessor `mandatory:"true" json:"items"` }
func (m BuildPipelineStagePredecessorCollection) String() string
func (m BuildPipelineStagePredecessorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildPipelineStageRunProgress The details about the run progress of a stage in a build run.
type BuildPipelineStageRunProgress interface { // Build Run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetStageDisplayName() *string // The stage OCID. GetBuildPipelineStageId() *string // The time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeStarted() *common.SDKTime // The time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeFinished() *common.SDKTime // The current status of the stage. GetStatus() BuildPipelineStageRunProgressStatusEnum GetBuildPipelineStagePredecessors() *BuildPipelineStagePredecessorCollection }
BuildPipelineStageRunProgressStatusEnum Enum with underlying type: string
type BuildPipelineStageRunProgressStatusEnum string
Set of constants representing the allowable values for BuildPipelineStageRunProgressStatusEnum
const ( BuildPipelineStageRunProgressStatusAccepted BuildPipelineStageRunProgressStatusEnum = "ACCEPTED" BuildPipelineStageRunProgressStatusInProgress BuildPipelineStageRunProgressStatusEnum = "IN_PROGRESS" BuildPipelineStageRunProgressStatusFailed BuildPipelineStageRunProgressStatusEnum = "FAILED" BuildPipelineStageRunProgressStatusSucceeded BuildPipelineStageRunProgressStatusEnum = "SUCCEEDED" BuildPipelineStageRunProgressStatusCanceling BuildPipelineStageRunProgressStatusEnum = "CANCELING" BuildPipelineStageRunProgressStatusCanceled BuildPipelineStageRunProgressStatusEnum = "CANCELED" )
func GetBuildPipelineStageRunProgressStatusEnumValues() []BuildPipelineStageRunProgressStatusEnum
GetBuildPipelineStageRunProgressStatusEnumValues Enumerates the set of values for BuildPipelineStageRunProgressStatusEnum
func GetMappingBuildPipelineStageRunProgressStatusEnum(val string) (BuildPipelineStageRunProgressStatusEnum, bool)
GetMappingBuildPipelineStageRunProgressStatusEnum performs case Insensitive comparison on enum value and return the desired enum
BuildPipelineStageSummary Summary of the Stage.
type BuildPipelineStageSummary interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of the DevOps project. GetProjectId() *string // The OCID of the build pipeline. GetBuildPipelineId() *string // The OCID of the compartment where the pipeline is created. GetCompartmentId() *string // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // The time the stage was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the stage. GetLifecycleState() BuildPipelineStageLifecycleStateEnum // 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 // Optional description about the build stage. GetDescription() *string GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection // 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{} }
BuildPipelineSummary Summary of the build pipeline.
type BuildPipelineSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment where the build pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // Optional description about the build pipeline. Description *string `mandatory:"false" json:"description"` // Build pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the build pipeline was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the build pipeline was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // 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"` // The current state of the build pipeline. LifecycleState BuildPipelineLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` BuildPipelineParameters *BuildPipelineParameterCollection `mandatory:"false" json:"buildPipelineParameters"` // 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 BuildPipelineSummary) String() string
func (m BuildPipelineSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildRun Each time you attempt to run a build pipeline you create one build run. A build can be running currently, or it can be a record of the run that happened in the past. The set of build runs constitutes a build pipeline's history.
type BuildRun struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` BuildRunSource BuildRunSource `mandatory:"true" json:"buildRunSource"` // Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The OCID of the compartment where the build is running. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"false" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"false" json:"buildPipelineId"` BuildRunArguments *BuildRunArgumentCollection `mandatory:"false" json:"buildRunArguments"` // The time the build run was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the build run 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 build run. LifecycleState BuildRunLifecycleStateEnum `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"` BuildRunProgress *BuildRunProgress `mandatory:"false" json:"buildRunProgress"` CommitInfo *CommitInfo `mandatory:"false" json:"commitInfo"` BuildOutputs *BuildOutputs `mandatory:"false" json:"buildOutputs"` // 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 BuildRun) String() string
func (m *BuildRun) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BuildRun) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildRunArgument Values for pipeline parameters to be supplied at the time of running the build.
type BuildRunArgument struct { // Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. // Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' Name *string `mandatory:"true" json:"name"` // Value of the argument. Value *string `mandatory:"true" json:"value"` }
func (m BuildRunArgument) String() string
func (m BuildRunArgument) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildRunArgumentCollection Specifies list of arguments passed along with the build run.
type BuildRunArgumentCollection struct { // List of arguments provided at the time of running the build. Items []BuildRunArgument `mandatory:"true" json:"items"` }
func (m BuildRunArgumentCollection) String() string
func (m BuildRunArgumentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildRunLifecycleStateEnum Enum with underlying type: string
type BuildRunLifecycleStateEnum string
Set of constants representing the allowable values for BuildRunLifecycleStateEnum
const ( BuildRunLifecycleStateAccepted BuildRunLifecycleStateEnum = "ACCEPTED" BuildRunLifecycleStateInProgress BuildRunLifecycleStateEnum = "IN_PROGRESS" BuildRunLifecycleStateFailed BuildRunLifecycleStateEnum = "FAILED" BuildRunLifecycleStateSucceeded BuildRunLifecycleStateEnum = "SUCCEEDED" BuildRunLifecycleStateCanceling BuildRunLifecycleStateEnum = "CANCELING" BuildRunLifecycleStateCanceled BuildRunLifecycleStateEnum = "CANCELED" BuildRunLifecycleStateDeleting BuildRunLifecycleStateEnum = "DELETING" )
func GetBuildRunLifecycleStateEnumValues() []BuildRunLifecycleStateEnum
GetBuildRunLifecycleStateEnumValues Enumerates the set of values for BuildRunLifecycleStateEnum
func GetMappingBuildRunLifecycleStateEnum(val string) (BuildRunLifecycleStateEnum, bool)
GetMappingBuildRunLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
BuildRunProgress The run progress details of a build run.
type BuildRunProgress struct { // The time the build run started. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the build run finished. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // Map of stage OCIDs to build pipeline stage run progress model. BuildPipelineStageRunProgress map[string]BuildPipelineStageRunProgress `mandatory:"false" json:"buildPipelineStageRunProgress"` }
func (m BuildRunProgress) String() string
func (m *BuildRunProgress) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BuildRunProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildRunProgressSummary The summary run progress details of a build run.
type BuildRunProgressSummary struct { // The time the build run started. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the build run finished. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m BuildRunProgressSummary) String() string
func (m BuildRunProgressSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildRunSource The source from which the build run is triggered.
type BuildRunSource interface { }
BuildRunSourceSourceTypeEnum Enum with underlying type: string
type BuildRunSourceSourceTypeEnum string
Set of constants representing the allowable values for BuildRunSourceSourceTypeEnum
const ( BuildRunSourceSourceTypeManual BuildRunSourceSourceTypeEnum = "MANUAL" BuildRunSourceSourceTypeGithub BuildRunSourceSourceTypeEnum = "GITHUB" BuildRunSourceSourceTypeGitlab BuildRunSourceSourceTypeEnum = "GITLAB" BuildRunSourceSourceTypeGitlabServer BuildRunSourceSourceTypeEnum = "GITLAB_SERVER" BuildRunSourceSourceTypeBitbucketCloud BuildRunSourceSourceTypeEnum = "BITBUCKET_CLOUD" BuildRunSourceSourceTypeBitbucketServer BuildRunSourceSourceTypeEnum = "BITBUCKET_SERVER" BuildRunSourceSourceTypeDevopsCodeRepository BuildRunSourceSourceTypeEnum = "DEVOPS_CODE_REPOSITORY" BuildRunSourceSourceTypeVbs BuildRunSourceSourceTypeEnum = "VBS" )
func GetBuildRunSourceSourceTypeEnumValues() []BuildRunSourceSourceTypeEnum
GetBuildRunSourceSourceTypeEnumValues Enumerates the set of values for BuildRunSourceSourceTypeEnum
func GetMappingBuildRunSourceSourceTypeEnum(val string) (BuildRunSourceSourceTypeEnum, bool)
GetMappingBuildRunSourceSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
BuildRunSummary Summary of the build run.
type BuildRunSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment where the build is running. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` BuildRunSource BuildRunSource `mandatory:"true" json:"buildRunSource"` // Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` BuildRunArguments *BuildRunArgumentCollection `mandatory:"false" json:"buildRunArguments"` BuildRunProgressSummary *BuildRunProgressSummary `mandatory:"false" json:"buildRunProgressSummary"` // The time the build run was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the build run 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 build run. LifecycleState BuildRunLifecycleStateEnum `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"` CommitInfo *CommitInfo `mandatory:"false" json:"commitInfo"` // 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 BuildRunSummary) String() string
func (m *BuildRunSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BuildRunSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildRunSummaryCollection List of build run summary.
type BuildRunSummaryCollection struct { // Array of build run summary items. Items []BuildRunSummary `mandatory:"true" json:"items"` }
func (m BuildRunSummaryCollection) String() string
func (m BuildRunSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildRunnerShapeConfig The information about build runner.
type BuildRunnerShapeConfig interface { }
BuildRunnerShapeConfigBuildRunnerTypeEnum Enum with underlying type: string
type BuildRunnerShapeConfigBuildRunnerTypeEnum string
Set of constants representing the allowable values for BuildRunnerShapeConfigBuildRunnerTypeEnum
const ( BuildRunnerShapeConfigBuildRunnerTypeCustom BuildRunnerShapeConfigBuildRunnerTypeEnum = "CUSTOM" BuildRunnerShapeConfigBuildRunnerTypeDefault BuildRunnerShapeConfigBuildRunnerTypeEnum = "DEFAULT" )
func GetBuildRunnerShapeConfigBuildRunnerTypeEnumValues() []BuildRunnerShapeConfigBuildRunnerTypeEnum
GetBuildRunnerShapeConfigBuildRunnerTypeEnumValues Enumerates the set of values for BuildRunnerShapeConfigBuildRunnerTypeEnum
func GetMappingBuildRunnerShapeConfigBuildRunnerTypeEnum(val string) (BuildRunnerShapeConfigBuildRunnerTypeEnum, bool)
GetMappingBuildRunnerShapeConfigBuildRunnerTypeEnum performs case Insensitive comparison on enum value and return the desired enum
BuildSource Build source required for the Build stage.
type BuildSource interface { // Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. GetName() *string // URL for the repository. GetRepositoryUrl() *string // Branch name. GetBranch() *string }
BuildSourceCollection Collection of build sources.
type BuildSourceCollection struct { // Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported. Items []BuildSource `mandatory:"true" json:"items"` }
func (m BuildSourceCollection) String() string
func (m *BuildSourceCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BuildSourceCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildSourceConnectionTypeEnum Enum with underlying type: string
type BuildSourceConnectionTypeEnum string
Set of constants representing the allowable values for BuildSourceConnectionTypeEnum
const ( BuildSourceConnectionTypeGithub BuildSourceConnectionTypeEnum = "GITHUB" BuildSourceConnectionTypeGitlab BuildSourceConnectionTypeEnum = "GITLAB" BuildSourceConnectionTypeGitlabServer BuildSourceConnectionTypeEnum = "GITLAB_SERVER" BuildSourceConnectionTypeBitbucketCloud BuildSourceConnectionTypeEnum = "BITBUCKET_CLOUD" BuildSourceConnectionTypeBitbucketServer BuildSourceConnectionTypeEnum = "BITBUCKET_SERVER" BuildSourceConnectionTypeDevopsCodeRepository BuildSourceConnectionTypeEnum = "DEVOPS_CODE_REPOSITORY" BuildSourceConnectionTypeVbs BuildSourceConnectionTypeEnum = "VBS" )
func GetBuildSourceConnectionTypeEnumValues() []BuildSourceConnectionTypeEnum
GetBuildSourceConnectionTypeEnumValues Enumerates the set of values for BuildSourceConnectionTypeEnum
func GetMappingBuildSourceConnectionTypeEnum(val string) (BuildSourceConnectionTypeEnum, bool)
GetMappingBuildSourceConnectionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
BuildStage Specifies the build stage.
type BuildStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` // The OCID of the compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` BuildSourceCollection *BuildSourceCollection `mandatory:"true" json:"buildSourceCollection"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the 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"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml. BuildSpecFile *string `mandatory:"false" json:"buildSpecFile"` // Timeout for the build stage execution. Specify value in seconds. StageExecutionTimeoutInSeconds *int `mandatory:"false" json:"stageExecutionTimeoutInSeconds"` // Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source. PrimaryBuildSource *string `mandatory:"false" json:"primaryBuildSource"` BuildRunnerShapeConfig BuildRunnerShapeConfig `mandatory:"false" json:"buildRunnerShapeConfig"` PrivateAccessConfig NetworkChannel `mandatory:"false" json:"privateAccessConfig"` // Image name for the build environment. Image BuildStageImageEnum `mandatory:"true" json:"image"` // The current state of the stage. LifecycleState BuildPipelineStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m BuildStage) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m BuildStage) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m BuildStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BuildStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BuildStage) GetDescription() *string
GetDescription returns Description
func (m BuildStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BuildStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BuildStage) GetId() *string
GetId returns Id
func (m BuildStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BuildStage) GetLifecycleState() BuildPipelineStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BuildStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m BuildStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BuildStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BuildStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BuildStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BuildStage) String() string
func (m *BuildStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BuildStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildStageImageEnum Enum with underlying type: string
type BuildStageImageEnum string
Set of constants representing the allowable values for BuildStageImageEnum
const ( BuildStageImageOl7X8664Standard10 BuildStageImageEnum = "OL7_X86_64_STANDARD_10" )
func GetBuildStageImageEnumValues() []BuildStageImageEnum
GetBuildStageImageEnumValues Enumerates the set of values for BuildStageImageEnum
func GetMappingBuildStageImageEnum(val string) (BuildStageImageEnum, bool)
GetMappingBuildStageImageEnum performs case Insensitive comparison on enum value and return the desired enum
BuildStageRunProgress Specifies the run details for Build stage.
type BuildStageRunProgress struct { BuildSourceCollection *BuildSourceCollection `mandatory:"true" json:"buildSourceCollection"` // Build Run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. StageDisplayName *string `mandatory:"false" json:"stageDisplayName"` // The stage OCID. BuildPipelineStageId *string `mandatory:"false" json:"buildPipelineStageId"` // The time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` BuildPipelineStagePredecessors *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessors"` // Name of Build Runner shape where this Build Stage is running. ActualBuildRunnerShape *string `mandatory:"false" json:"actualBuildRunnerShape"` ActualBuildRunnerShapeConfig *ActualBuildRunnerShapeConfig `mandatory:"false" json:"actualBuildRunnerShapeConfig"` // The path to the build specification file for this Environment. The default location if not specified is build_spec.yaml BuildSpecFile *string `mandatory:"false" json:"buildSpecFile"` // Timeout for the Build Stage Execution. Value in seconds. StageExecutionTimeoutInSeconds *int `mandatory:"false" json:"stageExecutionTimeoutInSeconds"` // Name of the BuildSource in which the build_spec.yml file need to be located. If not specified, the 1st entry in the BuildSource collection will be chosen as Primary. PrimaryBuildSource *string `mandatory:"false" json:"primaryBuildSource"` // The details about all the steps in a Build stage Steps []BuildStageRunStep `mandatory:"false" json:"steps"` ExportedVariables *ExportedVariableCollection `mandatory:"false" json:"exportedVariables"` PrivateAccessConfig NetworkChannel `mandatory:"false" json:"privateAccessConfig"` // Image name for the Build Environment Image BuildStageRunProgressImageEnum `mandatory:"true" json:"image"` // The current status of the stage. Status BuildPipelineStageRunProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m BuildStageRunProgress) GetBuildPipelineStageId() *string
GetBuildPipelineStageId returns BuildPipelineStageId
func (m BuildStageRunProgress) GetBuildPipelineStagePredecessors() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessors returns BuildPipelineStagePredecessors
func (m BuildStageRunProgress) GetStageDisplayName() *string
GetStageDisplayName returns StageDisplayName
func (m BuildStageRunProgress) GetStatus() BuildPipelineStageRunProgressStatusEnum
GetStatus returns Status
func (m BuildStageRunProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m BuildStageRunProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m BuildStageRunProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BuildStageRunProgress) String() string
func (m *BuildStageRunProgress) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BuildStageRunProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildStageRunProgressImageEnum Enum with underlying type: string
type BuildStageRunProgressImageEnum string
Set of constants representing the allowable values for BuildStageRunProgressImageEnum
const ( BuildStageRunProgressImageOl7X8664Standard10 BuildStageRunProgressImageEnum = "OL7_X86_64_STANDARD_10" )
func GetBuildStageRunProgressImageEnumValues() []BuildStageRunProgressImageEnum
GetBuildStageRunProgressImageEnumValues Enumerates the set of values for BuildStageRunProgressImageEnum
func GetMappingBuildStageRunProgressImageEnum(val string) (BuildStageRunProgressImageEnum, bool)
GetMappingBuildStageRunProgressImageEnum performs case Insensitive comparison on enum value and return the desired enum
BuildStageRunStep The details about each step in a build stage.
type BuildStageRunStep struct { // Name of the step. Name *string `mandatory:"false" json:"name"` // State of the step. State BuildStageRunStepStateEnum `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 BuildStageRunStep) String() string
func (m BuildStageRunStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BuildStageRunStepStateEnum Enum with underlying type: string
type BuildStageRunStepStateEnum string
Set of constants representing the allowable values for BuildStageRunStepStateEnum
const ( BuildStageRunStepStateWaiting BuildStageRunStepStateEnum = "WAITING" BuildStageRunStepStateInProgress BuildStageRunStepStateEnum = "IN_PROGRESS" BuildStageRunStepStateFailed BuildStageRunStepStateEnum = "FAILED" BuildStageRunStepStateSucceeded BuildStageRunStepStateEnum = "SUCCEEDED" )
func GetBuildStageRunStepStateEnumValues() []BuildStageRunStepStateEnum
GetBuildStageRunStepStateEnumValues Enumerates the set of values for BuildStageRunStepStateEnum
func GetMappingBuildStageRunStepStateEnum(val string) (BuildStageRunStepStateEnum, bool)
GetMappingBuildStageRunStepStateEnum performs case Insensitive comparison on enum value and return the desired enum
BuildStageSummary Specifies the build stage.
type BuildStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` // The OCID of the compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the 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"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml. BuildSpecFile *string `mandatory:"false" json:"buildSpecFile"` // Timeout for the build stage execution. Specify value in seconds. StageExecutionTimeoutInSeconds *int `mandatory:"false" json:"stageExecutionTimeoutInSeconds"` BuildSourceCollection *BuildSourceCollection `mandatory:"false" json:"buildSourceCollection"` // Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source. PrimaryBuildSource *string `mandatory:"false" json:"primaryBuildSource"` BuildRunnerShapeConfig BuildRunnerShapeConfig `mandatory:"false" json:"buildRunnerShapeConfig"` PrivateAccessConfig NetworkChannel `mandatory:"false" json:"privateAccessConfig"` // The current state of the stage. LifecycleState BuildPipelineStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Image for the build environment. Image BuildStageImageEnum `mandatory:"true" json:"image"` }
func (m BuildStageSummary) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m BuildStageSummary) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m BuildStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m BuildStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m BuildStageSummary) GetDescription() *string
GetDescription returns Description
func (m BuildStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m BuildStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m BuildStageSummary) GetId() *string
GetId returns Id
func (m BuildStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m BuildStageSummary) GetLifecycleState() BuildPipelineStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m BuildStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m BuildStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m BuildStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m BuildStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m BuildStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BuildStageSummary) String() string
func (m *BuildStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m BuildStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CaCertVerify Enable TLS verification with CA certificate.
type CaCertVerify struct { // The OCID of OCI certificate service CA bundle. CaCertificateBundleId *string `mandatory:"true" json:"caCertificateBundleId"` }
func (m CaCertVerify) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CaCertVerify) String() string
func (m CaCertVerify) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelBuildRunDetails Information about canceling the build run.
type CancelBuildRunDetails struct { // The reason for canceling the build run. Reason *string `mandatory:"true" json:"reason"` }
func (m CancelBuildRunDetails) String() string
func (m CancelBuildRunDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelBuildRunRequest wrapper for the CancelBuildRun operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CancelBuildRun.go.html to see an example of how to use CancelBuildRunRequest.
type CancelBuildRunRequest struct { // Parameter details required to cancel a build run. CancelBuildRunDetails `contributesTo:"body"` // Unique build run identifier. BuildRunId *string `mandatory:"true" contributesTo:"path" name:"buildRunId"` // 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 CancelBuildRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelBuildRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelBuildRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelBuildRunRequest) String() string
func (request CancelBuildRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelBuildRunResponse wrapper for the CancelBuildRun operation
type CancelBuildRunResponse struct { // The underlying http response RawResponse *http.Response // The BuildRun instance BuildRun `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 CancelBuildRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelBuildRunResponse) 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
func (m CancelDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelDeploymentRequest wrapper for the CancelDeployment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request CancelDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
CancelScheduledCascadingProjectDeletionRequest wrapper for the CancelScheduledCascadingProjectDeletion operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CancelScheduledCascadingProjectDeletion.go.html to see an example of how to use CancelScheduledCascadingProjectDeletionRequest.
type CancelScheduledCascadingProjectDeletionRequest 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"` // 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 CancelScheduledCascadingProjectDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelScheduledCascadingProjectDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelScheduledCascadingProjectDeletionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelScheduledCascadingProjectDeletionRequest) String() string
func (request CancelScheduledCascadingProjectDeletionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelScheduledCascadingProjectDeletionResponse wrapper for the CancelScheduledCascadingProjectDeletion operation
type CancelScheduledCascadingProjectDeletionResponse 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 CancelScheduledCascadingProjectDeletionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelScheduledCascadingProjectDeletionResponse) 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
func (m ChangeProjectCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeProjectCompartmentRequest wrapper for the ChangeProjectCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ChangeProjectCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
CommitInfo Commit details that need to be used for the build run.
type CommitInfo struct { // Repository URL. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // Name of the repository branch. RepositoryBranch *string `mandatory:"true" json:"repositoryBranch"` // Commit hash pertinent to the repository URL and the specified branch. CommitHash *string `mandatory:"true" json:"commitHash"` }
func (m CommitInfo) String() string
func (m CommitInfo) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupBlueGreenDeployStage Specifies the Instance Group Blue-Green deployment stage.
type ComputeInstanceGroupBlueGreenDeployStage 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"` // First compute instance group environment OCID for deployment. DeployEnvironmentIdA *string `mandatory:"true" json:"deployEnvironmentIdA"` // Second compute instance group environment OCID for deployment. DeployEnvironmentIdB *string `mandatory:"true" json:"deployEnvironmentIdB"` // The OCID of the artifact that contains the deployment specification. DeploymentSpecDeployArtifactId *string `mandatory:"true" json:"deploymentSpecDeployArtifactId"` RolloutPolicy ComputeInstanceGroupRolloutPolicy `mandatory:"true" json:"rolloutPolicy"` ProductionLoadBalancerConfig *LoadBalancerConfig `mandatory:"true" json:"productionLoadBalancerConfig"` // 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 list of file artifact OCIDs to deploy. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` FailurePolicy ComputeInstanceGroupFailurePolicy `mandatory:"false" json:"failurePolicy"` TestLoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"testLoadBalancerConfig"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupBlueGreenDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupBlueGreenDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupBlueGreenDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupBlueGreenDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupBlueGreenDeployStage) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupBlueGreenDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupBlueGreenDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupBlueGreenDeployStage) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupBlueGreenDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupBlueGreenDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupBlueGreenDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupBlueGreenDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupBlueGreenDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupBlueGreenDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupBlueGreenDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupBlueGreenDeployStage) String() string
func (m *ComputeInstanceGroupBlueGreenDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ComputeInstanceGroupBlueGreenDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 OCID of the environment where the artifacts were deployed. EnvironmentId *string `mandatory:"false" json:"environmentId"` // 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
func (m ComputeInstanceGroupBlueGreenDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupBlueGreenDeployStageSummary Specifies the Instance Group Blue-Green deployment stage.
type ComputeInstanceGroupBlueGreenDeployStageSummary 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"` // First compute instance group environment OCID for deployment. DeployEnvironmentIdA *string `mandatory:"true" json:"deployEnvironmentIdA"` // Second compute instance group environment OCID for deployment. DeployEnvironmentIdB *string `mandatory:"true" json:"deployEnvironmentIdB"` // The OCID of the artifact that contains the deployment specification. DeploymentSpecDeployArtifactId *string `mandatory:"true" json:"deploymentSpecDeployArtifactId"` RolloutPolicy ComputeInstanceGroupRolloutPolicy `mandatory:"true" json:"rolloutPolicy"` ProductionLoadBalancerConfig *LoadBalancerConfig `mandatory:"true" json:"productionLoadBalancerConfig"` // 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 list of file artifact OCIDs to deploy. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` FailurePolicy ComputeInstanceGroupFailurePolicy `mandatory:"false" json:"failurePolicy"` TestLoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"testLoadBalancerConfig"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) String() string
func (m *ComputeInstanceGroupBlueGreenDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ComputeInstanceGroupBlueGreenDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupBlueGreenTrafficShiftDeployStage Specifies the instance group blue-green deployment load balancer traffic shift stage.
type ComputeInstanceGroupBlueGreenTrafficShiftDeployStage 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"` // The OCID of the upstream compute instance group blue-green deployment stage in this pipeline. ComputeInstanceGroupBlueGreenDeploymentDeployStageId *string `mandatory:"true" json:"computeInstanceGroupBlueGreenDeploymentDeployStageId"` // 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 ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) String() string
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 OCID of the environment where traffic is going. EnvironmentId *string `mandatory:"false" json:"environmentId"` // 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
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary Specifies the instance group blue-green deployment load balancer traffic shift stage.
type ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary 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"` // The OCID of the upstream compute instance group blue-green deployment stage in this pipeline. ComputeInstanceGroupBlueGreenDeploymentDeployStageId *string `mandatory:"true" json:"computeInstanceGroupBlueGreenDeploymentDeployStageId"` // 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 ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) String() string
func (m ComputeInstanceGroupBlueGreenTrafficShiftDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupByIdsSelector) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupByQuerySelector Specifies the Compute instance group environment filtered by the RQS query expression.
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
func (m ComputeInstanceGroupByQuerySelector) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupCanaryApprovalDeployStage Specifies the canary approval stage.
type ComputeInstanceGroupCanaryApprovalDeployStage 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 canary traffic shift stage OCID for load balancer. ComputeInstanceGroupCanaryTrafficShiftDeployStageId *string `mandatory:"true" json:"computeInstanceGroupCanaryTrafficShiftDeployStageId"` 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 ComputeInstanceGroupCanaryApprovalDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupCanaryApprovalDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupCanaryApprovalDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupCanaryApprovalDeployStage) String() string
func (m *ComputeInstanceGroupCanaryApprovalDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ComputeInstanceGroupCanaryApprovalDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Specifies the Canary approval actions. 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
func (m ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupCanaryApprovalDeployStageSummary Specifies the canary approval stage.
type ComputeInstanceGroupCanaryApprovalDeployStageSummary 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 canary traffic shift stage OCID for load balancer. ComputeInstanceGroupCanaryTrafficShiftDeployStageId *string `mandatory:"true" json:"computeInstanceGroupCanaryTrafficShiftDeployStageId"` 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 ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) String() string
func (m *ComputeInstanceGroupCanaryApprovalDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ComputeInstanceGroupCanaryApprovalDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupCanaryDeployStage Specifies the Instance Group Canary deployment stage.
type ComputeInstanceGroupCanaryDeployStage 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 Canary 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"` ProductionLoadBalancerConfig *LoadBalancerConfig `mandatory:"true" json:"productionLoadBalancerConfig"` // 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 list of file artifact OCIDs to deploy. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` TestLoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"testLoadBalancerConfig"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupCanaryDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupCanaryDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupCanaryDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupCanaryDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupCanaryDeployStage) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupCanaryDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupCanaryDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupCanaryDeployStage) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupCanaryDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupCanaryDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupCanaryDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupCanaryDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupCanaryDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupCanaryDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupCanaryDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupCanaryDeployStage) String() string
func (m *ComputeInstanceGroupCanaryDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ComputeInstanceGroupCanaryDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupCanaryDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupCanaryDeployStageSummary Specifies the Instance Group Canary deployment stage.
type ComputeInstanceGroupCanaryDeployStageSummary 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 Canary 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"` ProductionLoadBalancerConfig *LoadBalancerConfig `mandatory:"true" json:"productionLoadBalancerConfig"` // 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 list of file artifact OCIDs to deploy. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` TestLoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"testLoadBalancerConfig"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupCanaryDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupCanaryDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupCanaryDeployStageSummary) String() string
func (m *ComputeInstanceGroupCanaryDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ComputeInstanceGroupCanaryDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupCanaryTrafficShiftDeployStage Specifies the instance group canary deployment load balancer traffic shift stage.
type ComputeInstanceGroupCanaryTrafficShiftDeployStage 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"` // The OCID of an upstream compute instance group canary deployment stage ID in this pipeline. ComputeInstanceGroupCanaryDeployStageId *string `mandatory:"true" json:"computeInstanceGroupCanaryDeployStageId"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `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"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) String() string
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary Specifies the instance group canary deployment load balancer traffic shift stage.
type ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary 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 canary stage OCID for load balancer. ComputeInstanceGroupCanaryDeployStageId *string `mandatory:"true" json:"computeInstanceGroupCanaryDeployStageId"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `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"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetId() *string
GetId returns Id
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) String() string
func (m ComputeInstanceGroupCanaryTrafficShiftDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ComputeInstanceGroupDeployEnvironment Specifies the Compute instance group environment. The combination of instances matching the selectors are included in the instance group.
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
func (m ComputeInstanceGroupDeployEnvironment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupDeployEnvironmentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupFailurePolicyByCount) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupFailurePolicyByPercentage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingComputeInstanceGroupFailurePolicyPolicyTypeEnum(val string) (ComputeInstanceGroupFailurePolicyPolicyTypeEnum, bool)
GetMappingComputeInstanceGroupFailurePolicyPolicyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m ComputeInstanceGroupLinearRolloutPolicyByCount) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ComputeInstanceGroupLinearRolloutPolicyByPercentage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingComputeInstanceGroupRolloutPolicyPolicyTypeEnum(val string) (ComputeInstanceGroupRolloutPolicyPolicyTypeEnum, bool)
GetMappingComputeInstanceGroupRolloutPolicyPolicyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m ComputeInstanceGroupSelectorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingComputeInstanceGroupSelectorSelectorTypeEnum(val string) (ComputeInstanceGroupSelectorSelectorTypeEnum, bool)
GetMappingComputeInstanceGroupSelectorSelectorTypeEnum performs case Insensitive comparison on enum value and return the desired enum
Connection The properties that define a connection to external repositories.
type Connection interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of the compartment containing the connection. GetCompartmentId() *string // The OCID of the DevOps project. GetProjectId() *string // Optional description about the connection. GetDescription() *string // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime GetLastConnectionValidationResult() *ConnectionValidationResult // A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string // The current state of the connection. GetLifecycleState() ConnectionLifecycleStateEnum // 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{} }
ConnectionCollection Collection of connections.
type ConnectionCollection struct { // Collection of connections. Items []ConnectionSummary `mandatory:"true" json:"items"` }
func (m ConnectionCollection) String() string
func (m *ConnectionCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ConnectionCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConnectionConnectionTypeEnum Enum with underlying type: string
type ConnectionConnectionTypeEnum string
Set of constants representing the allowable values for ConnectionConnectionTypeEnum
const ( ConnectionConnectionTypeGithubAccessToken ConnectionConnectionTypeEnum = "GITHUB_ACCESS_TOKEN" ConnectionConnectionTypeGitlabAccessToken ConnectionConnectionTypeEnum = "GITLAB_ACCESS_TOKEN" ConnectionConnectionTypeGitlabServerAccessToken ConnectionConnectionTypeEnum = "GITLAB_SERVER_ACCESS_TOKEN" ConnectionConnectionTypeBitbucketServerAccessToken ConnectionConnectionTypeEnum = "BITBUCKET_SERVER_ACCESS_TOKEN" ConnectionConnectionTypeBitbucketCloudAppPassword ConnectionConnectionTypeEnum = "BITBUCKET_CLOUD_APP_PASSWORD" ConnectionConnectionTypeVbsAccessToken ConnectionConnectionTypeEnum = "VBS_ACCESS_TOKEN" )
func GetConnectionConnectionTypeEnumValues() []ConnectionConnectionTypeEnum
GetConnectionConnectionTypeEnumValues Enumerates the set of values for ConnectionConnectionTypeEnum
func GetMappingConnectionConnectionTypeEnum(val string) (ConnectionConnectionTypeEnum, bool)
GetMappingConnectionConnectionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ConnectionLifecycleStateEnum Enum with underlying type: string
type ConnectionLifecycleStateEnum string
Set of constants representing the allowable values for ConnectionLifecycleStateEnum
const ( ConnectionLifecycleStateActive ConnectionLifecycleStateEnum = "ACTIVE" ConnectionLifecycleStateDeleting ConnectionLifecycleStateEnum = "DELETING" )
func GetConnectionLifecycleStateEnumValues() []ConnectionLifecycleStateEnum
GetConnectionLifecycleStateEnumValues Enumerates the set of values for ConnectionLifecycleStateEnum
func GetMappingConnectionLifecycleStateEnum(val string) (ConnectionLifecycleStateEnum, bool)
GetMappingConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ConnectionSummary Summary information for a connection.
type ConnectionSummary interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of the compartment containing the connection. GetCompartmentId() *string // The OCID of the DevOps project. GetProjectId() *string // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Optional description about the connection. GetDescription() *string // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime GetLastConnectionValidationResult() *ConnectionValidationResult // A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state. GetLifecycleDetails() *string // The current state of the connection. GetLifecycleState() ConnectionLifecycleStateEnum // 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{} }
ConnectionValidationResult The result of validating the credentials of a connection.
type ConnectionValidationResult struct { // The latest result of whether the credentials pass the validation. Result ConnectionValidationResultResultEnum `mandatory:"false" json:"result,omitempty"` // The latest timestamp when the connection was validated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeValidated *common.SDKTime `mandatory:"false" json:"timeValidated"` // A message describing the result of connection validation in more detail. Message *string `mandatory:"false" json:"message"` }
func (m ConnectionValidationResult) String() string
func (m ConnectionValidationResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ConnectionValidationResultResultEnum Enum with underlying type: string
type ConnectionValidationResultResultEnum string
Set of constants representing the allowable values for ConnectionValidationResultResultEnum
const ( ConnectionValidationResultResultPass ConnectionValidationResultResultEnum = "PASS" ConnectionValidationResultResultFail ConnectionValidationResultResultEnum = "FAIL" )
func GetConnectionValidationResultResultEnumValues() []ConnectionValidationResultResultEnum
GetConnectionValidationResultResultEnumValues Enumerates the set of values for ConnectionValidationResultResultEnum
func GetMappingConnectionValidationResultResultEnum(val string) (ConnectionValidationResultResultEnum, bool)
GetMappingConnectionValidationResultResultEnum performs case Insensitive comparison on enum value and return the desired enum
ContainerConfig Specifies the container configuration.
type ContainerConfig interface { }
ContainerConfigContainerConfigTypeEnum Enum with underlying type: string
type ContainerConfigContainerConfigTypeEnum string
Set of constants representing the allowable values for ContainerConfigContainerConfigTypeEnum
const ( ContainerConfigContainerConfigTypeContainerInstanceConfig ContainerConfigContainerConfigTypeEnum = "CONTAINER_INSTANCE_CONFIG" )
func GetContainerConfigContainerConfigTypeEnumValues() []ContainerConfigContainerConfigTypeEnum
GetContainerConfigContainerConfigTypeEnumValues Enumerates the set of values for ContainerConfigContainerConfigTypeEnum
func GetMappingContainerConfigContainerConfigTypeEnum(val string) (ContainerConfigContainerConfigTypeEnum, bool)
GetMappingContainerConfigContainerConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ContainerInstanceConfig Specifies ContainerInstance configuration.
type ContainerInstanceConfig struct { // The shape of the ContainerInstance. The shape determines the resources available to the ContainerInstance. ShapeName *string `mandatory:"true" json:"shapeName"` ShapeConfig *ShapeConfig `mandatory:"true" json:"shapeConfig"` NetworkChannel NetworkChannel `mandatory:"true" json:"networkChannel"` // The OCID of the compartment where the ContainerInstance will be created. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Availability domain where the ContainerInstance will be created. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` }
func (m ContainerInstanceConfig) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ContainerInstanceConfig) String() string
func (m *ContainerInstanceConfig) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ContainerInstanceConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ContainerRegistryDeliveredArtifact Details of the container registry artifacts delivered through the Deliver Artifacts stage.
type ContainerRegistryDeliveredArtifact struct { // The OCID of the deployment artifact definition. DeployArtifactId *string `mandatory:"true" json:"deployArtifactId"` // Name of the output artifact defined in the build specification file. OutputArtifactName *string `mandatory:"true" json:"outputArtifactName"` // The hash of the container registry artifact pushed by the Deliver Artifacts stage. DeliveredArtifactHash *string `mandatory:"true" json:"deliveredArtifactHash"` // The imageUri of the OCIR artifact pushed by the DeliverArtifactStage ImageUri *string `mandatory:"false" json:"imageUri"` }
func (m ContainerRegistryDeliveredArtifact) GetDeployArtifactId() *string
GetDeployArtifactId returns DeployArtifactId
func (m ContainerRegistryDeliveredArtifact) GetOutputArtifactName() *string
GetOutputArtifactName returns OutputArtifactName
func (m ContainerRegistryDeliveredArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ContainerRegistryDeliveredArtifact) String() string
func (m ContainerRegistryDeliveredArtifact) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CountBasedApprovalPolicy) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateAbsoluteWaitCriteriaDetails Specifies the absolute wait criteria. You can specify fixed length of wait duration.
type CreateAbsoluteWaitCriteriaDetails struct { // The absolute wait duration. // Minimum wait duration must be 5 seconds. // Maximum wait duration can be up to 2 days. WaitDuration *string `mandatory:"true" json:"waitDuration"` }
func (m CreateAbsoluteWaitCriteriaDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateAbsoluteWaitCriteriaDetails) String() string
func (m CreateAbsoluteWaitCriteriaDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBitbucketCloudAppPasswordConnectionDetails The details for creating a connection of the type `BITBUCKET_CLOUD_APP_PASSWORD`. This type corresponds to a connection in Bitbucket Cloud that is authenticated with username and app password.
type CreateBitbucketCloudAppPasswordConnectionDetails struct { // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // Public Bitbucket Cloud Username in plain text(not more than 30 characters) Username *string `mandatory:"true" json:"username"` // OCID of personal Bitbucket Cloud AppPassword saved in secret store AppPassword *string `mandatory:"true" json:"appPassword"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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 CreateBitbucketCloudAppPasswordConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateBitbucketCloudAppPasswordConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m CreateBitbucketCloudAppPasswordConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateBitbucketCloudAppPasswordConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateBitbucketCloudAppPasswordConnectionDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateBitbucketCloudAppPasswordConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBitbucketCloudAppPasswordConnectionDetails) String() string
func (m CreateBitbucketCloudAppPasswordConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBitbucketCloudTriggerDetails The trigger for Bitbucket Cloud as the caller.
type CreateBitbucketCloudTriggerDetails struct { // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. 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"` // The OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` }
func (m CreateBitbucketCloudTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m CreateBitbucketCloudTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateBitbucketCloudTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m CreateBitbucketCloudTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateBitbucketCloudTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateBitbucketCloudTriggerDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateBitbucketCloudTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBitbucketCloudTriggerDetails) String() string
func (m *CreateBitbucketCloudTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateBitbucketCloudTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBitbucketServerAccessTokenConnectionDetails The details for creating a connection of the type `BITBUCKET_SERVER_ACCESS_TOKEN`. This type corresponds to a connection in Bitbucket that is authenticated with a personal access token.
type CreateBitbucketServerAccessTokenConnectionDetails struct { // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // The Base URL of the hosted BitbucketServer. BaseUrl *string `mandatory:"true" json:"baseUrl"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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"` TlsVerifyConfig TlsVerifyConfig `mandatory:"false" json:"tlsVerifyConfig"` }
func (m CreateBitbucketServerAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateBitbucketServerAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m CreateBitbucketServerAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateBitbucketServerAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateBitbucketServerAccessTokenConnectionDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateBitbucketServerAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBitbucketServerAccessTokenConnectionDetails) String() string
func (m *CreateBitbucketServerAccessTokenConnectionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateBitbucketServerAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBitbucketServerTriggerDetails The trigger for Bitbucket Server as the caller.
type CreateBitbucketServerTriggerDetails struct { // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. 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 CreateBitbucketServerTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m CreateBitbucketServerTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateBitbucketServerTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m CreateBitbucketServerTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateBitbucketServerTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateBitbucketServerTriggerDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateBitbucketServerTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBitbucketServerTriggerDetails) String() string
func (m *CreateBitbucketServerTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateBitbucketServerTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBuildPipelineDetails Information about the new build pipeline to be created.
type CreateBuildPipelineDetails struct { // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // Optional description about the build pipeline. Description *string `mandatory:"false" json:"description"` // Build pipeline display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` BuildPipelineParameters *BuildPipelineParameterCollection `mandatory:"false" json:"buildPipelineParameters"` // 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 CreateBuildPipelineDetails) String() string
func (m CreateBuildPipelineDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBuildPipelineRequest wrapper for the CreateBuildPipeline operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateBuildPipeline.go.html to see an example of how to use CreateBuildPipelineRequest.
type CreateBuildPipelineRequest struct { // Details for the new build pipeline. CreateBuildPipelineDetails `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 CreateBuildPipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateBuildPipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateBuildPipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateBuildPipelineRequest) String() string
func (request CreateBuildPipelineRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBuildPipelineResponse wrapper for the CreateBuildPipeline operation
type CreateBuildPipelineResponse struct { // The underlying http response RawResponse *http.Response // The BuildPipeline instance BuildPipeline `presentIn:"body"` // 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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response CreateBuildPipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateBuildPipelineResponse) String() string
CreateBuildPipelineStageDetails The information about a new stage.
type CreateBuildPipelineStageDetails interface { // The OCID of the build pipeline. GetBuildPipelineId() *string GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Optional description about the stage. GetDescription() *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{} }
CreateBuildPipelineStageRequest wrapper for the CreateBuildPipelineStage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateBuildPipelineStage.go.html to see an example of how to use CreateBuildPipelineStageRequest.
type CreateBuildPipelineStageRequest struct { // Details for the new stage. CreateBuildPipelineStageDetails `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 CreateBuildPipelineStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateBuildPipelineStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateBuildPipelineStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateBuildPipelineStageRequest) String() string
func (request CreateBuildPipelineStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBuildPipelineStageResponse wrapper for the CreateBuildPipelineStage operation
type CreateBuildPipelineStageResponse struct { // The underlying http response RawResponse *http.Response // The BuildPipelineStage instance BuildPipelineStage `presentIn:"body"` // 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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response CreateBuildPipelineStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateBuildPipelineStageResponse) String() string
CreateBuildRunDetails Information about the new build run.
type CreateBuildRunDetails struct { // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` // Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` CommitInfo *CommitInfo `mandatory:"false" json:"commitInfo"` BuildRunArguments *BuildRunArgumentCollection `mandatory:"false" json:"buildRunArguments"` // 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 CreateBuildRunDetails) String() string
func (m CreateBuildRunDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBuildRunRequest wrapper for the CreateBuildRun operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateBuildRun.go.html to see an example of how to use CreateBuildRunRequest.
type CreateBuildRunRequest struct { // Parameter details required to create a new build run. CreateBuildRunDetails `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"` // 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"` // 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 CreateBuildRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateBuildRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateBuildRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateBuildRunRequest) String() string
func (request CreateBuildRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateBuildRunResponse wrapper for the CreateBuildRun operation
type CreateBuildRunResponse struct { // The underlying http response RawResponse *http.Response // The BuildRun instance BuildRun `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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response CreateBuildRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateBuildRunResponse) String() string
CreateBuildStageDetails Specifies the build stage.
type CreateBuildStageDetails struct { // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"true" json:"buildPipelineStagePredecessorCollection"` BuildSourceCollection *BuildSourceCollection `mandatory:"true" json:"buildSourceCollection"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the stage. 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"` // The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml. BuildSpecFile *string `mandatory:"false" json:"buildSpecFile"` // Timeout for the build stage execution. Specify value in seconds. StageExecutionTimeoutInSeconds *int `mandatory:"false" json:"stageExecutionTimeoutInSeconds"` // Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source. PrimaryBuildSource *string `mandatory:"false" json:"primaryBuildSource"` BuildRunnerShapeConfig BuildRunnerShapeConfig `mandatory:"false" json:"buildRunnerShapeConfig"` PrivateAccessConfig NetworkChannel `mandatory:"false" json:"privateAccessConfig"` // Image name for the build environment Image BuildStageImageEnum `mandatory:"true" json:"image"` }
func (m CreateBuildStageDetails) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m CreateBuildStageDetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m CreateBuildStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateBuildStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateBuildStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateBuildStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateBuildStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateBuildStageDetails) String() string
func (m *CreateBuildStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateBuildStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateComputeInstanceGroupBlueGreenDeployStageDetails Specifies the Instance Group Blue-Green deployment stage.
type CreateComputeInstanceGroupBlueGreenDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // First compute instance group environment OCID for deployment. DeployEnvironmentIdA *string `mandatory:"true" json:"deployEnvironmentIdA"` // Second compute instance group environment OCID for deployment. DeployEnvironmentIdB *string `mandatory:"true" json:"deployEnvironmentIdB"` // The OCID of the artifact that contains the deployment specification. DeploymentSpecDeployArtifactId *string `mandatory:"true" json:"deploymentSpecDeployArtifactId"` RolloutPolicy ComputeInstanceGroupRolloutPolicy `mandatory:"true" json:"rolloutPolicy"` ProductionLoadBalancerConfig *LoadBalancerConfig `mandatory:"true" json:"productionLoadBalancerConfig"` // 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"` // The list of file artifact OCIDs to deploy. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` FailurePolicy ComputeInstanceGroupFailurePolicy `mandatory:"false" json:"failurePolicy"` TestLoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"testLoadBalancerConfig"` }
func (m CreateComputeInstanceGroupBlueGreenDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateComputeInstanceGroupBlueGreenDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateComputeInstanceGroupBlueGreenDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateComputeInstanceGroupBlueGreenDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateComputeInstanceGroupBlueGreenDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateComputeInstanceGroupBlueGreenDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateComputeInstanceGroupBlueGreenDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateComputeInstanceGroupBlueGreenDeployStageDetails) String() string
func (m *CreateComputeInstanceGroupBlueGreenDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateComputeInstanceGroupBlueGreenDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails Specifies the instance group blue-green deployment load balancer traffic shift stage.
type CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // The OCID of the upstream compute instance group blue-green deployment stage in this pipeline. ComputeInstanceGroupBlueGreenDeploymentDeployStageId *string `mandatory:"true" json:"computeInstanceGroupBlueGreenDeploymentDeployStageId"` // 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 CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) String() string
func (m CreateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateComputeInstanceGroupCanaryApprovalDeployStageDetails Specifies the canary approval stage.
type CreateComputeInstanceGroupCanaryApprovalDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // A compute instance group canary traffic shift stage OCID for load balancer. ComputeInstanceGroupCanaryTrafficShiftDeployStageId *string `mandatory:"true" json:"computeInstanceGroupCanaryTrafficShiftDeployStageId"` 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 CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) String() string
func (m *CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateComputeInstanceGroupCanaryApprovalDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateComputeInstanceGroupCanaryDeployStageDetails Specifies the Instance Group Canary deployment stage.
type CreateComputeInstanceGroupCanaryDeployStageDetails 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 Canary 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"` ProductionLoadBalancerConfig *LoadBalancerConfig `mandatory:"true" json:"productionLoadBalancerConfig"` // 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"` // The list of file artifact OCIDs to deploy. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` TestLoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"testLoadBalancerConfig"` }
func (m CreateComputeInstanceGroupCanaryDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateComputeInstanceGroupCanaryDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateComputeInstanceGroupCanaryDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateComputeInstanceGroupCanaryDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateComputeInstanceGroupCanaryDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateComputeInstanceGroupCanaryDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateComputeInstanceGroupCanaryDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateComputeInstanceGroupCanaryDeployStageDetails) String() string
func (m *CreateComputeInstanceGroupCanaryDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateComputeInstanceGroupCanaryDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails Specifies the instance group canary deployment load balancer traffic shift stage.
type CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // A compute instance group canary stage OCID for load balancer. ComputeInstanceGroupCanaryDeployStageId *string `mandatory:"true" json:"computeInstanceGroupCanaryDeployStageId"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `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"` }
func (m CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) String() string
func (m CreateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateComputeInstanceGroupDeployEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateComputeInstanceGroupDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateConnectionDetails The details for creating a connection.
type CreateConnectionDetails interface { // The OCID of the DevOps project. GetProjectId() *string // Optional description about the connection. GetDescription() *string // Optional connection 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{} }
CreateConnectionRequest wrapper for the CreateConnection operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateConnection.go.html to see an example of how to use CreateConnectionRequest.
type CreateConnectionRequest struct { // Details for the new connection. CreateConnectionDetails `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 CreateConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateConnectionRequest) String() string
func (request CreateConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateConnectionResponse wrapper for the CreateConnection operation
type CreateConnectionResponse struct { // The underlying http response RawResponse *http.Response // The Connection instance Connection `presentIn:"body"` // 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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response CreateConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateConnectionResponse) String() string
CreateDeliverArtifactStageDetails Specifies the Deliver Artifacts stage.
type CreateDeliverArtifactStageDetails struct { // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"true" json:"buildPipelineStagePredecessorCollection"` DeliverArtifactCollection *DeliverArtifactCollection `mandatory:"true" json:"deliverArtifactCollection"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the stage. 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 CreateDeliverArtifactStageDetails) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m CreateDeliverArtifactStageDetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m CreateDeliverArtifactStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDeliverArtifactStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateDeliverArtifactStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDeliverArtifactStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDeliverArtifactStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDeliverArtifactStageDetails) String() string
func (m CreateDeliverArtifactStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateDeployArtifactDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDeployArtifactRequest wrapper for the CreateDeployArtifact operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request CreateDeployArtifactRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request CreateDeployEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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
func (m CreateDeployPipelineDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateDeployPipelineDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Specifies the OCID of the previous deployment to be redeployed. PreviousDeploymentId *string `mandatory:"true" json:"previousDeploymentId"` // 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 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
func (m CreateDeployPipelineRedeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateDeployPipelineRequest wrapper for the CreateDeployPipeline operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request CreateDeployPipelineRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateDeployStage.go.html to see an example of how to use CreateDeployStageRequest.
type CreateDeployStageRequest struct { // Details for the new deployment stage. 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
func (request CreateDeployStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request CreateDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
CreateDevopsCodeRepositoryTriggerDetails The trigger for DevOps code repository as the caller.
type CreateDevopsCodeRepositoryTriggerDetails struct { // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. 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"` // The OCID of the DevOps code repository. RepositoryId *string `mandatory:"false" json:"repositoryId"` }
func (m CreateDevopsCodeRepositoryTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m CreateDevopsCodeRepositoryTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateDevopsCodeRepositoryTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m CreateDevopsCodeRepositoryTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateDevopsCodeRepositoryTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateDevopsCodeRepositoryTriggerDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateDevopsCodeRepositoryTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateDevopsCodeRepositoryTriggerDetails) String() string
func (m *CreateDevopsCodeRepositoryTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateDevopsCodeRepositoryTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateFunctionDeployEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateFunctionDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGithubAccessTokenConnectionDetails The details for creating a connection of the type `GITHUB_ACCESS_TOKEN`. This type corresponds to a connection in GitHub that is authenticated with a personal access token.
type CreateGithubAccessTokenConnectionDetails struct { // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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 CreateGithubAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateGithubAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m CreateGithubAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateGithubAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateGithubAccessTokenConnectionDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateGithubAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGithubAccessTokenConnectionDetails) String() string
func (m CreateGithubAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGithubTriggerDetails The trigger for GitHub as the caller.
type CreateGithubTriggerDetails struct { // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. 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"` // The OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` }
func (m CreateGithubTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m CreateGithubTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateGithubTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m CreateGithubTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateGithubTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateGithubTriggerDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateGithubTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGithubTriggerDetails) String() string
func (m *CreateGithubTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateGithubTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGitlabAccessTokenConnectionDetails The details for creating a connection of the type `GITLAB_ACCESS_TOKEN`. This type corresponds to a connection in GitLab that is authenticated with a personal access token.
type CreateGitlabAccessTokenConnectionDetails struct { // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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 CreateGitlabAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateGitlabAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m CreateGitlabAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateGitlabAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateGitlabAccessTokenConnectionDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateGitlabAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGitlabAccessTokenConnectionDetails) String() string
func (m CreateGitlabAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGitlabServerAccessTokenConnectionDetails The details for creating a connection of the type `GITLAB_SERVER_ACCESS_TOKEN`. This type corresponds to a connection in GitLab self hosted server that is authenticated with a personal access token.
type CreateGitlabServerAccessTokenConnectionDetails struct { // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // The baseUrl of the hosted GitLabServer. BaseUrl *string `mandatory:"true" json:"baseUrl"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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"` TlsVerifyConfig TlsVerifyConfig `mandatory:"false" json:"tlsVerifyConfig"` }
func (m CreateGitlabServerAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateGitlabServerAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m CreateGitlabServerAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateGitlabServerAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateGitlabServerAccessTokenConnectionDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateGitlabServerAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGitlabServerAccessTokenConnectionDetails) String() string
func (m *CreateGitlabServerAccessTokenConnectionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateGitlabServerAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGitlabServerTriggerDetails The trigger for GitLab as the caller.
type CreateGitlabServerTriggerDetails struct { // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. 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 CreateGitlabServerTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m CreateGitlabServerTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateGitlabServerTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m CreateGitlabServerTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateGitlabServerTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateGitlabServerTriggerDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateGitlabServerTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGitlabServerTriggerDetails) String() string
func (m *CreateGitlabServerTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateGitlabServerTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateGitlabTriggerDetails The trigger for GitLab as the caller.
type CreateGitlabTriggerDetails struct { // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. 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"` // The OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` }
func (m CreateGitlabTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m CreateGitlabTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateGitlabTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m CreateGitlabTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateGitlabTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateGitlabTriggerDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateGitlabTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateGitlabTriggerDetails) String() string
func (m *CreateGitlabTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateGitlabTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 artifact OCID. The artifact will be included in the body for the function invocation during the stage's execution. // If the DeployArtifact.argumentSubstituitionMode is set to SUBSTITUTE_PLACEHOLDERS, then the pipeline parameter values will be used to replace the placeholders in the artifact content. 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
func (m CreateInvokeFunctionDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. Example: BLUE - Traffic from the existing backends of managed Load Balance Listener to blue Backend IPs, as per rolloutPolicy. GREEN - Traffic from the existing backends of managed Load Balance Listener to blue Backend IPs ser as per rolloutPolicy. 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
func (m CreateLoadBalancerTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m CreateManualApprovalDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOkeBlueGreenDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster Blue-Green deployment stage.
type CreateOkeBlueGreenDeployStageDetails 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. KubernetesManifestDeployArtifactIds []string `mandatory:"true" json:"kubernetesManifestDeployArtifactIds"` BlueGreenStrategy OkeBlueGreenStrategy `mandatory:"true" json:"blueGreenStrategy"` // 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 CreateOkeBlueGreenDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOkeBlueGreenDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateOkeBlueGreenDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateOkeBlueGreenDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateOkeBlueGreenDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOkeBlueGreenDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOkeBlueGreenDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOkeBlueGreenDeployStageDetails) String() string
func (m *CreateOkeBlueGreenDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateOkeBlueGreenDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOkeBlueGreenTrafficShiftDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster blue-green deployment traffic shift stage.
type CreateOkeBlueGreenTrafficShiftDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // The OCID of the upstream OKE blue-green deployment stage in this pipeline. OkeBlueGreenDeployStageId *string `mandatory:"true" json:"okeBlueGreenDeployStageId"` // 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 CreateOkeBlueGreenTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOkeBlueGreenTrafficShiftDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateOkeBlueGreenTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateOkeBlueGreenTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateOkeBlueGreenTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOkeBlueGreenTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOkeBlueGreenTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOkeBlueGreenTrafficShiftDeployStageDetails) String() string
func (m CreateOkeBlueGreenTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOkeCanaryApprovalDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment approval stage.
type CreateOkeCanaryApprovalDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // The OCID of an upstream OKE canary deployment traffic shift stage in this pipeline. OkeCanaryTrafficShiftDeployStageId *string `mandatory:"true" json:"okeCanaryTrafficShiftDeployStageId"` 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 CreateOkeCanaryApprovalDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOkeCanaryApprovalDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateOkeCanaryApprovalDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateOkeCanaryApprovalDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateOkeCanaryApprovalDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOkeCanaryApprovalDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOkeCanaryApprovalDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOkeCanaryApprovalDeployStageDetails) String() string
func (m *CreateOkeCanaryApprovalDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateOkeCanaryApprovalDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOkeCanaryDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster Canary deployment stage.
type CreateOkeCanaryDeployStageDetails 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. KubernetesManifestDeployArtifactIds []string `mandatory:"true" json:"kubernetesManifestDeployArtifactIds"` CanaryStrategy OkeCanaryStrategy `mandatory:"true" json:"canaryStrategy"` // 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 CreateOkeCanaryDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOkeCanaryDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateOkeCanaryDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateOkeCanaryDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateOkeCanaryDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOkeCanaryDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOkeCanaryDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOkeCanaryDeployStageDetails) String() string
func (m *CreateOkeCanaryDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateOkeCanaryDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOkeCanaryTrafficShiftDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment traffic shift stage.
type CreateOkeCanaryTrafficShiftDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` // The OCID of an upstream OKE canary deployment stage in this pipeline. OkeCanaryDeployStageId *string `mandatory:"true" json:"okeCanaryDeployStageId"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `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"` }
func (m CreateOkeCanaryTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOkeCanaryTrafficShiftDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateOkeCanaryTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateOkeCanaryTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateOkeCanaryTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOkeCanaryTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOkeCanaryTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOkeCanaryTrafficShiftDeployStageDetails) String() string
func (m CreateOkeCanaryTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` NetworkChannel NetworkChannel `mandatory:"false" json:"networkChannel"` }
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
func (m *CreateOkeClusterDeployEnvironmentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateOkeClusterDeployEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOkeDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) 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. 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
func (m CreateOkeDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOkeHelmChartDeployStageDetails Specifies the Helm chart deployment to a Kubernetes cluster stage.
type CreateOkeHelmChartDeployStageDetails 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"` // Helm chart artifact OCID. HelmChartDeployArtifactId *string `mandatory:"true" json:"helmChartDeployArtifactId"` // Default name of the chart instance. Must be unique within a Kubernetes namespace. ReleaseName *string `mandatory:"true" json:"releaseName"` // 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"` // List of values.yaml file artifact OCIDs. ValuesArtifactIds []string `mandatory:"false" json:"valuesArtifactIds"` // Uninstall the Helm chart release on deleting the stage. IsUninstallOnStageDelete *bool `mandatory:"false" json:"isUninstallOnStageDelete"` // List of Helm command artifact OCIDs. HelmCommandArtifactIds []string `mandatory:"false" json:"helmCommandArtifactIds"` // Default namespace to be used for Kubernetes deployment when not specified in the manifest. Namespace *string `mandatory:"false" json:"namespace"` // Time to wait for execution of a helm stage. Defaults to 300 seconds. TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` SetValues *HelmSetValueCollection `mandatory:"false" json:"setValues"` SetString *HelmSetValueCollection `mandatory:"false" json:"setString"` // Disable pre/post upgrade hooks. Set to false by default. AreHooksEnabled *bool `mandatory:"false" json:"areHooksEnabled"` // During upgrade, reuse the values of the last release and merge overrides from the command line. Set to false by default. ShouldReuseValues *bool `mandatory:"false" json:"shouldReuseValues"` // During upgrade, reset the values to the ones built into the chart. It overrides shouldReuseValues. Set to false by default. ShouldResetValues *bool `mandatory:"false" json:"shouldResetValues"` // Force resource update through delete; or if required, recreate. Set to false by default. IsForceEnabled *bool `mandatory:"false" json:"isForceEnabled"` // Allow deletion of new resources created during when an upgrade fails. Set to false by default. ShouldCleanupOnFail *bool `mandatory:"false" json:"shouldCleanupOnFail"` // Limit the maximum number of revisions saved per release. Use 0 for no limit. Set to 10 by default MaxHistory *int `mandatory:"false" json:"maxHistory"` // If set, no CRDs are installed. By default, CRDs are installed only if they are not present already. Set to false by default. ShouldSkipCrds *bool `mandatory:"false" json:"shouldSkipCrds"` // If set, renders subchart notes along with the parent. Set to false by default. ShouldSkipRenderSubchartNotes *bool `mandatory:"false" json:"shouldSkipRenderSubchartNotes"` // Does not wait until all the resources are in a ready state to mark the release as successful if set to true. Set to false by default. ShouldNotWait *bool `mandatory:"false" json:"shouldNotWait"` // Enables helm --debug option to stream output to tf stdout. Set to false by default. IsDebugEnabled *bool `mandatory:"false" json:"isDebugEnabled"` // The purpose of running this Helm stage Purpose CreateOkeHelmChartDeployStageDetailsPurposeEnum `mandatory:"false" json:"purpose,omitempty"` }
func (m CreateOkeHelmChartDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateOkeHelmChartDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateOkeHelmChartDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateOkeHelmChartDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateOkeHelmChartDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateOkeHelmChartDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateOkeHelmChartDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateOkeHelmChartDeployStageDetails) String() string
func (m *CreateOkeHelmChartDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateOkeHelmChartDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateOkeHelmChartDeployStageDetailsPurposeEnum Enum with underlying type: string
type CreateOkeHelmChartDeployStageDetailsPurposeEnum string
Set of constants representing the allowable values for CreateOkeHelmChartDeployStageDetailsPurposeEnum
const ( CreateOkeHelmChartDeployStageDetailsPurposeUpgrade CreateOkeHelmChartDeployStageDetailsPurposeEnum = "EXECUTE_HELM_UPGRADE" CreateOkeHelmChartDeployStageDetailsPurposeCommand CreateOkeHelmChartDeployStageDetailsPurposeEnum = "EXECUTE_HELM_COMMAND" )
func GetCreateOkeHelmChartDeployStageDetailsPurposeEnumValues() []CreateOkeHelmChartDeployStageDetailsPurposeEnum
GetCreateOkeHelmChartDeployStageDetailsPurposeEnumValues Enumerates the set of values for CreateOkeHelmChartDeployStageDetailsPurposeEnum
func GetMappingCreateOkeHelmChartDeployStageDetailsPurposeEnum(val string) (CreateOkeHelmChartDeployStageDetailsPurposeEnum, bool)
GetMappingCreateOkeHelmChartDeployStageDetailsPurposeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m CreateProjectDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateProjectRequest wrapper for the CreateProject operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request CreateProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
CreateRepositoryDetails Information about the new repository.
type CreateRepositoryDetails struct { // Name of the repository. Should be unique within the project. Name *string `mandatory:"true" json:"name"` // The OCID of the DevOps project containing the repository. ProjectId *string `mandatory:"true" json:"projectId"` // Type of repository. Allowed values: // `MIRRORED` // `HOSTED` RepositoryType RepositoryRepositoryTypeEnum `mandatory:"true" json:"repositoryType"` // The default branch of the repository. DefaultBranch *string `mandatory:"false" json:"defaultBranch"` MirrorRepositoryConfig *MirrorRepositoryConfig `mandatory:"false" json:"mirrorRepositoryConfig"` // Details of the repository. Avoid entering confidential information. 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 CreateRepositoryDetails) String() string
func (m CreateRepositoryDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateRepositoryRequest wrapper for the CreateRepository operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateRepository.go.html to see an example of how to use CreateRepositoryRequest.
type CreateRepositoryRequest struct { // Details for the new repository. CreateRepositoryDetails `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 CreateRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateRepositoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateRepositoryRequest) String() string
func (request CreateRepositoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateRepositoryResponse wrapper for the CreateRepository operation
type CreateRepositoryResponse struct { // The underlying http response RawResponse *http.Response // The Repository instance Repository `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"` // 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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response CreateRepositoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateRepositoryResponse) String() string
CreateShellDeployStageDetails Specifies the shell stage.
type CreateShellDeployStageDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"` ContainerConfig ContainerConfig `mandatory:"true" json:"containerConfig"` // The OCID of the artifact that contains the command specification. CommandSpecDeployArtifactId *string `mandatory:"true" json:"commandSpecDeployArtifactId"` // 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"` // Time to wait for execution of a shell stage. Defaults to 36000 seconds. TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"` }
func (m CreateShellDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateShellDeployStageDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateShellDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m CreateShellDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateShellDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateShellDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateShellDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateShellDeployStageDetails) String() string
func (m *CreateShellDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateShellDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Specifies the OCID of the stage to be redeployed. DeployStageId *string `mandatory:"true" json:"deployStageId"` // 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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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
func (m CreateSingleDeployStageDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateSingleDeployStageRedeploymentDetails Details of a new deployment to be created that will rerun a single stage from a previously executed deployment.
type CreateSingleDeployStageRedeploymentDetails struct { // The OCID of a pipeline. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // Specifies the OCID of the stage to be redeployed. DeployStageId *string `mandatory:"true" json:"deployStageId"` // 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 CreateSingleDeployStageRedeploymentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateSingleDeployStageRedeploymentDetails) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m CreateSingleDeployStageRedeploymentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateSingleDeployStageRedeploymentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateSingleDeployStageRedeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateSingleDeployStageRedeploymentDetails) String() string
func (m CreateSingleDeployStageRedeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTriggerDeploymentStageDetails Specifies the Trigger Deployment stage, which runs another pipeline of the application.
type CreateTriggerDeploymentStageDetails struct { // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"true" json:"buildPipelineStagePredecessorCollection"` // A target deployment pipeline OCID that will run in this stage. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered. IsPassAllParametersEnabled *bool `mandatory:"true" json:"isPassAllParametersEnabled"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the stage. 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 CreateTriggerDeploymentStageDetails) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m CreateTriggerDeploymentStageDetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m CreateTriggerDeploymentStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateTriggerDeploymentStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateTriggerDeploymentStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateTriggerDeploymentStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateTriggerDeploymentStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateTriggerDeploymentStageDetails) String() string
func (m CreateTriggerDeploymentStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTriggerDetails Information about the new trigger.
type CreateTriggerDetails interface { // The OCID of the DevOps project to which the trigger belongs to. GetProjectId() *string // The list of actions that are to be performed for this trigger. GetActions() []TriggerAction // Trigger display name. Avoid entering confidential information. GetDisplayName() *string // Optional description about the trigger. GetDescription() *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{} }
CreateTriggerRequest wrapper for the CreateTrigger operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateTrigger.go.html to see an example of how to use CreateTriggerRequest.
type CreateTriggerRequest struct { // Details for the new trigger. CreateTriggerDetails `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 CreateTriggerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTriggerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTriggerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTriggerRequest) String() string
func (request CreateTriggerRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTriggerResponse wrapper for the CreateTrigger operation
type CreateTriggerResponse struct { // The underlying http response RawResponse *http.Response // The TriggerCreateResult instance TriggerCreateResult `presentIn:"body"` // 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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response CreateTriggerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTriggerResponse) String() string
CreateVbsAccessTokenConnectionDetails The details for creating a connection of the type `VBS_ACCESS_TOKEN`. This type corresponds to a connection in Visual Builder Studio that is authenticated with a personal access token.
type CreateVbsAccessTokenConnectionDetails struct { // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // The Base URL of the hosted VBS server. BaseUrl *string `mandatory:"true" json:"baseUrl"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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 CreateVbsAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateVbsAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m CreateVbsAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateVbsAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateVbsAccessTokenConnectionDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateVbsAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateVbsAccessTokenConnectionDetails) String() string
func (m CreateVbsAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateVbsTriggerDetails The trigger for VBS as the caller.
type CreateVbsTriggerDetails struct { // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. 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"` // The OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` }
func (m CreateVbsTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m CreateVbsTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateVbsTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m CreateVbsTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateVbsTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateVbsTriggerDetails) GetProjectId() *string
GetProjectId returns ProjectId
func (m CreateVbsTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateVbsTriggerDetails) String() string
func (m *CreateVbsTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateVbsTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateWaitCriteriaDetails Specifies wait criteria for the Wait stage.
type CreateWaitCriteriaDetails interface { }
CreateWaitCriteriaDetailsWaitTypeEnum Enum with underlying type: string
type CreateWaitCriteriaDetailsWaitTypeEnum string
Set of constants representing the allowable values for CreateWaitCriteriaDetailsWaitTypeEnum
const ( CreateWaitCriteriaDetailsWaitTypeAbsoluteWait CreateWaitCriteriaDetailsWaitTypeEnum = "ABSOLUTE_WAIT" )
func GetCreateWaitCriteriaDetailsWaitTypeEnumValues() []CreateWaitCriteriaDetailsWaitTypeEnum
GetCreateWaitCriteriaDetailsWaitTypeEnumValues Enumerates the set of values for CreateWaitCriteriaDetailsWaitTypeEnum
func GetMappingCreateWaitCriteriaDetailsWaitTypeEnum(val string) (CreateWaitCriteriaDetailsWaitTypeEnum, bool)
GetMappingCreateWaitCriteriaDetailsWaitTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m CreateWaitDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateWaitStageDetails Specifies the Wait stage. You can specify variable wait times or an absolute duration.
type CreateWaitStageDetails struct { // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"true" json:"buildPipelineStagePredecessorCollection"` WaitCriteria CreateWaitCriteriaDetails `mandatory:"true" json:"waitCriteria"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the stage. 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 CreateWaitStageDetails) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m CreateWaitStageDetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m CreateWaitStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateWaitStageDetails) GetDescription() *string
GetDescription returns Description
func (m CreateWaitStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m CreateWaitStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateWaitStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateWaitStageDetails) String() string
func (m *CreateWaitStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateWaitStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CustomBuildRunnerShapeConfig Specifies the custom build runner shape config.
type CustomBuildRunnerShapeConfig struct { // The total number of OCPUs set for the instance. Ocpus *int `mandatory:"true" json:"ocpus"` // The total amount of memory set for the instance in gigabytes. MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"` }
func (m CustomBuildRunnerShapeConfig) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CustomBuildRunnerShapeConfig) String() string
func (m CustomBuildRunnerShapeConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DefaultBuildRunnerShapeConfig Specifies the default build runner shape config.
type DefaultBuildRunnerShapeConfig struct { }
func (m DefaultBuildRunnerShapeConfig) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DefaultBuildRunnerShapeConfig) String() string
func (m DefaultBuildRunnerShapeConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteBuildPipelineRequest wrapper for the DeleteBuildPipeline operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteBuildPipeline.go.html to see an example of how to use DeleteBuildPipelineRequest.
type DeleteBuildPipelineRequest struct { // Unique build pipeline identifier. BuildPipelineId *string `mandatory:"true" contributesTo:"path" name:"buildPipelineId"` // 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 DeleteBuildPipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteBuildPipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteBuildPipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteBuildPipelineRequest) String() string
func (request DeleteBuildPipelineRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteBuildPipelineResponse wrapper for the DeleteBuildPipeline operation
type DeleteBuildPipelineResponse 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 DeleteBuildPipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteBuildPipelineResponse) String() string
DeleteBuildPipelineStageRequest wrapper for the DeleteBuildPipelineStage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteBuildPipelineStage.go.html to see an example of how to use DeleteBuildPipelineStageRequest.
type DeleteBuildPipelineStageRequest struct { // Unique stage identifier. BuildPipelineStageId *string `mandatory:"true" contributesTo:"path" name:"buildPipelineStageId"` // 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 DeleteBuildPipelineStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteBuildPipelineStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteBuildPipelineStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteBuildPipelineStageRequest) String() string
func (request DeleteBuildPipelineStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteBuildPipelineStageResponse wrapper for the DeleteBuildPipelineStage operation
type DeleteBuildPipelineStageResponse 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 DeleteBuildPipelineStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteBuildPipelineStageResponse) String() string
DeleteConnectionRequest wrapper for the DeleteConnection operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteConnection.go.html to see an example of how to use DeleteConnectionRequest.
type DeleteConnectionRequest struct { // Unique connection identifier. ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"` // 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 DeleteConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteConnectionRequest) String() string
func (request DeleteConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteConnectionResponse wrapper for the DeleteConnection operation
type DeleteConnectionResponse 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 DeleteConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteConnectionResponse) String() string
DeleteDeployArtifactRequest wrapper for the DeleteDeployArtifact operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request DeleteDeployArtifactRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request DeleteDeployEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request DeleteDeployPipelineRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request DeleteDeployStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request DeleteProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
DeleteRefRequest wrapper for the DeleteRef operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteRef.go.html to see an example of how to use DeleteRefRequest.
type DeleteRefRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // A filter to return only resources that match the given reference name. RefName *string `mandatory:"true" contributesTo:"path" name:"refName"` // 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"` // 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 DeleteRefRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteRefRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteRefRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteRefRequest) String() string
func (request DeleteRefRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteRefResponse wrapper for the DeleteRef operation
type DeleteRefResponse 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"` // This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/actions/deleteGitRef". Sunset *string `presentIn:"header" name:"sunset"` }
func (response DeleteRefResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteRefResponse) String() string
DeleteRepositoryRequest wrapper for the DeleteRepository operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteRepository.go.html to see an example of how to use DeleteRepositoryRequest.
type DeleteRepositoryRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // 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 DeleteRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteRepositoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteRepositoryRequest) String() string
func (request DeleteRepositoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteRepositoryResponse wrapper for the DeleteRepository operation
type DeleteRepositoryResponse 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 DeleteRepositoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteRepositoryResponse) String() string
DeleteTriggerRequest wrapper for the DeleteTrigger operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteTrigger.go.html to see an example of how to use DeleteTriggerRequest.
type DeleteTriggerRequest struct { // Unique trigger identifier. TriggerId *string `mandatory:"true" contributesTo:"path" name:"triggerId"` // 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 DeleteTriggerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTriggerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTriggerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTriggerRequest) String() string
func (request DeleteTriggerRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteTriggerResponse wrapper for the DeleteTrigger operation
type DeleteTriggerResponse 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 DeleteTriggerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTriggerResponse) String() string
DeliverArtifact Artifact information that need to be pushed to the artifactory stores.
type DeliverArtifact struct { // Name of the artifact specified in the build_spec.yaml file. ArtifactName *string `mandatory:"true" json:"artifactName"` // Artifact identifier that contains the artifact definition. ArtifactId *string `mandatory:"true" json:"artifactId"` }
func (m DeliverArtifact) String() string
func (m DeliverArtifact) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeliverArtifactCollection Specifies an array of artifacts that need to be pushed to the artifactory stores.
type DeliverArtifactCollection struct { // Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. Items []DeliverArtifact `mandatory:"true" json:"items"` }
func (m DeliverArtifactCollection) String() string
func (m DeliverArtifactCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeliverArtifactStage Specifies the Deliver Artifacts stage.
type DeliverArtifactStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` // The OCID of the compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` DeliverArtifactCollection *DeliverArtifactCollection `mandatory:"true" json:"deliverArtifactCollection"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the 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"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 stage. LifecycleState BuildPipelineStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DeliverArtifactStage) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m DeliverArtifactStage) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m DeliverArtifactStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DeliverArtifactStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DeliverArtifactStage) GetDescription() *string
GetDescription returns Description
func (m DeliverArtifactStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DeliverArtifactStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DeliverArtifactStage) GetId() *string
GetId returns Id
func (m DeliverArtifactStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DeliverArtifactStage) GetLifecycleState() BuildPipelineStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DeliverArtifactStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m DeliverArtifactStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DeliverArtifactStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DeliverArtifactStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DeliverArtifactStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DeliverArtifactStage) String() string
func (m DeliverArtifactStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeliverArtifactStageRunProgress Specifies Deliver Artifacts stage specific run details.
type DeliverArtifactStageRunProgress struct { // Build Run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. StageDisplayName *string `mandatory:"false" json:"stageDisplayName"` // The stage OCID. BuildPipelineStageId *string `mandatory:"false" json:"buildPipelineStageId"` // The time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` BuildPipelineStagePredecessors *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessors"` DeliveredArtifacts *DeliveredArtifactCollection `mandatory:"false" json:"deliveredArtifacts"` // The current status of the stage. Status BuildPipelineStageRunProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m DeliverArtifactStageRunProgress) GetBuildPipelineStageId() *string
GetBuildPipelineStageId returns BuildPipelineStageId
func (m DeliverArtifactStageRunProgress) GetBuildPipelineStagePredecessors() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessors returns BuildPipelineStagePredecessors
func (m DeliverArtifactStageRunProgress) GetStageDisplayName() *string
GetStageDisplayName returns StageDisplayName
func (m DeliverArtifactStageRunProgress) GetStatus() BuildPipelineStageRunProgressStatusEnum
GetStatus returns Status
func (m DeliverArtifactStageRunProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m DeliverArtifactStageRunProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m DeliverArtifactStageRunProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DeliverArtifactStageRunProgress) String() string
func (m DeliverArtifactStageRunProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeliverArtifactStageSummary Specifies the Deliver Artifacts stage.
type DeliverArtifactStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` // The OCID of the compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` DeliverArtifactCollection *DeliverArtifactCollection `mandatory:"true" json:"deliverArtifactCollection"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the 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"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 stage. LifecycleState BuildPipelineStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DeliverArtifactStageSummary) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m DeliverArtifactStageSummary) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m DeliverArtifactStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DeliverArtifactStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DeliverArtifactStageSummary) GetDescription() *string
GetDescription returns Description
func (m DeliverArtifactStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DeliverArtifactStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DeliverArtifactStageSummary) GetId() *string
GetId returns Id
func (m DeliverArtifactStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DeliverArtifactStageSummary) GetLifecycleState() BuildPipelineStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DeliverArtifactStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m DeliverArtifactStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DeliverArtifactStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DeliverArtifactStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DeliverArtifactStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DeliverArtifactStageSummary) String() string
func (m DeliverArtifactStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeliveredArtifact Details of the artifacts delivered through the Deliver Artifacts stage.
type DeliveredArtifact interface { // The OCID of the deployment artifact definition. GetDeployArtifactId() *string // Name of the output artifact defined in the build specification file. GetOutputArtifactName() *string }
DeliveredArtifactArtifactTypeEnum Enum with underlying type: string
type DeliveredArtifactArtifactTypeEnum string
Set of constants representing the allowable values for DeliveredArtifactArtifactTypeEnum
const ( DeliveredArtifactArtifactTypeGenericArtifact DeliveredArtifactArtifactTypeEnum = "GENERIC_ARTIFACT" DeliveredArtifactArtifactTypeOcir DeliveredArtifactArtifactTypeEnum = "OCIR" )
func GetDeliveredArtifactArtifactTypeEnumValues() []DeliveredArtifactArtifactTypeEnum
GetDeliveredArtifactArtifactTypeEnumValues Enumerates the set of values for DeliveredArtifactArtifactTypeEnum
func GetMappingDeliveredArtifactArtifactTypeEnum(val string) (DeliveredArtifactArtifactTypeEnum, bool)
GetMappingDeliveredArtifactArtifactTypeEnum performs case Insensitive comparison on enum value and return the desired enum
DeliveredArtifactCollection Specifies the list of artifacts delivered through the Deliver Artifacts stage.
type DeliveredArtifactCollection struct { // List of artifacts delivered through the Deliver Artifacts stage. Items []DeliveredArtifact `mandatory:"true" json:"items"` }
func (m DeliveredArtifactCollection) String() string
func (m *DeliveredArtifactCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DeliveredArtifactCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployArtifact) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDeployArtifactArgumentSubstitutionModeEnum(val string) (DeployArtifactArgumentSubstitutionModeEnum, bool)
GetMappingDeployArtifactArgumentSubstitutionModeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m DeployArtifactCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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" DeployArtifactDeployArtifactTypeHelmChart DeployArtifactDeployArtifactTypeEnum = "HELM_CHART" DeployArtifactDeployArtifactTypeHelmCommandSpec DeployArtifactDeployArtifactTypeEnum = "HELM_COMMAND_SPEC" DeployArtifactDeployArtifactTypeCommandSpec DeployArtifactDeployArtifactTypeEnum = "COMMAND_SPEC" )
func GetDeployArtifactDeployArtifactTypeEnumValues() []DeployArtifactDeployArtifactTypeEnum
GetDeployArtifactDeployArtifactTypeEnumValues Enumerates the set of values for DeployArtifactDeployArtifactTypeEnum
func GetMappingDeployArtifactDeployArtifactTypeEnum(val string) (DeployArtifactDeployArtifactTypeEnum, bool)
GetMappingDeployArtifactDeployArtifactTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingDeployArtifactLifecycleStateEnum(val string) (DeployArtifactLifecycleStateEnum, bool)
GetMappingDeployArtifactLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m DeployArtifactOverrideArgument) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployArtifactOverrideArgumentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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" DeployArtifactSourceDeployArtifactSourceTypeHelmChart DeployArtifactSourceDeployArtifactSourceTypeEnum = "HELM_CHART" )
func GetDeployArtifactSourceDeployArtifactSourceTypeEnumValues() []DeployArtifactSourceDeployArtifactSourceTypeEnum
GetDeployArtifactSourceDeployArtifactSourceTypeEnumValues Enumerates the set of values for DeployArtifactSourceDeployArtifactSourceTypeEnum
func GetMappingDeployArtifactSourceDeployArtifactSourceTypeEnum(val string) (DeployArtifactSourceDeployArtifactSourceTypeEnum, bool)
GetMappingDeployArtifactSourceDeployArtifactSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m DeployArtifactSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeployEnvironment The target OCI resources, such as Compute instances, Container Engine for Kubernetes(OKE) clusters, or Function, where artifacts are 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
func (m DeployEnvironmentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDeployEnvironmentDeployEnvironmentTypeEnum(val string) (DeployEnvironmentDeployEnvironmentTypeEnum, bool)
GetMappingDeployEnvironmentDeployEnvironmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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" DeployEnvironmentLifecycleStateNeedsAttention DeployEnvironmentLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetDeployEnvironmentLifecycleStateEnumValues() []DeployEnvironmentLifecycleStateEnum
GetDeployEnvironmentLifecycleStateEnumValues Enumerates the set of values for DeployEnvironmentLifecycleStateEnum
func GetMappingDeployEnvironmentLifecycleStateEnum(val string) (DeployEnvironmentLifecycleStateEnum, bool)
GetMappingDeployEnvironmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m DeployPipeline) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployPipelineArtifact) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployPipelineArtifactCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployPipelineCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection
GetDeployStageOverrideArguments returns DeployStageOverrideArguments
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
func (m DeployPipelineDeployment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection
GetDeployStageOverrideArguments returns DeployStageOverrideArguments
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
func (m DeployPipelineDeploymentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployPipelineEnvironment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployPipelineEnvironmentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDeployPipelineLifecycleStateEnum(val string) (DeployPipelineLifecycleStateEnum, bool)
GetMappingDeployPipelineLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m DeployPipelineParameter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployPipelineParameterCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Specifies the OCID of the previous deployment to be redeployed. PreviousDeploymentId *string `mandatory:"true" json:"previousDeploymentId"` 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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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 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) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection
GetDeployStageOverrideArguments returns DeployStageOverrideArguments
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
func (m DeployPipelineRedeployment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Specifies the OCID of the previous deployment to be redeployed. PreviousDeploymentId *string `mandatory:"true" json:"previousDeploymentId"` // 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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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 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) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection
GetDeployStageOverrideArguments returns DeployStageOverrideArguments
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
func (m DeployPipelineRedeploymentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployPipelineStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeployPipelineStageCollection List of stages.
type DeployPipelineStageCollection struct { // List of stages. Items []DeployPipelineStage `mandatory:"true" json:"items"` }
func (m DeployPipelineStageCollection) String() string
func (m DeployPipelineStageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // 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"` // 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
func (m DeployPipelineSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployStageCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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" DeployStageDeployStageTypeComputeInstanceGroupBlueGreenDeployment DeployStageDeployStageTypeEnum = "COMPUTE_INSTANCE_GROUP_BLUE_GREEN_DEPLOYMENT" DeployStageDeployStageTypeComputeInstanceGroupBlueGreenTrafficShift DeployStageDeployStageTypeEnum = "COMPUTE_INSTANCE_GROUP_BLUE_GREEN_TRAFFIC_SHIFT" DeployStageDeployStageTypeComputeInstanceGroupCanaryDeployment DeployStageDeployStageTypeEnum = "COMPUTE_INSTANCE_GROUP_CANARY_DEPLOYMENT" DeployStageDeployStageTypeComputeInstanceGroupCanaryTrafficShift DeployStageDeployStageTypeEnum = "COMPUTE_INSTANCE_GROUP_CANARY_TRAFFIC_SHIFT" DeployStageDeployStageTypeComputeInstanceGroupCanaryApproval DeployStageDeployStageTypeEnum = "COMPUTE_INSTANCE_GROUP_CANARY_APPROVAL" DeployStageDeployStageTypeOkeBlueGreenDeployment DeployStageDeployStageTypeEnum = "OKE_BLUE_GREEN_DEPLOYMENT" DeployStageDeployStageTypeOkeBlueGreenTrafficShift DeployStageDeployStageTypeEnum = "OKE_BLUE_GREEN_TRAFFIC_SHIFT" DeployStageDeployStageTypeOkeCanaryDeployment DeployStageDeployStageTypeEnum = "OKE_CANARY_DEPLOYMENT" DeployStageDeployStageTypeOkeCanaryTrafficShift DeployStageDeployStageTypeEnum = "OKE_CANARY_TRAFFIC_SHIFT" DeployStageDeployStageTypeOkeCanaryApproval DeployStageDeployStageTypeEnum = "OKE_CANARY_APPROVAL" DeployStageDeployStageTypeOkeDeployment DeployStageDeployStageTypeEnum = "OKE_DEPLOYMENT" DeployStageDeployStageTypeDeployFunction DeployStageDeployStageTypeEnum = "DEPLOY_FUNCTION" DeployStageDeployStageTypeInvokeFunction DeployStageDeployStageTypeEnum = "INVOKE_FUNCTION" DeployStageDeployStageTypeLoadBalancerTrafficShift DeployStageDeployStageTypeEnum = "LOAD_BALANCER_TRAFFIC_SHIFT" DeployStageDeployStageTypeManualApproval DeployStageDeployStageTypeEnum = "MANUAL_APPROVAL" DeployStageDeployStageTypeOkeHelmChartDeployment DeployStageDeployStageTypeEnum = "OKE_HELM_CHART_DEPLOYMENT" DeployStageDeployStageTypeShell DeployStageDeployStageTypeEnum = "SHELL" )
func GetDeployStageDeployStageTypeEnumValues() []DeployStageDeployStageTypeEnum
GetDeployStageDeployStageTypeEnumValues Enumerates the set of values for DeployStageDeployStageTypeEnum
func GetMappingDeployStageDeployStageTypeEnum(val string) (DeployStageDeployStageTypeEnum, bool)
GetMappingDeployStageDeployStageTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m DeployStageExecutionProgressDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDeployStageExecutionProgressStatusEnum(val string) (DeployStageExecutionProgressStatusEnum, bool)
GetMappingDeployStageExecutionProgressStatusEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m DeployStageExecutionStep) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDeployStageExecutionStepStateEnum(val string) (DeployStageExecutionStepStateEnum, bool)
GetMappingDeployStageExecutionStepStateEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingDeployStageLifecycleStateEnum(val string) (DeployStageLifecycleStateEnum, bool)
GetMappingDeployStageLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
DeployStageOverrideArgument Values for stage override of the pipeline parameters to be supplied at the time of deployment.
type DeployStageOverrideArgument struct { // The OCID of the stage. DeployStageId *string `mandatory:"true" json:"deployStageId"` // Name of the parameter (case-sensitive). Name *string `mandatory:"true" json:"name"` // Value of the parameter. Value *string `mandatory:"true" json:"value"` }
func (m DeployStageOverrideArgument) String() string
func (m DeployStageOverrideArgument) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeployStageOverrideArgumentCollection Specifies the list of arguments to be overriden per Stage at the time of deployment.
type DeployStageOverrideArgumentCollection struct { // List of artifact override arguments at the time of deployment. Items []DeployStageOverrideArgument `mandatory:"true" json:"items"` }
func (m DeployStageOverrideArgumentCollection) String() string
func (m DeployStageOverrideArgumentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployStagePredecessor) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeployStagePredecessorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDeployStageRollbackPolicyPolicyTypeEnum(val string) (DeployStageRollbackPolicyPolicyTypeEnum, bool)
GetMappingDeployStageRollbackPolicyPolicyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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 GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection 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
func (m DeploymentArgument) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeploymentArgumentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m DeploymentCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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" DeploymentDeploymentTypeSingleStageRedeployment DeploymentDeploymentTypeEnum = "SINGLE_STAGE_REDEPLOYMENT" )
func GetDeploymentDeploymentTypeEnumValues() []DeploymentDeploymentTypeEnum
GetDeploymentDeploymentTypeEnumValues Enumerates the set of values for DeploymentDeploymentTypeEnum
func GetMappingDeploymentDeploymentTypeEnum(val string) (DeploymentDeploymentTypeEnum, bool)
GetMappingDeploymentDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m DeploymentExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingDeploymentLifecycleStateEnum(val string) (DeploymentLifecycleStateEnum, bool)
GetMappingDeploymentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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 GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection 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.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ApproveDeployment.go.html to see an example of how to use ApproveDeployment API. A default retry strategy applies to this operation ApproveDeployment()
func (client DevopsClient) CancelBuildRun(ctx context.Context, request CancelBuildRunRequest) (response CancelBuildRunResponse, err error)
CancelBuildRun Cancels the build run based on the build run ID provided in the request.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CancelBuildRun.go.html to see an example of how to use CancelBuildRun API. A default retry strategy applies to this operation CancelBuildRun()
func (client DevopsClient) CancelDeployment(ctx context.Context, request CancelDeploymentRequest) (response CancelDeploymentResponse, err error)
CancelDeployment Cancels a deployment resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CancelDeployment.go.html to see an example of how to use CancelDeployment API. A default retry strategy applies to this operation CancelDeployment()
func (client DevopsClient) CancelScheduledCascadingProjectDeletion(ctx context.Context, request CancelScheduledCascadingProjectDeletionRequest) (response CancelScheduledCascadingProjectDeletionResponse, err error)
CancelScheduledCascadingProjectDeletion Cascading operation that restores Project and child resources from a DELETING state to an active state
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CancelScheduledCascadingProjectDeletion.go.html to see an example of how to use CancelScheduledCascadingProjectDeletion API. A default retry strategy applies to this operation CancelScheduledCascadingProjectDeletion()
func (client DevopsClient) ChangeProjectCompartment(ctx context.Context, request ChangeProjectCompartmentRequest) (response ChangeProjectCompartmentResponse, err error)
ChangeProjectCompartment Moves a project resource from one compartment OCID to another.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ChangeProjectCompartment.go.html to see an example of how to use ChangeProjectCompartment API. A default retry strategy applies to this operation ChangeProjectCompartment()
func (client *DevopsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DevopsClient) CreateBuildPipeline(ctx context.Context, request CreateBuildPipelineRequest) (response CreateBuildPipelineResponse, err error)
CreateBuildPipeline Creates a new build pipeline.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateBuildPipeline.go.html to see an example of how to use CreateBuildPipeline API. A default retry strategy applies to this operation CreateBuildPipeline()
func (client DevopsClient) CreateBuildPipelineStage(ctx context.Context, request CreateBuildPipelineStageRequest) (response CreateBuildPipelineStageResponse, err error)
CreateBuildPipelineStage Creates a new stage.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateBuildPipelineStage.go.html to see an example of how to use CreateBuildPipelineStage API. A default retry strategy applies to this operation CreateBuildPipelineStage()
func (client DevopsClient) CreateBuildRun(ctx context.Context, request CreateBuildRunRequest) (response CreateBuildRunResponse, err error)
CreateBuildRun Starts a build pipeline run for a predefined build pipeline. Please ensure the completion of any work request for creation/updation of Build Pipeline before starting a Build Run.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateBuildRun.go.html to see an example of how to use CreateBuildRun API. A default retry strategy applies to this operation CreateBuildRun()
func (client DevopsClient) CreateConnection(ctx context.Context, request CreateConnectionRequest) (response CreateConnectionResponse, err error)
CreateConnection Creates a new connection.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateConnection.go.html to see an example of how to use CreateConnection API. A default retry strategy applies to this operation CreateConnection()
func (client DevopsClient) CreateDeployArtifact(ctx context.Context, request CreateDeployArtifactRequest) (response CreateDeployArtifactResponse, err error)
CreateDeployArtifact Creates a new deployment artifact.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateDeployArtifact.go.html to see an example of how to use CreateDeployArtifact API. A default retry strategy applies to this operation CreateDeployArtifact()
func (client DevopsClient) CreateDeployEnvironment(ctx context.Context, request CreateDeployEnvironmentRequest) (response CreateDeployEnvironmentResponse, err error)
CreateDeployEnvironment Creates a new deployment environment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateDeployEnvironment.go.html to see an example of how to use CreateDeployEnvironment API. A default retry strategy applies to this operation CreateDeployEnvironment()
func (client DevopsClient) CreateDeployPipeline(ctx context.Context, request CreateDeployPipelineRequest) (response CreateDeployPipelineResponse, err error)
CreateDeployPipeline Creates a new deployment pipeline.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateDeployPipeline.go.html to see an example of how to use CreateDeployPipeline API. A default retry strategy applies to this operation CreateDeployPipeline()
func (client DevopsClient) CreateDeployStage(ctx context.Context, request CreateDeployStageRequest) (response CreateDeployStageResponse, err error)
CreateDeployStage Creates a new deployment stage.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateDeployStage.go.html to see an example of how to use CreateDeployStage API. A default retry strategy applies to this operation CreateDeployStage()
func (client DevopsClient) CreateDeployment(ctx context.Context, request CreateDeploymentRequest) (response CreateDeploymentResponse, err error)
CreateDeployment Creates a new deployment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateDeployment.go.html to see an example of how to use CreateDeployment API. A default retry strategy applies to this operation CreateDeployment()
func (client DevopsClient) CreateProject(ctx context.Context, request CreateProjectRequest) (response CreateProjectResponse, err error)
CreateProject Creates a new project.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateProject.go.html to see an example of how to use CreateProject API. A default retry strategy applies to this operation CreateProject()
func (client DevopsClient) CreateRepository(ctx context.Context, request CreateRepositoryRequest) (response CreateRepositoryResponse, err error)
CreateRepository Creates a new repository.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateRepository.go.html to see an example of how to use CreateRepository API. A default retry strategy applies to this operation CreateRepository()
func (client DevopsClient) CreateTrigger(ctx context.Context, request CreateTriggerRequest) (response CreateTriggerResponse, err error)
CreateTrigger Creates a new trigger.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/CreateTrigger.go.html to see an example of how to use CreateTrigger API. A default retry strategy applies to this operation CreateTrigger()
func (client DevopsClient) DeleteBuildPipeline(ctx context.Context, request DeleteBuildPipelineRequest) (response DeleteBuildPipelineResponse, err error)
DeleteBuildPipeline Deletes a build pipeline resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteBuildPipeline.go.html to see an example of how to use DeleteBuildPipeline API. A default retry strategy applies to this operation DeleteBuildPipeline()
func (client DevopsClient) DeleteBuildPipelineStage(ctx context.Context, request DeleteBuildPipelineStageRequest) (response DeleteBuildPipelineStageResponse, err error)
DeleteBuildPipelineStage Deletes a stage based on the stage ID provided in the request.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteBuildPipelineStage.go.html to see an example of how to use DeleteBuildPipelineStage API. A default retry strategy applies to this operation DeleteBuildPipelineStage()
func (client DevopsClient) DeleteConnection(ctx context.Context, request DeleteConnectionRequest) (response DeleteConnectionResponse, err error)
DeleteConnection Deletes a connection resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteConnection.go.html to see an example of how to use DeleteConnection API. A default retry strategy applies to this operation DeleteConnection()
func (client DevopsClient) DeleteDeployArtifact(ctx context.Context, request DeleteDeployArtifactRequest) (response DeleteDeployArtifactResponse, err error)
DeleteDeployArtifact Deletes a deployment artifact resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteDeployArtifact.go.html to see an example of how to use DeleteDeployArtifact API. A default retry strategy applies to this operation DeleteDeployArtifact()
func (client DevopsClient) DeleteDeployEnvironment(ctx context.Context, request DeleteDeployEnvironmentRequest) (response DeleteDeployEnvironmentResponse, err error)
DeleteDeployEnvironment Deletes a deployment environment resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteDeployEnvironment.go.html to see an example of how to use DeleteDeployEnvironment API. A default retry strategy applies to this operation DeleteDeployEnvironment()
func (client DevopsClient) DeleteDeployPipeline(ctx context.Context, request DeleteDeployPipelineRequest) (response DeleteDeployPipelineResponse, err error)
DeleteDeployPipeline Deletes a deployment pipeline resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteDeployPipeline.go.html to see an example of how to use DeleteDeployPipeline API. A default retry strategy applies to this operation DeleteDeployPipeline()
func (client DevopsClient) DeleteDeployStage(ctx context.Context, request DeleteDeployStageRequest) (response DeleteDeployStageResponse, err error)
DeleteDeployStage Deletes a deployment stage resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteDeployStage.go.html to see an example of how to use DeleteDeployStage API. A default retry strategy applies to this operation DeleteDeployStage()
func (client DevopsClient) DeleteProject(ctx context.Context, request DeleteProjectRequest) (response DeleteProjectResponse, err error)
DeleteProject Deletes a project resource by identifier
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteProject.go.html to see an example of how to use DeleteProject API. A default retry strategy applies to this operation DeleteProject()
func (client DevopsClient) DeleteRef(ctx context.Context, request DeleteRefRequest) (response DeleteRefResponse, err error)
DeleteRef Deletes a Repository's Ref by its name. Returns an error if the name is ambiguous. Can be disambiguated by using full names like "heads/<name>" or "tags/<name>". This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/actions/deleteGitRef".
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteRef.go.html to see an example of how to use DeleteRef API. A default retry strategy applies to this operation DeleteRef()
func (client DevopsClient) DeleteRepository(ctx context.Context, request DeleteRepositoryRequest) (response DeleteRepositoryResponse, err error)
DeleteRepository Deletes a repository resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteRepository.go.html to see an example of how to use DeleteRepository API. A default retry strategy applies to this operation DeleteRepository()
func (client DevopsClient) DeleteTrigger(ctx context.Context, request DeleteTriggerRequest) (response DeleteTriggerResponse, err error)
DeleteTrigger Deletes a trigger resource by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/DeleteTrigger.go.html to see an example of how to use DeleteTrigger API. A default retry strategy applies to this operation DeleteTrigger()
func (client DevopsClient) GetBuildPipeline(ctx context.Context, request GetBuildPipelineRequest) (response GetBuildPipelineResponse, err error)
GetBuildPipeline Retrieves a build pipeline by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetBuildPipeline.go.html to see an example of how to use GetBuildPipeline API. A default retry strategy applies to this operation GetBuildPipeline()
func (client DevopsClient) GetBuildPipelineStage(ctx context.Context, request GetBuildPipelineStageRequest) (response GetBuildPipelineStageResponse, err error)
GetBuildPipelineStage Retrieves a stage based on the stage ID provided in the request.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetBuildPipelineStage.go.html to see an example of how to use GetBuildPipelineStage API. A default retry strategy applies to this operation GetBuildPipelineStage()
func (client DevopsClient) GetBuildRun(ctx context.Context, request GetBuildRunRequest) (response GetBuildRunResponse, err error)
GetBuildRun Returns the details of a build run for a given build run ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetBuildRun.go.html to see an example of how to use GetBuildRun API. A default retry strategy applies to this operation GetBuildRun()
func (client DevopsClient) GetCommit(ctx context.Context, request GetCommitRequest) (response GetCommitResponse, err error)
GetCommit Retrieves a repository's commit by commit ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetCommit.go.html to see an example of how to use GetCommit API. A default retry strategy applies to this operation GetCommit()
func (client DevopsClient) GetCommitDiff(ctx context.Context, request GetCommitDiffRequest) (response GetCommitDiffResponse, err error)
GetCommitDiff Compares two revisions for their differences. Supports comparison between two references or commits.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetCommitDiff.go.html to see an example of how to use GetCommitDiff API. A default retry strategy applies to this operation GetCommitDiff()
func (client DevopsClient) GetConnection(ctx context.Context, request GetConnectionRequest) (response GetConnectionResponse, err error)
GetConnection Retrieves a connection by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetConnection.go.html to see an example of how to use GetConnection API. A default retry strategy applies to this operation GetConnection()
func (client DevopsClient) GetDeployArtifact(ctx context.Context, request GetDeployArtifactRequest) (response GetDeployArtifactResponse, err error)
GetDeployArtifact Retrieves a deployment artifact by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetDeployArtifact.go.html to see an example of how to use GetDeployArtifact API. A default retry strategy applies to this operation GetDeployArtifact()
func (client DevopsClient) GetDeployEnvironment(ctx context.Context, request GetDeployEnvironmentRequest) (response GetDeployEnvironmentResponse, err error)
GetDeployEnvironment Retrieves a deployment environment by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetDeployEnvironment.go.html to see an example of how to use GetDeployEnvironment API. A default retry strategy applies to this operation GetDeployEnvironment()
func (client DevopsClient) GetDeployPipeline(ctx context.Context, request GetDeployPipelineRequest) (response GetDeployPipelineResponse, err error)
GetDeployPipeline Retrieves a deployment pipeline by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetDeployPipeline.go.html to see an example of how to use GetDeployPipeline API. A default retry strategy applies to this operation GetDeployPipeline()
func (client DevopsClient) GetDeployStage(ctx context.Context, request GetDeployStageRequest) (response GetDeployStageResponse, err error)
GetDeployStage Retrieves a deployment stage by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetDeployStage.go.html to see an example of how to use GetDeployStage API. A default retry strategy applies to this operation GetDeployStage()
func (client DevopsClient) GetDeployment(ctx context.Context, request GetDeploymentRequest) (response GetDeploymentResponse, err error)
GetDeployment Retrieves a deployment by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetDeployment.go.html to see an example of how to use GetDeployment API. A default retry strategy applies to this operation GetDeployment()
func (client DevopsClient) GetFileDiff(ctx context.Context, request GetFileDiffRequest) (response GetFileDiffResponse, err error)
GetFileDiff Gets the line-by-line difference between file on different commits. This API will be deprecated on Wed, 29 Mar 2023 01:00:00 GMT as it does not get recognized when filePath has '/'. This will be replaced by "/repositories/{repositoryId}/file/diffs"
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetFileDiff.go.html to see an example of how to use GetFileDiff API. A default retry strategy applies to this operation GetFileDiff()
func (client DevopsClient) GetMirrorRecord(ctx context.Context, request GetMirrorRecordRequest) (response GetMirrorRecordResponse, err error)
GetMirrorRecord Returns either current mirror record or last successful mirror record for a specific mirror repository.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetMirrorRecord.go.html to see an example of how to use GetMirrorRecord API. A default retry strategy applies to this operation GetMirrorRecord()
func (client DevopsClient) GetObject(ctx context.Context, request GetObjectRequest) (response GetObjectResponse, err error)
GetObject Retrieves blob of specific branch name/commit ID and file path.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetObject.go.html to see an example of how to use GetObject API. A default retry strategy applies to this operation GetObject()
func (client DevopsClient) GetObjectContent(ctx context.Context, request GetObjectContentRequest) (response GetObjectContentResponse, err error)
GetObjectContent Retrieve contents of a specified object.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetObjectContent.go.html to see an example of how to use GetObjectContent API. A default retry strategy applies to this operation GetObjectContent()
func (client DevopsClient) GetProject(ctx context.Context, request GetProjectRequest) (response GetProjectResponse, err error)
GetProject Retrieves a project by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetProject.go.html to see an example of how to use GetProject API. A default retry strategy applies to this operation GetProject()
func (client DevopsClient) GetRef(ctx context.Context, request GetRefRequest) (response GetRefResponse, err error)
GetRef This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/refs". Retrieves a repository's reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like "heads/<name>" or "tags/<name>".
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRef.go.html to see an example of how to use GetRef API. A default retry strategy applies to this operation GetRef()
func (client DevopsClient) GetRepoFileDiff(ctx context.Context, request GetRepoFileDiffRequest) (response GetRepoFileDiffResponse, err error)
GetRepoFileDiff Gets the line-by-line difference between file on different commits.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepoFileDiff.go.html to see an example of how to use GetRepoFileDiff API. A default retry strategy applies to this operation GetRepoFileDiff()
func (client DevopsClient) GetRepoFileLines(ctx context.Context, request GetRepoFileLinesRequest) (response GetRepoFileLinesResponse, err error)
GetRepoFileLines Retrieve lines of a specified file. Supports starting line number and limit.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepoFileLines.go.html to see an example of how to use GetRepoFileLines API. A default retry strategy applies to this operation GetRepoFileLines()
func (client DevopsClient) GetRepository(ctx context.Context, request GetRepositoryRequest) (response GetRepositoryResponse, err error)
GetRepository Retrieves a repository by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepository.go.html to see an example of how to use GetRepository API. A default retry strategy applies to this operation GetRepository()
func (client DevopsClient) GetRepositoryArchiveContent(ctx context.Context, request GetRepositoryArchiveContentRequest) (response GetRepositoryArchiveContentResponse, err error)
GetRepositoryArchiveContent Returns the archived repository information.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepositoryArchiveContent.go.html to see an example of how to use GetRepositoryArchiveContent API. A default retry strategy applies to this operation GetRepositoryArchiveContent()
func (client DevopsClient) GetRepositoryFileLines(ctx context.Context, request GetRepositoryFileLinesRequest) (response GetRepositoryFileLinesResponse, err error)
GetRepositoryFileLines Retrieve lines of a specified file. Supports starting line number and limit. This API will be deprecated on Wed, 29 Mar 2023 01:00:00 GMT as it does not get recognized when filePath has '/'. This will be replaced by "/repositories/{repositoryId}/file/lines"
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepositoryFileLines.go.html to see an example of how to use GetRepositoryFileLines API. A default retry strategy applies to this operation GetRepositoryFileLines()
func (client DevopsClient) GetTrigger(ctx context.Context, request GetTriggerRequest) (response GetTriggerResponse, err error)
GetTrigger Retrieves a trigger by identifier.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetTrigger.go.html to see an example of how to use GetTrigger API. A default retry strategy applies to this operation GetTrigger()
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.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client DevopsClient) ListAuthors(ctx context.Context, request ListAuthorsRequest) (response ListAuthorsResponse, err error)
ListAuthors Retrieve a list of all the authors.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListAuthors.go.html to see an example of how to use ListAuthors API. A default retry strategy applies to this operation ListAuthors()
func (client DevopsClient) ListBuildPipelineStages(ctx context.Context, request ListBuildPipelineStagesRequest) (response ListBuildPipelineStagesResponse, err error)
ListBuildPipelineStages Returns a list of all stages in a compartment or build pipeline.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListBuildPipelineStages.go.html to see an example of how to use ListBuildPipelineStages API. A default retry strategy applies to this operation ListBuildPipelineStages()
func (client DevopsClient) ListBuildPipelines(ctx context.Context, request ListBuildPipelinesRequest) (response ListBuildPipelinesResponse, err error)
ListBuildPipelines Returns a list of build pipelines.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListBuildPipelines.go.html to see an example of how to use ListBuildPipelines API. A default retry strategy applies to this operation ListBuildPipelines()
func (client DevopsClient) ListBuildRuns(ctx context.Context, request ListBuildRunsRequest) (response ListBuildRunsResponse, err error)
ListBuildRuns Returns a list of build run summary.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListBuildRuns.go.html to see an example of how to use ListBuildRuns API. A default retry strategy applies to this operation ListBuildRuns()
func (client DevopsClient) ListCommitDiffs(ctx context.Context, request ListCommitDiffsRequest) (response ListCommitDiffsResponse, err error)
ListCommitDiffs Compares two revisions and lists the differences. Supports comparison between two references or commits.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListCommitDiffs.go.html to see an example of how to use ListCommitDiffs API. A default retry strategy applies to this operation ListCommitDiffs()
func (client DevopsClient) ListCommits(ctx context.Context, request ListCommitsRequest) (response ListCommitsResponse, err error)
ListCommits Returns a list of commits.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListCommits.go.html to see an example of how to use ListCommits API. A default retry strategy applies to this operation ListCommits()
func (client DevopsClient) ListConnections(ctx context.Context, request ListConnectionsRequest) (response ListConnectionsResponse, err error)
ListConnections Returns a list of connections.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListConnections.go.html to see an example of how to use ListConnections API. A default retry strategy applies to this operation ListConnections()
func (client DevopsClient) ListDeployArtifacts(ctx context.Context, request ListDeployArtifactsRequest) (response ListDeployArtifactsResponse, err error)
ListDeployArtifacts Returns a list of deployment artifacts.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListDeployArtifacts.go.html to see an example of how to use ListDeployArtifacts API. A default retry strategy applies to this operation ListDeployArtifacts()
func (client DevopsClient) ListDeployEnvironments(ctx context.Context, request ListDeployEnvironmentsRequest) (response ListDeployEnvironmentsResponse, err error)
ListDeployEnvironments Returns a list of deployment environments.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListDeployEnvironments.go.html to see an example of how to use ListDeployEnvironments API. A default retry strategy applies to this operation ListDeployEnvironments()
func (client DevopsClient) ListDeployPipelines(ctx context.Context, request ListDeployPipelinesRequest) (response ListDeployPipelinesResponse, err error)
ListDeployPipelines Returns a list of deployment pipelines.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListDeployPipelines.go.html to see an example of how to use ListDeployPipelines API. A default retry strategy applies to this operation ListDeployPipelines()
func (client DevopsClient) ListDeployStages(ctx context.Context, request ListDeployStagesRequest) (response ListDeployStagesResponse, err error)
ListDeployStages Retrieves a list of deployment stages.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListDeployStages.go.html to see an example of how to use ListDeployStages API. A default retry strategy applies to this operation ListDeployStages()
func (client DevopsClient) ListDeployments(ctx context.Context, request ListDeploymentsRequest) (response ListDeploymentsResponse, err error)
ListDeployments Returns a list of deployments.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListDeployments.go.html to see an example of how to use ListDeployments API. A default retry strategy applies to this operation ListDeployments()
func (client DevopsClient) ListMirrorRecords(ctx context.Context, request ListMirrorRecordsRequest) (response ListMirrorRecordsResponse, err error)
ListMirrorRecords Returns a list of mirror entry in history within 30 days.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListMirrorRecords.go.html to see an example of how to use ListMirrorRecords API. A default retry strategy applies to this operation ListMirrorRecords()
func (client DevopsClient) ListPaths(ctx context.Context, request ListPathsRequest) (response ListPathsResponse, err error)
ListPaths Retrieves a list of files and directories in a repository.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListPaths.go.html to see an example of how to use ListPaths API. A default retry strategy applies to this operation ListPaths()
func (client DevopsClient) ListProjects(ctx context.Context, request ListProjectsRequest) (response ListProjectsResponse, err error)
ListProjects Returns a list of projects.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListProjects.go.html to see an example of how to use ListProjects API. A default retry strategy applies to this operation ListProjects()
func (client DevopsClient) ListRefs(ctx context.Context, request ListRefsRequest) (response ListRefsResponse, err error)
ListRefs Returns a list of references.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListRefs.go.html to see an example of how to use ListRefs API. A default retry strategy applies to this operation ListRefs()
func (client DevopsClient) ListRepositories(ctx context.Context, request ListRepositoriesRequest) (response ListRepositoriesResponse, err error)
ListRepositories Returns a list of repositories given a compartment ID or a project ID.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListRepositories.go.html to see an example of how to use ListRepositories API. A default retry strategy applies to this operation ListRepositories()
func (client DevopsClient) ListTriggers(ctx context.Context, request ListTriggersRequest) (response ListTriggersResponse, err error)
ListTriggers Returns a list of triggers.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListTriggers.go.html to see an example of how to use ListTriggers API. A default retry strategy applies to this operation ListTriggers()
func (client DevopsClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Returns a list of errors for a given work request.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client DevopsClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Returns a list of logs for a given work request.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client DevopsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client DevopsClient) MirrorRepository(ctx context.Context, request MirrorRepositoryRequest) (response MirrorRepositoryResponse, err error)
MirrorRepository Synchronize a mirrored repository to the latest version from external providers.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/MirrorRepository.go.html to see an example of how to use MirrorRepository API. A default retry strategy applies to this operation MirrorRepository()
func (client DevopsClient) PutRepositoryRef(ctx context.Context, request PutRepositoryRefRequest) (response PutRepositoryRefResponse, err error)
PutRepositoryRef Creates a new reference or updates an existing one. This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/actions/createOrUpdateGitRef".
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/PutRepositoryRef.go.html to see an example of how to use PutRepositoryRef API. A default retry strategy applies to this operation PutRepositoryRef()
func (client DevopsClient) ScheduleCascadingProjectDeletion(ctx context.Context, request ScheduleCascadingProjectDeletionRequest) (response ScheduleCascadingProjectDeletionResponse, err error)
ScheduleCascadingProjectDeletion Cascading operation that marks Project and child DevOps resources in a DELETING state for a retention period
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ScheduleCascadingProjectDeletion.go.html to see an example of how to use ScheduleCascadingProjectDeletion API. A default retry strategy applies to this operation ScheduleCascadingProjectDeletion()
func (client *DevopsClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client DevopsClient) UpdateBuildPipeline(ctx context.Context, request UpdateBuildPipelineRequest) (response UpdateBuildPipelineResponse, err error)
UpdateBuildPipeline Updates the build pipeline.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateBuildPipeline.go.html to see an example of how to use UpdateBuildPipeline API. A default retry strategy applies to this operation UpdateBuildPipeline()
func (client DevopsClient) UpdateBuildPipelineStage(ctx context.Context, request UpdateBuildPipelineStageRequest) (response UpdateBuildPipelineStageResponse, err error)
UpdateBuildPipelineStage Updates the stage based on the stage ID provided in the request.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateBuildPipelineStage.go.html to see an example of how to use UpdateBuildPipelineStage API. A default retry strategy applies to this operation UpdateBuildPipelineStage()
func (client DevopsClient) UpdateBuildRun(ctx context.Context, request UpdateBuildRunRequest) (response UpdateBuildRunResponse, err error)
UpdateBuildRun Updates the build run.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateBuildRun.go.html to see an example of how to use UpdateBuildRun API. A default retry strategy applies to this operation UpdateBuildRun()
func (client DevopsClient) UpdateConnection(ctx context.Context, request UpdateConnectionRequest) (response UpdateConnectionResponse, err error)
UpdateConnection Updates the connection.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateConnection.go.html to see an example of how to use UpdateConnection API. A default retry strategy applies to this operation UpdateConnection()
func (client DevopsClient) UpdateDeployArtifact(ctx context.Context, request UpdateDeployArtifactRequest) (response UpdateDeployArtifactResponse, err error)
UpdateDeployArtifact Updates the deployment artifact.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateDeployArtifact.go.html to see an example of how to use UpdateDeployArtifact API. A default retry strategy applies to this operation UpdateDeployArtifact()
func (client DevopsClient) UpdateDeployEnvironment(ctx context.Context, request UpdateDeployEnvironmentRequest) (response UpdateDeployEnvironmentResponse, err error)
UpdateDeployEnvironment Updates the deployment environment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateDeployEnvironment.go.html to see an example of how to use UpdateDeployEnvironment API. A default retry strategy applies to this operation UpdateDeployEnvironment()
func (client DevopsClient) UpdateDeployPipeline(ctx context.Context, request UpdateDeployPipelineRequest) (response UpdateDeployPipelineResponse, err error)
UpdateDeployPipeline Updates the deployment pipeline.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateDeployPipeline.go.html to see an example of how to use UpdateDeployPipeline API. A default retry strategy applies to this operation UpdateDeployPipeline()
func (client DevopsClient) UpdateDeployStage(ctx context.Context, request UpdateDeployStageRequest) (response UpdateDeployStageResponse, err error)
UpdateDeployStage Updates the deployment stage.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateDeployStage.go.html to see an example of how to use UpdateDeployStage API. A default retry strategy applies to this operation UpdateDeployStage()
func (client DevopsClient) UpdateDeployment(ctx context.Context, request UpdateDeploymentRequest) (response UpdateDeploymentResponse, err error)
UpdateDeployment Updates the deployment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateDeployment.go.html to see an example of how to use UpdateDeployment API. A default retry strategy applies to this operation UpdateDeployment()
func (client DevopsClient) UpdateProject(ctx context.Context, request UpdateProjectRequest) (response UpdateProjectResponse, err error)
UpdateProject Updates the project.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateProject.go.html to see an example of how to use UpdateProject API. A default retry strategy applies to this operation UpdateProject()
func (client DevopsClient) UpdateRepository(ctx context.Context, request UpdateRepositoryRequest) (response UpdateRepositoryResponse, err error)
UpdateRepository Updates the repository.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateRepository.go.html to see an example of how to use UpdateRepository API. A default retry strategy applies to this operation UpdateRepository()
func (client DevopsClient) UpdateTrigger(ctx context.Context, request UpdateTriggerRequest) (response UpdateTriggerResponse, err error)
UpdateTrigger Updates the trigger.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateTrigger.go.html to see an example of how to use UpdateTrigger API. A default retry strategy applies to this operation UpdateTrigger()
func (client DevopsClient) ValidateConnection(ctx context.Context, request ValidateConnectionRequest) (response ValidateConnectionResponse, err error)
ValidateConnection Return whether the credentials of the connection are valid.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ValidateConnection.go.html to see an example of how to use ValidateConnection API. A default retry strategy applies to this operation ValidateConnection()
DevopsCodeRepositoryBuildRunSource Specifies details of build run through DevOps code repository.
type DevopsCodeRepositoryBuildRunSource struct { // The trigger that invoked the build run. TriggerId *string `mandatory:"true" json:"triggerId"` TriggerInfo *TriggerInfo `mandatory:"true" json:"triggerInfo"` // The DevOps code repository identifier that invoked the build run. RepositoryId *string `mandatory:"true" json:"repositoryId"` }
func (m DevopsCodeRepositoryBuildRunSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DevopsCodeRepositoryBuildRunSource) String() string
func (m DevopsCodeRepositoryBuildRunSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DevopsCodeRepositoryBuildSource DevOps code repository build source for Build stage.
type DevopsCodeRepositoryBuildSource struct { // Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. Name *string `mandatory:"true" json:"name"` // URL for the repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // Branch name. Branch *string `mandatory:"true" json:"branch"` // The DevOps code repository ID. RepositoryId *string `mandatory:"true" json:"repositoryId"` }
func (m DevopsCodeRepositoryBuildSource) GetBranch() *string
GetBranch returns Branch
func (m DevopsCodeRepositoryBuildSource) GetName() *string
GetName returns Name
func (m DevopsCodeRepositoryBuildSource) GetRepositoryUrl() *string
GetRepositoryUrl returns RepositoryUrl
func (m DevopsCodeRepositoryBuildSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DevopsCodeRepositoryBuildSource) String() string
func (m DevopsCodeRepositoryBuildSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DevopsCodeRepositoryFilter The filter for GitLab events.
type DevopsCodeRepositoryFilter struct { Include *DevopsCodeRepositoryFilterAttributes `mandatory:"false" json:"include"` Exclude *DevopsCodeRepositoryFilterExclusionAttributes `mandatory:"false" json:"exclude"` // The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED. Events []DevopsCodeRepositoryFilterEventsEnum `mandatory:"false" json:"events,omitempty"` }
func (m DevopsCodeRepositoryFilter) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DevopsCodeRepositoryFilter) String() string
func (m DevopsCodeRepositoryFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DevopsCodeRepositoryFilterAttributes Attributes to filter DevOps code repository events.
type DevopsCodeRepositoryFilterAttributes struct { // Branch for push event; source branch for pull requests HeadRef *string `mandatory:"false" json:"headRef"` FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m DevopsCodeRepositoryFilterAttributes) String() string
func (m DevopsCodeRepositoryFilterAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DevopsCodeRepositoryFilterEventsEnum Enum with underlying type: string
type DevopsCodeRepositoryFilterEventsEnum string
Set of constants representing the allowable values for DevopsCodeRepositoryFilterEventsEnum
const ( DevopsCodeRepositoryFilterEventsPush DevopsCodeRepositoryFilterEventsEnum = "PUSH" )
func GetDevopsCodeRepositoryFilterEventsEnumValues() []DevopsCodeRepositoryFilterEventsEnum
GetDevopsCodeRepositoryFilterEventsEnumValues Enumerates the set of values for DevopsCodeRepositoryFilterEventsEnum
func GetMappingDevopsCodeRepositoryFilterEventsEnum(val string) (DevopsCodeRepositoryFilterEventsEnum, bool)
GetMappingDevopsCodeRepositoryFilterEventsEnum performs case Insensitive comparison on enum value and return the desired enum
DevopsCodeRepositoryFilterExclusionAttributes Attributes to filter DevopsCodeRepository events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
type DevopsCodeRepositoryFilterExclusionAttributes struct { FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m DevopsCodeRepositoryFilterExclusionAttributes) String() string
func (m DevopsCodeRepositoryFilterExclusionAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DevopsCodeRepositoryTrigger Trigger specific to OCI DevOps Code Repository service.
type DevopsCodeRepositoryTrigger struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The OCID of the DevOps code repository. RepositoryId *string `mandatory:"true" json:"repositoryId"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DevopsCodeRepositoryTrigger) GetActions() []TriggerAction
GetActions returns Actions
func (m DevopsCodeRepositoryTrigger) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DevopsCodeRepositoryTrigger) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DevopsCodeRepositoryTrigger) GetDescription() *string
GetDescription returns Description
func (m DevopsCodeRepositoryTrigger) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DevopsCodeRepositoryTrigger) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DevopsCodeRepositoryTrigger) GetId() *string
GetId returns Id
func (m DevopsCodeRepositoryTrigger) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DevopsCodeRepositoryTrigger) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DevopsCodeRepositoryTrigger) GetProjectId() *string
GetProjectId returns ProjectId
func (m DevopsCodeRepositoryTrigger) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DevopsCodeRepositoryTrigger) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DevopsCodeRepositoryTrigger) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DevopsCodeRepositoryTrigger) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DevopsCodeRepositoryTrigger) String() string
func (m *DevopsCodeRepositoryTrigger) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DevopsCodeRepositoryTrigger) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DevopsCodeRepositoryTriggerCreateResult Trigger create response specific to GitLab.
type DevopsCodeRepositoryTriggerCreateResult struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The OCID of the DevOps code repository. RepositoryId *string `mandatory:"true" json:"repositoryId"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DevopsCodeRepositoryTriggerCreateResult) GetActions() []TriggerAction
GetActions returns Actions
func (m DevopsCodeRepositoryTriggerCreateResult) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DevopsCodeRepositoryTriggerCreateResult) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DevopsCodeRepositoryTriggerCreateResult) GetDescription() *string
GetDescription returns Description
func (m DevopsCodeRepositoryTriggerCreateResult) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DevopsCodeRepositoryTriggerCreateResult) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DevopsCodeRepositoryTriggerCreateResult) GetId() *string
GetId returns Id
func (m DevopsCodeRepositoryTriggerCreateResult) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DevopsCodeRepositoryTriggerCreateResult) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DevopsCodeRepositoryTriggerCreateResult) GetProjectId() *string
GetProjectId returns ProjectId
func (m DevopsCodeRepositoryTriggerCreateResult) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DevopsCodeRepositoryTriggerCreateResult) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DevopsCodeRepositoryTriggerCreateResult) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DevopsCodeRepositoryTriggerCreateResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DevopsCodeRepositoryTriggerCreateResult) String() string
func (m *DevopsCodeRepositoryTriggerCreateResult) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m DevopsCodeRepositoryTriggerCreateResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DevopsCodeRepositoryTriggerSummary Summary of the DevOps code repository trigger.
type DevopsCodeRepositoryTriggerSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps code repository. RepositoryId *string `mandatory:"true" json:"repositoryId"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m DevopsCodeRepositoryTriggerSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m DevopsCodeRepositoryTriggerSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m DevopsCodeRepositoryTriggerSummary) GetDescription() *string
GetDescription returns Description
func (m DevopsCodeRepositoryTriggerSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m DevopsCodeRepositoryTriggerSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m DevopsCodeRepositoryTriggerSummary) GetId() *string
GetId returns Id
func (m DevopsCodeRepositoryTriggerSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m DevopsCodeRepositoryTriggerSummary) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m DevopsCodeRepositoryTriggerSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m DevopsCodeRepositoryTriggerSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m DevopsCodeRepositoryTriggerSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m DevopsCodeRepositoryTriggerSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m DevopsCodeRepositoryTriggerSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m DevopsCodeRepositoryTriggerSummary) String() string
func (m DevopsCodeRepositoryTriggerSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiffChunk Details about a group of changes.
type DiffChunk struct { // Line number in base version where changes begin. BaseLine *int `mandatory:"false" json:"baseLine"` // Number of lines chunk spans in base version. BaseSpan *int `mandatory:"false" json:"baseSpan"` // Line number in target version where changes begin. TargetLine *int `mandatory:"false" json:"targetLine"` // Number of lines chunk spans in target version. TargetSpan *int `mandatory:"false" json:"targetSpan"` // List of difference section. DiffSections []DiffSection `mandatory:"false" json:"diffSections"` }
func (m DiffChunk) String() string
func (m DiffChunk) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiffCollection Result of a compare difference.
type DiffCollection struct { // List of objects describing differences for all changed files. Items []DiffSummary `mandatory:"true" json:"items"` }
func (m DiffCollection) String() string
func (m DiffCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiffLineDetails Details about a line within the difference.
type DiffLineDetails struct { // The number of a line in the base version. BaseLine *int `mandatory:"false" json:"baseLine"` // The number of a line in the target version. TargetLine *int `mandatory:"false" json:"targetLine"` // The contents of a line. LineContent *string `mandatory:"false" json:"lineContent"` // Indicates whether a line in a conflicted section of the difference is from the base version, the target version, or if its just a marker indicating the beginning, middle, or end of a conflicted section. ConflictMarker DiffLineDetailsConflictMarkerEnum `mandatory:"false" json:"conflictMarker,omitempty"` }
func (m DiffLineDetails) String() string
func (m DiffLineDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiffLineDetailsConflictMarkerEnum Enum with underlying type: string
type DiffLineDetailsConflictMarkerEnum string
Set of constants representing the allowable values for DiffLineDetailsConflictMarkerEnum
const ( DiffLineDetailsConflictMarkerBase DiffLineDetailsConflictMarkerEnum = "BASE" DiffLineDetailsConflictMarkerTarget DiffLineDetailsConflictMarkerEnum = "TARGET" DiffLineDetailsConflictMarkerMarker DiffLineDetailsConflictMarkerEnum = "MARKER" DiffLineDetailsConflictMarkerNone DiffLineDetailsConflictMarkerEnum = "NONE" )
func GetDiffLineDetailsConflictMarkerEnumValues() []DiffLineDetailsConflictMarkerEnum
GetDiffLineDetailsConflictMarkerEnumValues Enumerates the set of values for DiffLineDetailsConflictMarkerEnum
func GetMappingDiffLineDetailsConflictMarkerEnum(val string) (DiffLineDetailsConflictMarkerEnum, bool)
GetMappingDiffLineDetailsConflictMarkerEnum performs case Insensitive comparison on enum value and return the desired enum
DiffResponse Response object for obtaining list of changed files.
type DiffResponse struct { // List of changes in the difference. Changes []DiffResponseEntry `mandatory:"true" json:"changes"` // Boolean value to indicate if all changes are included in the response. AreAllChangesIncluded *bool `mandatory:"false" json:"areAllChangesIncluded"` // Count of each type of change in difference. ChangeTypeCount map[string]int `mandatory:"false" json:"changeTypeCount"` // The ID of the common commit between source and target. CommonCommit *string `mandatory:"false" json:"commonCommit"` // The number of commits source is ahead of target by. CommitsAheadCount *int `mandatory:"false" json:"commitsAheadCount"` // The number of commits source is behind target by. CommitsBehindCount *int `mandatory:"false" json:"commitsBehindCount"` // The number of lines added in whole difference. AddedLinesCount *int `mandatory:"false" json:"addedLinesCount"` // The number of lines deleted in whole difference. DeletedLinesCount *int `mandatory:"false" json:"deletedLinesCount"` }
func (m DiffResponse) String() string
func (m DiffResponse) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiffResponseEntry Entry for description of change on a file.
type DiffResponseEntry struct { // Type of change made to file. ChangeType *string `mandatory:"true" json:"changeType"` // The type of the changed object. ObjectType *string `mandatory:"false" json:"objectType"` // The ID of the commit where the change is coming from. CommitId *string `mandatory:"false" json:"commitId"` // The path on the target to the changed object. OldPath *string `mandatory:"false" json:"oldPath"` // The path on the source to the changed object. NewPath *string `mandatory:"false" json:"newPath"` // The ID of the changed object on the target. OldId *string `mandatory:"false" json:"oldId"` // The ID of the changed object on the source. NewId *string `mandatory:"false" json:"newId"` // The URL of the changed object. Url *string `mandatory:"false" json:"url"` // The number of lines added in whole difference. AddedLinesCount *int `mandatory:"false" json:"addedLinesCount"` // The number of lines deleted in whole difference. DeletedLinesCount *int `mandatory:"false" json:"deletedLinesCount"` // Indicates whether the changed file contains conflicts. AreConflictsInFile *bool `mandatory:"false" json:"areConflictsInFile"` }
func (m DiffResponseEntry) String() string
func (m DiffResponseEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiffSection Details about a section of changes within a difference chunk.
type DiffSection struct { // Type of change. Type *string `mandatory:"false" json:"type"` // The lines within changed section. Lines []DiffLineDetails `mandatory:"false" json:"lines"` }
func (m DiffSection) String() string
func (m DiffSection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DiffSummary Response object for showing differences for a file between two revisions.
type DiffSummary struct { // List of changed section in the file. Changes []DiffChunk `mandatory:"true" json:"changes"` // The path on the base version to the changed object. OldPath *string `mandatory:"false" json:"oldPath"` // The path on the target version to the changed object. NewPath *string `mandatory:"false" json:"newPath"` // The ID of the changed object on the base version. OldId *string `mandatory:"false" json:"oldId"` // The ID of the changed object on the target version. NewId *string `mandatory:"false" json:"newId"` // Indicates whether the changed file contains conflicts. AreConflictsInFile *bool `mandatory:"false" json:"areConflictsInFile"` // Indicates whether the file is large. IsLarge *bool `mandatory:"false" json:"isLarge"` // Indicates whether the file is binary. IsBinary *bool `mandatory:"false" json:"isBinary"` // 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 DiffSummary) String() string
func (m DiffSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExportedVariable Values for exported variables.
type ExportedVariable 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"` // Value of the argument. Value *string `mandatory:"true" json:"value"` }
func (m ExportedVariable) String() string
func (m ExportedVariable) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExportedVariableCollection Specifies list of exported variables.
type ExportedVariableCollection struct { // List of exported variables. Items []ExportedVariable `mandatory:"true" json:"items"` }
func (m ExportedVariableCollection) String() string
func (m ExportedVariableCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FileDiffResponse Response object for showing differences for a file between two commits.
type FileDiffResponse struct { // List of changed section in the file. Changes []DiffChunk `mandatory:"true" json:"changes"` // The path on the base version to the changed object. OldPath *string `mandatory:"false" json:"oldPath"` // The path on the target version to the changed object. NewPath *string `mandatory:"false" json:"newPath"` // The ID of the changed object on the base version. OldId *string `mandatory:"false" json:"oldId"` // The ID of the changed object on the target version. NewId *string `mandatory:"false" json:"newId"` // Indicates whether the changed file contains conflicts. AreConflictsInFile *bool `mandatory:"false" json:"areConflictsInFile"` // Indicates whether the file is large. IsLarge *bool `mandatory:"false" json:"isLarge"` // Indicates whether the file is binary. IsBinary *bool `mandatory:"false" json:"isBinary"` }
func (m FileDiffResponse) String() string
func (m FileDiffResponse) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FileFilter Attributes to support include/exclude files for triggering build runs.
type FileFilter struct { // The file paths/glob pattern for files. FilePaths []string `mandatory:"false" json:"filePaths"` }
func (m FileFilter) String() string
func (m FileFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
FileLineDetails Object containing the details of a line in a file.
type FileLineDetails struct { // The line number. LineNumber *int `mandatory:"true" json:"lineNumber"` // The content of the line. LineContent *string `mandatory:"true" json:"lineContent"` }
func (m FileLineDetails) String() string
func (m FileLineDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Filter The filters for the trigger.
type Filter interface { }
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
func (m FunctionDeployEnvironment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m FunctionDeployEnvironmentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m FunctionDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m FunctionDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m FunctionDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GenericDeliveredArtifact Details of the generic artifacts delivered through the Deliver Artifacts stage.
type GenericDeliveredArtifact struct { // The OCID of the deployment artifact definition. DeployArtifactId *string `mandatory:"true" json:"deployArtifactId"` // Name of the output artifact defined in the build specification file. OutputArtifactName *string `mandatory:"true" json:"outputArtifactName"` // The OCID of the artifact pushed by the Deliver Artifacts stage. DeliveredArtifactId *string `mandatory:"true" json:"deliveredArtifactId"` // The OCID of the artifact registry repository used by the DeliverArtifactStage ArtifactRepositoryId *string `mandatory:"false" json:"artifactRepositoryId"` // Path of the repository where artifact was pushed Path *string `mandatory:"false" json:"path"` // Version of the artifact pushed Version *string `mandatory:"false" json:"version"` }
func (m GenericDeliveredArtifact) GetDeployArtifactId() *string
GetDeployArtifactId returns DeployArtifactId
func (m GenericDeliveredArtifact) GetOutputArtifactName() *string
GetOutputArtifactName returns OutputArtifactName
func (m GenericDeliveredArtifact) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GenericDeliveredArtifact) String() string
func (m GenericDeliveredArtifact) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m GenericDeployArtifactSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetBuildPipelineRequest wrapper for the GetBuildPipeline operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetBuildPipeline.go.html to see an example of how to use GetBuildPipelineRequest.
type GetBuildPipelineRequest struct { // Unique build pipeline identifier. BuildPipelineId *string `mandatory:"true" contributesTo:"path" name:"buildPipelineId"` // 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 GetBuildPipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetBuildPipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetBuildPipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetBuildPipelineRequest) String() string
func (request GetBuildPipelineRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetBuildPipelineResponse wrapper for the GetBuildPipeline operation
type GetBuildPipelineResponse struct { // The underlying http response RawResponse *http.Response // The BuildPipeline instance BuildPipeline `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 GetBuildPipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetBuildPipelineResponse) String() string
GetBuildPipelineStageRequest wrapper for the GetBuildPipelineStage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetBuildPipelineStage.go.html to see an example of how to use GetBuildPipelineStageRequest.
type GetBuildPipelineStageRequest struct { // Unique stage identifier. BuildPipelineStageId *string `mandatory:"true" contributesTo:"path" name:"buildPipelineStageId"` // 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 GetBuildPipelineStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetBuildPipelineStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetBuildPipelineStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetBuildPipelineStageRequest) String() string
func (request GetBuildPipelineStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetBuildPipelineStageResponse wrapper for the GetBuildPipelineStage operation
type GetBuildPipelineStageResponse struct { // The underlying http response RawResponse *http.Response // The BuildPipelineStage instance BuildPipelineStage `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 GetBuildPipelineStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetBuildPipelineStageResponse) String() string
GetBuildRunRequest wrapper for the GetBuildRun operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetBuildRun.go.html to see an example of how to use GetBuildRunRequest.
type GetBuildRunRequest struct { // Unique build run identifier. BuildRunId *string `mandatory:"true" contributesTo:"path" name:"buildRunId"` // 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 GetBuildRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetBuildRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetBuildRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetBuildRunRequest) String() string
func (request GetBuildRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetBuildRunResponse wrapper for the GetBuildRun operation
type GetBuildRunResponse struct { // The underlying http response RawResponse *http.Response // The BuildRun instance BuildRun `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 GetBuildRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetBuildRunResponse) String() string
GetCommitDiffRequest wrapper for the GetCommitDiff operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetCommitDiff.go.html to see an example of how to use GetCommitDiffRequest.
type GetCommitDiffRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // The commit or reference name that represents the newer changes against the base version. TargetVersion *string `mandatory:"true" contributesTo:"query" name:"targetVersion"` // The commit or reference name to compare changes against. If base version is not provided, the difference goes against an empty tree. BaseVersion *string `mandatory:"false" contributesTo:"query" name:"baseVersion"` // Boolean value to indicate whether to use merge base or most recent revision. IsComparisonFromMergeBase *bool `mandatory:"false" contributesTo:"query" name:"isComparisonFromMergeBase"` // 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 GetCommitDiffRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetCommitDiffRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetCommitDiffRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetCommitDiffRequest) String() string
func (request GetCommitDiffRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetCommitDiffResponse wrapper for the GetCommitDiff operation
type GetCommitDiffResponse struct { // The underlying http response RawResponse *http.Response // The DiffResponse instance DiffResponse `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 GetCommitDiffResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetCommitDiffResponse) String() string
GetCommitRequest wrapper for the GetCommit operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetCommit.go.html to see an example of how to use GetCommitRequest.
type GetCommitRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // A filter to return only resources that match the given commit ID. CommitId *string `mandatory:"true" contributesTo:"path" name:"commitId"` // 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 GetCommitRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetCommitRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetCommitRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetCommitRequest) String() string
func (request GetCommitRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetCommitResponse wrapper for the GetCommit operation
type GetCommitResponse struct { // The underlying http response RawResponse *http.Response // The RepositoryCommit instance RepositoryCommit `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 GetCommitResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetCommitResponse) String() string
GetConnectionRequest wrapper for the GetConnection operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetConnection.go.html to see an example of how to use GetConnectionRequest.
type GetConnectionRequest struct { // Unique connection identifier. ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"` // 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 GetConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetConnectionRequest) String() string
func (request GetConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetConnectionResponse wrapper for the GetConnection operation
type GetConnectionResponse struct { // The underlying http response RawResponse *http.Response // The Connection instance Connection `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 GetConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetConnectionResponse) String() string
GetDeployArtifactRequest wrapper for the GetDeployArtifact operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request GetDeployArtifactRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request GetDeployEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request GetDeployPipelineRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request GetDeployStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request GetDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
GetFileDiffRequest wrapper for the GetFileDiff operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetFileDiff.go.html to see an example of how to use GetFileDiffRequest.
type GetFileDiffRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // Path to a file within a repository. FilePath *string `mandatory:"true" contributesTo:"path" name:"filePath"` // The branch to compare changes against. BaseVersion *string `mandatory:"true" contributesTo:"query" name:"baseVersion"` // The branch where changes are coming from. TargetVersion *string `mandatory:"true" contributesTo:"query" name:"targetVersion"` // Boolean to indicate whether to use merge base or most recent revision. IsComparisonFromMergeBase *bool `mandatory:"false" contributesTo:"query" name:"isComparisonFromMergeBase"` // 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 GetFileDiffRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetFileDiffRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetFileDiffRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetFileDiffRequest) String() string
func (request GetFileDiffRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetFileDiffResponse wrapper for the GetFileDiff operation
type GetFileDiffResponse struct { // The underlying http response RawResponse *http.Response // The FileDiffResponse instance FileDiffResponse `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"` // This API will be deprecated on Wed, 29 Mar 2023 01:00:00 GMT. Please use "/repositories/{repositoryId}/file/diffs" Sunset *string `presentIn:"header" name:"sunset"` }
func (response GetFileDiffResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetFileDiffResponse) String() string
GetMirrorRecordMirrorRecordTypeEnum Enum with underlying type: string
type GetMirrorRecordMirrorRecordTypeEnum string
Set of constants representing the allowable values for GetMirrorRecordMirrorRecordTypeEnum
const ( GetMirrorRecordMirrorRecordTypeCurrent GetMirrorRecordMirrorRecordTypeEnum = "current" GetMirrorRecordMirrorRecordTypeLastsuccessful GetMirrorRecordMirrorRecordTypeEnum = "lastSuccessful" )
func GetGetMirrorRecordMirrorRecordTypeEnumValues() []GetMirrorRecordMirrorRecordTypeEnum
GetGetMirrorRecordMirrorRecordTypeEnumValues Enumerates the set of values for GetMirrorRecordMirrorRecordTypeEnum
func GetMappingGetMirrorRecordMirrorRecordTypeEnum(val string) (GetMirrorRecordMirrorRecordTypeEnum, bool)
GetMappingGetMirrorRecordMirrorRecordTypeEnum performs case Insensitive comparison on enum value and return the desired enum
GetMirrorRecordRequest wrapper for the GetMirrorRecord operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetMirrorRecord.go.html to see an example of how to use GetMirrorRecordRequest.
type GetMirrorRecordRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // The field of mirror record type. Only one mirror record type can be provided: // current - The current mirror record. // lastSuccessful - The last successful mirror record. MirrorRecordType GetMirrorRecordMirrorRecordTypeEnum `mandatory:"true" contributesTo:"path" name:"mirrorRecordType"` // 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 GetMirrorRecordRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetMirrorRecordRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetMirrorRecordRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetMirrorRecordRequest) String() string
func (request GetMirrorRecordRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetMirrorRecordResponse wrapper for the GetMirrorRecord operation
type GetMirrorRecordResponse struct { // The underlying http response RawResponse *http.Response // The RepositoryMirrorRecord instance RepositoryMirrorRecord `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 GetMirrorRecordResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetMirrorRecordResponse) String() string
GetObjectContentRequest wrapper for the GetObjectContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetObjectContent.go.html to see an example of how to use GetObjectContentRequest.
type GetObjectContentRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // The SHA of a blob or tree. Sha *string `mandatory:"true" contributesTo:"path" name:"sha"` // A filter to return only commits that affect any of the specified paths. FilePath *string `mandatory:"false" contributesTo:"query" name:"filePath"` // 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 GetObjectContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetObjectContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetObjectContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetObjectContentRequest) String() string
func (request GetObjectContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetObjectContentResponse wrapper for the GetObjectContent operation
type GetObjectContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // 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"` // Content type refers to content of a file which is transferred via HTTP ContentType *string `presentIn:"header" name:"content-type"` // The Content-Disposition response-header field has been proposed as a means for the origin server to suggest a default filename if the user requests that the content is saved to a file. ContentDisposition *string `presentIn:"header" name:"content-disposition"` }
func (response GetObjectContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetObjectContentResponse) String() string
GetObjectRequest wrapper for the GetObject operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetObject.go.html to see an example of how to use GetObjectRequest.
type GetObjectRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // A filter to return only commits that affect any of the specified paths. FilePath *string `mandatory:"false" contributesTo:"query" name:"filePath"` // A filter to return only resources that match the given reference name. RefName *string `mandatory:"false" contributesTo:"query" name:"refName"` // 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 GetObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetObjectRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetObjectRequest) String() string
func (request GetObjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetObjectResponse wrapper for the GetObject operation
type GetObjectResponse struct { // The underlying http response RawResponse *http.Response // The RepositoryObject instance RepositoryObject `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetObjectResponse) String() string
GetProjectRequest wrapper for the GetProject operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request GetProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
GetRefRequest wrapper for the GetRef operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRef.go.html to see an example of how to use GetRefRequest.
type GetRefRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // A filter to return only resources that match the given reference name. RefName *string `mandatory:"true" contributesTo:"path" name:"refName"` // 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 GetRefRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetRefRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRefRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRefRequest) String() string
func (request GetRefRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetRefResponse wrapper for the GetRef operation
type GetRefResponse struct { // The underlying http response RawResponse *http.Response // The RepositoryRef instance RepositoryRef `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"` // This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/refs". Sunset *string `presentIn:"header" name:"sunset"` }
func (response GetRefResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRefResponse) String() string
GetRepoFileDiffRequest wrapper for the GetRepoFileDiff operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepoFileDiff.go.html to see an example of how to use GetRepoFileDiffRequest.
type GetRepoFileDiffRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // The branch to compare changes against. BaseVersion *string `mandatory:"true" contributesTo:"query" name:"baseVersion"` // The branch where changes are coming from. TargetVersion *string `mandatory:"true" contributesTo:"query" name:"targetVersion"` // A filter to return only commits that affect any of the specified paths. FilePath *string `mandatory:"false" contributesTo:"query" name:"filePath"` // Boolean to indicate whether to use merge base or most recent revision. IsComparisonFromMergeBase *bool `mandatory:"false" contributesTo:"query" name:"isComparisonFromMergeBase"` // 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 GetRepoFileDiffRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetRepoFileDiffRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRepoFileDiffRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRepoFileDiffRequest) String() string
func (request GetRepoFileDiffRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetRepoFileDiffResponse wrapper for the GetRepoFileDiff operation
type GetRepoFileDiffResponse struct { // The underlying http response RawResponse *http.Response // The FileDiffResponse instance FileDiffResponse `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 GetRepoFileDiffResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRepoFileDiffResponse) String() string
GetRepoFileLinesRequest wrapper for the GetRepoFileLines operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepoFileLines.go.html to see an example of how to use GetRepoFileLinesRequest.
type GetRepoFileLinesRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // Retrieve file lines from specific revision. Revision *string `mandatory:"true" contributesTo:"query" name:"revision"` // A filter to return only commits that affect any of the specified paths. FilePath *string `mandatory:"false" contributesTo:"query" name:"filePath"` // Line number from where to start returning file lines. StartLineNumber *int `mandatory:"false" contributesTo:"query" name:"startLineNumber"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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 GetRepoFileLinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetRepoFileLinesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRepoFileLinesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRepoFileLinesRequest) String() string
func (request GetRepoFileLinesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetRepoFileLinesResponse wrapper for the GetRepoFileLines operation
type GetRepoFileLinesResponse struct { // The underlying http response RawResponse *http.Response // The RepositoryFileLines instance RepositoryFileLines `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetRepoFileLinesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRepoFileLinesResponse) String() string
GetRepositoryArchiveContentRequest wrapper for the GetRepositoryArchiveContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepositoryArchiveContent.go.html to see an example of how to use GetRepositoryArchiveContentRequest.
type GetRepositoryArchiveContentRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // A filter to return only resources that match the given reference name. RefName *string `mandatory:"false" contributesTo:"query" name:"refName"` // The archive format query parameter for downloading repository endpoint. Format *string `mandatory:"false" contributesTo:"query" name:"format"` // 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 GetRepositoryArchiveContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetRepositoryArchiveContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRepositoryArchiveContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRepositoryArchiveContentRequest) String() string
func (request GetRepositoryArchiveContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetRepositoryArchiveContentResponse wrapper for the GetRepositoryArchiveContent operation
type GetRepositoryArchiveContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // 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"` // Content type refers to content of a file which is transferred via HTTP ContentType *string `presentIn:"header" name:"content-type"` // The Content-Disposition response-header field has been proposed as a means for the origin server to suggest a default filename if the user requests that the content is saved to a file. ContentDisposition *string `presentIn:"header" name:"content-disposition"` }
func (response GetRepositoryArchiveContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRepositoryArchiveContentResponse) String() string
GetRepositoryFieldsEnum Enum with underlying type: string
type GetRepositoryFieldsEnum string
Set of constants representing the allowable values for GetRepositoryFieldsEnum
const ( GetRepositoryFieldsBranchcount GetRepositoryFieldsEnum = "branchCount" GetRepositoryFieldsCommitcount GetRepositoryFieldsEnum = "commitCount" GetRepositoryFieldsSizeinbytes GetRepositoryFieldsEnum = "sizeInBytes" )
func GetGetRepositoryFieldsEnumValues() []GetRepositoryFieldsEnum
GetGetRepositoryFieldsEnumValues Enumerates the set of values for GetRepositoryFieldsEnum
func GetMappingGetRepositoryFieldsEnum(val string) (GetRepositoryFieldsEnum, bool)
GetMappingGetRepositoryFieldsEnum performs case Insensitive comparison on enum value and return the desired enum
GetRepositoryFileLinesRequest wrapper for the GetRepositoryFileLines operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepositoryFileLines.go.html to see an example of how to use GetRepositoryFileLinesRequest.
type GetRepositoryFileLinesRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // Path to a file within a repository. FilePath *string `mandatory:"true" contributesTo:"path" name:"filePath"` // Retrieve file lines from specific revision. Revision *string `mandatory:"true" contributesTo:"query" name:"revision"` // Line number from where to start returning file lines. StartLineNumber *int `mandatory:"false" contributesTo:"query" name:"startLineNumber"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // 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 GetRepositoryFileLinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetRepositoryFileLinesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRepositoryFileLinesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRepositoryFileLinesRequest) String() string
func (request GetRepositoryFileLinesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetRepositoryFileLinesResponse wrapper for the GetRepositoryFileLines operation
type GetRepositoryFileLinesResponse struct { // The underlying http response RawResponse *http.Response // The RepositoryFileLines instance RepositoryFileLines `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // This API will be deprecated on Wed, 29 Mar 2023 01:00:00 GMT. Please use "/repositories/{repositoryId}/file/lines" Sunset *string `presentIn:"header" name:"sunset"` }
func (response GetRepositoryFileLinesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRepositoryFileLinesResponse) String() string
GetRepositoryRequest wrapper for the GetRepository operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetRepository.go.html to see an example of how to use GetRepositoryRequest.
type GetRepositoryRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // 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"` // Fields parameter can contain multiple flags useful in deciding the API functionality. Fields []GetRepositoryFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"multi"` // 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 GetRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRepositoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRepositoryRequest) String() string
func (request GetRepositoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetRepositoryResponse wrapper for the GetRepository operation
type GetRepositoryResponse struct { // The underlying http response RawResponse *http.Response // The Repository instance Repository `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 GetRepositoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRepositoryResponse) String() string
GetTriggerRequest wrapper for the GetTrigger operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/GetTrigger.go.html to see an example of how to use GetTriggerRequest.
type GetTriggerRequest struct { // Unique trigger identifier. TriggerId *string `mandatory:"true" contributesTo:"path" name:"triggerId"` // 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 GetTriggerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTriggerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTriggerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTriggerRequest) String() string
func (request GetTriggerRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetTriggerResponse wrapper for the GetTrigger operation
type GetTriggerResponse struct { // The underlying http response RawResponse *http.Response // The Trigger instance Trigger `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 GetTriggerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTriggerResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
GithubAccessTokenConnection The properties that define a connection of the type `GITHUB_ACCESS_TOKEN`. This type corresponds to a connection in GitHub that is authenticated with a personal access token.
type GithubAccessTokenConnection struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GithubAccessTokenConnection) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GithubAccessTokenConnection) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GithubAccessTokenConnection) GetDescription() *string
GetDescription returns Description
func (m GithubAccessTokenConnection) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GithubAccessTokenConnection) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GithubAccessTokenConnection) GetId() *string
GetId returns Id
func (m GithubAccessTokenConnection) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m GithubAccessTokenConnection) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GithubAccessTokenConnection) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GithubAccessTokenConnection) GetProjectId() *string
GetProjectId returns ProjectId
func (m GithubAccessTokenConnection) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GithubAccessTokenConnection) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GithubAccessTokenConnection) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GithubAccessTokenConnection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubAccessTokenConnection) String() string
func (m GithubAccessTokenConnection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GithubAccessTokenConnectionSummary Summary information for a connection of the type `GITHUB_ACCESS_TOKEN`. This type corresponds to a connection in GitHub that is authenticated with a personal access token.
type GithubAccessTokenConnectionSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GithubAccessTokenConnectionSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GithubAccessTokenConnectionSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GithubAccessTokenConnectionSummary) GetDescription() *string
GetDescription returns Description
func (m GithubAccessTokenConnectionSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GithubAccessTokenConnectionSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GithubAccessTokenConnectionSummary) GetId() *string
GetId returns Id
func (m GithubAccessTokenConnectionSummary) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m GithubAccessTokenConnectionSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GithubAccessTokenConnectionSummary) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GithubAccessTokenConnectionSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m GithubAccessTokenConnectionSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GithubAccessTokenConnectionSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GithubAccessTokenConnectionSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GithubAccessTokenConnectionSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubAccessTokenConnectionSummary) String() string
func (m GithubAccessTokenConnectionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GithubBuildRunSource Specifies details of build run through GitHub.
type GithubBuildRunSource struct { // The trigger that invoked the build run. TriggerId *string `mandatory:"true" json:"triggerId"` TriggerInfo *TriggerInfo `mandatory:"true" json:"triggerInfo"` }
func (m GithubBuildRunSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubBuildRunSource) String() string
func (m GithubBuildRunSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GithubBuildSource GitHub build source for Build stage.
type GithubBuildSource struct { // Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. Name *string `mandatory:"true" json:"name"` // URL for the repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // Branch name. Branch *string `mandatory:"true" json:"branch"` // Connection identifier pertinent to GitHub source provider. ConnectionId *string `mandatory:"true" json:"connectionId"` }
func (m GithubBuildSource) GetBranch() *string
GetBranch returns Branch
func (m GithubBuildSource) GetName() *string
GetName returns Name
func (m GithubBuildSource) GetRepositoryUrl() *string
GetRepositoryUrl returns RepositoryUrl
func (m GithubBuildSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubBuildSource) String() string
func (m GithubBuildSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GithubFilter The filter for GitHub events.
type GithubFilter struct { Include *GithubFilterAttributes `mandatory:"false" json:"include"` Exclude *GithubFilterExclusionAttributes `mandatory:"false" json:"exclude"` // The events, for example, PUSH, PULL_REQUEST_MERGE. Events []GithubFilterEventsEnum `mandatory:"false" json:"events,omitempty"` }
func (m GithubFilter) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubFilter) String() string
func (m GithubFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GithubFilterAttributes Attributes to filter GitHub events.
type GithubFilterAttributes struct { // Branch for push event; source branch for pull requests. HeadRef *string `mandatory:"false" json:"headRef"` // The target branch for pull requests; not applicable for push requests. BaseRef *string `mandatory:"false" json:"baseRef"` FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m GithubFilterAttributes) String() string
func (m GithubFilterAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GithubFilterEventsEnum Enum with underlying type: string
type GithubFilterEventsEnum string
Set of constants representing the allowable values for GithubFilterEventsEnum
const ( GithubFilterEventsPush GithubFilterEventsEnum = "PUSH" GithubFilterEventsPullRequestCreated GithubFilterEventsEnum = "PULL_REQUEST_CREATED" GithubFilterEventsPullRequestUpdated GithubFilterEventsEnum = "PULL_REQUEST_UPDATED" GithubFilterEventsPullRequestReopened GithubFilterEventsEnum = "PULL_REQUEST_REOPENED" GithubFilterEventsPullRequestMerged GithubFilterEventsEnum = "PULL_REQUEST_MERGED" )
func GetGithubFilterEventsEnumValues() []GithubFilterEventsEnum
GetGithubFilterEventsEnumValues Enumerates the set of values for GithubFilterEventsEnum
func GetMappingGithubFilterEventsEnum(val string) (GithubFilterEventsEnum, bool)
GetMappingGithubFilterEventsEnum performs case Insensitive comparison on enum value and return the desired enum
GithubFilterExclusionAttributes Attributes to filter GitHub events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
type GithubFilterExclusionAttributes struct { FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m GithubFilterExclusionAttributes) String() string
func (m GithubFilterExclusionAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GithubTrigger Trigger specific to GitHub.
type GithubTrigger struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GithubTrigger) GetActions() []TriggerAction
GetActions returns Actions
func (m GithubTrigger) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GithubTrigger) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GithubTrigger) GetDescription() *string
GetDescription returns Description
func (m GithubTrigger) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GithubTrigger) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GithubTrigger) GetId() *string
GetId returns Id
func (m GithubTrigger) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GithubTrigger) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GithubTrigger) GetProjectId() *string
GetProjectId returns ProjectId
func (m GithubTrigger) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GithubTrigger) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GithubTrigger) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GithubTrigger) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubTrigger) String() string
func (m *GithubTrigger) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m GithubTrigger) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GithubTriggerCreateResult Trigger create response specific to GitHub.
type GithubTriggerCreateResult struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The secret used to validate the incoming trigger call. This is visible only after the resource is created. Secret *string `mandatory:"true" json:"secret"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GithubTriggerCreateResult) GetActions() []TriggerAction
GetActions returns Actions
func (m GithubTriggerCreateResult) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GithubTriggerCreateResult) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GithubTriggerCreateResult) GetDescription() *string
GetDescription returns Description
func (m GithubTriggerCreateResult) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GithubTriggerCreateResult) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GithubTriggerCreateResult) GetId() *string
GetId returns Id
func (m GithubTriggerCreateResult) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GithubTriggerCreateResult) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GithubTriggerCreateResult) GetProjectId() *string
GetProjectId returns ProjectId
func (m GithubTriggerCreateResult) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GithubTriggerCreateResult) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GithubTriggerCreateResult) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GithubTriggerCreateResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubTriggerCreateResult) String() string
func (m *GithubTriggerCreateResult) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m GithubTriggerCreateResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GithubTriggerSummary Summary of the GitHub trigger.
type GithubTriggerSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GithubTriggerSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GithubTriggerSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GithubTriggerSummary) GetDescription() *string
GetDescription returns Description
func (m GithubTriggerSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GithubTriggerSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GithubTriggerSummary) GetId() *string
GetId returns Id
func (m GithubTriggerSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GithubTriggerSummary) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GithubTriggerSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m GithubTriggerSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GithubTriggerSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GithubTriggerSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GithubTriggerSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GithubTriggerSummary) String() string
func (m GithubTriggerSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabAccessTokenConnection The properties that define a connection of the type `GITLAB_ACCESS_TOKEN`. This type corresponds to a connection in GitLab that is authenticated with a personal access token.
type GitlabAccessTokenConnection struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabAccessTokenConnection) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabAccessTokenConnection) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabAccessTokenConnection) GetDescription() *string
GetDescription returns Description
func (m GitlabAccessTokenConnection) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabAccessTokenConnection) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabAccessTokenConnection) GetId() *string
GetId returns Id
func (m GitlabAccessTokenConnection) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m GitlabAccessTokenConnection) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabAccessTokenConnection) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabAccessTokenConnection) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabAccessTokenConnection) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabAccessTokenConnection) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabAccessTokenConnection) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabAccessTokenConnection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabAccessTokenConnection) String() string
func (m GitlabAccessTokenConnection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabAccessTokenConnectionSummary Summary information for a connection of the type `GITLAB_ACCESS_TOKEN`. This type corresponds to a connection in GitLab that is authenticated with a personal access token.
type GitlabAccessTokenConnectionSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabAccessTokenConnectionSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabAccessTokenConnectionSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabAccessTokenConnectionSummary) GetDescription() *string
GetDescription returns Description
func (m GitlabAccessTokenConnectionSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabAccessTokenConnectionSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabAccessTokenConnectionSummary) GetId() *string
GetId returns Id
func (m GitlabAccessTokenConnectionSummary) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m GitlabAccessTokenConnectionSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabAccessTokenConnectionSummary) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabAccessTokenConnectionSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabAccessTokenConnectionSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabAccessTokenConnectionSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabAccessTokenConnectionSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabAccessTokenConnectionSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabAccessTokenConnectionSummary) String() string
func (m GitlabAccessTokenConnectionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabBuildRunSource Specifies details of build run through GitLab.
type GitlabBuildRunSource struct { // The trigger that invoked the build run. TriggerId *string `mandatory:"true" json:"triggerId"` TriggerInfo *TriggerInfo `mandatory:"true" json:"triggerInfo"` }
func (m GitlabBuildRunSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabBuildRunSource) String() string
func (m GitlabBuildRunSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabBuildSource GitLab build source for Build stage.
type GitlabBuildSource struct { // Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. Name *string `mandatory:"true" json:"name"` // URL for the repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // Branch name. Branch *string `mandatory:"true" json:"branch"` // Connection identifier pertinent to GitLab source provider. ConnectionId *string `mandatory:"true" json:"connectionId"` }
func (m GitlabBuildSource) GetBranch() *string
GetBranch returns Branch
func (m GitlabBuildSource) GetName() *string
GetName returns Name
func (m GitlabBuildSource) GetRepositoryUrl() *string
GetRepositoryUrl returns RepositoryUrl
func (m GitlabBuildSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabBuildSource) String() string
func (m GitlabBuildSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabFilter The filter for GitLab events.
type GitlabFilter struct { Include *GitlabFilterAttributes `mandatory:"false" json:"include"` Exclude *GitlabFilterExclusionAttributes `mandatory:"false" json:"exclude"` // The events, for example, PUSH, PULL_REQUEST_MERGE. Events []GitlabFilterEventsEnum `mandatory:"false" json:"events,omitempty"` }
func (m GitlabFilter) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabFilter) String() string
func (m GitlabFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabFilterAttributes Attributes to filter GitLab events.
type GitlabFilterAttributes struct { // Branch for push event; source branch for pull requests. HeadRef *string `mandatory:"false" json:"headRef"` // The target branch for pull requests; not applicable for push requests. BaseRef *string `mandatory:"false" json:"baseRef"` FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m GitlabFilterAttributes) String() string
func (m GitlabFilterAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabFilterEventsEnum Enum with underlying type: string
type GitlabFilterEventsEnum string
Set of constants representing the allowable values for GitlabFilterEventsEnum
const ( GitlabFilterEventsPush GitlabFilterEventsEnum = "PUSH" GitlabFilterEventsPullRequestCreated GitlabFilterEventsEnum = "PULL_REQUEST_CREATED" GitlabFilterEventsPullRequestUpdated GitlabFilterEventsEnum = "PULL_REQUEST_UPDATED" GitlabFilterEventsPullRequestReopened GitlabFilterEventsEnum = "PULL_REQUEST_REOPENED" GitlabFilterEventsPullRequestMerged GitlabFilterEventsEnum = "PULL_REQUEST_MERGED" )
func GetGitlabFilterEventsEnumValues() []GitlabFilterEventsEnum
GetGitlabFilterEventsEnumValues Enumerates the set of values for GitlabFilterEventsEnum
func GetMappingGitlabFilterEventsEnum(val string) (GitlabFilterEventsEnum, bool)
GetMappingGitlabFilterEventsEnum performs case Insensitive comparison on enum value and return the desired enum
GitlabFilterExclusionAttributes Attributes to filter GitLab events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
type GitlabFilterExclusionAttributes struct { FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m GitlabFilterExclusionAttributes) String() string
func (m GitlabFilterExclusionAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerAccessTokenConnection The properties that define a connection of the type `GITLAB_SERVER_ACCESS_TOKEN`. This type corresponds to a connection in GitLab self-hosted server that is authenticated with a personal access token.
type GitlabServerAccessTokenConnection struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // The baseUrl of the hosted GitLabServer. BaseUrl *string `mandatory:"true" json:"baseUrl"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` TlsVerifyConfig TlsVerifyConfig `mandatory:"false" json:"tlsVerifyConfig"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabServerAccessTokenConnection) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabServerAccessTokenConnection) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabServerAccessTokenConnection) GetDescription() *string
GetDescription returns Description
func (m GitlabServerAccessTokenConnection) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabServerAccessTokenConnection) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabServerAccessTokenConnection) GetId() *string
GetId returns Id
func (m GitlabServerAccessTokenConnection) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m GitlabServerAccessTokenConnection) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabServerAccessTokenConnection) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabServerAccessTokenConnection) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabServerAccessTokenConnection) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabServerAccessTokenConnection) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabServerAccessTokenConnection) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabServerAccessTokenConnection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabServerAccessTokenConnection) String() string
func (m *GitlabServerAccessTokenConnection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m GitlabServerAccessTokenConnection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerAccessTokenConnectionSummary Summary information for a connection of the type `GITLAB_SERVER_ACCESS_TOKEN`. This type corresponds to a connection in GitLab that is authenticated with a personal access token.
type GitlabServerAccessTokenConnectionSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // The baseUrl of the hosted GitLabServer. BaseUrl *string `mandatory:"true" json:"baseUrl"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` TlsVerifyConfig TlsVerifyConfig `mandatory:"false" json:"tlsVerifyConfig"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabServerAccessTokenConnectionSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabServerAccessTokenConnectionSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabServerAccessTokenConnectionSummary) GetDescription() *string
GetDescription returns Description
func (m GitlabServerAccessTokenConnectionSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabServerAccessTokenConnectionSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabServerAccessTokenConnectionSummary) GetId() *string
GetId returns Id
func (m GitlabServerAccessTokenConnectionSummary) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m GitlabServerAccessTokenConnectionSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabServerAccessTokenConnectionSummary) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabServerAccessTokenConnectionSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabServerAccessTokenConnectionSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabServerAccessTokenConnectionSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabServerAccessTokenConnectionSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabServerAccessTokenConnectionSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabServerAccessTokenConnectionSummary) String() string
func (m *GitlabServerAccessTokenConnectionSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m GitlabServerAccessTokenConnectionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerBuildRunSource Specifies details of build run through GitLab self-hosted Server.
type GitlabServerBuildRunSource struct { // The trigger that invoked the build run. TriggerId *string `mandatory:"true" json:"triggerId"` TriggerInfo *TriggerInfo `mandatory:"true" json:"triggerInfo"` }
func (m GitlabServerBuildRunSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabServerBuildRunSource) String() string
func (m GitlabServerBuildRunSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerBuildSource GitLab self-hosted Server Build Source for Build Stage
type GitlabServerBuildSource struct { // Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. Name *string `mandatory:"true" json:"name"` // URL for the repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // Branch name. Branch *string `mandatory:"true" json:"branch"` // Connection identifier pertinent to GitLab Server source provider ConnectionId *string `mandatory:"true" json:"connectionId"` }
func (m GitlabServerBuildSource) GetBranch() *string
GetBranch returns Branch
func (m GitlabServerBuildSource) GetName() *string
GetName returns Name
func (m GitlabServerBuildSource) GetRepositoryUrl() *string
GetRepositoryUrl returns RepositoryUrl
func (m GitlabServerBuildSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabServerBuildSource) String() string
func (m GitlabServerBuildSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerFilter The filter for GitLab self-hosted events.
type GitlabServerFilter struct { Include *GitlabServerFilterAttributes `mandatory:"false" json:"include"` Exclude *GitlabServerFilterExclusionAttributes `mandatory:"false" json:"exclude"` // The events, for example, PUSH, PULL_REQUEST_MERGE. Events []GitlabServerFilterEventsEnum `mandatory:"false" json:"events,omitempty"` }
func (m GitlabServerFilter) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabServerFilter) String() string
func (m GitlabServerFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerFilterAttributes Attributes to filter GitLab self-hosted server events.
type GitlabServerFilterAttributes struct { // Branch for push event; source branch for pull requests. HeadRef *string `mandatory:"false" json:"headRef"` // The target branch for pull requests; not applicable for push requests. BaseRef *string `mandatory:"false" json:"baseRef"` FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m GitlabServerFilterAttributes) String() string
func (m GitlabServerFilterAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerFilterEventsEnum Enum with underlying type: string
type GitlabServerFilterEventsEnum string
Set of constants representing the allowable values for GitlabServerFilterEventsEnum
const ( GitlabServerFilterEventsPush GitlabServerFilterEventsEnum = "PUSH" GitlabServerFilterEventsPullRequestCreated GitlabServerFilterEventsEnum = "PULL_REQUEST_CREATED" GitlabServerFilterEventsPullRequestUpdated GitlabServerFilterEventsEnum = "PULL_REQUEST_UPDATED" GitlabServerFilterEventsPullRequestReopened GitlabServerFilterEventsEnum = "PULL_REQUEST_REOPENED" GitlabServerFilterEventsPullRequestMerged GitlabServerFilterEventsEnum = "PULL_REQUEST_MERGED" )
func GetGitlabServerFilterEventsEnumValues() []GitlabServerFilterEventsEnum
GetGitlabServerFilterEventsEnumValues Enumerates the set of values for GitlabServerFilterEventsEnum
func GetMappingGitlabServerFilterEventsEnum(val string) (GitlabServerFilterEventsEnum, bool)
GetMappingGitlabServerFilterEventsEnum performs case Insensitive comparison on enum value and return the desired enum
GitlabServerFilterExclusionAttributes Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
type GitlabServerFilterExclusionAttributes struct { FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m GitlabServerFilterExclusionAttributes) String() string
func (m GitlabServerFilterExclusionAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerTrigger Trigger specific to GitLab self-hosted server.
type GitlabServerTrigger struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabServerTrigger) GetActions() []TriggerAction
GetActions returns Actions
func (m GitlabServerTrigger) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabServerTrigger) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabServerTrigger) GetDescription() *string
GetDescription returns Description
func (m GitlabServerTrigger) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabServerTrigger) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabServerTrigger) GetId() *string
GetId returns Id
func (m GitlabServerTrigger) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabServerTrigger) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabServerTrigger) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabServerTrigger) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabServerTrigger) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabServerTrigger) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabServerTrigger) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabServerTrigger) String() string
func (m *GitlabServerTrigger) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m GitlabServerTrigger) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerTriggerCreateResult Trigger create response specific to GitLab self-hosted server.
type GitlabServerTriggerCreateResult struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The secret used to validate the incoming trigger call. This is visible only after the resource is created. Secret *string `mandatory:"true" json:"secret"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabServerTriggerCreateResult) GetActions() []TriggerAction
GetActions returns Actions
func (m GitlabServerTriggerCreateResult) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabServerTriggerCreateResult) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabServerTriggerCreateResult) GetDescription() *string
GetDescription returns Description
func (m GitlabServerTriggerCreateResult) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabServerTriggerCreateResult) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabServerTriggerCreateResult) GetId() *string
GetId returns Id
func (m GitlabServerTriggerCreateResult) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabServerTriggerCreateResult) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabServerTriggerCreateResult) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabServerTriggerCreateResult) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabServerTriggerCreateResult) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabServerTriggerCreateResult) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabServerTriggerCreateResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabServerTriggerCreateResult) String() string
func (m *GitlabServerTriggerCreateResult) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m GitlabServerTriggerCreateResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabServerTriggerSummary Summary of the GitLab self-hosted server trigger.
type GitlabServerTriggerSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabServerTriggerSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabServerTriggerSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabServerTriggerSummary) GetDescription() *string
GetDescription returns Description
func (m GitlabServerTriggerSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabServerTriggerSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabServerTriggerSummary) GetId() *string
GetId returns Id
func (m GitlabServerTriggerSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabServerTriggerSummary) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabServerTriggerSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabServerTriggerSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabServerTriggerSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabServerTriggerSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabServerTriggerSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabServerTriggerSummary) String() string
func (m GitlabServerTriggerSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabTrigger Trigger specific to GitLab.
type GitlabTrigger struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabTrigger) GetActions() []TriggerAction
GetActions returns Actions
func (m GitlabTrigger) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabTrigger) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabTrigger) GetDescription() *string
GetDescription returns Description
func (m GitlabTrigger) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabTrigger) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabTrigger) GetId() *string
GetId returns Id
func (m GitlabTrigger) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabTrigger) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabTrigger) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabTrigger) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabTrigger) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabTrigger) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabTrigger) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabTrigger) String() string
func (m *GitlabTrigger) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m GitlabTrigger) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabTriggerCreateResult Trigger create response specific to GitLab.
type GitlabTriggerCreateResult struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The secret used to validate the incoming trigger call. This is visible only after the resource is created. Secret *string `mandatory:"true" json:"secret"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabTriggerCreateResult) GetActions() []TriggerAction
GetActions returns Actions
func (m GitlabTriggerCreateResult) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabTriggerCreateResult) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabTriggerCreateResult) GetDescription() *string
GetDescription returns Description
func (m GitlabTriggerCreateResult) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabTriggerCreateResult) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabTriggerCreateResult) GetId() *string
GetId returns Id
func (m GitlabTriggerCreateResult) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabTriggerCreateResult) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabTriggerCreateResult) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabTriggerCreateResult) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabTriggerCreateResult) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabTriggerCreateResult) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabTriggerCreateResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabTriggerCreateResult) String() string
func (m *GitlabTriggerCreateResult) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m GitlabTriggerCreateResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GitlabTriggerSummary Summary of the GitLab trigger.
type GitlabTriggerSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m GitlabTriggerSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m GitlabTriggerSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m GitlabTriggerSummary) GetDescription() *string
GetDescription returns Description
func (m GitlabTriggerSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m GitlabTriggerSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m GitlabTriggerSummary) GetId() *string
GetId returns Id
func (m GitlabTriggerSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m GitlabTriggerSummary) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m GitlabTriggerSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m GitlabTriggerSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m GitlabTriggerSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m GitlabTriggerSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m GitlabTriggerSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m GitlabTriggerSummary) String() string
func (m GitlabTriggerSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HelmCommandSpecArtifactSource Specifies Helm command spec details
type HelmCommandSpecArtifactSource struct { // The Helm commands to be executed, base 64 encoded Base64EncodedContent *string `mandatory:"true" json:"base64EncodedContent"` // Specifies types of artifact sources. HelmArtifactSourceType HelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum `mandatory:"true" json:"helmArtifactSourceType"` }
func (m HelmCommandSpecArtifactSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HelmCommandSpecArtifactSource) String() string
func (m HelmCommandSpecArtifactSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum Enum with underlying type: string
type HelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum string
Set of constants representing the allowable values for HelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum
const ( HelmCommandSpecArtifactSourceHelmArtifactSourceTypeInline HelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum = "INLINE" )
func GetHelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnumValues() []HelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum
GetHelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnumValues Enumerates the set of values for HelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum
func GetMappingHelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum(val string) (HelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum, bool)
GetMappingHelmCommandSpecArtifactSourceHelmArtifactSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
HelmRepositoryDeployArtifactSource Specifies Helm chart source details.
type HelmRepositoryDeployArtifactSource struct { // The URL of an OCIR repository. ChartUrl *string `mandatory:"true" json:"chartUrl"` // Users can set this as a placeholder value that refers to a pipeline parameter, for example, ${appVersion}. DeployArtifactVersion *string `mandatory:"true" json:"deployArtifactVersion"` HelmVerificationKeySource VerificationKeySource `mandatory:"false" json:"helmVerificationKeySource"` }
func (m HelmRepositoryDeployArtifactSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m HelmRepositoryDeployArtifactSource) String() string
func (m *HelmRepositoryDeployArtifactSource) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m HelmRepositoryDeployArtifactSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HelmSetValue Defines a helm set value
type HelmSetValue struct { // Name of the parameter (case-sensitive). Name *string `mandatory:"true" json:"name"` // Value of the parameter. Value *string `mandatory:"true" json:"value"` }
func (m HelmSetValue) String() string
func (m HelmSetValue) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
HelmSetValueCollection Specifies the name and value pairs to set helm values.
type HelmSetValueCollection struct { // List of parameters defined to set helm value. Items []HelmSetValue `mandatory:"true" json:"items"` }
func (m HelmSetValueCollection) String() string
func (m HelmSetValueCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m InlineDeployArtifactSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
InlinePublicKeyVerificationKeySource Specifies the Inline public key verification source details
type InlinePublicKeyVerificationKeySource struct { // Current version of Base64 encoding of the public key which is in binary GPG exported format. CurrentPublicKey *string `mandatory:"true" json:"currentPublicKey"` // Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios. PreviousPublicKey *string `mandatory:"false" json:"previousPublicKey"` }
func (m InlinePublicKeyVerificationKeySource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m InlinePublicKeyVerificationKeySource) String() string
func (m InlinePublicKeyVerificationKeySource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 artifact OCID. The artifact will be included in the body for the function invocation during the stage's execution. // If the DeployArtifact.argumentSubstituitionMode is set to SUBSTITUTE_PLACEHOLDERS, then the pipeline parameter values will be used to replace the placeholders in the artifact content. 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
func (m InvokeFunctionDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m InvokeFunctionDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 artifact OCID. The artifact will be included in the body for the function invocation during the stage's execution. // If the DeployArtifact.argumentSubstituitionMode is set to SUBSTITUTE_PLACEHOLDERS, then the pipeline parameter values will be used to replace the placeholders in the artifact content. 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
func (m InvokeFunctionDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAuthorsRequest wrapper for the ListAuthors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListAuthors.go.html to see an example of how to use ListAuthorsRequest.
type ListAuthorsRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // A filter to return only resources that match the given reference name. RefName *string `mandatory:"false" contributesTo:"query" name:"refName"` // 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 ListAuthorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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 ListAuthorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListAuthorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListAuthorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListAuthorsRequest) String() string
func (request ListAuthorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListAuthorsResponse wrapper for the ListAuthors operation
type ListAuthorsResponse struct { // The underlying http response RawResponse *http.Response // A list of RepositoryAuthorCollection instances RepositoryAuthorCollection `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 ListAuthorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListAuthorsResponse) String() string
ListAuthorsSortOrderEnum Enum with underlying type: string
type ListAuthorsSortOrderEnum string
Set of constants representing the allowable values for ListAuthorsSortOrderEnum
const ( ListAuthorsSortOrderAsc ListAuthorsSortOrderEnum = "ASC" ListAuthorsSortOrderDesc ListAuthorsSortOrderEnum = "DESC" )
func GetListAuthorsSortOrderEnumValues() []ListAuthorsSortOrderEnum
GetListAuthorsSortOrderEnumValues Enumerates the set of values for ListAuthorsSortOrderEnum
func GetMappingListAuthorsSortOrderEnum(val string) (ListAuthorsSortOrderEnum, bool)
GetMappingListAuthorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListBuildPipelineStagesRequest wrapper for the ListBuildPipelineStages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListBuildPipelineStages.go.html to see an example of how to use ListBuildPipelineStagesRequest.
type ListBuildPipelineStagesRequest struct { // Unique identifier or OCID for listing a single resource by ID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The OCID of the parent build pipeline. BuildPipelineId *string `mandatory:"false" contributesTo:"query" name:"buildPipelineId"` // The OCID of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // A filter to return the stages that matches the given lifecycle state. LifecycleState BuildPipelineStageLifecycleStateEnum `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 ListBuildPipelineStagesSortOrderEnum `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 ListBuildPipelineStagesSortByEnum `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 ListBuildPipelineStagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListBuildPipelineStagesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListBuildPipelineStagesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListBuildPipelineStagesRequest) String() string
func (request ListBuildPipelineStagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListBuildPipelineStagesResponse wrapper for the ListBuildPipelineStages operation
type ListBuildPipelineStagesResponse struct { // The underlying http response RawResponse *http.Response // A list of BuildPipelineStageCollection instances BuildPipelineStageCollection `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 ListBuildPipelineStagesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListBuildPipelineStagesResponse) String() string
ListBuildPipelineStagesSortByEnum Enum with underlying type: string
type ListBuildPipelineStagesSortByEnum string
Set of constants representing the allowable values for ListBuildPipelineStagesSortByEnum
const ( ListBuildPipelineStagesSortByTimecreated ListBuildPipelineStagesSortByEnum = "timeCreated" ListBuildPipelineStagesSortByDisplayname ListBuildPipelineStagesSortByEnum = "displayName" )
func GetListBuildPipelineStagesSortByEnumValues() []ListBuildPipelineStagesSortByEnum
GetListBuildPipelineStagesSortByEnumValues Enumerates the set of values for ListBuildPipelineStagesSortByEnum
func GetMappingListBuildPipelineStagesSortByEnum(val string) (ListBuildPipelineStagesSortByEnum, bool)
GetMappingListBuildPipelineStagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListBuildPipelineStagesSortOrderEnum Enum with underlying type: string
type ListBuildPipelineStagesSortOrderEnum string
Set of constants representing the allowable values for ListBuildPipelineStagesSortOrderEnum
const ( ListBuildPipelineStagesSortOrderAsc ListBuildPipelineStagesSortOrderEnum = "ASC" ListBuildPipelineStagesSortOrderDesc ListBuildPipelineStagesSortOrderEnum = "DESC" )
func GetListBuildPipelineStagesSortOrderEnumValues() []ListBuildPipelineStagesSortOrderEnum
GetListBuildPipelineStagesSortOrderEnumValues Enumerates the set of values for ListBuildPipelineStagesSortOrderEnum
func GetMappingListBuildPipelineStagesSortOrderEnum(val string) (ListBuildPipelineStagesSortOrderEnum, bool)
GetMappingListBuildPipelineStagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListBuildPipelinesRequest wrapper for the ListBuildPipelines operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListBuildPipelines.go.html to see an example of how to use ListBuildPipelinesRequest.
type ListBuildPipelinesRequest 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 build pipelines that matches the given lifecycle state. LifecycleState BuildPipelineLifecycleStateEnum `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 ListBuildPipelinesSortOrderEnum `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 ListBuildPipelinesSortByEnum `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 ListBuildPipelinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListBuildPipelinesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListBuildPipelinesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListBuildPipelinesRequest) String() string
func (request ListBuildPipelinesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListBuildPipelinesResponse wrapper for the ListBuildPipelines operation
type ListBuildPipelinesResponse struct { // The underlying http response RawResponse *http.Response // A list of BuildPipelineCollection instances BuildPipelineCollection `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 ListBuildPipelinesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListBuildPipelinesResponse) String() string
ListBuildPipelinesSortByEnum Enum with underlying type: string
type ListBuildPipelinesSortByEnum string
Set of constants representing the allowable values for ListBuildPipelinesSortByEnum
const ( ListBuildPipelinesSortByTimecreated ListBuildPipelinesSortByEnum = "timeCreated" ListBuildPipelinesSortByDisplayname ListBuildPipelinesSortByEnum = "displayName" )
func GetListBuildPipelinesSortByEnumValues() []ListBuildPipelinesSortByEnum
GetListBuildPipelinesSortByEnumValues Enumerates the set of values for ListBuildPipelinesSortByEnum
func GetMappingListBuildPipelinesSortByEnum(val string) (ListBuildPipelinesSortByEnum, bool)
GetMappingListBuildPipelinesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListBuildPipelinesSortOrderEnum Enum with underlying type: string
type ListBuildPipelinesSortOrderEnum string
Set of constants representing the allowable values for ListBuildPipelinesSortOrderEnum
const ( ListBuildPipelinesSortOrderAsc ListBuildPipelinesSortOrderEnum = "ASC" ListBuildPipelinesSortOrderDesc ListBuildPipelinesSortOrderEnum = "DESC" )
func GetListBuildPipelinesSortOrderEnumValues() []ListBuildPipelinesSortOrderEnum
GetListBuildPipelinesSortOrderEnumValues Enumerates the set of values for ListBuildPipelinesSortOrderEnum
func GetMappingListBuildPipelinesSortOrderEnum(val string) (ListBuildPipelinesSortOrderEnum, bool)
GetMappingListBuildPipelinesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListBuildRunsRequest wrapper for the ListBuildRuns operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListBuildRuns.go.html to see an example of how to use ListBuildRunsRequest.
type ListBuildRunsRequest struct { // Unique identifier or OCID for listing a single resource by ID. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // Unique build pipeline identifier. BuildPipelineId *string `mandatory:"false" contributesTo:"query" name:"buildPipelineId"` // 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 resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // A filter to return only build runs that matches the given lifecycle state. LifecycleState BuildRunLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // 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 ListBuildRunsSortOrderEnum `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 ListBuildRunsSortByEnum `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 ListBuildRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListBuildRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListBuildRunsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListBuildRunsRequest) String() string
func (request ListBuildRunsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListBuildRunsResponse wrapper for the ListBuildRuns operation
type ListBuildRunsResponse struct { // The underlying http response RawResponse *http.Response // A list of BuildRunSummaryCollection instances BuildRunSummaryCollection `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 ListBuildRunsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListBuildRunsResponse) String() string
ListBuildRunsSortByEnum Enum with underlying type: string
type ListBuildRunsSortByEnum string
Set of constants representing the allowable values for ListBuildRunsSortByEnum
const ( ListBuildRunsSortByTimecreated ListBuildRunsSortByEnum = "timeCreated" ListBuildRunsSortByDisplayname ListBuildRunsSortByEnum = "displayName" )
func GetListBuildRunsSortByEnumValues() []ListBuildRunsSortByEnum
GetListBuildRunsSortByEnumValues Enumerates the set of values for ListBuildRunsSortByEnum
func GetMappingListBuildRunsSortByEnum(val string) (ListBuildRunsSortByEnum, bool)
GetMappingListBuildRunsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListBuildRunsSortOrderEnum Enum with underlying type: string
type ListBuildRunsSortOrderEnum string
Set of constants representing the allowable values for ListBuildRunsSortOrderEnum
const ( ListBuildRunsSortOrderAsc ListBuildRunsSortOrderEnum = "ASC" ListBuildRunsSortOrderDesc ListBuildRunsSortOrderEnum = "DESC" )
func GetListBuildRunsSortOrderEnumValues() []ListBuildRunsSortOrderEnum
GetListBuildRunsSortOrderEnumValues Enumerates the set of values for ListBuildRunsSortOrderEnum
func GetMappingListBuildRunsSortOrderEnum(val string) (ListBuildRunsSortOrderEnum, bool)
GetMappingListBuildRunsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListCommitDiffsRequest wrapper for the ListCommitDiffs operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListCommitDiffs.go.html to see an example of how to use ListCommitDiffsRequest.
type ListCommitDiffsRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // The commit or reference name to compare changes against. BaseVersion *string `mandatory:"true" contributesTo:"query" name:"baseVersion"` // The commit or reference name where changes are coming from. TargetVersion *string `mandatory:"true" contributesTo:"query" name:"targetVersion"` // Boolean value to indicate whether to use merge base or most recent revision. IsComparisonFromMergeBase *bool `mandatory:"false" contributesTo:"query" name:"isComparisonFromMergeBase"` // 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"` // 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 ListCommitDiffsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListCommitDiffsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListCommitDiffsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListCommitDiffsRequest) String() string
func (request ListCommitDiffsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListCommitDiffsResponse wrapper for the ListCommitDiffs operation
type ListCommitDiffsResponse struct { // The underlying http response RawResponse *http.Response // A list of DiffCollection instances DiffCollection `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 ListCommitDiffsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListCommitDiffsResponse) String() string
ListCommitsRequest wrapper for the ListCommits operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListCommits.go.html to see an example of how to use ListCommitsRequest.
type ListCommitsRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // A filter to return only resources that match the given reference name. RefName *string `mandatory:"false" contributesTo:"query" name:"refName"` // A filter to exclude commits that match the given reference name. ExcludeRefName *string `mandatory:"false" contributesTo:"query" name:"excludeRefName"` // A filter to return only commits that affect any of the specified paths. FilePath *string `mandatory:"false" contributesTo:"query" name:"filePath"` // A filter to return commits only created after the specified timestamp value. TimestampGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timestampGreaterThanOrEqualTo"` // A filter to return commits only created before the specified timestamp value. TimestampLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timestampLessThanOrEqualTo"` // A filter to return any commits that contains the given message. CommitMessage *string `mandatory:"false" contributesTo:"query" name:"commitMessage"` // A filter to return any commits that are pushed by the requested author. AuthorName *string `mandatory:"false" contributesTo:"query" name:"authorName"` // 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"` // 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 ListCommitsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListCommitsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListCommitsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListCommitsRequest) String() string
func (request ListCommitsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListCommitsResponse wrapper for the ListCommits operation
type ListCommitsResponse struct { // The underlying http response RawResponse *http.Response // A list of RepositoryCommitCollection instances RepositoryCommitCollection `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 ListCommitsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListCommitsResponse) String() string
ListConnectionsRequest wrapper for the ListConnections operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListConnections.go.html to see an example of how to use ListConnectionsRequest.
type ListConnectionsRequest 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 connections that matches the given lifecycle state. LifecycleState ConnectionLifecycleStateEnum `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"` // A filter to return only resources that match the given connection type. ConnectionType ConnectionConnectionTypeEnum `mandatory:"false" contributesTo:"query" name:"connectionType" omitEmpty:"true"` // 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 ListConnectionsSortOrderEnum `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 ListConnectionsSortByEnum `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 ListConnectionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListConnectionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListConnectionsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListConnectionsRequest) String() string
func (request ListConnectionsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListConnectionsResponse wrapper for the ListConnections operation
type ListConnectionsResponse struct { // The underlying http response RawResponse *http.Response // A list of ConnectionCollection instances ConnectionCollection `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 ListConnectionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListConnectionsResponse) String() string
ListConnectionsSortByEnum Enum with underlying type: string
type ListConnectionsSortByEnum string
Set of constants representing the allowable values for ListConnectionsSortByEnum
const ( ListConnectionsSortByTimecreated ListConnectionsSortByEnum = "timeCreated" ListConnectionsSortByDisplayname ListConnectionsSortByEnum = "displayName" )
func GetListConnectionsSortByEnumValues() []ListConnectionsSortByEnum
GetListConnectionsSortByEnumValues Enumerates the set of values for ListConnectionsSortByEnum
func GetMappingListConnectionsSortByEnum(val string) (ListConnectionsSortByEnum, bool)
GetMappingListConnectionsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListConnectionsSortOrderEnum Enum with underlying type: string
type ListConnectionsSortOrderEnum string
Set of constants representing the allowable values for ListConnectionsSortOrderEnum
const ( ListConnectionsSortOrderAsc ListConnectionsSortOrderEnum = "ASC" ListConnectionsSortOrderDesc ListConnectionsSortOrderEnum = "DESC" )
func GetListConnectionsSortOrderEnumValues() []ListConnectionsSortOrderEnum
GetListConnectionsSortOrderEnumValues Enumerates the set of values for ListConnectionsSortOrderEnum
func GetMappingListConnectionsSortOrderEnum(val string) (ListConnectionsSortOrderEnum, bool)
GetMappingListConnectionsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeployArtifactsRequest wrapper for the ListDeployArtifacts operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ListDeployArtifactsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListDeployArtifactsSortByEnum(val string) (ListDeployArtifactsSortByEnum, bool)
GetMappingListDeployArtifactsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListDeployArtifactsSortOrderEnum(val string) (ListDeployArtifactsSortOrderEnum, bool)
GetMappingListDeployArtifactsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeployEnvironmentsRequest wrapper for the ListDeployEnvironments operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ListDeployEnvironmentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListDeployEnvironmentsSortByEnum(val string) (ListDeployEnvironmentsSortByEnum, bool)
GetMappingListDeployEnvironmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListDeployEnvironmentsSortOrderEnum(val string) (ListDeployEnvironmentsSortOrderEnum, bool)
GetMappingListDeployEnvironmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeployPipelinesRequest wrapper for the ListDeployPipelines operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ListDeployPipelinesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListDeployPipelinesSortByEnum(val string) (ListDeployPipelinesSortByEnum, bool)
GetMappingListDeployPipelinesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListDeployPipelinesSortOrderEnum(val string) (ListDeployPipelinesSortOrderEnum, bool)
GetMappingListDeployPipelinesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeployStagesRequest wrapper for the ListDeployStages operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ListDeployStagesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListDeployStagesSortByEnum(val string) (ListDeployStagesSortByEnum, bool)
GetMappingListDeployStagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListDeployStagesSortOrderEnum(val string) (ListDeployStagesSortOrderEnum, bool)
GetMappingListDeployStagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListDeploymentsRequest wrapper for the ListDeployments operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ListDeploymentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListDeploymentsSortByEnum(val string) (ListDeploymentsSortByEnum, bool)
GetMappingListDeploymentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListDeploymentsSortOrderEnum(val string) (ListDeploymentsSortOrderEnum, bool)
GetMappingListDeploymentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListMirrorRecordsRequest wrapper for the ListMirrorRecords operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListMirrorRecords.go.html to see an example of how to use ListMirrorRecordsRequest.
type ListMirrorRecordsRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // 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 ListMirrorRecordsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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 ListMirrorRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListMirrorRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListMirrorRecordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListMirrorRecordsRequest) String() string
func (request ListMirrorRecordsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListMirrorRecordsResponse wrapper for the ListMirrorRecords operation
type ListMirrorRecordsResponse struct { // The underlying http response RawResponse *http.Response // A list of RepositoryMirrorRecordCollection instances RepositoryMirrorRecordCollection `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 ListMirrorRecordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListMirrorRecordsResponse) String() string
ListMirrorRecordsSortOrderEnum Enum with underlying type: string
type ListMirrorRecordsSortOrderEnum string
Set of constants representing the allowable values for ListMirrorRecordsSortOrderEnum
const ( ListMirrorRecordsSortOrderAsc ListMirrorRecordsSortOrderEnum = "ASC" ListMirrorRecordsSortOrderDesc ListMirrorRecordsSortOrderEnum = "DESC" )
func GetListMirrorRecordsSortOrderEnumValues() []ListMirrorRecordsSortOrderEnum
GetListMirrorRecordsSortOrderEnumValues Enumerates the set of values for ListMirrorRecordsSortOrderEnum
func GetMappingListMirrorRecordsSortOrderEnum(val string) (ListMirrorRecordsSortOrderEnum, bool)
GetMappingListMirrorRecordsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListPathsRequest wrapper for the ListPaths operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListPaths.go.html to see an example of how to use ListPathsRequest.
type ListPathsRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // The name of branch/tag or commit hash it points to. If names conflict, order of preference is commit > branch > tag. // You can disambiguate with "heads/foobar" and "tags/foobar". If left blank repository's default branch will be used. Ref *string `mandatory:"false" contributesTo:"query" name:"ref"` // Flag to determine if files must be retrived recursively. Flag is False by default. PathsInSubtree *bool `mandatory:"false" contributesTo:"query" name:"pathsInSubtree"` // The fully qualified path to the folder whose contents are returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository. FolderPath *string `mandatory:"false" contributesTo:"query" name:"folderPath"` // 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"` // A filter to return only resources that match the entire display name given. DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // The sort order to use. Use either ascending or descending. SortOrder ListPathsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order is ascending. If no value is specified name is default. SortBy ListPathsSortByEnum `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 ListPathsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListPathsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPathsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPathsRequest) String() string
func (request ListPathsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListPathsResponse wrapper for the ListPaths operation
type ListPathsResponse struct { // The underlying http response RawResponse *http.Response // A list of RepositoryPathCollection instances RepositoryPathCollection `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 ListPathsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPathsResponse) String() string
ListPathsSortByEnum Enum with underlying type: string
type ListPathsSortByEnum string
Set of constants representing the allowable values for ListPathsSortByEnum
const ( ListPathsSortByType ListPathsSortByEnum = "type" ListPathsSortBySizeinbytes ListPathsSortByEnum = "sizeInBytes" ListPathsSortByName ListPathsSortByEnum = "name" )
func GetListPathsSortByEnumValues() []ListPathsSortByEnum
GetListPathsSortByEnumValues Enumerates the set of values for ListPathsSortByEnum
func GetMappingListPathsSortByEnum(val string) (ListPathsSortByEnum, bool)
GetMappingListPathsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListPathsSortOrderEnum Enum with underlying type: string
type ListPathsSortOrderEnum string
Set of constants representing the allowable values for ListPathsSortOrderEnum
const ( ListPathsSortOrderAsc ListPathsSortOrderEnum = "ASC" ListPathsSortOrderDesc ListPathsSortOrderEnum = "DESC" )
func GetListPathsSortOrderEnumValues() []ListPathsSortOrderEnum
GetListPathsSortOrderEnumValues Enumerates the set of values for ListPathsSortOrderEnum
func GetMappingListPathsSortOrderEnum(val string) (ListPathsSortOrderEnum, bool)
GetMappingListPathsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListProjectsRequest wrapper for the ListProjects operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ListProjectsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListProjectsSortByEnum(val string) (ListProjectsSortByEnum, bool)
GetMappingListProjectsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListProjectsSortOrderEnum(val string) (ListProjectsSortOrderEnum, bool)
GetMappingListProjectsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListRefsRefTypeEnum Enum with underlying type: string
type ListRefsRefTypeEnum string
Set of constants representing the allowable values for ListRefsRefTypeEnum
const ( ListRefsRefTypeBranch ListRefsRefTypeEnum = "BRANCH" ListRefsRefTypeTag ListRefsRefTypeEnum = "TAG" )
func GetListRefsRefTypeEnumValues() []ListRefsRefTypeEnum
GetListRefsRefTypeEnumValues Enumerates the set of values for ListRefsRefTypeEnum
func GetMappingListRefsRefTypeEnum(val string) (ListRefsRefTypeEnum, bool)
GetMappingListRefsRefTypeEnum performs case Insensitive comparison on enum value and return the desired enum
ListRefsRequest wrapper for the ListRefs operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListRefs.go.html to see an example of how to use ListRefsRequest.
type ListRefsRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // Reference type to distinguish between branch and tag. If it is not specified, all references are returned. RefType ListRefsRefTypeEnum `mandatory:"false" contributesTo:"query" name:"refType" omitEmpty:"true"` // Commit ID in a repository. CommitId *string `mandatory:"false" contributesTo:"query" name:"commitId"` // 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"` // A filter to return only resources that match the given reference name. RefName *string `mandatory:"false" contributesTo:"query" name:"refName"` // The sort order to use. Use either ascending or descending. SortOrder ListRefsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for reference name is ascending. Default order for reference type is ascending. If no value is specified reference name is default. SortBy ListRefsSortByEnum `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 ListRefsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListRefsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRefsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRefsRequest) String() string
func (request ListRefsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListRefsResponse wrapper for the ListRefs operation
type ListRefsResponse struct { // The underlying http response RawResponse *http.Response // A list of RepositoryRefCollection instances RepositoryRefCollection `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 ListRefsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRefsResponse) String() string
ListRefsSortByEnum Enum with underlying type: string
type ListRefsSortByEnum string
Set of constants representing the allowable values for ListRefsSortByEnum
const ( ListRefsSortByReftype ListRefsSortByEnum = "refType" ListRefsSortByRefname ListRefsSortByEnum = "refName" )
func GetListRefsSortByEnumValues() []ListRefsSortByEnum
GetListRefsSortByEnumValues Enumerates the set of values for ListRefsSortByEnum
func GetMappingListRefsSortByEnum(val string) (ListRefsSortByEnum, bool)
GetMappingListRefsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListRefsSortOrderEnum Enum with underlying type: string
type ListRefsSortOrderEnum string
Set of constants representing the allowable values for ListRefsSortOrderEnum
const ( ListRefsSortOrderAsc ListRefsSortOrderEnum = "ASC" ListRefsSortOrderDesc ListRefsSortOrderEnum = "DESC" )
func GetListRefsSortOrderEnumValues() []ListRefsSortOrderEnum
GetListRefsSortOrderEnumValues Enumerates the set of values for ListRefsSortOrderEnum
func GetMappingListRefsSortOrderEnum(val string) (ListRefsSortOrderEnum, bool)
GetMappingListRefsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListRepositoriesRequest wrapper for the ListRepositories operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListRepositories.go.html to see an example of how to use ListRepositoriesRequest.
type ListRepositoriesRequest struct { // 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"` // Unique repository identifier. RepositoryId *string `mandatory:"false" contributesTo:"query" name:"repositoryId"` // A filter to return only resources whose lifecycle state matches the given lifecycle state. LifecycleState RepositoryLifecycleStateEnum `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 ListRepositoriesSortOrderEnum `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 name is ascending. If no value is specified time created is default. SortBy ListRepositoriesSortByEnum `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 ListRepositoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListRepositoriesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListRepositoriesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListRepositoriesRequest) String() string
func (request ListRepositoriesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListRepositoriesResponse wrapper for the ListRepositories operation
type ListRepositoriesResponse struct { // The underlying http response RawResponse *http.Response // A list of RepositoryCollection instances RepositoryCollection `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 ListRepositoriesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListRepositoriesResponse) String() string
ListRepositoriesSortByEnum Enum with underlying type: string
type ListRepositoriesSortByEnum string
Set of constants representing the allowable values for ListRepositoriesSortByEnum
const ( ListRepositoriesSortByTimecreated ListRepositoriesSortByEnum = "timeCreated" ListRepositoriesSortByName ListRepositoriesSortByEnum = "name" )
func GetListRepositoriesSortByEnumValues() []ListRepositoriesSortByEnum
GetListRepositoriesSortByEnumValues Enumerates the set of values for ListRepositoriesSortByEnum
func GetMappingListRepositoriesSortByEnum(val string) (ListRepositoriesSortByEnum, bool)
GetMappingListRepositoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListRepositoriesSortOrderEnum Enum with underlying type: string
type ListRepositoriesSortOrderEnum string
Set of constants representing the allowable values for ListRepositoriesSortOrderEnum
const ( ListRepositoriesSortOrderAsc ListRepositoriesSortOrderEnum = "ASC" ListRepositoriesSortOrderDesc ListRepositoriesSortOrderEnum = "DESC" )
func GetListRepositoriesSortOrderEnumValues() []ListRepositoriesSortOrderEnum
GetListRepositoriesSortOrderEnumValues Enumerates the set of values for ListRepositoriesSortOrderEnum
func GetMappingListRepositoriesSortOrderEnum(val string) (ListRepositoriesSortOrderEnum, bool)
GetMappingListRepositoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTriggersRequest wrapper for the ListTriggers operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ListTriggers.go.html to see an example of how to use ListTriggersRequest.
type ListTriggersRequest struct { // 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 triggers that matches the given lifecycle state. LifecycleState TriggerLifecycleStateEnum `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"` // Unique trigger identifier. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // 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 ListTriggersSortOrderEnum `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 ListTriggersSortByEnum `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 ListTriggersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTriggersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTriggersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTriggersRequest) String() string
func (request ListTriggersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListTriggersResponse wrapper for the ListTriggers operation
type ListTriggersResponse struct { // The underlying http response RawResponse *http.Response // A list of TriggerCollection instances TriggerCollection `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 ListTriggersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTriggersResponse) String() string
ListTriggersSortByEnum Enum with underlying type: string
type ListTriggersSortByEnum string
Set of constants representing the allowable values for ListTriggersSortByEnum
const ( ListTriggersSortByTimecreated ListTriggersSortByEnum = "timeCreated" ListTriggersSortByDisplayname ListTriggersSortByEnum = "displayName" )
func GetListTriggersSortByEnumValues() []ListTriggersSortByEnum
GetListTriggersSortByEnumValues Enumerates the set of values for ListTriggersSortByEnum
func GetMappingListTriggersSortByEnum(val string) (ListTriggersSortByEnum, bool)
GetMappingListTriggersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListTriggersSortOrderEnum Enum with underlying type: string
type ListTriggersSortOrderEnum string
Set of constants representing the allowable values for ListTriggersSortOrderEnum
const ( ListTriggersSortOrderAsc ListTriggersSortOrderEnum = "ASC" ListTriggersSortOrderDesc ListTriggersSortOrderEnum = "DESC" )
func GetListTriggersSortOrderEnumValues() []ListTriggersSortOrderEnum
GetListTriggersSortOrderEnumValues Enumerates the set of values for ListTriggersSortOrderEnum
func GetMappingListTriggersSortOrderEnum(val string) (ListTriggersSortOrderEnum, bool)
GetMappingListTriggersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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"` // A filter to return only resources where their Operation Types matches the parameter operation types OperationTypeMultiValueQuery []string `contributesTo:"query" name:"operationTypeMultiValueQuery" collectionFormat:"multi"` // 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
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
LoadBalancerConfig Specifies configuration for load balancer traffic shift stages. The load balancer specified here should be an Application load balancer type. Network load balancers are not supported.
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
func (m LoadBalancerConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. Example: BLUE - Traffic from the existing backends of managed Load Balance Listener to blue Backend IPs, as per rolloutPolicy. GREEN - Traffic from the existing backends of managed Load Balance Listener to green Backend IPs as per rolloutPolicy. 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
func (m LoadBalancerTrafficShiftDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m LoadBalancerTrafficShiftDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. Example: BLUE - Traffic from the existing backends of managed Load Balance Listener to blue Backend IPs, as per rolloutPolicy. GREEN - Traffic from the existing backends of managed Load Balance Listener to blue Backend IPs as per rolloutPolicy. 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
func (m LoadBalancerTrafficShiftDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func GetMappingLoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum(val string) (LoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum, bool)
GetMappingLoadBalancerTrafficShiftDeployStageTrafficShiftTargetEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m LoadBalancerTrafficShiftRolloutPolicy) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ManualApprovalDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Specifies the Canary approval actions. 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
func (m ManualApprovalDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ManualApprovalDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ManualBuildRunSource Specifies details of build runs triggered manually through the API.
type ManualBuildRunSource struct { }
func (m ManualBuildRunSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ManualBuildRunSource) String() string
func (m ManualBuildRunSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MirrorRepositoryConfig Configuration information for mirroring the repository.
type MirrorRepositoryConfig struct { // Upstream git repository connection identifer. ConnectorId *string `mandatory:"false" json:"connectorId"` // URL of external repository you want to mirror. RepositoryUrl *string `mandatory:"false" json:"repositoryUrl"` TriggerSchedule *TriggerSchedule `mandatory:"false" json:"triggerSchedule"` }
func (m MirrorRepositoryConfig) String() string
func (m MirrorRepositoryConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MirrorRepositoryRequest wrapper for the MirrorRepository operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/MirrorRepository.go.html to see an example of how to use MirrorRepositoryRequest.
type MirrorRepositoryRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // 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 MirrorRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request MirrorRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request MirrorRepositoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request MirrorRepositoryRequest) String() string
func (request MirrorRepositoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
MirrorRepositoryResponse wrapper for the MirrorRepository operation
type MirrorRepositoryResponse 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 MirrorRepositoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response MirrorRepositoryResponse) String() string
NetworkChannel Specifies the configuration needed when the target OCI resource, i.e., OKE cluster, resides
in customer's private network.
type NetworkChannel interface { }
NetworkChannelNetworkChannelTypeEnum Enum with underlying type: string
type NetworkChannelNetworkChannelTypeEnum string
Set of constants representing the allowable values for NetworkChannelNetworkChannelTypeEnum
const ( NetworkChannelNetworkChannelTypePrivateEndpointChannel NetworkChannelNetworkChannelTypeEnum = "PRIVATE_ENDPOINT_CHANNEL" NetworkChannelNetworkChannelTypeServiceVnicChannel NetworkChannelNetworkChannelTypeEnum = "SERVICE_VNIC_CHANNEL" )
func GetMappingNetworkChannelNetworkChannelTypeEnum(val string) (NetworkChannelNetworkChannelTypeEnum, bool)
GetMappingNetworkChannelNetworkChannelTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetNetworkChannelNetworkChannelTypeEnumValues() []NetworkChannelNetworkChannelTypeEnum
GetNetworkChannelNetworkChannelTypeEnumValues Enumerates the set of values for NetworkChannelNetworkChannelTypeEnum
NginxBlueGreenStrategy Specifies the NGINX blue green release strategy.
type NginxBlueGreenStrategy struct { // Namespace A for deployment. Example: namespaceA - first Namespace name. NamespaceA *string `mandatory:"true" json:"namespaceA"` // Namespace B for deployment. Example: namespaceB - second Namespace name. NamespaceB *string `mandatory:"true" json:"namespaceB"` // Name of the Ingress resource. IngressName *string `mandatory:"true" json:"ingressName"` }
func (m NginxBlueGreenStrategy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m NginxBlueGreenStrategy) String() string
func (m NginxBlueGreenStrategy) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
NginxCanaryStrategy Specifies the NGINX canary release strategy.
type NginxCanaryStrategy struct { // Canary namespace to be used for Kubernetes canary deployment. Example: canary - Name of the Canary namespace. Namespace *string `mandatory:"true" json:"namespace"` // Name of the Ingress resource. IngressName *string `mandatory:"true" json:"ingressName"` }
func (m NginxCanaryStrategy) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m NginxCanaryStrategy) String() string
func (m NginxCanaryStrategy) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m NoDeployStageRollbackPolicy) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
NoneVerificationKeySource Allows user to opt out of Verification key source
type NoneVerificationKeySource struct { }
func (m NoneVerificationKeySource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m NoneVerificationKeySource) String() string
func (m NoneVerificationKeySource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m NotificationConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m OcirDeployArtifactSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeBlueGreenDeployStage Specifies the Container Engine for Kubernetes (OKE) cluster Blue-Green deployment stage.
type OkeBlueGreenDeployStage 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 KubernetesManifestDeployArtifactIds []string `mandatory:"true" json:"kubernetesManifestDeployArtifactIds"` BlueGreenStrategy OkeBlueGreenStrategy `mandatory:"true" json:"blueGreenStrategy"` // 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 OkeBlueGreenDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeBlueGreenDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeBlueGreenDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeBlueGreenDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeBlueGreenDeployStage) GetDescription() *string
GetDescription returns Description
func (m OkeBlueGreenDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeBlueGreenDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeBlueGreenDeployStage) GetId() *string
GetId returns Id
func (m OkeBlueGreenDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeBlueGreenDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeBlueGreenDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeBlueGreenDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeBlueGreenDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeBlueGreenDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeBlueGreenDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeBlueGreenDeployStage) String() string
func (m *OkeBlueGreenDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeBlueGreenDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeBlueGreenDeployStageExecutionProgress Specifies the Container Engine for Kubernetes (OKE) cluster Blue-Green deployment stage.
type OkeBlueGreenDeployStageExecutionProgress 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"` // Namespace either environment A or environment B where artifacts are deployed. Example: blue - Name of the namespace where blue artifacts were deployed. green - Name of the namespace where green artifacts were deployed. Namespace *string `mandatory:"false" json:"namespace"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m OkeBlueGreenDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m OkeBlueGreenDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m OkeBlueGreenDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m OkeBlueGreenDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m OkeBlueGreenDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m OkeBlueGreenDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m OkeBlueGreenDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m OkeBlueGreenDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeBlueGreenDeployStageExecutionProgress) String() string
func (m OkeBlueGreenDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeBlueGreenDeployStageSummary Specifies the Container Engine for Kubernetes (OKE) cluster Blue-Green deployment stage.
type OkeBlueGreenDeployStageSummary 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. KubernetesManifestDeployArtifactIds []string `mandatory:"true" json:"kubernetesManifestDeployArtifactIds"` BlueGreenStrategy OkeBlueGreenStrategy `mandatory:"true" json:"blueGreenStrategy"` // 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 OkeBlueGreenDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeBlueGreenDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeBlueGreenDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeBlueGreenDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeBlueGreenDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m OkeBlueGreenDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeBlueGreenDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeBlueGreenDeployStageSummary) GetId() *string
GetId returns Id
func (m OkeBlueGreenDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeBlueGreenDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeBlueGreenDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeBlueGreenDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeBlueGreenDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeBlueGreenDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeBlueGreenDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeBlueGreenDeployStageSummary) String() string
func (m *OkeBlueGreenDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeBlueGreenDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeBlueGreenStrategy Specifies the required blue-green release strategy for OKE deployment.
type OkeBlueGreenStrategy interface { }
OkeBlueGreenStrategyStrategyTypeEnum Enum with underlying type: string
type OkeBlueGreenStrategyStrategyTypeEnum string
Set of constants representing the allowable values for OkeBlueGreenStrategyStrategyTypeEnum
const ( OkeBlueGreenStrategyStrategyTypeNginxBlueGreenStrategy OkeBlueGreenStrategyStrategyTypeEnum = "NGINX_BLUE_GREEN_STRATEGY" )
func GetMappingOkeBlueGreenStrategyStrategyTypeEnum(val string) (OkeBlueGreenStrategyStrategyTypeEnum, bool)
GetMappingOkeBlueGreenStrategyStrategyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOkeBlueGreenStrategyStrategyTypeEnumValues() []OkeBlueGreenStrategyStrategyTypeEnum
GetOkeBlueGreenStrategyStrategyTypeEnumValues Enumerates the set of values for OkeBlueGreenStrategyStrategyTypeEnum
OkeBlueGreenTrafficShiftDeployStage Specifies the Container Engine for Kubernetes (OKE) cluster blue-green deployment traffic shift stage.
type OkeBlueGreenTrafficShiftDeployStage 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"` // The OCID of the upstream OKE blue-green deployment stage in this pipeline. OkeBlueGreenDeployStageId *string `mandatory:"true" json:"okeBlueGreenDeployStageId"` // 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 OkeBlueGreenTrafficShiftDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeBlueGreenTrafficShiftDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeBlueGreenTrafficShiftDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeBlueGreenTrafficShiftDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeBlueGreenTrafficShiftDeployStage) GetDescription() *string
GetDescription returns Description
func (m OkeBlueGreenTrafficShiftDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeBlueGreenTrafficShiftDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeBlueGreenTrafficShiftDeployStage) GetId() *string
GetId returns Id
func (m OkeBlueGreenTrafficShiftDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeBlueGreenTrafficShiftDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeBlueGreenTrafficShiftDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeBlueGreenTrafficShiftDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeBlueGreenTrafficShiftDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeBlueGreenTrafficShiftDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeBlueGreenTrafficShiftDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeBlueGreenTrafficShiftDeployStage) String() string
func (m OkeBlueGreenTrafficShiftDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeBlueGreenTrafficShiftDeployStageExecutionProgress Specifies the Container Engine for Kubernetes (OKE) cluster Blue-Green deployment traffic shift stage.
type OkeBlueGreenTrafficShiftDeployStageExecutionProgress 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"` // Namespace where traffic is going. Example: blue - Traffic is going to blue namespace. green - Traffic is going to green namespace. Namespace *string `mandatory:"false" json:"namespace"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) String() string
func (m OkeBlueGreenTrafficShiftDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeBlueGreenTrafficShiftDeployStageSummary Specifies the Container Engine for Kubernetes (OKE) cluster blue-green deployment traffic shift stage.
type OkeBlueGreenTrafficShiftDeployStageSummary 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"` // The OCID of the upstream OKE blue-green deployment stage in this pipeline. OkeBlueGreenDeployStageId *string `mandatory:"true" json:"okeBlueGreenDeployStageId"` // 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 OkeBlueGreenTrafficShiftDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetId() *string
GetId returns Id
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeBlueGreenTrafficShiftDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeBlueGreenTrafficShiftDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeBlueGreenTrafficShiftDeployStageSummary) String() string
func (m OkeBlueGreenTrafficShiftDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeCanaryApprovalDeployStage Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment approval stage.
type OkeCanaryApprovalDeployStage 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"` // The OCID of an upstream OKE canary deployment traffic shift stage in this pipeline. OkeCanaryTrafficShiftDeployStageId *string `mandatory:"true" json:"okeCanaryTrafficShiftDeployStageId"` 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 OkeCanaryApprovalDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeCanaryApprovalDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeCanaryApprovalDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeCanaryApprovalDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeCanaryApprovalDeployStage) GetDescription() *string
GetDescription returns Description
func (m OkeCanaryApprovalDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeCanaryApprovalDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeCanaryApprovalDeployStage) GetId() *string
GetId returns Id
func (m OkeCanaryApprovalDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeCanaryApprovalDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeCanaryApprovalDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeCanaryApprovalDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeCanaryApprovalDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeCanaryApprovalDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeCanaryApprovalDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeCanaryApprovalDeployStage) String() string
func (m *OkeCanaryApprovalDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeCanaryApprovalDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeCanaryApprovalDeployStageExecutionProgress Specifies the Container Engine for Kubernetes (OKE) cluster Canary approval stage.
type OkeCanaryApprovalDeployStageExecutionProgress 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"` // Specifies the Canary approval actions. ApprovalActions []ApprovalAction `mandatory:"false" json:"approvalActions"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m OkeCanaryApprovalDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m OkeCanaryApprovalDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m OkeCanaryApprovalDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m OkeCanaryApprovalDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m OkeCanaryApprovalDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m OkeCanaryApprovalDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m OkeCanaryApprovalDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m OkeCanaryApprovalDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeCanaryApprovalDeployStageExecutionProgress) String() string
func (m OkeCanaryApprovalDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeCanaryApprovalDeployStageSummary Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment approval stage.
type OkeCanaryApprovalDeployStageSummary 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"` // The OCID of an upstream OKE canary deployment traffic shift stage in this pipeline. OkeCanaryTrafficShiftDeployStageId *string `mandatory:"true" json:"okeCanaryTrafficShiftDeployStageId"` 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 OkeCanaryApprovalDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeCanaryApprovalDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeCanaryApprovalDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeCanaryApprovalDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeCanaryApprovalDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m OkeCanaryApprovalDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeCanaryApprovalDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeCanaryApprovalDeployStageSummary) GetId() *string
GetId returns Id
func (m OkeCanaryApprovalDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeCanaryApprovalDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeCanaryApprovalDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeCanaryApprovalDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeCanaryApprovalDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeCanaryApprovalDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeCanaryApprovalDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeCanaryApprovalDeployStageSummary) String() string
func (m *OkeCanaryApprovalDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeCanaryApprovalDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeCanaryDeployStage Specifies the Container Engine for Kubernetes (OKE) Canary deployment stage.
type OkeCanaryDeployStage 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. KubernetesManifestDeployArtifactIds []string `mandatory:"true" json:"kubernetesManifestDeployArtifactIds"` CanaryStrategy OkeCanaryStrategy `mandatory:"true" json:"canaryStrategy"` // 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 OkeCanaryDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeCanaryDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeCanaryDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeCanaryDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeCanaryDeployStage) GetDescription() *string
GetDescription returns Description
func (m OkeCanaryDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeCanaryDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeCanaryDeployStage) GetId() *string
GetId returns Id
func (m OkeCanaryDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeCanaryDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeCanaryDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeCanaryDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeCanaryDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeCanaryDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeCanaryDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeCanaryDeployStage) String() string
func (m *OkeCanaryDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeCanaryDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeCanaryDeployStageExecutionProgress Specifies the Container Engine for Kubernetes (OKE) cluster Canary deployment stage.
type OkeCanaryDeployStageExecutionProgress 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 namespace of OKE Canary deployment. Namespace *string `mandatory:"false" json:"namespace"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m OkeCanaryDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m OkeCanaryDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m OkeCanaryDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m OkeCanaryDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m OkeCanaryDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m OkeCanaryDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m OkeCanaryDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m OkeCanaryDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeCanaryDeployStageExecutionProgress) String() string
func (m OkeCanaryDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeCanaryDeployStageSummary Specifies the Container Engine for Kubernetes (OKE) cluster Canary deployment stage.
type OkeCanaryDeployStageSummary 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. KubernetesManifestDeployArtifactIds []string `mandatory:"true" json:"kubernetesManifestDeployArtifactIds"` CanaryStrategy OkeCanaryStrategy `mandatory:"true" json:"canaryStrategy"` // 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 OkeCanaryDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeCanaryDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeCanaryDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeCanaryDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeCanaryDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m OkeCanaryDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeCanaryDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeCanaryDeployStageSummary) GetId() *string
GetId returns Id
func (m OkeCanaryDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeCanaryDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeCanaryDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeCanaryDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeCanaryDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeCanaryDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeCanaryDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeCanaryDeployStageSummary) String() string
func (m *OkeCanaryDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeCanaryDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeCanaryStrategy Specifies the required canary release strategy for OKE deployment.
type OkeCanaryStrategy interface { }
OkeCanaryStrategyStrategyTypeEnum Enum with underlying type: string
type OkeCanaryStrategyStrategyTypeEnum string
Set of constants representing the allowable values for OkeCanaryStrategyStrategyTypeEnum
const ( OkeCanaryStrategyStrategyTypeNginxCanaryStrategy OkeCanaryStrategyStrategyTypeEnum = "NGINX_CANARY_STRATEGY" )
func GetMappingOkeCanaryStrategyStrategyTypeEnum(val string) (OkeCanaryStrategyStrategyTypeEnum, bool)
GetMappingOkeCanaryStrategyStrategyTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOkeCanaryStrategyStrategyTypeEnumValues() []OkeCanaryStrategyStrategyTypeEnum
GetOkeCanaryStrategyStrategyTypeEnumValues Enumerates the set of values for OkeCanaryStrategyStrategyTypeEnum
OkeCanaryTrafficShiftDeployStage Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment traffic shift stage.
type OkeCanaryTrafficShiftDeployStage 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"` // The OCID of an upstream OKE canary deployment stage in this pipeline. OkeCanaryDeployStageId *string `mandatory:"true" json:"okeCanaryDeployStageId"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `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"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m OkeCanaryTrafficShiftDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeCanaryTrafficShiftDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeCanaryTrafficShiftDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeCanaryTrafficShiftDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeCanaryTrafficShiftDeployStage) GetDescription() *string
GetDescription returns Description
func (m OkeCanaryTrafficShiftDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeCanaryTrafficShiftDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeCanaryTrafficShiftDeployStage) GetId() *string
GetId returns Id
func (m OkeCanaryTrafficShiftDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeCanaryTrafficShiftDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeCanaryTrafficShiftDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeCanaryTrafficShiftDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeCanaryTrafficShiftDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeCanaryTrafficShiftDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeCanaryTrafficShiftDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeCanaryTrafficShiftDeployStage) String() string
func (m OkeCanaryTrafficShiftDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeCanaryTrafficShiftDeployStageExecutionProgress Specifies the Container Engine for Kubernetes (OKE) cluster Canary deployment traffic shift stage.
type OkeCanaryTrafficShiftDeployStageExecutionProgress 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 OkeCanaryTrafficShiftDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m OkeCanaryTrafficShiftDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m OkeCanaryTrafficShiftDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m OkeCanaryTrafficShiftDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m OkeCanaryTrafficShiftDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m OkeCanaryTrafficShiftDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m OkeCanaryTrafficShiftDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m OkeCanaryTrafficShiftDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeCanaryTrafficShiftDeployStageExecutionProgress) String() string
func (m OkeCanaryTrafficShiftDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeCanaryTrafficShiftDeployStageSummary Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment traffic shift stage.
type OkeCanaryTrafficShiftDeployStageSummary 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"` // The OCID of an upstream OKE canary deployment stage in this pipeline. OkeCanaryDeployStageId *string `mandatory:"true" json:"okeCanaryDeployStageId"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `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"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m OkeCanaryTrafficShiftDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeCanaryTrafficShiftDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeCanaryTrafficShiftDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeCanaryTrafficShiftDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeCanaryTrafficShiftDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m OkeCanaryTrafficShiftDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeCanaryTrafficShiftDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeCanaryTrafficShiftDeployStageSummary) GetId() *string
GetId returns Id
func (m OkeCanaryTrafficShiftDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeCanaryTrafficShiftDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeCanaryTrafficShiftDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeCanaryTrafficShiftDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeCanaryTrafficShiftDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeCanaryTrafficShiftDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeCanaryTrafficShiftDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeCanaryTrafficShiftDeployStageSummary) String() string
func (m OkeCanaryTrafficShiftDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` NetworkChannel NetworkChannel `mandatory:"false" json:"networkChannel"` // 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
func (m *OkeClusterDeployEnvironment) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeClusterDeployEnvironment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` NetworkChannel NetworkChannel `mandatory:"false" json:"networkChannel"` // 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
func (m *OkeClusterDeployEnvironmentSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeClusterDeployEnvironmentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. 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
func (m OkeDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m OkeDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeDeployStageSummary Specifies the Container Engine for Kubernetes (OKE) 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. 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
func (m OkeDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeHelmChartDeployStage Specifies the OKE cluster deployment stage using helm charts.
type OkeHelmChartDeployStage 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"` // Helm chart artifact OCID. HelmChartDeployArtifactId *string `mandatory:"true" json:"helmChartDeployArtifactId"` // Release name of the Helm chart. ReleaseName *string `mandatory:"true" json:"releaseName"` // 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"` // List of values.yaml file artifact OCIDs. ValuesArtifactIds []string `mandatory:"false" json:"valuesArtifactIds"` // Uninstall the Helm chart release on deleting the stage. IsUninstallOnStageDelete *bool `mandatory:"false" json:"isUninstallOnStageDelete"` // List of Helm command artifact OCIDs. HelmCommandArtifactIds []string `mandatory:"false" json:"helmCommandArtifactIds"` // Default namespace to be used for Kubernetes deployment when not specified in the manifest. Namespace *string `mandatory:"false" json:"namespace"` // Time to wait for execution of a helm stage. Defaults to 300 seconds. TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` SetValues *HelmSetValueCollection `mandatory:"false" json:"setValues"` SetString *HelmSetValueCollection `mandatory:"false" json:"setString"` // Disable pre/post upgrade hooks. Set to false by default. AreHooksEnabled *bool `mandatory:"false" json:"areHooksEnabled"` // During upgrade, reuse the values of the last release and merge overrides from the command line. Set to false by default. ShouldReuseValues *bool `mandatory:"false" json:"shouldReuseValues"` // During upgrade, reset the values to the ones built into the chart. It overrides shouldReuseValues. Set to false by default. ShouldResetValues *bool `mandatory:"false" json:"shouldResetValues"` // Force resource update through delete; or if required, recreate. Set to false by default. IsForceEnabled *bool `mandatory:"false" json:"isForceEnabled"` // Allow deletion of new resources created during when an upgrade fails. Set to false by default. ShouldCleanupOnFail *bool `mandatory:"false" json:"shouldCleanupOnFail"` // Limit the maximum number of revisions saved per release. Use 0 for no limit. Set to 10 by default MaxHistory *int `mandatory:"false" json:"maxHistory"` // If set, no CRDs are installed. By default, CRDs are installed only if they are not present already. Set to false by default. ShouldSkipCrds *bool `mandatory:"false" json:"shouldSkipCrds"` // If set, renders subchart notes along with the parent. Set to false by default. ShouldSkipRenderSubchartNotes *bool `mandatory:"false" json:"shouldSkipRenderSubchartNotes"` // Waits until all the resources are in a ready state to mark the release as successful. Set to false by default. ShouldNotWait *bool `mandatory:"false" json:"shouldNotWait"` // Enables helm --debug option to stream output to tf stdout. Set to false by default. IsDebugEnabled *bool `mandatory:"false" json:"isDebugEnabled"` // The purpose of running this Helm stage Purpose OkeHelmChartDeployStagePurposeEnum `mandatory:"false" json:"purpose,omitempty"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m OkeHelmChartDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeHelmChartDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeHelmChartDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeHelmChartDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeHelmChartDeployStage) GetDescription() *string
GetDescription returns Description
func (m OkeHelmChartDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeHelmChartDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeHelmChartDeployStage) GetId() *string
GetId returns Id
func (m OkeHelmChartDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeHelmChartDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeHelmChartDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeHelmChartDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeHelmChartDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeHelmChartDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeHelmChartDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeHelmChartDeployStage) String() string
func (m *OkeHelmChartDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeHelmChartDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeHelmChartDeployStagePurposeEnum Enum with underlying type: string
type OkeHelmChartDeployStagePurposeEnum string
Set of constants representing the allowable values for OkeHelmChartDeployStagePurposeEnum
const ( OkeHelmChartDeployStagePurposeUpgrade OkeHelmChartDeployStagePurposeEnum = "EXECUTE_HELM_UPGRADE" OkeHelmChartDeployStagePurposeCommand OkeHelmChartDeployStagePurposeEnum = "EXECUTE_HELM_COMMAND" )
func GetMappingOkeHelmChartDeployStagePurposeEnum(val string) (OkeHelmChartDeployStagePurposeEnum, bool)
GetMappingOkeHelmChartDeployStagePurposeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOkeHelmChartDeployStagePurposeEnumValues() []OkeHelmChartDeployStagePurposeEnum
GetOkeHelmChartDeployStagePurposeEnumValues Enumerates the set of values for OkeHelmChartDeployStagePurposeEnum
OkeHelmChartDeployStageSummary Specifies the OKE cluster deployment stage using Helm charts.
type OkeHelmChartDeployStageSummary 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"` // Helm chart artifact OCID. HelmChartDeployArtifactId *string `mandatory:"true" json:"helmChartDeployArtifactId"` // Release name of the Helm chart. ReleaseName *string `mandatory:"true" json:"releaseName"` // 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"` // List of values.yaml file artifact OCIDs. ValuesArtifactIds []string `mandatory:"false" json:"valuesArtifactIds"` // Uninstall the Helm chart release on deleting the stage. IsUninstallOnStageDelete *bool `mandatory:"false" json:"isUninstallOnStageDelete"` // List of Helm command artifact OCIDs. HelmCommandArtifactIds []string `mandatory:"false" json:"helmCommandArtifactIds"` // Default namespace to be used for Kubernetes deployment when not specified in the manifest. Namespace *string `mandatory:"false" json:"namespace"` // Time to wait for execution of a helm stage. Defaults to 300 seconds. TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` SetValues *HelmSetValueCollection `mandatory:"false" json:"setValues"` SetString *HelmSetValueCollection `mandatory:"false" json:"setString"` // Disable pre/post upgrade hooks. AreHooksEnabled *bool `mandatory:"false" json:"areHooksEnabled"` // During upgrade, reuse the values of the last release and merge overrides from the command line. Set to false by default. ShouldReuseValues *bool `mandatory:"false" json:"shouldReuseValues"` // During upgrade, reset the values to the ones built into the chart. It overrides shouldReuseValues. Set to false by default. ShouldResetValues *bool `mandatory:"false" json:"shouldResetValues"` // Force resource update through delete; or if required, recreate. Set to false by default. IsForceEnabled *bool `mandatory:"false" json:"isForceEnabled"` // Allow deletion of new resources created during when an upgrade fails. Set to false by default. ShouldCleanupOnFail *bool `mandatory:"false" json:"shouldCleanupOnFail"` // Limit the maximum number of revisions saved per release. Use 0 for no limit. Set to 10 by default MaxHistory *int `mandatory:"false" json:"maxHistory"` // If set, no CRDs are installed. By default, CRDs are installed only if they are not present already. Set to false by default. ShouldSkipCrds *bool `mandatory:"false" json:"shouldSkipCrds"` // If set, renders subchart notes along with the parent. Set to false by default. ShouldSkipRenderSubchartNotes *bool `mandatory:"false" json:"shouldSkipRenderSubchartNotes"` // Waits until all the resources are in a ready state to mark the release as successful. Set to false by default. ShouldNotWait *bool `mandatory:"false" json:"shouldNotWait"` // Enables helm --debug option to stream output. Set to false by default. IsDebugEnabled *bool `mandatory:"false" json:"isDebugEnabled"` // The purpose of running this Helm stage Purpose OkeHelmChartDeployStageSummaryPurposeEnum `mandatory:"false" json:"purpose,omitempty"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m OkeHelmChartDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m OkeHelmChartDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m OkeHelmChartDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m OkeHelmChartDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m OkeHelmChartDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m OkeHelmChartDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m OkeHelmChartDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m OkeHelmChartDeployStageSummary) GetId() *string
GetId returns Id
func (m OkeHelmChartDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m OkeHelmChartDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m OkeHelmChartDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m OkeHelmChartDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m OkeHelmChartDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m OkeHelmChartDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m OkeHelmChartDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeHelmChartDeployStageSummary) String() string
func (m *OkeHelmChartDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m OkeHelmChartDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
OkeHelmChartDeployStageSummaryPurposeEnum Enum with underlying type: string
type OkeHelmChartDeployStageSummaryPurposeEnum string
Set of constants representing the allowable values for OkeHelmChartDeployStageSummaryPurposeEnum
const ( OkeHelmChartDeployStageSummaryPurposeUpgrade OkeHelmChartDeployStageSummaryPurposeEnum = "EXECUTE_HELM_UPGRADE" OkeHelmChartDeployStageSummaryPurposeCommand OkeHelmChartDeployStageSummaryPurposeEnum = "EXECUTE_HELM_COMMAND" )
func GetMappingOkeHelmChartDeployStageSummaryPurposeEnum(val string) (OkeHelmChartDeployStageSummaryPurposeEnum, bool)
GetMappingOkeHelmChartDeployStageSummaryPurposeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOkeHelmChartDeployStageSummaryPurposeEnumValues() []OkeHelmChartDeployStageSummaryPurposeEnum
GetOkeHelmChartDeployStageSummaryPurposeEnumValues Enumerates the set of values for OkeHelmChartDeployStageSummaryPurposeEnum
OkeHelmChartDeploymentStageExecutionProgress Specifies the execution details for Kubernetes (OKE) helm chart deployment stage.
type OkeHelmChartDeploymentStageExecutionProgress 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"` // Release name of the Helm chart. ReleaseName *string `mandatory:"false" json:"releaseName"` // The URL of an OCIR repository. ChartUrl *string `mandatory:"false" json:"chartUrl"` // The version of the helm chart stored in OCIR repository. Version *string `mandatory:"false" json:"version"` // Default namespace to be used for Kubernetes deployment when not specified in the manifest. Namespace *string `mandatory:"false" json:"namespace"` // Helm Diff output // Example: // Helm diff was successful // data: // - greeting: Version 1.0 // + greeting: Version 1.1 HelmDiff *string `mandatory:"false" json:"helmDiff"` // The current state of the stage. Status DeployStageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m OkeHelmChartDeploymentStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m OkeHelmChartDeploymentStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m OkeHelmChartDeploymentStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m OkeHelmChartDeploymentStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m OkeHelmChartDeploymentStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m OkeHelmChartDeploymentStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m OkeHelmChartDeploymentStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m OkeHelmChartDeploymentStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OkeHelmChartDeploymentStageExecutionProgress) String() string
func (m OkeHelmChartDeploymentStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
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" OperationTypeCreateBuildPipeline OperationTypeEnum = "CREATE_BUILD_PIPELINE" OperationTypeUpdateBuildPipeline OperationTypeEnum = "UPDATE_BUILD_PIPELINE" OperationTypeDeleteBuildPipeline OperationTypeEnum = "DELETE_BUILD_PIPELINE" OperationTypeCreateBuildPipelineStage OperationTypeEnum = "CREATE_BUILD_PIPELINE_STAGE" OperationTypeUpdateBuildPipelineStage OperationTypeEnum = "UPDATE_BUILD_PIPELINE_STAGE" OperationTypeDeleteBuildPipelineStage OperationTypeEnum = "DELETE_BUILD_PIPELINE_STAGE" OperationTypeCreateConnection OperationTypeEnum = "CREATE_CONNECTION" OperationTypeUpdateConnection OperationTypeEnum = "UPDATE_CONNECTION" OperationTypeDeleteConnection OperationTypeEnum = "DELETE_CONNECTION" OperationTypeCreateTrigger OperationTypeEnum = "CREATE_TRIGGER" OperationTypeUpdateTrigger OperationTypeEnum = "UPDATE_TRIGGER" OperationTypeDeleteTrigger OperationTypeEnum = "DELETE_TRIGGER" OperationTypeExecuteTrigger OperationTypeEnum = "EXECUTE_TRIGGER" OperationTypeCreateRepository OperationTypeEnum = "CREATE_REPOSITORY" OperationTypeUpdateRepository OperationTypeEnum = "UPDATE_REPOSITORY" OperationTypeDeleteRepository OperationTypeEnum = "DELETE_REPOSITORY" OperationTypeMirrorRepository OperationTypeEnum = "MIRROR_REPOSITORY" OperationTypeScheduleCascadingProjectDeletion OperationTypeEnum = "SCHEDULE_CASCADING_PROJECT_DELETION" OperationTypeCancelScheduledCascadingProjectDeletion OperationTypeEnum = "CANCEL_SCHEDULED_CASCADING_PROJECT_DELETION" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
PrivateEndpointChannel Specifies the configuration to access private endpoint.
type PrivateEndpointChannel struct { // The OCID of the subnet where VNIC resources will be created for private endpoint. SubnetId *string `mandatory:"true" json:"subnetId"` // An array of network security group OCIDs. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m PrivateEndpointChannel) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PrivateEndpointChannel) String() string
func (m PrivateEndpointChannel) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m Project) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m ProjectCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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" ProjectLifecycleStateNeedsAttention ProjectLifecycleStateEnum = "NEEDS_ATTENTION" )
func GetMappingProjectLifecycleStateEnum(val string) (ProjectLifecycleStateEnum, bool)
GetMappingProjectLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
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"` // 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"` // The current state of the project. 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
func (m ProjectSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PutRepositoryBranchDetails The information needed to create a branch.
type PutRepositoryBranchDetails struct { // Commit ID pointed to by the new branch. CommitId *string `mandatory:"true" json:"commitId"` }
func (m PutRepositoryBranchDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PutRepositoryBranchDetails) String() string
func (m PutRepositoryBranchDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PutRepositoryRefDetails The information needed to create a reference. If the reference already exists, then it can be used to update the reference.
type PutRepositoryRefDetails interface { }
PutRepositoryRefDetailsRefTypeEnum Enum with underlying type: string
type PutRepositoryRefDetailsRefTypeEnum string
Set of constants representing the allowable values for PutRepositoryRefDetailsRefTypeEnum
const ( PutRepositoryRefDetailsRefTypeBranch PutRepositoryRefDetailsRefTypeEnum = "BRANCH" PutRepositoryRefDetailsRefTypeTag PutRepositoryRefDetailsRefTypeEnum = "TAG" )
func GetMappingPutRepositoryRefDetailsRefTypeEnum(val string) (PutRepositoryRefDetailsRefTypeEnum, bool)
GetMappingPutRepositoryRefDetailsRefTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPutRepositoryRefDetailsRefTypeEnumValues() []PutRepositoryRefDetailsRefTypeEnum
GetPutRepositoryRefDetailsRefTypeEnumValues Enumerates the set of values for PutRepositoryRefDetailsRefTypeEnum
PutRepositoryRefRequest wrapper for the PutRepositoryRef operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/PutRepositoryRef.go.html to see an example of how to use PutRepositoryRefRequest.
type PutRepositoryRefRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // A filter to return only resources that match the given reference name. RefName *string `mandatory:"true" contributesTo:"path" name:"refName"` // The information to create a reference with the type specified in the query. PutRepositoryRefDetails `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"` // 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 PutRepositoryRefRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PutRepositoryRefRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PutRepositoryRefRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PutRepositoryRefRequest) String() string
func (request PutRepositoryRefRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PutRepositoryRefResponse wrapper for the PutRepositoryRef operation
type PutRepositoryRefResponse struct { // The underlying http response RawResponse *http.Response // The RepositoryRef instance RepositoryRef `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"` // This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by "/repositories/{repositoryId}/actions/createOrUpdateGitRef". Sunset *string `presentIn:"header" name:"sunset"` }
func (response PutRepositoryRefResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response PutRepositoryRefResponse) String() string
PutRepositoryTagDetails The information needed to create a lightweight tag.
type PutRepositoryTagDetails struct { // SHA-1 hash value of the object pointed to by the tag. ObjectId *string `mandatory:"true" json:"objectId"` }
func (m PutRepositoryTagDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PutRepositoryTagDetails) String() string
func (m PutRepositoryTagDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Repository Repositories containing the source code to build and deploy.
type Repository struct { // The OCID of the repository. This value is unique and immutable. Id *string `mandatory:"true" json:"id"` // The OCID of the repository's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project containing the repository. ProjectId *string `mandatory:"true" json:"projectId"` // Name of the repository. Should be unique within the project. This value is mutable. Name *string `mandatory:"false" json:"name"` // Tenancy unique namespace. Namespace *string `mandatory:"false" json:"namespace"` // Unique project name in a namespace. ProjectName *string `mandatory:"false" json:"projectName"` // SSH URL that you use to git clone, pull and push. SshUrl *string `mandatory:"false" json:"sshUrl"` // HTTP URL that you use to git clone, pull and push. HttpUrl *string `mandatory:"false" json:"httpUrl"` // Details of the repository. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // The default branch of the repository. DefaultBranch *string `mandatory:"false" json:"defaultBranch"` // Type of repository: // MIRRORED - Repository created by mirroring an existing repository. // HOSTED - Repository created and hosted using OCI DevOps code repository. RepositoryType RepositoryRepositoryTypeEnum `mandatory:"false" json:"repositoryType,omitempty"` MirrorRepositoryConfig *MirrorRepositoryConfig `mandatory:"false" json:"mirrorRepositoryConfig"` // The time the repository was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the repository 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 repository. LifecycleState RepositoryLifecycleStateEnum `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. LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"` // The count of the branches present in the repository. BranchCount *int `mandatory:"false" json:"branchCount"` // The count of the commits present in the repository. CommitCount *int `mandatory:"false" json:"commitCount"` // The size of the repository in bytes. SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"` // Trigger build events supported for this repository: // PUSH - Build is triggered when a push event occurs. // PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. // PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. // COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository. TriggerBuildEvents []RepositoryTriggerBuildEventsEnum `mandatory:"false" json:"triggerBuildEvents,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 Repository) String() string
func (m Repository) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryAuthorCollection Result of list authors.
type RepositoryAuthorCollection struct { // List of author objects. Items []RepositoryAuthorSummary `mandatory:"true" json:"items"` }
func (m RepositoryAuthorCollection) String() string
func (m RepositoryAuthorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryAuthorSummary Object containing summary of authors in a repository.
type RepositoryAuthorSummary struct { // Author name. AuthorName *string `mandatory:"true" json:"authorName"` // 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 RepositoryAuthorSummary) String() string
func (m RepositoryAuthorSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryBranch Branch related information.
type RepositoryBranch struct { // Unique reference name inside a repository. RefName *string `mandatory:"true" json:"refName"` // Unique full reference name inside a repository. FullRefName *string `mandatory:"true" json:"fullRefName"` // The OCID of the repository containing the reference. RepositoryId *string `mandatory:"true" json:"repositoryId"` // Commit ID pointed to by the new branch. CommitId *string `mandatory:"true" json:"commitId"` // 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 RepositoryBranch) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m RepositoryBranch) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m RepositoryBranch) GetFullRefName() *string
GetFullRefName returns FullRefName
func (m RepositoryBranch) GetRefName() *string
GetRefName returns RefName
func (m RepositoryBranch) GetRepositoryId() *string
GetRepositoryId returns RepositoryId
func (m RepositoryBranch) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RepositoryBranch) String() string
func (m RepositoryBranch) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryBranchSummary Branch related information.
type RepositoryBranchSummary struct { // Reference name inside a repository. RefName *string `mandatory:"true" json:"refName"` // Unique full reference name inside a repository. FullRefName *string `mandatory:"true" json:"fullRefName"` // The OCID of the repository containing the reference. RepositoryId *string `mandatory:"true" json:"repositoryId"` // Commit ID pointed to by the new branch. CommitId *string `mandatory:"true" json:"commitId"` // 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 RepositoryBranchSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m RepositoryBranchSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m RepositoryBranchSummary) GetFullRefName() *string
GetFullRefName returns FullRefName
func (m RepositoryBranchSummary) GetRefName() *string
GetRefName returns RefName
func (m RepositoryBranchSummary) GetRepositoryId() *string
GetRepositoryId returns RepositoryId
func (m RepositoryBranchSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m RepositoryBranchSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RepositoryBranchSummary) String() string
func (m RepositoryBranchSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryCollection Results of a repository search. Contains repository summary items and other information, such as metadata.
type RepositoryCollection struct { // List of repositories. Items []RepositorySummary `mandatory:"true" json:"items"` }
func (m RepositoryCollection) String() string
func (m RepositoryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryCommit Commit object with commit information.
type RepositoryCommit struct { // Commit hash pointed to by reference name. CommitId *string `mandatory:"true" json:"commitId"` // The commit message. CommitMessage *string `mandatory:"true" json:"commitMessage"` // Name of the author of the repository. AuthorName *string `mandatory:"false" json:"authorName"` // Email of the author of the repository. AuthorEmail *string `mandatory:"false" json:"authorEmail"` // Name of who creates the commit. CommitterName *string `mandatory:"false" json:"committerName"` // Email of who creates the commit. CommitterEmail *string `mandatory:"false" json:"committerEmail"` // An array of parent commit IDs of created commit. ParentCommitIds []string `mandatory:"false" json:"parentCommitIds"` // The time at which commit was created. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Tree information for the specified commit. TreeId *string `mandatory:"false" json:"treeId"` }
func (m RepositoryCommit) String() string
func (m RepositoryCommit) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryCommitCollection Result of a commit search.
type RepositoryCommitCollection struct { // List of commit objects. Items []RepositoryCommitSummary `mandatory:"true" json:"items"` }
func (m RepositoryCommitCollection) String() string
func (m RepositoryCommitCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryCommitSummary Commit summary with commit information.
type RepositoryCommitSummary struct { // Commit hash pointed to by reference name. CommitId *string `mandatory:"true" json:"commitId"` // The commit message. CommitMessage *string `mandatory:"true" json:"commitMessage"` // Name of the author of the repository. AuthorName *string `mandatory:"true" json:"authorName"` // Email of the author of the repository. AuthorEmail *string `mandatory:"true" json:"authorEmail"` // Name of who creates the commit. CommitterName *string `mandatory:"true" json:"committerName"` // Email of who creates the commit. CommitterEmail *string `mandatory:"true" json:"committerEmail"` // An array of parent commit IDs of created commit. ParentCommitIds []string `mandatory:"true" json:"parentCommitIds"` // The time to create the commit. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Tree information for the specified commit. TreeId *string `mandatory:"true" json:"treeId"` // 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 RepositoryCommitSummary) String() string
func (m RepositoryCommitSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryFileLines Object containing the lines of a file in a repository.
type RepositoryFileLines struct { // The list of lines in the file. Lines []FileLineDetails `mandatory:"true" json:"lines"` }
func (m RepositoryFileLines) String() string
func (m RepositoryFileLines) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryLifecycleStateEnum Enum with underlying type: string
type RepositoryLifecycleStateEnum string
Set of constants representing the allowable values for RepositoryLifecycleStateEnum
const ( RepositoryLifecycleStateActive RepositoryLifecycleStateEnum = "ACTIVE" RepositoryLifecycleStateCreating RepositoryLifecycleStateEnum = "CREATING" RepositoryLifecycleStateDeleted RepositoryLifecycleStateEnum = "DELETED" RepositoryLifecycleStateDeleting RepositoryLifecycleStateEnum = "DELETING" )
func GetMappingRepositoryLifecycleStateEnum(val string) (RepositoryLifecycleStateEnum, bool)
GetMappingRepositoryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRepositoryLifecycleStateEnumValues() []RepositoryLifecycleStateEnum
GetRepositoryLifecycleStateEnumValues Enumerates the set of values for RepositoryLifecycleStateEnum
RepositoryMirrorRecord Object containing information about a mirror record.
type RepositoryMirrorRecord struct { // Mirror status of current mirror entry. // QUEUED - Mirroring Queued // RUNNING - Mirroring is Running // PASSED - Mirroring Passed // FAILED - Mirroring Failed MirrorStatus RepositoryMirrorRecordMirrorStatusEnum `mandatory:"true" json:"mirrorStatus"` // Workrequest ID to track current mirror operation. WorkRequestId *string `mandatory:"false" json:"workRequestId"` // The time to enqueue a mirror operation. TimeEnqueued *common.SDKTime `mandatory:"false" json:"timeEnqueued"` // The time to start a mirror operation. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time taken to complete a mirror operation. Value is null if not completed. TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"` }
func (m RepositoryMirrorRecord) String() string
func (m RepositoryMirrorRecord) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryMirrorRecordCollection The collection of mirror entry.
type RepositoryMirrorRecordCollection struct { // List of mirror entry objects. Items []RepositoryMirrorRecordSummary `mandatory:"true" json:"items"` }
func (m RepositoryMirrorRecordCollection) String() string
func (m RepositoryMirrorRecordCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryMirrorRecordMirrorStatusEnum Enum with underlying type: string
type RepositoryMirrorRecordMirrorStatusEnum string
Set of constants representing the allowable values for RepositoryMirrorRecordMirrorStatusEnum
const ( RepositoryMirrorRecordMirrorStatusNone RepositoryMirrorRecordMirrorStatusEnum = "NONE" RepositoryMirrorRecordMirrorStatusQueued RepositoryMirrorRecordMirrorStatusEnum = "QUEUED" RepositoryMirrorRecordMirrorStatusRunning RepositoryMirrorRecordMirrorStatusEnum = "RUNNING" RepositoryMirrorRecordMirrorStatusPassed RepositoryMirrorRecordMirrorStatusEnum = "PASSED" RepositoryMirrorRecordMirrorStatusFailed RepositoryMirrorRecordMirrorStatusEnum = "FAILED" )
func GetMappingRepositoryMirrorRecordMirrorStatusEnum(val string) (RepositoryMirrorRecordMirrorStatusEnum, bool)
GetMappingRepositoryMirrorRecordMirrorStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRepositoryMirrorRecordMirrorStatusEnumValues() []RepositoryMirrorRecordMirrorStatusEnum
GetRepositoryMirrorRecordMirrorStatusEnumValues Enumerates the set of values for RepositoryMirrorRecordMirrorStatusEnum
RepositoryMirrorRecordSummary Object containing information about a mirror record.
type RepositoryMirrorRecordSummary struct { // Mirror status of current mirror entry. // QUEUED - Mirroring Queued // RUNNING - Mirroring is Running // PASSED - Mirroring Passed // FAILED - Mirroring Failed MirrorStatus RepositoryMirrorRecordSummaryMirrorStatusEnum `mandatory:"true" json:"mirrorStatus"` // Workrequest ID to track current mirror operation. WorkRequestId *string `mandatory:"false" json:"workRequestId"` // The time to enqueue a mirror operation. TimeEnqueued *common.SDKTime `mandatory:"false" json:"timeEnqueued"` // The time to start a mirror operation. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time to complete a mirror operation. TimeCompleted *common.SDKTime `mandatory:"false" json:"timeCompleted"` // 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 RepositoryMirrorRecordSummary) String() string
func (m RepositoryMirrorRecordSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryMirrorRecordSummaryMirrorStatusEnum Enum with underlying type: string
type RepositoryMirrorRecordSummaryMirrorStatusEnum string
Set of constants representing the allowable values for RepositoryMirrorRecordSummaryMirrorStatusEnum
const ( RepositoryMirrorRecordSummaryMirrorStatusNone RepositoryMirrorRecordSummaryMirrorStatusEnum = "NONE" RepositoryMirrorRecordSummaryMirrorStatusQueued RepositoryMirrorRecordSummaryMirrorStatusEnum = "QUEUED" RepositoryMirrorRecordSummaryMirrorStatusRunning RepositoryMirrorRecordSummaryMirrorStatusEnum = "RUNNING" RepositoryMirrorRecordSummaryMirrorStatusPassed RepositoryMirrorRecordSummaryMirrorStatusEnum = "PASSED" RepositoryMirrorRecordSummaryMirrorStatusFailed RepositoryMirrorRecordSummaryMirrorStatusEnum = "FAILED" )
func GetMappingRepositoryMirrorRecordSummaryMirrorStatusEnum(val string) (RepositoryMirrorRecordSummaryMirrorStatusEnum, bool)
GetMappingRepositoryMirrorRecordSummaryMirrorStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRepositoryMirrorRecordSummaryMirrorStatusEnumValues() []RepositoryMirrorRecordSummaryMirrorStatusEnum
GetRepositoryMirrorRecordSummaryMirrorStatusEnumValues Enumerates the set of values for RepositoryMirrorRecordSummaryMirrorStatusEnum
RepositoryObject Object containing information about files and directories in a repository.
type RepositoryObject struct { // The type of git object. Type RepositoryObjectTypeEnum `mandatory:"true" json:"type"` // Size in bytes. SizeInBytes *int64 `mandatory:"true" json:"sizeInBytes"` // SHA-1 hash of git object. Sha *string `mandatory:"true" json:"sha"` // Flag to determine if the object contains binary file content or not. IsBinary *bool `mandatory:"false" json:"isBinary"` }
func (m RepositoryObject) String() string
func (m RepositoryObject) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryObjectTypeEnum Enum with underlying type: string
type RepositoryObjectTypeEnum string
Set of constants representing the allowable values for RepositoryObjectTypeEnum
const ( RepositoryObjectTypeBlob RepositoryObjectTypeEnum = "BLOB" RepositoryObjectTypeTree RepositoryObjectTypeEnum = "TREE" RepositoryObjectTypeCommit RepositoryObjectTypeEnum = "COMMIT" )
func GetMappingRepositoryObjectTypeEnum(val string) (RepositoryObjectTypeEnum, bool)
GetMappingRepositoryObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRepositoryObjectTypeEnumValues() []RepositoryObjectTypeEnum
GetRepositoryObjectTypeEnumValues Enumerates the set of values for RepositoryObjectTypeEnum
RepositoryPathCollection Result of list paths in a repository.
type RepositoryPathCollection struct { // List of objects describing files or directories in a repository. Items []RepositoryPathSummary `mandatory:"true" json:"items"` }
func (m RepositoryPathCollection) String() string
func (m RepositoryPathCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryPathSummary Object containing information about files and directories in a repository.
type RepositoryPathSummary struct { // File or directory. Type *string `mandatory:"false" json:"type"` // Size of file or directory. SizeInBytes *int64 `mandatory:"false" json:"sizeInBytes"` // Name of file or directory. Name *string `mandatory:"false" json:"name"` // Path to file or directory in a repository. Path *string `mandatory:"false" json:"path"` // SHA-1 checksum of blob or tree. Sha *string `mandatory:"false" json:"sha"` // The git URL of the submodule. SubmoduleGitUrl *string `mandatory:"false" json:"submoduleGitUrl"` // 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 RepositoryPathSummary) String() string
func (m RepositoryPathSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryRef Reference object with name and commit ID.
type RepositoryRef interface { // Unique reference name inside a repository. GetRefName() *string // Unique full reference name inside a repository. GetFullRefName() *string // The OCID of the repository containing the reference. GetRepositoryId() *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{} }
RepositoryRefCollection Result of a reference search.
type RepositoryRefCollection struct { // List of references. Items []RepositoryRefSummary `mandatory:"true" json:"items"` }
func (m RepositoryRefCollection) String() string
func (m *RepositoryRefCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m RepositoryRefCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryRefRefTypeEnum Enum with underlying type: string
type RepositoryRefRefTypeEnum string
Set of constants representing the allowable values for RepositoryRefRefTypeEnum
const ( RepositoryRefRefTypeBranch RepositoryRefRefTypeEnum = "BRANCH" RepositoryRefRefTypeTag RepositoryRefRefTypeEnum = "TAG" )
func GetMappingRepositoryRefRefTypeEnum(val string) (RepositoryRefRefTypeEnum, bool)
GetMappingRepositoryRefRefTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRepositoryRefRefTypeEnumValues() []RepositoryRefRefTypeEnum
GetRepositoryRefRefTypeEnumValues Enumerates the set of values for RepositoryRefRefTypeEnum
RepositoryRefSummary Summary of a reference.
type RepositoryRefSummary interface { // Reference name inside a repository. GetRefName() *string // Unique full reference name inside a repository. GetFullRefName() *string // The OCID of the repository containing the reference. GetRepositoryId() *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{} }
RepositoryRepositoryTypeEnum Enum with underlying type: string
type RepositoryRepositoryTypeEnum string
Set of constants representing the allowable values for RepositoryRepositoryTypeEnum
const ( RepositoryRepositoryTypeMirrored RepositoryRepositoryTypeEnum = "MIRRORED" RepositoryRepositoryTypeHosted RepositoryRepositoryTypeEnum = "HOSTED" )
func GetMappingRepositoryRepositoryTypeEnum(val string) (RepositoryRepositoryTypeEnum, bool)
GetMappingRepositoryRepositoryTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRepositoryRepositoryTypeEnumValues() []RepositoryRepositoryTypeEnum
GetRepositoryRepositoryTypeEnumValues Enumerates the set of values for RepositoryRepositoryTypeEnum
RepositorySummary Summary of the repository.
type RepositorySummary struct { // The OCID of the repository. This value is unique and immutable. Id *string `mandatory:"true" json:"id"` // The OCID of the repository's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project containing the repository. ProjectId *string `mandatory:"true" json:"projectId"` // Name of the repository. Should be unique within the project. This value is mutable. Name *string `mandatory:"false" json:"name"` // Tenancy unique namespace. Namespace *string `mandatory:"false" json:"namespace"` // Unique project name in a namespace. ProjectName *string `mandatory:"false" json:"projectName"` // Details of the repository. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // The default branch of the repository. DefaultBranch *string `mandatory:"false" json:"defaultBranch"` // Type of repository. Allowed values: // `MIRRORED` // `HOSTED` RepositoryType RepositoryRepositoryTypeEnum `mandatory:"false" json:"repositoryType,omitempty"` // SSH URL that you use to git clone, pull and push. SshUrl *string `mandatory:"false" json:"sshUrl"` // HTTP URL that you use to git clone, pull and push. HttpUrl *string `mandatory:"false" json:"httpUrl"` MirrorRepositoryConfig *MirrorRepositoryConfig `mandatory:"false" json:"mirrorRepositoryConfig"` // The time the repository was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the repository 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 repository. LifecycleState RepositoryLifecycleStateEnum `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 RepositorySummary) String() string
func (m RepositorySummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryTag The information needed to create a lightweight tag.
type RepositoryTag struct { // Unique reference name inside a repository. RefName *string `mandatory:"true" json:"refName"` // Unique full reference name inside a repository. FullRefName *string `mandatory:"true" json:"fullRefName"` // The OCID of the repository containing the reference. RepositoryId *string `mandatory:"true" json:"repositoryId"` // SHA-1 hash value of the object pointed to by the tag. ObjectId *string `mandatory:"true" json:"objectId"` // 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 RepositoryTag) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m RepositoryTag) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m RepositoryTag) GetFullRefName() *string
GetFullRefName returns FullRefName
func (m RepositoryTag) GetRefName() *string
GetRefName returns RefName
func (m RepositoryTag) GetRepositoryId() *string
GetRepositoryId returns RepositoryId
func (m RepositoryTag) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RepositoryTag) String() string
func (m RepositoryTag) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryTagSummary The information needed to create a lightweight tag.
type RepositoryTagSummary struct { // Reference name inside a repository. RefName *string `mandatory:"true" json:"refName"` // Unique full reference name inside a repository. FullRefName *string `mandatory:"true" json:"fullRefName"` // The OCID of the repository containing the reference. RepositoryId *string `mandatory:"true" json:"repositoryId"` // SHA-1 hash value of the object pointed to by the tag. ObjectId *string `mandatory:"true" json:"objectId"` // 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 RepositoryTagSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m RepositoryTagSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m RepositoryTagSummary) GetFullRefName() *string
GetFullRefName returns FullRefName
func (m RepositoryTagSummary) GetRefName() *string
GetRefName returns RefName
func (m RepositoryTagSummary) GetRepositoryId() *string
GetRepositoryId returns RepositoryId
func (m RepositoryTagSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m RepositoryTagSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m RepositoryTagSummary) String() string
func (m RepositoryTagSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RepositoryTriggerBuildEventsEnum Enum with underlying type: string
type RepositoryTriggerBuildEventsEnum string
Set of constants representing the allowable values for RepositoryTriggerBuildEventsEnum
const ( RepositoryTriggerBuildEventsPush RepositoryTriggerBuildEventsEnum = "PUSH" RepositoryTriggerBuildEventsPullRequestCreated RepositoryTriggerBuildEventsEnum = "PULL_REQUEST_CREATED" RepositoryTriggerBuildEventsPullRequestUpdated RepositoryTriggerBuildEventsEnum = "PULL_REQUEST_UPDATED" RepositoryTriggerBuildEventsCommitUpdates RepositoryTriggerBuildEventsEnum = "COMMIT_UPDATES" )
func GetMappingRepositoryTriggerBuildEventsEnum(val string) (RepositoryTriggerBuildEventsEnum, bool)
GetMappingRepositoryTriggerBuildEventsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetRepositoryTriggerBuildEventsEnumValues() []RepositoryTriggerBuildEventsEnum
GetRepositoryTriggerBuildEventsEnumValues Enumerates the set of values for RepositoryTriggerBuildEventsEnum
ScheduleCascadingProjectDeletionRequest wrapper for the ScheduleCascadingProjectDeletion operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ScheduleCascadingProjectDeletion.go.html to see an example of how to use ScheduleCascadingProjectDeletionRequest.
type ScheduleCascadingProjectDeletionRequest 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"` // 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 ScheduleCascadingProjectDeletionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ScheduleCascadingProjectDeletionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ScheduleCascadingProjectDeletionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ScheduleCascadingProjectDeletionRequest) String() string
func (request ScheduleCascadingProjectDeletionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ScheduleCascadingProjectDeletionResponse wrapper for the ScheduleCascadingProjectDeletion operation
type ScheduleCascadingProjectDeletionResponse 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 ScheduleCascadingProjectDeletionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ScheduleCascadingProjectDeletionResponse) String() string
ServiceVnicChannel Specifies the configuration to access private resources in customer tenancy using service managed VNIC.
type ServiceVnicChannel struct { // The OCID of the subnet where private resources exist. SubnetId *string `mandatory:"true" json:"subnetId"` // An array of network security group OCIDs. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m ServiceVnicChannel) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ServiceVnicChannel) String() string
func (m ServiceVnicChannel) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ShapeConfig Determines the size and amount of resources available to the instance.
type ShapeConfig struct { // The total number of OCPUs available to the instance. Ocpus *float32 `mandatory:"true" json:"ocpus"` // The total amount of memory available to the instance, in gigabytes. MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"` }
func (m ShapeConfig) String() string
func (m ShapeConfig) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ShellDeployStage Specifies the shell stage.
type ShellDeployStage 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"` ContainerConfig ContainerConfig `mandatory:"true" json:"containerConfig"` // The OCID of the artifact that contains the command specification. CommandSpecDeployArtifactId *string `mandatory:"true" json:"commandSpecDeployArtifactId"` // 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"` // Time to wait for execution of a shell stage. Defaults to 36000 seconds. TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ShellDeployStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ShellDeployStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ShellDeployStage) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ShellDeployStage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ShellDeployStage) GetDescription() *string
GetDescription returns Description
func (m ShellDeployStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ShellDeployStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ShellDeployStage) GetId() *string
GetId returns Id
func (m ShellDeployStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ShellDeployStage) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ShellDeployStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m ShellDeployStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ShellDeployStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ShellDeployStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ShellDeployStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ShellDeployStage) String() string
func (m *ShellDeployStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ShellDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ShellDeployStageExecutionProgress Specifies the shell stage specific execution details.
type ShellDeployStageExecutionProgress 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 ShellDeployStageExecutionProgress) GetDeployStageDisplayName() *string
GetDeployStageDisplayName returns DeployStageDisplayName
func (m ShellDeployStageExecutionProgress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails
GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m ShellDeployStageExecutionProgress) GetDeployStageId() *string
GetDeployStageId returns DeployStageId
func (m ShellDeployStageExecutionProgress) GetDeployStagePredecessors() *DeployStagePredecessorCollection
GetDeployStagePredecessors returns DeployStagePredecessors
func (m ShellDeployStageExecutionProgress) GetStatus() DeployStageExecutionProgressStatusEnum
GetStatus returns Status
func (m ShellDeployStageExecutionProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m ShellDeployStageExecutionProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m ShellDeployStageExecutionProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ShellDeployStageExecutionProgress) String() string
func (m ShellDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ShellDeployStageSummary Specifies the shell stage.
type ShellDeployStageSummary 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"` ContainerConfig ContainerConfig `mandatory:"true" json:"containerConfig"` // The OCID of the artifact that contains the command specification. CommandSpecDeployArtifactId *string `mandatory:"true" json:"commandSpecDeployArtifactId"` // 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"` // Time to wait for execution of a shell stage. Defaults to 36000 seconds. TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"` // The current state of the deployment stage. LifecycleState DeployStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m ShellDeployStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m ShellDeployStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m ShellDeployStageSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m ShellDeployStageSummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m ShellDeployStageSummary) GetDescription() *string
GetDescription returns Description
func (m ShellDeployStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m ShellDeployStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m ShellDeployStageSummary) GetId() *string
GetId returns Id
func (m ShellDeployStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m ShellDeployStageSummary) GetLifecycleState() DeployStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m ShellDeployStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m ShellDeployStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m ShellDeployStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m ShellDeployStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m ShellDeployStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m ShellDeployStageSummary) String() string
func (m *ShellDeployStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m ShellDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Specifies the OCID of the stage to be deployed. DeployStageId *string `mandatory:"true" json:"deployStageId"` 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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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 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) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection
GetDeployStageOverrideArguments returns DeployStageOverrideArguments
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
func (m SingleDeployStageDeployment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` // Specifies the OCID of the stage to be deployed. DeployStageId *string `mandatory:"true" json:"deployStageId"` // 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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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 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) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection
GetDeployStageOverrideArguments returns DeployStageOverrideArguments
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
func (m SingleDeployStageDeploymentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SingleDeployStageRedeployment Redeployment of a single stage of a previous deployment.
type SingleDeployStageRedeployment 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"` // Specifies the OCID of the stage to be redeployed. DeployStageId *string `mandatory:"true" json:"deployStageId"` 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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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 SingleDeployStageRedeployment) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m SingleDeployStageRedeployment) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m SingleDeployStageRedeployment) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection
GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m SingleDeployStageRedeployment) GetDeployPipelineArtifacts() *DeployPipelineArtifactCollection
GetDeployPipelineArtifacts returns DeployPipelineArtifacts
func (m SingleDeployStageRedeployment) GetDeployPipelineEnvironments() *DeployPipelineEnvironmentCollection
GetDeployPipelineEnvironments returns DeployPipelineEnvironments
func (m SingleDeployStageRedeployment) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m SingleDeployStageRedeployment) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection
GetDeployStageOverrideArguments returns DeployStageOverrideArguments
func (m SingleDeployStageRedeployment) GetDeploymentArguments() *DeploymentArgumentCollection
GetDeploymentArguments returns DeploymentArguments
func (m SingleDeployStageRedeployment) GetDeploymentExecutionProgress() *DeploymentExecutionProgress
GetDeploymentExecutionProgress returns DeploymentExecutionProgress
func (m SingleDeployStageRedeployment) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m SingleDeployStageRedeployment) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m SingleDeployStageRedeployment) GetId() *string
GetId returns Id
func (m SingleDeployStageRedeployment) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m SingleDeployStageRedeployment) GetLifecycleState() DeploymentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m SingleDeployStageRedeployment) GetProjectId() *string
GetProjectId returns ProjectId
func (m SingleDeployStageRedeployment) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m SingleDeployStageRedeployment) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m SingleDeployStageRedeployment) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m SingleDeployStageRedeployment) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SingleDeployStageRedeployment) String() string
func (m SingleDeployStageRedeployment) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
SingleDeployStageRedeploymentSummary Summary of a single stage redeployment.
type SingleDeployStageRedeploymentSummary 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"` // Specifies the OCID of the stage to be redeployed. DeployStageId *string `mandatory:"true" json:"deployStageId"` // 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"` DeployStageOverrideArguments *DeployStageOverrideArgumentCollection `mandatory:"false" json:"deployStageOverrideArguments"` 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 SingleDeployStageRedeploymentSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m SingleDeployStageRedeploymentSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m SingleDeployStageRedeploymentSummary) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection
GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m SingleDeployStageRedeploymentSummary) GetDeployPipelineId() *string
GetDeployPipelineId returns DeployPipelineId
func (m SingleDeployStageRedeploymentSummary) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection
GetDeployStageOverrideArguments returns DeployStageOverrideArguments
func (m SingleDeployStageRedeploymentSummary) GetDeploymentArguments() *DeploymentArgumentCollection
GetDeploymentArguments returns DeploymentArguments
func (m SingleDeployStageRedeploymentSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m SingleDeployStageRedeploymentSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m SingleDeployStageRedeploymentSummary) GetId() *string
GetId returns Id
func (m SingleDeployStageRedeploymentSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m SingleDeployStageRedeploymentSummary) GetLifecycleState() DeploymentLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m SingleDeployStageRedeploymentSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m SingleDeployStageRedeploymentSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m SingleDeployStageRedeploymentSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m SingleDeployStageRedeploymentSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m SingleDeployStageRedeploymentSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SingleDeployStageRedeploymentSummary) String() string
func (m SingleDeployStageRedeploymentSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
TlsVerifyConfig TLS configuration used by build service to verify TLS connection.
type TlsVerifyConfig interface { }
TlsVerifyConfigTlsVerifyModeEnum Enum with underlying type: string
type TlsVerifyConfigTlsVerifyModeEnum string
Set of constants representing the allowable values for TlsVerifyConfigTlsVerifyModeEnum
const ( TlsVerifyConfigTlsVerifyModeCaCertificateVerify TlsVerifyConfigTlsVerifyModeEnum = "CA_CERTIFICATE_VERIFY" )
func GetMappingTlsVerifyConfigTlsVerifyModeEnum(val string) (TlsVerifyConfigTlsVerifyModeEnum, bool)
GetMappingTlsVerifyConfigTlsVerifyModeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTlsVerifyConfigTlsVerifyModeEnumValues() []TlsVerifyConfigTlsVerifyModeEnum
GetTlsVerifyConfigTlsVerifyModeEnumValues Enumerates the set of values for TlsVerifyConfigTlsVerifyModeEnum
Trigger Trigger the deployment pipeline to deploy the artifact.
type Trigger interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of the DevOps project to which the trigger belongs to. GetProjectId() *string // The OCID of the compartment that contains the trigger. GetCompartmentId() *string // The list of actions that are to be performed for this trigger. GetActions() []TriggerAction // Trigger display name. Avoid entering confidential information. GetDisplayName() *string // Description about the trigger. GetDescription() *string // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // The time the trigger was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the trigger. GetLifecycleState() TriggerLifecycleStateEnum // 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{} }
TriggerAction The trigger action to be performed.
type TriggerAction interface { GetFilter() Filter }
TriggerActionTypeEnum Enum with underlying type: string
type TriggerActionTypeEnum string
Set of constants representing the allowable values for TriggerActionTypeEnum
const ( TriggerActionTypeTriggerBuildPipeline TriggerActionTypeEnum = "TRIGGER_BUILD_PIPELINE" )
func GetMappingTriggerActionTypeEnum(val string) (TriggerActionTypeEnum, bool)
GetMappingTriggerActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTriggerActionTypeEnumValues() []TriggerActionTypeEnum
GetTriggerActionTypeEnumValues Enumerates the set of values for TriggerActionTypeEnum
TriggerBuildPipelineAction The action to trigger a build pipeline.
type TriggerBuildPipelineAction struct { // The OCID of the build pipeline to be triggered. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` Filter Filter `mandatory:"false" json:"filter"` }
func (m TriggerBuildPipelineAction) GetFilter() Filter
GetFilter returns Filter
func (m TriggerBuildPipelineAction) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TriggerBuildPipelineAction) String() string
func (m *TriggerBuildPipelineAction) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m TriggerBuildPipelineAction) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TriggerCollection Results of a trigger search. Contains boh trigger summary items and other information such as metadata.
type TriggerCollection struct { // List of triggers. Items []TriggerSummary `mandatory:"true" json:"items"` }
func (m TriggerCollection) String() string
func (m *TriggerCollection) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m TriggerCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TriggerCreateResult Details of the trigger create response.
type TriggerCreateResult interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of the DevOps project to which the trigger belongs to. GetProjectId() *string // The OCID of the compartment that contains the trigger. GetCompartmentId() *string // The list of actions that are to be performed for this trigger. GetActions() []TriggerAction // Trigger display name. Avoid entering confidential information. GetDisplayName() *string // Description about the trigger. GetDescription() *string // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // The time the trigger was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the trigger. GetLifecycleState() TriggerLifecycleStateEnum // 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{} }
TriggerDeploymentPipelineStageRunProgress Specifies Trigger Deployment Pipleline stage specific run details.
type TriggerDeploymentPipelineStageRunProgress struct { // Build Run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. StageDisplayName *string `mandatory:"false" json:"stageDisplayName"` // The stage OCID. BuildPipelineStageId *string `mandatory:"false" json:"buildPipelineStageId"` // The time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` BuildPipelineStagePredecessors *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessors"` ExportedVariables *ExportedVariableCollection `mandatory:"false" json:"exportedVariables"` ArtifactOverrideParameters *DeployArtifactOverrideArgumentCollection `mandatory:"false" json:"artifactOverrideParameters"` // Identifier of the deployment triggered. DeploymentId *string `mandatory:"false" json:"deploymentId"` // The current status of the stage. Status BuildPipelineStageRunProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m TriggerDeploymentPipelineStageRunProgress) GetBuildPipelineStageId() *string
GetBuildPipelineStageId returns BuildPipelineStageId
func (m TriggerDeploymentPipelineStageRunProgress) GetBuildPipelineStagePredecessors() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessors returns BuildPipelineStagePredecessors
func (m TriggerDeploymentPipelineStageRunProgress) GetStageDisplayName() *string
GetStageDisplayName returns StageDisplayName
func (m TriggerDeploymentPipelineStageRunProgress) GetStatus() BuildPipelineStageRunProgressStatusEnum
GetStatus returns Status
func (m TriggerDeploymentPipelineStageRunProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m TriggerDeploymentPipelineStageRunProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m TriggerDeploymentPipelineStageRunProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TriggerDeploymentPipelineStageRunProgress) String() string
func (m TriggerDeploymentPipelineStageRunProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TriggerDeploymentStage Specifies the Trigger Deployment stage, which runs another pipeline of the application.
type TriggerDeploymentStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` // The OCID of the compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A target deployment pipeline OCID that will run in this stage. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered. IsPassAllParametersEnabled *bool `mandatory:"true" json:"isPassAllParametersEnabled"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the 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"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 stage. LifecycleState BuildPipelineStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m TriggerDeploymentStage) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m TriggerDeploymentStage) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m TriggerDeploymentStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m TriggerDeploymentStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m TriggerDeploymentStage) GetDescription() *string
GetDescription returns Description
func (m TriggerDeploymentStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m TriggerDeploymentStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m TriggerDeploymentStage) GetId() *string
GetId returns Id
func (m TriggerDeploymentStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m TriggerDeploymentStage) GetLifecycleState() BuildPipelineStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m TriggerDeploymentStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m TriggerDeploymentStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m TriggerDeploymentStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m TriggerDeploymentStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m TriggerDeploymentStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TriggerDeploymentStage) String() string
func (m TriggerDeploymentStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TriggerDeploymentStageSummary Specifies the Trigger Deployment stage, which runs another pipeline of the application.
type TriggerDeploymentStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` // The OCID of the compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A target deployment pipeline OCID that will run in this stage. DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"` // A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered. IsPassAllParametersEnabled *bool `mandatory:"true" json:"isPassAllParametersEnabled"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the 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"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 stage. LifecycleState BuildPipelineStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m TriggerDeploymentStageSummary) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m TriggerDeploymentStageSummary) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m TriggerDeploymentStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m TriggerDeploymentStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m TriggerDeploymentStageSummary) GetDescription() *string
GetDescription returns Description
func (m TriggerDeploymentStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m TriggerDeploymentStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m TriggerDeploymentStageSummary) GetId() *string
GetId returns Id
func (m TriggerDeploymentStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m TriggerDeploymentStageSummary) GetLifecycleState() BuildPipelineStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m TriggerDeploymentStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m TriggerDeploymentStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m TriggerDeploymentStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m TriggerDeploymentStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m TriggerDeploymentStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TriggerDeploymentStageSummary) String() string
func (m TriggerDeploymentStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TriggerInfo Trigger details that need to be used for the BuildRun
type TriggerInfo struct { // The list of actions that are to be performed for this Trigger Actions []TriggerAction `mandatory:"true" json:"actions"` // Name for Trigger. DisplayName *string `mandatory:"false" json:"displayName"` }
func (m TriggerInfo) String() string
func (m *TriggerInfo) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m TriggerInfo) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TriggerLifecycleStateEnum Enum with underlying type: string
type TriggerLifecycleStateEnum string
Set of constants representing the allowable values for TriggerLifecycleStateEnum
const ( TriggerLifecycleStateActive TriggerLifecycleStateEnum = "ACTIVE" TriggerLifecycleStateDeleting TriggerLifecycleStateEnum = "DELETING" )
func GetMappingTriggerLifecycleStateEnum(val string) (TriggerLifecycleStateEnum, bool)
GetMappingTriggerLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTriggerLifecycleStateEnumValues() []TriggerLifecycleStateEnum
GetTriggerLifecycleStateEnumValues Enumerates the set of values for TriggerLifecycleStateEnum
TriggerSchedule Specifies a trigger schedule. Timing information for when to initiate automated syncs.
type TriggerSchedule struct { // Different types of trigger schedule: // NONE - No automated synchronization schedule. // DEFAULT - Trigger schedule is every 30 minutes. // CUSTOM - Custom triggering schedule. ScheduleType TriggerScheduleScheduleTypeEnum `mandatory:"true" json:"scheduleType"` // Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. // Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. // You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size. CustomSchedule *string `mandatory:"false" json:"customSchedule"` }
func (m TriggerSchedule) String() string
func (m TriggerSchedule) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
TriggerScheduleScheduleTypeEnum Enum with underlying type: string
type TriggerScheduleScheduleTypeEnum string
Set of constants representing the allowable values for TriggerScheduleScheduleTypeEnum
const ( TriggerScheduleScheduleTypeNone TriggerScheduleScheduleTypeEnum = "NONE" TriggerScheduleScheduleTypeDefault TriggerScheduleScheduleTypeEnum = "DEFAULT" TriggerScheduleScheduleTypeCustom TriggerScheduleScheduleTypeEnum = "CUSTOM" )
func GetMappingTriggerScheduleScheduleTypeEnum(val string) (TriggerScheduleScheduleTypeEnum, bool)
GetMappingTriggerScheduleScheduleTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTriggerScheduleScheduleTypeEnumValues() []TriggerScheduleScheduleTypeEnum
GetTriggerScheduleScheduleTypeEnumValues Enumerates the set of values for TriggerScheduleScheduleTypeEnum
TriggerSummary Summary of the trigger.
type TriggerSummary interface { // Unique identifier that is immutable on creation. GetId() *string // The OCID of the DevOps project to which the trigger belongs to. GetProjectId() *string // The OCID of the compartment that contains the trigger. GetCompartmentId() *string // Trigger display name. Avoid entering confidential information. GetDisplayName() *string // Description about the trigger. GetDescription() *string // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeCreated() *common.SDKTime // The time the trigger was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). GetTimeUpdated() *common.SDKTime // The current state of the trigger. GetLifecycleState() TriggerLifecycleStateEnum // 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{} }
TriggerTriggerSourceEnum Enum with underlying type: string
type TriggerTriggerSourceEnum string
Set of constants representing the allowable values for TriggerTriggerSourceEnum
const ( TriggerTriggerSourceGithub TriggerTriggerSourceEnum = "GITHUB" TriggerTriggerSourceGitlab TriggerTriggerSourceEnum = "GITLAB" TriggerTriggerSourceGitlabServer TriggerTriggerSourceEnum = "GITLAB_SERVER" TriggerTriggerSourceBitbucketCloud TriggerTriggerSourceEnum = "BITBUCKET_CLOUD" TriggerTriggerSourceBitbucketServer TriggerTriggerSourceEnum = "BITBUCKET_SERVER" TriggerTriggerSourceVbs TriggerTriggerSourceEnum = "VBS" TriggerTriggerSourceDevopsCodeRepository TriggerTriggerSourceEnum = "DEVOPS_CODE_REPOSITORY" )
func GetMappingTriggerTriggerSourceEnum(val string) (TriggerTriggerSourceEnum, bool)
GetMappingTriggerTriggerSourceEnum performs case Insensitive comparison on enum value and return the desired enum
func GetTriggerTriggerSourceEnumValues() []TriggerTriggerSourceEnum
GetTriggerTriggerSourceEnumValues Enumerates the set of values for TriggerTriggerSourceEnum
UpdateAbsoluteWaitCriteriaDetails Specifies the absolute wait criteria. You can specify fixed length of wait duration.
type UpdateAbsoluteWaitCriteriaDetails 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 UpdateAbsoluteWaitCriteriaDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateAbsoluteWaitCriteriaDetails) String() string
func (m UpdateAbsoluteWaitCriteriaDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBitbucketCloudAppPasswordConnectionDetails The details for updating a connection of the type `BITBUCKET_CLOUD_APP_PASSWORD`. This type corresponds to a connection in Bitbucket Cloud that is authenticated with username and app password.
type UpdateBitbucketCloudAppPasswordConnectionDetails struct { // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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"` // Public Bitbucket Cloud Username in plain text(not more than 30 characters) Username *string `mandatory:"false" json:"username"` // OCID of personal Bitbucket Cloud AppPassword saved in secret store AppPassword *string `mandatory:"false" json:"appPassword"` }
func (m UpdateBitbucketCloudAppPasswordConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateBitbucketCloudAppPasswordConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateBitbucketCloudAppPasswordConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateBitbucketCloudAppPasswordConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateBitbucketCloudAppPasswordConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateBitbucketCloudAppPasswordConnectionDetails) String() string
func (m UpdateBitbucketCloudAppPasswordConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBitbucketCloudTriggerDetails Update trigger specific to Bitbucket Cloud.
type UpdateBitbucketCloudTriggerDetails struct { // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. Description *string `mandatory:"false" json:"description"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"false" json:"actions"` // 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 connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` }
func (m UpdateBitbucketCloudTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m UpdateBitbucketCloudTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateBitbucketCloudTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateBitbucketCloudTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateBitbucketCloudTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateBitbucketCloudTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateBitbucketCloudTriggerDetails) String() string
func (m *UpdateBitbucketCloudTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateBitbucketCloudTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBitbucketServerAccessTokenConnectionDetails The details for updating a connection of the type `BITBUCKET_SERVER_ACCESS_TOKEN`. This type corresponds to a connection in Bitbucket that is authenticated with a personal access token.
type UpdateBitbucketServerAccessTokenConnectionDetails struct { // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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"` // OCID of personal access token saved in secret store AccessToken *string `mandatory:"false" json:"accessToken"` // The Base URL of the hosted BitbucketServer. BaseUrl *string `mandatory:"false" json:"baseUrl"` TlsVerifyConfig TlsVerifyConfig `mandatory:"false" json:"tlsVerifyConfig"` }
func (m UpdateBitbucketServerAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateBitbucketServerAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateBitbucketServerAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateBitbucketServerAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateBitbucketServerAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateBitbucketServerAccessTokenConnectionDetails) String() string
func (m *UpdateBitbucketServerAccessTokenConnectionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateBitbucketServerAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBitbucketServerTriggerDetails Update trigger specific to Bitbucket Server.
type UpdateBitbucketServerTriggerDetails struct { // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. Description *string `mandatory:"false" json:"description"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"false" json:"actions"` // 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 UpdateBitbucketServerTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m UpdateBitbucketServerTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateBitbucketServerTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateBitbucketServerTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateBitbucketServerTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateBitbucketServerTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateBitbucketServerTriggerDetails) String() string
func (m *UpdateBitbucketServerTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateBitbucketServerTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBuildPipelineDetails The information to be updated for the given build pipeline.
type UpdateBuildPipelineDetails struct { // Optional description about the build pipeline. Description *string `mandatory:"false" json:"description"` // Build pipeline display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` BuildPipelineParameters *BuildPipelineParameterCollection `mandatory:"false" json:"buildPipelineParameters"` // 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 UpdateBuildPipelineDetails) String() string
func (m UpdateBuildPipelineDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBuildPipelineRequest wrapper for the UpdateBuildPipeline operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateBuildPipeline.go.html to see an example of how to use UpdateBuildPipelineRequest.
type UpdateBuildPipelineRequest struct { // Unique build pipeline identifier. BuildPipelineId *string `mandatory:"true" contributesTo:"path" name:"buildPipelineId"` // The information to be updated. UpdateBuildPipelineDetails `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 UpdateBuildPipelineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateBuildPipelineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateBuildPipelineRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateBuildPipelineRequest) String() string
func (request UpdateBuildPipelineRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBuildPipelineResponse wrapper for the UpdateBuildPipeline operation
type UpdateBuildPipelineResponse struct { // The underlying http response RawResponse *http.Response // The BuildPipeline instance BuildPipeline `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"` // 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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response UpdateBuildPipelineResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateBuildPipelineResponse) String() string
UpdateBuildPipelineStageDetails The information to be updated.
type UpdateBuildPipelineStageDetails interface { // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. GetDisplayName() *string // Optional description about the build stage. GetDescription() *string GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection // 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{} }
UpdateBuildPipelineStageRequest wrapper for the UpdateBuildPipelineStage operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateBuildPipelineStage.go.html to see an example of how to use UpdateBuildPipelineStageRequest.
type UpdateBuildPipelineStageRequest struct { // Unique stage identifier. BuildPipelineStageId *string `mandatory:"true" contributesTo:"path" name:"buildPipelineStageId"` // The information to be updated. UpdateBuildPipelineStageDetails `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 UpdateBuildPipelineStageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateBuildPipelineStageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateBuildPipelineStageRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateBuildPipelineStageRequest) String() string
func (request UpdateBuildPipelineStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBuildPipelineStageResponse wrapper for the UpdateBuildPipelineStage operation
type UpdateBuildPipelineStageResponse struct { // The underlying http response RawResponse *http.Response // The BuildPipelineStage instance BuildPipelineStage `presentIn:"body"` // 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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response UpdateBuildPipelineStageResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateBuildPipelineStageResponse) String() string
UpdateBuildRunDetails The build run information to be updated.
type UpdateBuildRunDetails struct { // Build run 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 UpdateBuildRunDetails) String() string
func (m UpdateBuildRunDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBuildRunRequest wrapper for the UpdateBuildRun operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateBuildRun.go.html to see an example of how to use UpdateBuildRunRequest.
type UpdateBuildRunRequest struct { // Unique build run identifier. BuildRunId *string `mandatory:"true" contributesTo:"path" name:"buildRunId"` // The information to be updated. UpdateBuildRunDetails `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 UpdateBuildRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateBuildRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateBuildRunRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateBuildRunRequest) String() string
func (request UpdateBuildRunRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateBuildRunResponse wrapper for the UpdateBuildRun operation
type UpdateBuildRunResponse struct { // The underlying http response RawResponse *http.Response // The BuildRun instance BuildRun `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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response UpdateBuildRunResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateBuildRunResponse) String() string
UpdateBuildStageDetails Specifies the build stage.
type UpdateBuildStageDetails struct { // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml. BuildSpecFile *string `mandatory:"false" json:"buildSpecFile"` // Timeout for the build stage execution. Specify value in seconds. StageExecutionTimeoutInSeconds *int `mandatory:"false" json:"stageExecutionTimeoutInSeconds"` BuildSourceCollection *BuildSourceCollection `mandatory:"false" json:"buildSourceCollection"` // Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source. PrimaryBuildSource *string `mandatory:"false" json:"primaryBuildSource"` BuildRunnerShapeConfig BuildRunnerShapeConfig `mandatory:"false" json:"buildRunnerShapeConfig"` PrivateAccessConfig NetworkChannel `mandatory:"false" json:"privateAccessConfig"` // Image name for the build environment. Image BuildStageImageEnum `mandatory:"false" json:"image,omitempty"` }
func (m UpdateBuildStageDetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m UpdateBuildStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateBuildStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateBuildStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateBuildStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateBuildStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateBuildStageDetails) String() string
func (m *UpdateBuildStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateBuildStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateComputeInstanceGroupBlueGreenDeployStageDetails Specifies the Instance Group Blue-Green deployment stage.
type UpdateComputeInstanceGroupBlueGreenDeployStageDetails 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"` // The OCID of the artifact that contains the deployment specification. DeploymentSpecDeployArtifactId *string `mandatory:"false" json:"deploymentSpecDeployArtifactId"` // The list of file artifact OCIDs to deploy. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` RolloutPolicy ComputeInstanceGroupRolloutPolicy `mandatory:"false" json:"rolloutPolicy"` FailurePolicy ComputeInstanceGroupFailurePolicy `mandatory:"false" json:"failurePolicy"` TestLoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"testLoadBalancerConfig"` }
func (m UpdateComputeInstanceGroupBlueGreenDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateComputeInstanceGroupBlueGreenDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateComputeInstanceGroupBlueGreenDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateComputeInstanceGroupBlueGreenDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateComputeInstanceGroupBlueGreenDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateComputeInstanceGroupBlueGreenDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateComputeInstanceGroupBlueGreenDeployStageDetails) String() string
func (m *UpdateComputeInstanceGroupBlueGreenDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateComputeInstanceGroupBlueGreenDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails Specifies the instance group blue-green deployment load balancer traffic shift stage.
type UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails 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"` }
func (m UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) String() string
func (m UpdateComputeInstanceGroupBlueGreenTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails Specifies the canary approval stage.
type UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails 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 UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails) String() string
func (m *UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateComputeInstanceGroupCanaryApprovalDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateComputeInstanceGroupCanaryDeployStageDetails Specifies the Instance Group Canary deployment stage.
type UpdateComputeInstanceGroupCanaryDeployStageDetails 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"` // The OCID of the artifact that contains the deployment specification. DeploymentSpecDeployArtifactId *string `mandatory:"false" json:"deploymentSpecDeployArtifactId"` // The list of file artifact OCIDs to deploy. DeployArtifactIds []string `mandatory:"false" json:"deployArtifactIds"` RolloutPolicy ComputeInstanceGroupRolloutPolicy `mandatory:"false" json:"rolloutPolicy"` TestLoadBalancerConfig *LoadBalancerConfig `mandatory:"false" json:"testLoadBalancerConfig"` }
func (m UpdateComputeInstanceGroupCanaryDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateComputeInstanceGroupCanaryDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateComputeInstanceGroupCanaryDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateComputeInstanceGroupCanaryDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateComputeInstanceGroupCanaryDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateComputeInstanceGroupCanaryDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateComputeInstanceGroupCanaryDeployStageDetails) String() string
func (m *UpdateComputeInstanceGroupCanaryDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateComputeInstanceGroupCanaryDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails Specifies load balancer traffic shift stage.
type UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails 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"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `mandatory:"false" json:"rolloutPolicy"` }
func (m UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) String() string
func (m UpdateComputeInstanceGroupCanaryTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateComputeInstanceGroupDeployEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateComputeInstanceGroupDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateConnectionDetails The details for updating a connection.
type UpdateConnectionDetails interface { // Optional description about the connection. GetDescription() *string // Optional connection 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{} }
UpdateConnectionRequest wrapper for the UpdateConnection operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateConnection.go.html to see an example of how to use UpdateConnectionRequest.
type UpdateConnectionRequest struct { // Unique connection identifier. ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"` // The information to be updated. UpdateConnectionDetails `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 UpdateConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateConnectionRequest) String() string
func (request UpdateConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateConnectionResponse wrapper for the UpdateConnection operation
type UpdateConnectionResponse struct { // The underlying http response RawResponse *http.Response // The Connection instance Connection `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"` // 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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response UpdateConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateConnectionResponse) String() string
UpdateDeliverArtifactStageDetails Specifies the Deliver Artifacts stage.
type UpdateDeliverArtifactStageDetails struct { // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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"` DeliverArtifactCollection *DeliverArtifactCollection `mandatory:"false" json:"deliverArtifactCollection"` }
func (m UpdateDeliverArtifactStageDetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m UpdateDeliverArtifactStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDeliverArtifactStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateDeliverArtifactStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDeliverArtifactStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDeliverArtifactStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDeliverArtifactStageDetails) String() string
func (m UpdateDeliverArtifactStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateDeployArtifactDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDeployArtifactRequest wrapper for the UpdateDeployArtifact operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request UpdateDeployArtifactRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request UpdateDeployEnvironmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateDeployPipelineDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateDeployPipelineDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateDeployPipelineRedeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateDeployPipelineRequest wrapper for the UpdateDeployPipeline operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request UpdateDeployPipelineRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request UpdateDeployStageRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request UpdateDeploymentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
UpdateDevopsCodeRepositoryTriggerDetails Update trigger specific to OCI DevOps code repository.
type UpdateDevopsCodeRepositoryTriggerDetails struct { // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. Description *string `mandatory:"false" json:"description"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"false" json:"actions"` // 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 DevOps code repository. RepositoryId *string `mandatory:"false" json:"repositoryId"` }
func (m UpdateDevopsCodeRepositoryTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m UpdateDevopsCodeRepositoryTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateDevopsCodeRepositoryTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateDevopsCodeRepositoryTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateDevopsCodeRepositoryTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateDevopsCodeRepositoryTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateDevopsCodeRepositoryTriggerDetails) String() string
func (m *UpdateDevopsCodeRepositoryTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateDevopsCodeRepositoryTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateFunctionDeployEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateFunctionDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateGithubAccessTokenConnectionDetails The details for updating a connection of the type `GITHUB_ACCESS_TOKEN`. This type corresponds to a connection in GitHub that is authenticated with a personal access token.
type UpdateGithubAccessTokenConnectionDetails struct { // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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"` // OCID of personal access token saved in secret store AccessToken *string `mandatory:"false" json:"accessToken"` }
func (m UpdateGithubAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateGithubAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateGithubAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateGithubAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateGithubAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateGithubAccessTokenConnectionDetails) String() string
func (m UpdateGithubAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateGithubTriggerDetails Update trigger specific to GitHub.
type UpdateGithubTriggerDetails struct { // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. Description *string `mandatory:"false" json:"description"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"false" json:"actions"` // 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 connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` }
func (m UpdateGithubTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m UpdateGithubTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateGithubTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateGithubTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateGithubTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateGithubTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateGithubTriggerDetails) String() string
func (m *UpdateGithubTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateGithubTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateGitlabAccessTokenConnectionDetails The details for updating a connection of the type `GITLAB_ACCESS_TOKEN`. This type corresponds to a connection in GitLab that is authenticated with a personal access token.
type UpdateGitlabAccessTokenConnectionDetails struct { // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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 personal access token saved in secret store. AccessToken *string `mandatory:"false" json:"accessToken"` }
func (m UpdateGitlabAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateGitlabAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateGitlabAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateGitlabAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateGitlabAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateGitlabAccessTokenConnectionDetails) String() string
func (m UpdateGitlabAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateGitlabServerAccessTokenConnectionDetails The details for updating a connection of the type `GITLAB_SERVER_ACCESS_TOKEN`. This type corresponds to a connection in GitLab self-hosted server that is authenticated with a personal access token.
type UpdateGitlabServerAccessTokenConnectionDetails struct { // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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 personal access token saved in secret store. AccessToken *string `mandatory:"false" json:"accessToken"` // The baseUrl of the hosted GitLabServer. BaseUrl *string `mandatory:"false" json:"baseUrl"` TlsVerifyConfig TlsVerifyConfig `mandatory:"false" json:"tlsVerifyConfig"` }
func (m UpdateGitlabServerAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateGitlabServerAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateGitlabServerAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateGitlabServerAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateGitlabServerAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateGitlabServerAccessTokenConnectionDetails) String() string
func (m *UpdateGitlabServerAccessTokenConnectionDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateGitlabServerAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateGitlabServerTriggerDetails Update trigger specific to GitLab self-hosted server.
type UpdateGitlabServerTriggerDetails struct { // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. Description *string `mandatory:"false" json:"description"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"false" json:"actions"` // 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 UpdateGitlabServerTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m UpdateGitlabServerTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateGitlabServerTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateGitlabServerTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateGitlabServerTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateGitlabServerTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateGitlabServerTriggerDetails) String() string
func (m *UpdateGitlabServerTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateGitlabServerTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateGitlabTriggerDetails Update trigger specific to GitLab.
type UpdateGitlabTriggerDetails struct { // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. Description *string `mandatory:"false" json:"description"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"false" json:"actions"` // 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 connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` }
func (m UpdateGitlabTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m UpdateGitlabTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateGitlabTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateGitlabTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateGitlabTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateGitlabTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateGitlabTriggerDetails) String() string
func (m *UpdateGitlabTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateGitlabTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 artifact OCID. The artifact will be included in the body for the function invocation during the stage's execution. // If the DeployArtifact.argumentSubstituitionMode is set to SUBSTITUTE_PLACEHOLDERS, then the pipeline parameter values will be used to replace the placeholders in the artifact content. 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
func (m UpdateInvokeFunctionDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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. Example: BLUE - Traffic from the existing backends of managed Load Balance Listener to blue Backend IPs, as per rolloutPolicy. GREEN - Traffic from the existing backends of managed Load Balance Listener to blue Backend IPs ser as per rolloutPolicy. 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
func (m UpdateLoadBalancerTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateManualApprovalDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateOkeBlueGreenDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster Blue-Green deployment stage.
type UpdateOkeBlueGreenDeployStageDetails 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"` // List of Kubernetes manifest artifact OCIDs, the manifests should not include any job resource. KubernetesManifestDeployArtifactIds []string `mandatory:"false" json:"kubernetesManifestDeployArtifactIds"` }
func (m UpdateOkeBlueGreenDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateOkeBlueGreenDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateOkeBlueGreenDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateOkeBlueGreenDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateOkeBlueGreenDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateOkeBlueGreenDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOkeBlueGreenDeployStageDetails) String() string
func (m UpdateOkeBlueGreenDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateOkeBlueGreenTrafficShiftDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster blue-green deployment traffic shift stage.
type UpdateOkeBlueGreenTrafficShiftDeployStageDetails 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"` }
func (m UpdateOkeBlueGreenTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateOkeBlueGreenTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateOkeBlueGreenTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateOkeBlueGreenTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateOkeBlueGreenTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateOkeBlueGreenTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOkeBlueGreenTrafficShiftDeployStageDetails) String() string
func (m UpdateOkeBlueGreenTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateOkeCanaryApprovalDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment approval stage.
type UpdateOkeCanaryApprovalDeployStageDetails 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 UpdateOkeCanaryApprovalDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateOkeCanaryApprovalDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateOkeCanaryApprovalDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateOkeCanaryApprovalDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateOkeCanaryApprovalDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateOkeCanaryApprovalDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOkeCanaryApprovalDeployStageDetails) String() string
func (m *UpdateOkeCanaryApprovalDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateOkeCanaryApprovalDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateOkeCanaryDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster Canary deployment stage.
type UpdateOkeCanaryDeployStageDetails 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"` // List of Kubernetes manifest artifact OCIDs. KubernetesManifestDeployArtifactIds []string `mandatory:"false" json:"kubernetesManifestDeployArtifactIds"` }
func (m UpdateOkeCanaryDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateOkeCanaryDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateOkeCanaryDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateOkeCanaryDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateOkeCanaryDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateOkeCanaryDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOkeCanaryDeployStageDetails) String() string
func (m UpdateOkeCanaryDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateOkeCanaryTrafficShiftDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) cluster canary deployment traffic shift stage.
type UpdateOkeCanaryTrafficShiftDeployStageDetails 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"` RolloutPolicy *LoadBalancerTrafficShiftRolloutPolicy `mandatory:"false" json:"rolloutPolicy"` }
func (m UpdateOkeCanaryTrafficShiftDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateOkeCanaryTrafficShiftDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateOkeCanaryTrafficShiftDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateOkeCanaryTrafficShiftDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateOkeCanaryTrafficShiftDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateOkeCanaryTrafficShiftDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOkeCanaryTrafficShiftDeployStageDetails) String() string
func (m UpdateOkeCanaryTrafficShiftDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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"` NetworkChannel NetworkChannel `mandatory:"false" json:"networkChannel"` }
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
func (m *UpdateOkeClusterDeployEnvironmentDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateOkeClusterDeployEnvironmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateOkeDeployStageDetails Specifies the Container Engine for Kubernetes (OKE) 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. 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
func (m UpdateOkeDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateOkeHelmChartDeployStageDetails Specifies the Kubernetes cluster deployment stage.
type UpdateOkeHelmChartDeployStageDetails 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"` // Helm chart artifact OCID. HelmChartDeployArtifactId *string `mandatory:"false" json:"helmChartDeployArtifactId"` // List of values.yaml file artifact OCIDs. ValuesArtifactIds []string `mandatory:"false" json:"valuesArtifactIds"` // Name of the Helm chart release. ReleaseName *string `mandatory:"false" json:"releaseName"` // Uninstall the Helm chart release on deleting the stage. IsUninstallOnStageDelete *bool `mandatory:"false" json:"isUninstallOnStageDelete"` // List of Helm command artifact OCIDs. HelmCommandArtifactIds []string `mandatory:"false" json:"helmCommandArtifactIds"` // Default namespace to be used for Kubernetes deployment when not specified in the manifest. Namespace *string `mandatory:"false" json:"namespace"` // Time to wait for execution of a helm stage. Defaults to 300 seconds. TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"` RollbackPolicy DeployStageRollbackPolicy `mandatory:"false" json:"rollbackPolicy"` SetValues *HelmSetValueCollection `mandatory:"false" json:"setValues"` SetString *HelmSetValueCollection `mandatory:"false" json:"setString"` // Disable pre/post upgrade hooks. AreHooksEnabled *bool `mandatory:"false" json:"areHooksEnabled"` // During upgrade, reuse the values of the last release and merge overrides from the command line. Set to false by default. ShouldReuseValues *bool `mandatory:"false" json:"shouldReuseValues"` // During upgrade, reset the values to the ones built into the chart. It overrides shouldReuseValues. Set to false by default. ShouldResetValues *bool `mandatory:"false" json:"shouldResetValues"` // Force resource update through delete; or if required, recreate. Set to false by default. IsForceEnabled *bool `mandatory:"false" json:"isForceEnabled"` // Allow deletion of new resources created during when an upgrade fails. Set to false by default. ShouldCleanupOnFail *bool `mandatory:"false" json:"shouldCleanupOnFail"` // Limit the maximum number of revisions saved per release. Use 0 for no limit. Set to 10 by default MaxHistory *int `mandatory:"false" json:"maxHistory"` // If set, no CRDs are installed. By default, CRDs are installed only if they are not present already. Set to false by default. ShouldSkipCrds *bool `mandatory:"false" json:"shouldSkipCrds"` // If set, renders subchart notes along with the parent. Set to false by default. ShouldSkipRenderSubchartNotes *bool `mandatory:"false" json:"shouldSkipRenderSubchartNotes"` // Waits until all the resources are in a ready state to mark the release as successful. Set to false by default. ShouldNotWait *bool `mandatory:"false" json:"shouldNotWait"` // Enables helm --debug option to stream output to tf stdout. Set to false by default. IsDebugEnabled *bool `mandatory:"false" json:"isDebugEnabled"` // The purpose of running this Helm stage Purpose UpdateOkeHelmChartDeployStageDetailsPurposeEnum `mandatory:"false" json:"purpose,omitempty"` }
func (m UpdateOkeHelmChartDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateOkeHelmChartDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateOkeHelmChartDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateOkeHelmChartDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateOkeHelmChartDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateOkeHelmChartDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateOkeHelmChartDeployStageDetails) String() string
func (m *UpdateOkeHelmChartDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateOkeHelmChartDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateOkeHelmChartDeployStageDetailsPurposeEnum Enum with underlying type: string
type UpdateOkeHelmChartDeployStageDetailsPurposeEnum string
Set of constants representing the allowable values for UpdateOkeHelmChartDeployStageDetailsPurposeEnum
const ( UpdateOkeHelmChartDeployStageDetailsPurposeUpgrade UpdateOkeHelmChartDeployStageDetailsPurposeEnum = "EXECUTE_HELM_UPGRADE" UpdateOkeHelmChartDeployStageDetailsPurposeCommand UpdateOkeHelmChartDeployStageDetailsPurposeEnum = "EXECUTE_HELM_COMMAND" )
func GetMappingUpdateOkeHelmChartDeployStageDetailsPurposeEnum(val string) (UpdateOkeHelmChartDeployStageDetailsPurposeEnum, bool)
GetMappingUpdateOkeHelmChartDeployStageDetailsPurposeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateOkeHelmChartDeployStageDetailsPurposeEnumValues() []UpdateOkeHelmChartDeployStageDetailsPurposeEnum
GetUpdateOkeHelmChartDeployStageDetailsPurposeEnumValues Enumerates the set of values for UpdateOkeHelmChartDeployStageDetailsPurposeEnum
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
func (m UpdateProjectDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateProjectRequest wrapper for the UpdateProject operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.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
func (request UpdateProjectRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
UpdateRepositoryDetails The information to be updated.
type UpdateRepositoryDetails struct { // Name of the repository. Should be unique within the project. Name *string `mandatory:"false" json:"name"` // Details of the repository. Avoid entering confidential information. Description *string `mandatory:"false" json:"description"` // The default branch of the repository. DefaultBranch *string `mandatory:"false" json:"defaultBranch"` // Type of repository. Allowed values: // `MIRRORED` // `HOSTED` RepositoryType RepositoryRepositoryTypeEnum `mandatory:"false" json:"repositoryType,omitempty"` MirrorRepositoryConfig *MirrorRepositoryConfig `mandatory:"false" json:"mirrorRepositoryConfig"` // 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 UpdateRepositoryDetails) String() string
func (m UpdateRepositoryDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateRepositoryRequest wrapper for the UpdateRepository operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateRepository.go.html to see an example of how to use UpdateRepositoryRequest.
type UpdateRepositoryRequest struct { // Unique repository identifier. RepositoryId *string `mandatory:"true" contributesTo:"path" name:"repositoryId"` // The information to be updated. UpdateRepositoryDetails `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 UpdateRepositoryRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateRepositoryRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateRepositoryRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateRepositoryRequest) String() string
func (request UpdateRepositoryRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateRepositoryResponse wrapper for the UpdateRepository operation
type UpdateRepositoryResponse struct { // The underlying http response RawResponse *http.Response // The Repository instance Repository `presentIn:"body"` // 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"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateRepositoryResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateRepositoryResponse) String() string
UpdateShellDeployStageDetails Specifies the shell stage.
type UpdateShellDeployStageDetails 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"` ContainerConfig ContainerConfig `mandatory:"false" json:"containerConfig"` // The OCID of the artifact that contains the command specification. CommandSpecDeployArtifactId *string `mandatory:"false" json:"commandSpecDeployArtifactId"` // Time to wait for execution of a shell stage. Defaults to 36000 seconds. TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"` }
func (m UpdateShellDeployStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateShellDeployStageDetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection
GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m UpdateShellDeployStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateShellDeployStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateShellDeployStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateShellDeployStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateShellDeployStageDetails) String() string
func (m *UpdateShellDeployStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateShellDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m UpdateSingleDeployStageDeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateSingleDeployStageRedeploymentDetails Update details for a single stage redeployment.
type UpdateSingleDeployStageRedeploymentDetails 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 UpdateSingleDeployStageRedeploymentDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateSingleDeployStageRedeploymentDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateSingleDeployStageRedeploymentDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateSingleDeployStageRedeploymentDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateSingleDeployStageRedeploymentDetails) String() string
func (m UpdateSingleDeployStageRedeploymentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateTriggerDeploymentStageDetails Specifies the Trigger Deployment stage, which runs another pipeline of the application.
type UpdateTriggerDeploymentStageDetails struct { // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 target deployment pipeline OCID that will run in this stage. DeployPipelineId *string `mandatory:"false" json:"deployPipelineId"` // A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered. IsPassAllParametersEnabled *bool `mandatory:"false" json:"isPassAllParametersEnabled"` }
func (m UpdateTriggerDeploymentStageDetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m UpdateTriggerDeploymentStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateTriggerDeploymentStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateTriggerDeploymentStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateTriggerDeploymentStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateTriggerDeploymentStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateTriggerDeploymentStageDetails) String() string
func (m UpdateTriggerDeploymentStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateTriggerDetails The information to be updated.
type UpdateTriggerDetails interface { // Trigger display name. Avoid entering confidential information. GetDisplayName() *string // Optional description about the trigger. GetDescription() *string // The list of actions that are to be performed for this trigger. GetActions() []TriggerAction // 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{} }
UpdateTriggerRequest wrapper for the UpdateTrigger operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/UpdateTrigger.go.html to see an example of how to use UpdateTriggerRequest.
type UpdateTriggerRequest struct { // Unique trigger identifier. TriggerId *string `mandatory:"true" contributesTo:"path" name:"triggerId"` // The information to be updated. UpdateTriggerDetails `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 UpdateTriggerRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateTriggerRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateTriggerRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateTriggerRequest) String() string
func (request UpdateTriggerRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateTriggerResponse wrapper for the UpdateTrigger operation
type UpdateTriggerResponse struct { // The underlying http response RawResponse *http.Response // The Trigger instance Trigger `presentIn:"body"` // 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"` // Relative URL of the newly created resource. Location *string `presentIn:"header" name:"location"` }
func (response UpdateTriggerResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateTriggerResponse) String() string
UpdateVbsAccessTokenConnectionDetails The details for updating a connection of the type `VBS_ACCESS_TOKEN`. This type corresponds to a connection in Visual Builder Studio that is authenticated with a personal access token.
type UpdateVbsAccessTokenConnectionDetails struct { // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Optional connection 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"` // OCID of personal access token saved in secret store AccessToken *string `mandatory:"false" json:"accessToken"` // The Base URL of the hosted VBS server. BaseUrl *string `mandatory:"false" json:"baseUrl"` }
func (m UpdateVbsAccessTokenConnectionDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateVbsAccessTokenConnectionDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateVbsAccessTokenConnectionDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateVbsAccessTokenConnectionDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateVbsAccessTokenConnectionDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateVbsAccessTokenConnectionDetails) String() string
func (m UpdateVbsAccessTokenConnectionDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateVbsTriggerDetails Update trigger specific to VBS.
type UpdateVbsTriggerDetails struct { // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the trigger. Description *string `mandatory:"false" json:"description"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"false" json:"actions"` // 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 connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` }
func (m UpdateVbsTriggerDetails) GetActions() []TriggerAction
GetActions returns Actions
func (m UpdateVbsTriggerDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateVbsTriggerDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateVbsTriggerDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateVbsTriggerDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateVbsTriggerDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateVbsTriggerDetails) String() string
func (m *UpdateVbsTriggerDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateVbsTriggerDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateWaitCriteriaDetails Specifies wait criteria for the Wait stage.
type UpdateWaitCriteriaDetails interface { }
UpdateWaitCriteriaDetailsWaitTypeEnum Enum with underlying type: string
type UpdateWaitCriteriaDetailsWaitTypeEnum string
Set of constants representing the allowable values for UpdateWaitCriteriaDetailsWaitTypeEnum
const ( UpdateWaitCriteriaDetailsWaitTypeAbsoluteWait UpdateWaitCriteriaDetailsWaitTypeEnum = "ABSOLUTE_WAIT" )
func GetMappingUpdateWaitCriteriaDetailsWaitTypeEnum(val string) (UpdateWaitCriteriaDetailsWaitTypeEnum, bool)
GetMappingUpdateWaitCriteriaDetailsWaitTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUpdateWaitCriteriaDetailsWaitTypeEnumValues() []UpdateWaitCriteriaDetailsWaitTypeEnum
GetUpdateWaitCriteriaDetailsWaitTypeEnumValues Enumerates the set of values for UpdateWaitCriteriaDetailsWaitTypeEnum
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
func (m UpdateWaitDeployStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateWaitStageDetails Specifies the Wait stage. You can specify variable wait times or an absolute duration.
type UpdateWaitStageDetails struct { // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 UpdateWaitCriteriaDetails `mandatory:"false" json:"waitCriteria"` }
func (m UpdateWaitStageDetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m UpdateWaitStageDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m UpdateWaitStageDetails) GetDescription() *string
GetDescription returns Description
func (m UpdateWaitStageDetails) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m UpdateWaitStageDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m UpdateWaitStageDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UpdateWaitStageDetails) String() string
func (m *UpdateWaitStageDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m UpdateWaitStageDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateConnectionRequest wrapper for the ValidateConnection operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.65.0/devops/ValidateConnection.go.html to see an example of how to use ValidateConnectionRequest.
type ValidateConnectionRequest struct { // Unique connection identifier. ConnectionId *string `mandatory:"true" contributesTo:"path" name:"connectionId"` // 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"` // 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"` // 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 ValidateConnectionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ValidateConnectionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ValidateConnectionRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ValidateConnectionRequest) String() string
func (request ValidateConnectionRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ValidateConnectionResponse wrapper for the ValidateConnection operation
type ValidateConnectionResponse struct { // The underlying http response RawResponse *http.Response // The Connection instance Connection `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 optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response ValidateConnectionResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ValidateConnectionResponse) String() string
VaultSecretVerificationKeySource Specifies the Vault verification source details
type VaultSecretVerificationKeySource struct { // The OCID of the Vault Secret containing the verification key versions. VaultSecretId *string `mandatory:"true" json:"vaultSecretId"` }
func (m VaultSecretVerificationKeySource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VaultSecretVerificationKeySource) String() string
func (m VaultSecretVerificationKeySource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsAccessTokenConnection The properties that define a connection of the type `VBS_ACCESS_TOKEN`. This type corresponds to a connection in Visual Builder Studio that is authenticated with a Personal Access Token.
type VbsAccessTokenConnection struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // The Base URL of the hosted Visual Builder Studio server. BaseUrl *string `mandatory:"true" json:"baseUrl"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m VbsAccessTokenConnection) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VbsAccessTokenConnection) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VbsAccessTokenConnection) GetDescription() *string
GetDescription returns Description
func (m VbsAccessTokenConnection) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VbsAccessTokenConnection) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VbsAccessTokenConnection) GetId() *string
GetId returns Id
func (m VbsAccessTokenConnection) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m VbsAccessTokenConnection) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m VbsAccessTokenConnection) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VbsAccessTokenConnection) GetProjectId() *string
GetProjectId returns ProjectId
func (m VbsAccessTokenConnection) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VbsAccessTokenConnection) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VbsAccessTokenConnection) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m VbsAccessTokenConnection) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VbsAccessTokenConnection) String() string
func (m VbsAccessTokenConnection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsAccessTokenConnectionSummary Summary information for a connection of the type `VBS_ACCESS_TOKEN`. This type corresponds to a connection in Visual Builder Studio that is authenticated with a personal access token.
type VbsAccessTokenConnectionSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the compartment containing the connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of personal access token saved in secret store. AccessToken *string `mandatory:"true" json:"accessToken"` // The Base URL of the hosted VBS server. BaseUrl *string `mandatory:"true" json:"baseUrl"` // Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the connection. Description *string `mandatory:"false" json:"description"` // The time the connection was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the connection was updated. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` LastConnectionValidationResult *ConnectionValidationResult `mandatory:"false" json:"lastConnectionValidationResult"` // 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"` // The current state of the connection. LifecycleState ConnectionLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m VbsAccessTokenConnectionSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VbsAccessTokenConnectionSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VbsAccessTokenConnectionSummary) GetDescription() *string
GetDescription returns Description
func (m VbsAccessTokenConnectionSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VbsAccessTokenConnectionSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VbsAccessTokenConnectionSummary) GetId() *string
GetId returns Id
func (m VbsAccessTokenConnectionSummary) GetLastConnectionValidationResult() *ConnectionValidationResult
GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m VbsAccessTokenConnectionSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m VbsAccessTokenConnectionSummary) GetLifecycleState() ConnectionLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VbsAccessTokenConnectionSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m VbsAccessTokenConnectionSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VbsAccessTokenConnectionSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VbsAccessTokenConnectionSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m VbsAccessTokenConnectionSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VbsAccessTokenConnectionSummary) String() string
func (m VbsAccessTokenConnectionSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsBuildRunSource Specifies details of build run through VBS Server.
type VbsBuildRunSource struct { // The trigger that invoked the build run. TriggerId *string `mandatory:"true" json:"triggerId"` TriggerInfo *TriggerInfo `mandatory:"true" json:"triggerInfo"` }
func (m VbsBuildRunSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VbsBuildRunSource) String() string
func (m VbsBuildRunSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsBuildSource VBS Server Build Source for Build Stage
type VbsBuildSource struct { // Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. Name *string `mandatory:"true" json:"name"` // URL for the repository. RepositoryUrl *string `mandatory:"true" json:"repositoryUrl"` // Branch name. Branch *string `mandatory:"true" json:"branch"` // Connection identifier pertinent to VBS Server source provider ConnectionId *string `mandatory:"true" json:"connectionId"` }
func (m VbsBuildSource) GetBranch() *string
GetBranch returns Branch
func (m VbsBuildSource) GetName() *string
GetName returns Name
func (m VbsBuildSource) GetRepositoryUrl() *string
GetRepositoryUrl returns RepositoryUrl
func (m VbsBuildSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VbsBuildSource) String() string
func (m VbsBuildSource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsFilter The filter for VBS events.
type VbsFilter struct { Include *VbsFilterAttributes `mandatory:"false" json:"include"` Exclude *VbsFilterExclusionAttributes `mandatory:"false" json:"exclude"` // The events, for example, PUSH, PULL_REQUEST_MERGE. Events []VbsFilterEventsEnum `mandatory:"false" json:"events,omitempty"` }
func (m VbsFilter) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VbsFilter) String() string
func (m VbsFilter) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsFilterAttributes Attributes to filter VBS events.
type VbsFilterAttributes struct { // Branch for push event; source branch for pull requests. HeadRef *string `mandatory:"false" json:"headRef"` // The target branch for pull requests; not applicable for push requests. BaseRef *string `mandatory:"false" json:"baseRef"` // The repository name for trigger events. RepositoryName *string `mandatory:"false" json:"repositoryName"` FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m VbsFilterAttributes) String() string
func (m VbsFilterAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsFilterEventsEnum Enum with underlying type: string
type VbsFilterEventsEnum string
Set of constants representing the allowable values for VbsFilterEventsEnum
const ( VbsFilterEventsPush VbsFilterEventsEnum = "PUSH" VbsFilterEventsMergeRequestCreated VbsFilterEventsEnum = "MERGE_REQUEST_CREATED" VbsFilterEventsMergeRequestUpdated VbsFilterEventsEnum = "MERGE_REQUEST_UPDATED" VbsFilterEventsMergeRequestMerged VbsFilterEventsEnum = "MERGE_REQUEST_MERGED" )
func GetMappingVbsFilterEventsEnum(val string) (VbsFilterEventsEnum, bool)
GetMappingVbsFilterEventsEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVbsFilterEventsEnumValues() []VbsFilterEventsEnum
GetVbsFilterEventsEnumValues Enumerates the set of values for VbsFilterEventsEnum
VbsFilterExclusionAttributes Attributes to filter VBS events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
type VbsFilterExclusionAttributes struct { FileFilter *FileFilter `mandatory:"false" json:"fileFilter"` }
func (m VbsFilterExclusionAttributes) String() string
func (m VbsFilterExclusionAttributes) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsTrigger Trigger specific to VBS
type VbsTrigger struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m VbsTrigger) GetActions() []TriggerAction
GetActions returns Actions
func (m VbsTrigger) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VbsTrigger) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VbsTrigger) GetDescription() *string
GetDescription returns Description
func (m VbsTrigger) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VbsTrigger) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VbsTrigger) GetId() *string
GetId returns Id
func (m VbsTrigger) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m VbsTrigger) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VbsTrigger) GetProjectId() *string
GetProjectId returns ProjectId
func (m VbsTrigger) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VbsTrigger) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VbsTrigger) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m VbsTrigger) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VbsTrigger) String() string
func (m *VbsTrigger) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m VbsTrigger) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsTriggerCreateResult Trigger create response specific to VBS.
type VbsTriggerCreateResult struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of actions that are to be performed for this trigger. Actions []TriggerAction `mandatory:"true" json:"actions"` // The secret used to validate the incoming trigger call. This is visible only after the resource is created. Secret *string `mandatory:"true" json:"secret"` // The endpoint that listens to trigger events. TriggerUrl *string `mandatory:"true" json:"triggerUrl"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m VbsTriggerCreateResult) GetActions() []TriggerAction
GetActions returns Actions
func (m VbsTriggerCreateResult) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VbsTriggerCreateResult) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VbsTriggerCreateResult) GetDescription() *string
GetDescription returns Description
func (m VbsTriggerCreateResult) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VbsTriggerCreateResult) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VbsTriggerCreateResult) GetId() *string
GetId returns Id
func (m VbsTriggerCreateResult) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m VbsTriggerCreateResult) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VbsTriggerCreateResult) GetProjectId() *string
GetProjectId returns ProjectId
func (m VbsTriggerCreateResult) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VbsTriggerCreateResult) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VbsTriggerCreateResult) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m VbsTriggerCreateResult) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VbsTriggerCreateResult) String() string
func (m *VbsTriggerCreateResult) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m VbsTriggerCreateResult) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VbsTriggerSummary Summary of the VBS trigger.
type VbsTriggerSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project to which the trigger belongs to. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the compartment that contains the trigger. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Trigger display name. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Description about the trigger. Description *string `mandatory:"false" json:"description"` // The time the trigger was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the trigger 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 OCID of the connection resource used to get details for triggered events. ConnectionId *string `mandatory:"false" json:"connectionId"` // The current state of the trigger. LifecycleState TriggerLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m VbsTriggerSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m VbsTriggerSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m VbsTriggerSummary) GetDescription() *string
GetDescription returns Description
func (m VbsTriggerSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m VbsTriggerSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m VbsTriggerSummary) GetId() *string
GetId returns Id
func (m VbsTriggerSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m VbsTriggerSummary) GetLifecycleState() TriggerLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m VbsTriggerSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m VbsTriggerSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m VbsTriggerSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m VbsTriggerSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m VbsTriggerSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VbsTriggerSummary) String() string
func (m VbsTriggerSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VerificationKeySource The source of the verification material.
type VerificationKeySource interface { }
VerificationKeySourceVerificationKeySourceTypeEnum Enum with underlying type: string
type VerificationKeySourceVerificationKeySourceTypeEnum string
Set of constants representing the allowable values for VerificationKeySourceVerificationKeySourceTypeEnum
const ( VerificationKeySourceVerificationKeySourceTypeVaultSecret VerificationKeySourceVerificationKeySourceTypeEnum = "VAULT_SECRET" VerificationKeySourceVerificationKeySourceTypeInlinePublicKey VerificationKeySourceVerificationKeySourceTypeEnum = "INLINE_PUBLIC_KEY" VerificationKeySourceVerificationKeySourceTypeNone VerificationKeySourceVerificationKeySourceTypeEnum = "NONE" )
func GetMappingVerificationKeySourceVerificationKeySourceTypeEnum(val string) (VerificationKeySourceVerificationKeySourceTypeEnum, bool)
GetMappingVerificationKeySourceVerificationKeySourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetVerificationKeySourceVerificationKeySourceTypeEnumValues() []VerificationKeySourceVerificationKeySourceTypeEnum
GetVerificationKeySourceVerificationKeySourceTypeEnumValues Enumerates the set of values for VerificationKeySourceVerificationKeySourceTypeEnum
VulnerabilityAuditSummary Summary of vulnerability audit.
type VulnerabilityAuditSummary struct { // The OCID of the vulnerability audit. VulnerabilityAuditId *string `mandatory:"true" json:"vulnerabilityAuditId"` // Build stage OCID where scan was configured. BuildStageId *string `mandatory:"true" json:"buildStageId"` // Commit hash used while retrieving the pom file for vulnerabilityAudit. CommitHash *string `mandatory:"false" json:"commitHash"` }
func (m VulnerabilityAuditSummary) String() string
func (m VulnerabilityAuditSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
VulnerabilityAuditSummaryCollection List of vulnerability audit summary.
type VulnerabilityAuditSummaryCollection struct { // List of vulnerability audit summary. Items []VulnerabilityAuditSummary `mandatory:"true" json:"items"` }
func (m VulnerabilityAuditSummaryCollection) String() string
func (m VulnerabilityAuditSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 GetMappingWaitCriteriaSummaryWaitTypeEnum(val string) (WaitCriteriaSummaryWaitTypeEnum, bool)
GetMappingWaitCriteriaSummaryWaitTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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 GetMappingWaitCriteriaWaitTypeEnum(val string) (WaitCriteriaWaitTypeEnum, bool)
GetMappingWaitCriteriaWaitTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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
func (m WaitDeployStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WaitDeployStageExecutionProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WaitDeployStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WaitStage Specifies the Wait stage. You can specify variable wait times or an absolute duration.
type WaitStage struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` // The OCID of the compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` WaitCriteria WaitCriteria `mandatory:"true" json:"waitCriteria"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the 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"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 stage. LifecycleState BuildPipelineStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m WaitStage) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m WaitStage) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m WaitStage) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m WaitStage) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m WaitStage) GetDescription() *string
GetDescription returns Description
func (m WaitStage) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m WaitStage) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m WaitStage) GetId() *string
GetId returns Id
func (m WaitStage) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m WaitStage) GetLifecycleState() BuildPipelineStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m WaitStage) GetProjectId() *string
GetProjectId returns ProjectId
func (m WaitStage) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m WaitStage) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m WaitStage) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m WaitStage) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m WaitStage) String() string
func (m *WaitStage) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m WaitStage) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WaitStageRunProgress Specifies Wait stage specific run details.
type WaitStageRunProgress struct { // Build Run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. StageDisplayName *string `mandatory:"false" json:"stageDisplayName"` // The stage OCID. BuildPipelineStageId *string `mandatory:"false" json:"buildPipelineStageId"` // The time the stage started executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The time the stage finished executing. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` BuildPipelineStagePredecessors *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessors"` // The current status of the stage. Status BuildPipelineStageRunProgressStatusEnum `mandatory:"false" json:"status,omitempty"` }
func (m WaitStageRunProgress) GetBuildPipelineStageId() *string
GetBuildPipelineStageId returns BuildPipelineStageId
func (m WaitStageRunProgress) GetBuildPipelineStagePredecessors() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessors returns BuildPipelineStagePredecessors
func (m WaitStageRunProgress) GetStageDisplayName() *string
GetStageDisplayName returns StageDisplayName
func (m WaitStageRunProgress) GetStatus() BuildPipelineStageRunProgressStatusEnum
GetStatus returns Status
func (m WaitStageRunProgress) GetTimeFinished() *common.SDKTime
GetTimeFinished returns TimeFinished
func (m WaitStageRunProgress) GetTimeStarted() *common.SDKTime
GetTimeStarted returns TimeStarted
func (m WaitStageRunProgress) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m WaitStageRunProgress) String() string
func (m WaitStageRunProgress) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WaitStageSummary Specifies the Wait stage. You can specify variable wait times or an absolute duration.
type WaitStageSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // The OCID of the DevOps project. ProjectId *string `mandatory:"true" json:"projectId"` // The OCID of the build pipeline. BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"` // The OCID of the compartment where the pipeline is created. CompartmentId *string `mandatory:"true" json:"compartmentId"` WaitCriteria WaitCriteria `mandatory:"true" json:"waitCriteria"` // Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` // The time the stage was created. Format defined by RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the 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"` // Optional description about the build stage. Description *string `mandatory:"false" json:"description"` BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"false" json:"buildPipelineStagePredecessorCollection"` // 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 stage. LifecycleState BuildPipelineStageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` }
func (m WaitStageSummary) GetBuildPipelineId() *string
GetBuildPipelineId returns BuildPipelineId
func (m WaitStageSummary) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection
GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m WaitStageSummary) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m WaitStageSummary) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m WaitStageSummary) GetDescription() *string
GetDescription returns Description
func (m WaitStageSummary) GetDisplayName() *string
GetDisplayName returns DisplayName
func (m WaitStageSummary) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m WaitStageSummary) GetId() *string
GetId returns Id
func (m WaitStageSummary) GetLifecycleDetails() *string
GetLifecycleDetails returns LifecycleDetails
func (m WaitStageSummary) GetLifecycleState() BuildPipelineStageLifecycleStateEnum
GetLifecycleState returns LifecycleState
func (m WaitStageSummary) GetProjectId() *string
GetProjectId returns ProjectId
func (m WaitStageSummary) GetSystemTags() map[string]map[string]interface{}
GetSystemTags returns SystemTags
func (m WaitStageSummary) GetTimeCreated() *common.SDKTime
GetTimeCreated returns TimeCreated
func (m WaitStageSummary) GetTimeUpdated() *common.SDKTime
GetTimeUpdated returns TimeUpdated
func (m WaitStageSummary) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m WaitStageSummary) String() string
func (m *WaitStageSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m WaitStageSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly