clouddeploy

package
v33.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2021 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type ActionTypeEnum ¶

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

const (
	ActionTypeCreated    ActionTypeEnum = "CREATED"
	ActionTypeUpdated    ActionTypeEnum = "UPDATED"
	ActionTypeDeleted    ActionTypeEnum = "DELETED"
	ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
	ActionTypeRelated    ActionTypeEnum = "RELATED"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues ¶

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

type Application ¶

type Application struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Application Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Application was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Application was updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Application.
	LifecycleState ApplicationLifecycleStateEnum `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.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Application Application consists of Environment, Artifacts, Pipelines and Deployments for a group of related services.

func (Application) String ¶

func (m Application) String() string

type ApplicationClient ¶

type ApplicationClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

ApplicationClient a client for Application

func NewApplicationClientWithConfigurationProvider ¶

func NewApplicationClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApplicationClient, err error)

NewApplicationClientWithConfigurationProvider Creates a new default Application client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewApplicationClientWithOboToken ¶

func NewApplicationClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApplicationClient, err error)

NewApplicationClientWithOboToken Creates a new default Application 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 (ApplicationClient) ChangeApplicationCompartment ¶

func (client ApplicationClient) ChangeApplicationCompartment(ctx context.Context, request ChangeApplicationCompartmentRequest) (response ChangeApplicationCompartmentResponse, err error)

ChangeApplicationCompartment Moves a Application resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.

func (*ApplicationClient) ConfigurationProvider ¶

func (client *ApplicationClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ApplicationClient) CreateApplication ¶

func (client ApplicationClient) CreateApplication(ctx context.Context, request CreateApplicationRequest) (response CreateApplicationResponse, err error)

CreateApplication Creates a new Application.

func (ApplicationClient) DeleteApplication ¶

func (client ApplicationClient) DeleteApplication(ctx context.Context, request DeleteApplicationRequest) (response DeleteApplicationResponse, err error)

DeleteApplication Deletes a Application resource by identifier

func (ApplicationClient) GetApplication ¶

func (client ApplicationClient) GetApplication(ctx context.Context, request GetApplicationRequest) (response GetApplicationResponse, err error)

GetApplication Gets a Application by identifier

func (ApplicationClient) ListApplications ¶

func (client ApplicationClient) ListApplications(ctx context.Context, request ListApplicationsRequest) (response ListApplicationsResponse, err error)

ListApplications Returns a list of Applications.

func (*ApplicationClient) SetRegion ¶

func (client *ApplicationClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ApplicationClient) UpdateApplication ¶

func (client ApplicationClient) UpdateApplication(ctx context.Context, request UpdateApplicationRequest) (response UpdateApplicationResponse, err error)

UpdateApplication Updates the Application

type ApplicationCollection ¶

type ApplicationCollection struct {

	// Array of ApplicationSummary items.
	Items []ApplicationSummary `mandatory:"true" json:"items"`
}

ApplicationCollection Results of an application search.

func (ApplicationCollection) String ¶

func (m ApplicationCollection) String() string

type ApplicationLifecycleStateEnum ¶

type ApplicationLifecycleStateEnum string

ApplicationLifecycleStateEnum Enum with underlying type: string

const (
	ApplicationLifecycleStateCreating ApplicationLifecycleStateEnum = "CREATING"
	ApplicationLifecycleStateUpdating ApplicationLifecycleStateEnum = "UPDATING"
	ApplicationLifecycleStateActive   ApplicationLifecycleStateEnum = "ACTIVE"
	ApplicationLifecycleStateDeleting ApplicationLifecycleStateEnum = "DELETING"
	ApplicationLifecycleStateDeleted  ApplicationLifecycleStateEnum = "DELETED"
	ApplicationLifecycleStateFailed   ApplicationLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ApplicationLifecycleStateEnum

func GetApplicationLifecycleStateEnumValues ¶

func GetApplicationLifecycleStateEnumValues() []ApplicationLifecycleStateEnum

GetApplicationLifecycleStateEnumValues Enumerates the set of values for ApplicationLifecycleStateEnum

type ApplicationSummary ¶

type ApplicationSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Application Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Application was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Application was updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Deployment.
	LifecycleState ApplicationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ApplicationSummary Summary of the Application.

func (ApplicationSummary) String ¶

func (m ApplicationSummary) String() string

type ApproveDeploymentDetails ¶

type ApproveDeploymentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the stage which is marked for approval.
	StageId *string `mandatory:"true" json:"stageId"`
}

ApproveDeploymentDetails The information of stage for submitting aprove.

func (ApproveDeploymentDetails) String ¶

func (m ApproveDeploymentDetails) String() string

type 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"`

	// The client request ID for tracing.
	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 before then 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
}

ApproveDeploymentRequest wrapper for the ApproveDeployment operation

func (ApproveDeploymentRequest) HTTPRequest ¶

func (request ApproveDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ApproveDeploymentRequest) RetryPolicy ¶

func (request ApproveDeploymentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ApproveDeploymentRequest) String ¶

func (request ApproveDeploymentRequest) String() string

type ApproveDeploymentResponse ¶

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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ApproveDeploymentResponse wrapper for the ApproveDeployment operation

func (ApproveDeploymentResponse) HTTPResponse ¶

func (response ApproveDeploymentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ApproveDeploymentResponse) String ¶

func (response ApproveDeploymentResponse) String() string

type Artifact ¶

type Artifact struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of the Artifact
	ArtifactType *string `mandatory:"true" json:"artifactType"`

	ArtifactSource ArtifactSource `mandatory:"true" json:"artifactSource"`

	// Artifact Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	ArtifactParameters *ArtifactParameterCollection `mandatory:"false" json:"artifactParameters"`

	// The time the the Artifact was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Artifact was updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Artifact.
	LifecycleState ArtifactLifecycleStateEnum `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"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Artifact Description of Artifact.

func (Artifact) String ¶

func (m Artifact) String() string

func (*Artifact) UnmarshalJSON ¶

func (m *Artifact) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type ArtifactClient ¶

type ArtifactClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

ArtifactClient a client for Artifact

func NewArtifactClientWithConfigurationProvider ¶

func NewArtifactClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ArtifactClient, err error)

NewArtifactClientWithConfigurationProvider Creates a new default Artifact client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewArtifactClientWithOboToken ¶

func NewArtifactClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ArtifactClient, err error)

NewArtifactClientWithOboToken Creates a new default Artifact 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 (*ArtifactClient) ConfigurationProvider ¶

func (client *ArtifactClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ArtifactClient) CreateArtifact ¶

func (client ArtifactClient) CreateArtifact(ctx context.Context, request CreateArtifactRequest) (response CreateArtifactResponse, err error)

CreateArtifact Creates a new Artifact.

func (ArtifactClient) DeleteArtifact ¶

func (client ArtifactClient) DeleteArtifact(ctx context.Context, request DeleteArtifactRequest) (response DeleteArtifactResponse, err error)

DeleteArtifact Deletes a Artifact resource by identifier

func (ArtifactClient) GetArtifact ¶

func (client ArtifactClient) GetArtifact(ctx context.Context, request GetArtifactRequest) (response GetArtifactResponse, err error)

GetArtifact Gets a Artifact by identifier

func (ArtifactClient) ListArtifacts ¶

func (client ArtifactClient) ListArtifacts(ctx context.Context, request ListArtifactsRequest) (response ListArtifactsResponse, err error)

ListArtifacts Returns a list of Artifacts.

func (*ArtifactClient) SetRegion ¶

func (client *ArtifactClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ArtifactClient) UpdateArtifact ¶

func (client ArtifactClient) UpdateArtifact(ctx context.Context, request UpdateArtifactRequest) (response UpdateArtifactResponse, err error)

UpdateArtifact Updates the Artifact

type ArtifactCollection ¶

type ArtifactCollection struct {

	// ArtifactSummary items found for the search.
	Items []ArtifactSummary `mandatory:"true" json:"items"`
}

ArtifactCollection Results of an Artifact search.

func (ArtifactCollection) String ¶

func (m ArtifactCollection) String() string

type ArtifactLifecycleStateEnum ¶

type ArtifactLifecycleStateEnum string

ArtifactLifecycleStateEnum Enum with underlying type: string

const (
	ArtifactLifecycleStateCreating ArtifactLifecycleStateEnum = "CREATING"
	ArtifactLifecycleStateUpdating ArtifactLifecycleStateEnum = "UPDATING"
	ArtifactLifecycleStateActive   ArtifactLifecycleStateEnum = "ACTIVE"
	ArtifactLifecycleStateDeleting ArtifactLifecycleStateEnum = "DELETING"
	ArtifactLifecycleStateDeleted  ArtifactLifecycleStateEnum = "DELETED"
	ArtifactLifecycleStateFailed   ArtifactLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ArtifactLifecycleStateEnum

func GetArtifactLifecycleStateEnumValues ¶

func GetArtifactLifecycleStateEnumValues() []ArtifactLifecycleStateEnum

GetArtifactLifecycleStateEnumValues Enumerates the set of values for ArtifactLifecycleStateEnum

type ArtifactParameter ¶

type ArtifactParameter struct {

	// Name of the parameter
	Name *string `mandatory:"true" json:"name"`
}

ArtifactParameter Specifies parameter present in Artifact

func (ArtifactParameter) String ¶

func (m ArtifactParameter) String() string

type ArtifactParameterCollection ¶

type ArtifactParameterCollection struct {

	// Specifies parameters present in Artifact
	Items []ArtifactParameter `mandatory:"true" json:"items"`
}

ArtifactParameterCollection Specifies list of parameters present in Artifact

func (ArtifactParameterCollection) String ¶

type ArtifactSource ¶

type ArtifactSource interface {
}

ArtifactSource Specifies source of an artifact

type ArtifactSourceArtifactSourceTypeEnum ¶

type ArtifactSourceArtifactSourceTypeEnum string

ArtifactSourceArtifactSourceTypeEnum Enum with underlying type: string

const (
	ArtifactSourceArtifactSourceTypeObjectStorage ArtifactSourceArtifactSourceTypeEnum = "OBJECT_STORAGE"
	ArtifactSourceArtifactSourceTypeInline        ArtifactSourceArtifactSourceTypeEnum = "INLINE"
	ArtifactSourceArtifactSourceTypeOcir          ArtifactSourceArtifactSourceTypeEnum = "OCIR"
)

Set of constants representing the allowable values for ArtifactSourceArtifactSourceTypeEnum

func GetArtifactSourceArtifactSourceTypeEnumValues ¶

func GetArtifactSourceArtifactSourceTypeEnumValues() []ArtifactSourceArtifactSourceTypeEnum

GetArtifactSourceArtifactSourceTypeEnumValues Enumerates the set of values for ArtifactSourceArtifactSourceTypeEnum

type ArtifactSummary ¶

type ArtifactSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Type of the Artifact
	ArtifactType *string `mandatory:"true" json:"artifactType"`

	ArtifactSource ArtifactSource `mandatory:"true" json:"artifactSource"`

	// Artifact Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	ArtifactParameters *ArtifactParameterCollection `mandatory:"false" json:"artifactParameters"`

	// The time the the Artifact was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Artifact was updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Artifact.
	LifecycleState ArtifactLifecycleStateEnum `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.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ArtifactSummary Summary of the Artifact.

func (ArtifactSummary) String ¶

func (m ArtifactSummary) String() string

func (*ArtifactSummary) UnmarshalJSON ¶

func (m *ArtifactSummary) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type BackendSetIpCollection ¶

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"`
}

BackendSetIpCollection Collection of Backend environment IP address.

func (BackendSetIpCollection) String ¶

func (m BackendSetIpCollection) String() string

type ChangeApplicationCompartmentDetails ¶

type ChangeApplicationCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeApplicationCompartmentDetails The OCID of the compartment into which the application should be moved.

func (ChangeApplicationCompartmentDetails) String ¶

type ChangeApplicationCompartmentRequest ¶

type ChangeApplicationCompartmentRequest struct {

	// unique Application identifier
	ApplicationId *string `mandatory:"true" contributesTo:"path" name:"applicationId"`

	// The information to be updated.
	ChangeApplicationCompartmentDetails `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"`

	// The client request ID for tracing.
	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 before then 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
}

ChangeApplicationCompartmentRequest wrapper for the ChangeApplicationCompartment operation

func (ChangeApplicationCompartmentRequest) HTTPRequest ¶

func (request ChangeApplicationCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeApplicationCompartmentRequest) RetryPolicy ¶

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeApplicationCompartmentRequest) String ¶

type ChangeApplicationCompartmentResponse ¶

type ChangeApplicationCompartmentResponse 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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeApplicationCompartmentResponse wrapper for the ChangeApplicationCompartment operation

func (ChangeApplicationCompartmentResponse) HTTPResponse ¶

func (response ChangeApplicationCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeApplicationCompartmentResponse) String ¶

func (response ChangeApplicationCompartmentResponse) String() string

type ComputeInstanceGroupByIdsSelector ¶

type ComputeInstanceGroupByIdsSelector struct {

	// Compute instance OCID identifiers that are members of this group.
	ComputeInstanceIds []string `mandatory:"true" json:"computeInstanceIds"`
}

ComputeInstanceGroupByIdsSelector Specifies the Compute Instance Group environment by listing the OCIDs of the compute instances

func (ComputeInstanceGroupByIdsSelector) MarshalJSON ¶

func (m ComputeInstanceGroupByIdsSelector) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ComputeInstanceGroupByIdsSelector) String ¶

type ComputeInstanceGroupEnvironment ¶

type ComputeInstanceGroupEnvironment struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	ComputeInstanceGroupSelectors *ComputeInstanceGroupSelectorCollection `mandatory:"true" json:"computeInstanceGroupSelectors"`

	// Environment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Environment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Environment was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Environment.
	LifecycleState EnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ComputeInstanceGroupEnvironment Specifies the Compute Instance Group environment. The instances in the group will be a UNION of the results of each selectors in instanceGroupSelectors.

func (ComputeInstanceGroupEnvironment) GetApplicationId ¶

func (m ComputeInstanceGroupEnvironment) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (ComputeInstanceGroupEnvironment) GetCompartmentId ¶

func (m ComputeInstanceGroupEnvironment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ComputeInstanceGroupEnvironment) GetDefinedTags ¶

func (m ComputeInstanceGroupEnvironment) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ComputeInstanceGroupEnvironment) GetDisplayName ¶

func (m ComputeInstanceGroupEnvironment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (ComputeInstanceGroupEnvironment) GetFreeformTags ¶

func (m ComputeInstanceGroupEnvironment) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (ComputeInstanceGroupEnvironment) GetId ¶

GetId returns Id

func (ComputeInstanceGroupEnvironment) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (ComputeInstanceGroupEnvironment) GetLifecyleDetails ¶

func (m ComputeInstanceGroupEnvironment) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (ComputeInstanceGroupEnvironment) GetSystemTags ¶

func (m ComputeInstanceGroupEnvironment) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (ComputeInstanceGroupEnvironment) GetTimeCreated ¶

func (m ComputeInstanceGroupEnvironment) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ComputeInstanceGroupEnvironment) GetTimeUpdated ¶

func (m ComputeInstanceGroupEnvironment) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ComputeInstanceGroupEnvironment) MarshalJSON ¶

func (m ComputeInstanceGroupEnvironment) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ComputeInstanceGroupEnvironment) String ¶

type ComputeInstanceGroupEnvironmentSummary ¶

type ComputeInstanceGroupEnvironmentSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	ComputeInstanceGroupSelectors *ComputeInstanceGroupSelectorCollection `mandatory:"true" json:"computeInstanceGroupSelectors"`

	// Environment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Environment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Environment was updated. An RFC3339 formatted datetime string
	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.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Environment.
	LifecycleState EnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ComputeInstanceGroupEnvironmentSummary Specifies the Compute Instance Group environment.

func (ComputeInstanceGroupEnvironmentSummary) GetApplicationId ¶

func (m ComputeInstanceGroupEnvironmentSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (ComputeInstanceGroupEnvironmentSummary) GetCompartmentId ¶

func (m ComputeInstanceGroupEnvironmentSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ComputeInstanceGroupEnvironmentSummary) GetDefinedTags ¶

func (m ComputeInstanceGroupEnvironmentSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ComputeInstanceGroupEnvironmentSummary) GetDisplayName ¶

func (m ComputeInstanceGroupEnvironmentSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (ComputeInstanceGroupEnvironmentSummary) GetFreeformTags ¶

func (m ComputeInstanceGroupEnvironmentSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (ComputeInstanceGroupEnvironmentSummary) GetId ¶

GetId returns Id

func (ComputeInstanceGroupEnvironmentSummary) GetLifecycleDetails ¶

func (m ComputeInstanceGroupEnvironmentSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (ComputeInstanceGroupEnvironmentSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (ComputeInstanceGroupEnvironmentSummary) GetSystemTags ¶

func (m ComputeInstanceGroupEnvironmentSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (ComputeInstanceGroupEnvironmentSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (ComputeInstanceGroupEnvironmentSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (ComputeInstanceGroupEnvironmentSummary) MarshalJSON ¶

func (m ComputeInstanceGroupEnvironmentSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ComputeInstanceGroupEnvironmentSummary) String ¶

type ComputeInstanceGroupLinearRollOutStrategy ¶

type ComputeInstanceGroupLinearRollOutStrategy struct {

	// Whether the step size is specified by abosulte number or by percetage.
	BatchType ComputeInstanceGroupLinearRollOutStrategyBatchTypeEnum `mandatory:"true" json:"batchType"`

	// The number or percentage that will be used to determine how many instances will be deployed to concurrently.
	BatchLimit *int `mandatory:"true" json:"batchLimit"`
}

ComputeInstanceGroupLinearRollOutStrategy Specifies a linear rollout strategy for Compute Instance group rolling deployment stage.

func (ComputeInstanceGroupLinearRollOutStrategy) String ¶

type ComputeInstanceGroupLinearRollOutStrategyBatchTypeEnum ¶

type ComputeInstanceGroupLinearRollOutStrategyBatchTypeEnum string

ComputeInstanceGroupLinearRollOutStrategyBatchTypeEnum Enum with underlying type: string

const (
	ComputeInstanceGroupLinearRollOutStrategyBatchTypeNumber     ComputeInstanceGroupLinearRollOutStrategyBatchTypeEnum = "NUMBER"
	ComputeInstanceGroupLinearRollOutStrategyBatchTypePercentage ComputeInstanceGroupLinearRollOutStrategyBatchTypeEnum = "PERCENTAGE"
)

Set of constants representing the allowable values for ComputeInstanceGroupLinearRollOutStrategyBatchTypeEnum

func GetComputeInstanceGroupLinearRollOutStrategyBatchTypeEnumValues ¶

func GetComputeInstanceGroupLinearRollOutStrategyBatchTypeEnumValues() []ComputeInstanceGroupLinearRollOutStrategyBatchTypeEnum

GetComputeInstanceGroupLinearRollOutStrategyBatchTypeEnumValues Enumerates the set of values for ComputeInstanceGroupLinearRollOutStrategyBatchTypeEnum

type ComputeInstanceGroupRollingDeploymentRollOutPolicy ¶

type ComputeInstanceGroupRollingDeploymentRollOutPolicy struct {

	// Indicates maximum number of instances deploying at a time.
	MaxConcurrentInstances *int `mandatory:"true" json:"maxConcurrentInstances"`

	RollOutStrategy *ComputeInstanceGroupLinearRollOutStrategy `mandatory:"true" json:"rollOutStrategy"`

	// The number of seconds in delay between batch rollout. The default delay is 1 minute.
	BatchDelayInSeconds *int `mandatory:"false" json:"batchDelayInSeconds"`
}

ComputeInstanceGroupRollingDeploymentRollOutPolicy Specifies rollout policy for Compute Instance group rolling deployment stage.

func (ComputeInstanceGroupRollingDeploymentRollOutPolicy) String ¶

type ComputeInstanceGroupRollingDeploymentStage ¶

type ComputeInstanceGroupRollingDeploymentStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// An compute instance group environment ocid for rolling deployment.
	ComputeInstanceGroupEnvironmentId *string `mandatory:"true" json:"computeInstanceGroupEnvironmentId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"true" json:"primaryArtifactId"`

	RolloutPolicy *ComputeInstanceGroupRollingDeploymentRollOutPolicy `mandatory:"true" json:"rolloutPolicy"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The path to the deployment specification file in the primary artifact for this stage's Environment. The default location if not specified is deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`

	// Additional file artifact ocids.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// An optional Load balancer ocid.
	LoadBalancerId *string `mandatory:"false" json:"loadBalancerId"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ComputeInstanceGroupRollingDeploymentStage Specifies the Instance group rolling Deployment Stage.

func (ComputeInstanceGroupRollingDeploymentStage) GetApplicationId ¶

func (m ComputeInstanceGroupRollingDeploymentStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (ComputeInstanceGroupRollingDeploymentStage) GetCompartmentId ¶

func (m ComputeInstanceGroupRollingDeploymentStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ComputeInstanceGroupRollingDeploymentStage) GetDefinedTags ¶

func (m ComputeInstanceGroupRollingDeploymentStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ComputeInstanceGroupRollingDeploymentStage) GetDisplayName ¶

GetDisplayName returns DisplayName

func (ComputeInstanceGroupRollingDeploymentStage) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (ComputeInstanceGroupRollingDeploymentStage) GetId ¶

GetId returns Id

func (ComputeInstanceGroupRollingDeploymentStage) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (ComputeInstanceGroupRollingDeploymentStage) GetLifecyleDetails ¶

func (m ComputeInstanceGroupRollingDeploymentStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (ComputeInstanceGroupRollingDeploymentStage) GetPipelineId ¶

GetPipelineId returns PipelineId

func (ComputeInstanceGroupRollingDeploymentStage) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (ComputeInstanceGroupRollingDeploymentStage) GetSystemTags ¶

func (m ComputeInstanceGroupRollingDeploymentStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (ComputeInstanceGroupRollingDeploymentStage) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (ComputeInstanceGroupRollingDeploymentStage) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (ComputeInstanceGroupRollingDeploymentStage) GetTimeoutInSeconds ¶

func (m ComputeInstanceGroupRollingDeploymentStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (ComputeInstanceGroupRollingDeploymentStage) MarshalJSON ¶

func (m ComputeInstanceGroupRollingDeploymentStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ComputeInstanceGroupRollingDeploymentStage) String ¶

type ComputeInstanceGroupRollingDeploymentStageExecutionProgress ¶

type ComputeInstanceGroupRollingDeploymentStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	InstanceDeploymentStatusCollection []InstanceDeploymentStatus `mandatory:"false" json:"instanceDeploymentStatusCollection"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

ComputeInstanceGroupRollingDeploymentStageExecutionProgress Specifies the execution details for Instance group rolling Deployment Stage.

func (ComputeInstanceGroupRollingDeploymentStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (ComputeInstanceGroupRollingDeploymentStageExecutionProgress) GetStatusMessages ¶

GetStatusMessages returns StatusMessages

func (ComputeInstanceGroupRollingDeploymentStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (ComputeInstanceGroupRollingDeploymentStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (ComputeInstanceGroupRollingDeploymentStageExecutionProgress) MarshalJSON ¶

MarshalJSON marshals to json representation

func (ComputeInstanceGroupRollingDeploymentStageExecutionProgress) String ¶

type ComputeInstanceGroupRollingDeploymentStageSummary ¶

type ComputeInstanceGroupRollingDeploymentStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// An compute instance group environment ocid for rolling deployment.
	ComputeInstanceGroupEnvironmentId *string `mandatory:"true" json:"computeInstanceGroupEnvironmentId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"true" json:"primaryArtifactId"`

	RolloutPolicy *ComputeInstanceGroupRollingDeploymentRollOutPolicy `mandatory:"true" json:"rolloutPolicy"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The path to the deployment specification file in the primary artifact. By default, it should be deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`

	// Additional file artifact ocids.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// An optional Load balancer ocid.
	LoadBalancerId *string `mandatory:"false" json:"loadBalancerId"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ComputeInstanceGroupRollingDeploymentStageSummary Specifies the Instance group rolling Deployment Stage.

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetApplicationId ¶

GetApplicationId returns ApplicationId

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetCompartmentId ¶

GetCompartmentId returns CompartmentId

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetDefinedTags ¶

func (m ComputeInstanceGroupRollingDeploymentStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetDisplayName ¶

GetDisplayName returns DisplayName

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetId ¶

GetId returns Id

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetLifecycleDetails ¶

GetLifecycleDetails returns LifecycleDetails

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetPipelineId ¶

GetPipelineId returns PipelineId

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetSystemTags ¶

func (m ComputeInstanceGroupRollingDeploymentStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (ComputeInstanceGroupRollingDeploymentStageSummary) GetTimeoutInSeconds ¶

func (m ComputeInstanceGroupRollingDeploymentStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (ComputeInstanceGroupRollingDeploymentStageSummary) MarshalJSON ¶

func (m ComputeInstanceGroupRollingDeploymentStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ComputeInstanceGroupRollingDeploymentStageSummary) String ¶

type ComputeInstanceGroupSelector ¶

type ComputeInstanceGroupSelector interface {
}

ComputeInstanceGroupSelector Defines how the instances in a instance group environment is selected.

type ComputeInstanceGroupSelectorCollection ¶

type ComputeInstanceGroupSelectorCollection struct {

	// An array of selectors for the instance group. UNION operator will be use for combining the instances selected by each selector.
	Items []ComputeInstanceGroupSelector `mandatory:"true" json:"items"`
}

ComputeInstanceGroupSelectorCollection A collection of selectors. The UNION of instances matching the selectors are included in the instance group.

func (ComputeInstanceGroupSelectorCollection) String ¶

func (*ComputeInstanceGroupSelectorCollection) UnmarshalJSON ¶

func (m *ComputeInstanceGroupSelectorCollection) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type ComputeInstanceGroupSelectorSelectorTypeEnum ¶

type ComputeInstanceGroupSelectorSelectorTypeEnum string

ComputeInstanceGroupSelectorSelectorTypeEnum Enum with underlying type: string

const (
	ComputeInstanceGroupSelectorSelectorTypeIds  ComputeInstanceGroupSelectorSelectorTypeEnum = "INSTANCE_IDS"
	ComputeInstanceGroupSelectorSelectorTypeTags ComputeInstanceGroupSelectorSelectorTypeEnum = "INSTANCE_TAGS"
)

Set of constants representing the allowable values for ComputeInstanceGroupSelectorSelectorTypeEnum

func GetComputeInstanceGroupSelectorSelectorTypeEnumValues ¶

func GetComputeInstanceGroupSelectorSelectorTypeEnumValues() []ComputeInstanceGroupSelectorSelectorTypeEnum

GetComputeInstanceGroupSelectorSelectorTypeEnumValues Enumerates the set of values for ComputeInstanceGroupSelectorSelectorTypeEnum

type ComputeInstanceGroupsByTagsSelector ¶

type ComputeInstanceGroupsByTagsSelector struct {

	// The compartment id of the instances in the group.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The region of the instances in the group.
	Region *string `mandatory:"true" json:"region"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

ComputeInstanceGroupsByTagsSelector Specifies the Compute Instance Group environment by tags of the compute instances

func (ComputeInstanceGroupsByTagsSelector) MarshalJSON ¶

func (m ComputeInstanceGroupsByTagsSelector) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ComputeInstanceGroupsByTagsSelector) String ¶

type CreateApplicationDetails ¶

type CreateApplicationDetails struct {

	// Application display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateApplicationDetails The information about new Application to be created.

func (CreateApplicationDetails) String ¶

func (m CreateApplicationDetails) String() string

type CreateApplicationRequest ¶

type CreateApplicationRequest struct {

	// Details for the new Application.
	CreateApplicationDetails `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 before then 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"`

	// The client request ID for tracing.
	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
}

CreateApplicationRequest wrapper for the CreateApplication operation

func (CreateApplicationRequest) HTTPRequest ¶

func (request CreateApplicationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateApplicationRequest) RetryPolicy ¶

func (request CreateApplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateApplicationRequest) String ¶

func (request CreateApplicationRequest) String() string

type CreateApplicationResponse ¶

type CreateApplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Application instance
	Application `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateApplicationResponse wrapper for the CreateApplication operation

func (CreateApplicationResponse) HTTPResponse ¶

func (response CreateApplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateApplicationResponse) String ¶

func (response CreateApplicationResponse) String() string

type CreateArtifactDetails ¶

type CreateArtifactDetails struct {

	// Artifact Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Type of the Artifact
	ArtifactType *string `mandatory:"true" json:"artifactType"`

	ArtifactSource CreateArtifactSourceDetails `mandatory:"true" json:"artifactSource"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	ArtifactParameters *ArtifactParameterCollection `mandatory:"false" json:"artifactParameters"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateArtifactDetails The information about new Artifact.

func (CreateArtifactDetails) String ¶

func (m CreateArtifactDetails) String() string

func (*CreateArtifactDetails) UnmarshalJSON ¶

func (m *CreateArtifactDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreateArtifactRequest ¶

type CreateArtifactRequest struct {

	// Details for the new Artifact.
	CreateArtifactDetails `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 before then 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"`

	// The client request ID for tracing.
	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
}

CreateArtifactRequest wrapper for the CreateArtifact operation

func (CreateArtifactRequest) HTTPRequest ¶

func (request CreateArtifactRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateArtifactRequest) RetryPolicy ¶

func (request CreateArtifactRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateArtifactRequest) String ¶

func (request CreateArtifactRequest) String() string

type CreateArtifactResponse ¶

type CreateArtifactResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Artifact instance
	Artifact `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateArtifactResponse wrapper for the CreateArtifact operation

func (CreateArtifactResponse) HTTPResponse ¶

func (response CreateArtifactResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateArtifactResponse) String ¶

func (response CreateArtifactResponse) String() string

type CreateArtifactSourceDetails ¶

type CreateArtifactSourceDetails interface {
}

CreateArtifactSourceDetails Specifies source of an artifact

type CreateComputeInstanceGroupEnvironmentDetails ¶

type CreateComputeInstanceGroupEnvironmentDetails struct {

	// Environment Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	ComputeInstanceGroupSelectors *ComputeInstanceGroupSelectorCollection `mandatory:"true" json:"computeInstanceGroupSelectors"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateComputeInstanceGroupEnvironmentDetails Specifies the Compute Instance Group environment.

func (CreateComputeInstanceGroupEnvironmentDetails) GetApplicationId ¶

GetApplicationId returns ApplicationId

func (CreateComputeInstanceGroupEnvironmentDetails) GetDefinedTags ¶

func (m CreateComputeInstanceGroupEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateComputeInstanceGroupEnvironmentDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateComputeInstanceGroupEnvironmentDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateComputeInstanceGroupEnvironmentDetails) MarshalJSON ¶

func (m CreateComputeInstanceGroupEnvironmentDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateComputeInstanceGroupEnvironmentDetails) String ¶

type CreateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails ¶

type CreateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails struct {

	// Indicates maximum number of instances deploying at a time.
	MaxConcurrentInstances *int `mandatory:"true" json:"maxConcurrentInstances"`

	RollOutStrategy *ComputeInstanceGroupLinearRollOutStrategy `mandatory:"true" json:"rollOutStrategy"`

	// The number of seconds in delay between batch rollout. The default delay is 1 minute.
	BatchDelayInSeconds *int `mandatory:"false" json:"batchDelayInSeconds"`
}

CreateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails Specifies rollout policy for Compute Instance group rolling deployment stage.

func (CreateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails) String ¶

type CreateComputeInstanceGroupRollingDeploymentStageDetails ¶

type CreateComputeInstanceGroupRollingDeploymentStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// An compute instance group environment ocid for rolling deployment.
	ComputeInstanceGroupEnvironmentId *string `mandatory:"true" json:"computeInstanceGroupEnvironmentId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"true" json:"primaryArtifactId"`

	RolloutPolicy *CreateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails `mandatory:"true" json:"rolloutPolicy"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The path to the deployment specification file in the primary artifact. By default, it should be deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`

	// Additional file artifact ocids.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// An optional Load balancer ocid.
	LoadBalancerId *string `mandatory:"false" json:"loadBalancerId"`
}

CreateComputeInstanceGroupRollingDeploymentStageDetails Specifies the Instance group rolling Deployment Stage.

func (CreateComputeInstanceGroupRollingDeploymentStageDetails) GetDefinedTags ¶

func (m CreateComputeInstanceGroupRollingDeploymentStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateComputeInstanceGroupRollingDeploymentStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateComputeInstanceGroupRollingDeploymentStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateComputeInstanceGroupRollingDeploymentStageDetails) GetPipelineId ¶

GetPipelineId returns PipelineId

func (CreateComputeInstanceGroupRollingDeploymentStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateComputeInstanceGroupRollingDeploymentStageDetails) GetTimeoutInSeconds ¶

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateComputeInstanceGroupRollingDeploymentStageDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (CreateComputeInstanceGroupRollingDeploymentStageDetails) String ¶

type CreateDeployFunctionStageDetails ¶

type CreateDeployFunctionStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A docker image artifact ocid.
	DockerImageArtifactId *string `mandatory:"true" json:"dockerImageArtifactId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// User provided key/value pair configuration which assigned through constants or parameter.
	Config map[string]string `mandatory:"false" json:"config"`

	// Maximum usable memory for the function (MiB)
	MaxMemoryInMBs *int64 `mandatory:"false" json:"maxMemoryInMBs"`

	// Timeout for executions of the function. Value in seconds.
	FunctionTimeoutInSeconds *int `mandatory:"false" json:"functionTimeoutInSeconds"`
}

CreateDeployFunctionStageDetails Specifies the DeployFunction Stage.

func (CreateDeployFunctionStageDetails) GetDefinedTags ¶

func (m CreateDeployFunctionStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateDeployFunctionStageDetails) GetDisplayName ¶

func (m CreateDeployFunctionStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateDeployFunctionStageDetails) GetFreeformTags ¶

func (m CreateDeployFunctionStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateDeployFunctionStageDetails) GetPipelineId ¶

func (m CreateDeployFunctionStageDetails) GetPipelineId() *string

GetPipelineId returns PipelineId

func (CreateDeployFunctionStageDetails) GetStagePredecessorCollection ¶

func (m CreateDeployFunctionStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateDeployFunctionStageDetails) GetTimeoutInSeconds ¶

func (m CreateDeployFunctionStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateDeployFunctionStageDetails) MarshalJSON ¶

func (m CreateDeployFunctionStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateDeployFunctionStageDetails) String ¶

type CreateDeploymentDetails ¶

type CreateDeploymentDetails struct {

	// Deployment Name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateDeploymentDetails The information about new Deployment.

func (CreateDeploymentDetails) String ¶

func (m CreateDeploymentDetails) String() string

type 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 before then 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"`

	// The client request ID for tracing.
	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
}

CreateDeploymentRequest wrapper for the CreateDeployment operation

func (CreateDeploymentRequest) HTTPRequest ¶

func (request CreateDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateDeploymentRequest) RetryPolicy ¶

func (request CreateDeploymentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateDeploymentRequest) String ¶

func (request CreateDeploymentRequest) String() string

type CreateDeploymentResponse ¶

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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateDeploymentResponse wrapper for the CreateDeployment operation

func (CreateDeploymentResponse) HTTPResponse ¶

func (response CreateDeploymentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateDeploymentResponse) String ¶

func (response CreateDeploymentResponse) String() string

type CreateEnvironmentDetails ¶

type CreateEnvironmentDetails interface {

	// Environment Identifier
	GetDisplayName() *string

	// Application Identifier
	GetApplicationId() *string

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

CreateEnvironmentDetails The information about new Environment.

type CreateEnvironmentRequest ¶

type CreateEnvironmentRequest struct {

	// Details for the new Environment.
	CreateEnvironmentDetails `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 before then 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"`

	// The client request ID for tracing.
	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
}

CreateEnvironmentRequest wrapper for the CreateEnvironment operation

func (CreateEnvironmentRequest) HTTPRequest ¶

func (request CreateEnvironmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateEnvironmentRequest) RetryPolicy ¶

func (request CreateEnvironmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateEnvironmentRequest) String ¶

func (request CreateEnvironmentRequest) String() string

type CreateEnvironmentResponse ¶

type CreateEnvironmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Environment instance
	Environment `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateEnvironmentResponse wrapper for the CreateEnvironment operation

func (CreateEnvironmentResponse) HTTPResponse ¶

func (response CreateEnvironmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateEnvironmentResponse) String ¶

func (response CreateEnvironmentResponse) String() string

type CreateFunctionEnvironmentDetails ¶

type CreateFunctionEnvironmentDetails struct {

	// Environment Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// The OCID of the Function.
	FunctionId *string `mandatory:"true" json:"functionId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateFunctionEnvironmentDetails Specifies the OKE Function environment.

func (CreateFunctionEnvironmentDetails) GetApplicationId ¶

func (m CreateFunctionEnvironmentDetails) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (CreateFunctionEnvironmentDetails) GetDefinedTags ¶

func (m CreateFunctionEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateFunctionEnvironmentDetails) GetDisplayName ¶

func (m CreateFunctionEnvironmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateFunctionEnvironmentDetails) GetFreeformTags ¶

func (m CreateFunctionEnvironmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateFunctionEnvironmentDetails) MarshalJSON ¶

func (m CreateFunctionEnvironmentDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateFunctionEnvironmentDetails) String ¶

type CreateInlineArtifactSourceDetails ¶

type CreateInlineArtifactSourceDetails struct {

	// base64 Encoded String
	Base64EncodedContent []byte `mandatory:"true" json:"base64EncodedContent"`
}

CreateInlineArtifactSourceDetails Specifies the Inline Artifact Source Details

func (CreateInlineArtifactSourceDetails) MarshalJSON ¶

func (m CreateInlineArtifactSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateInlineArtifactSourceDetails) String ¶

type CreateInvokeFunctionStageDetails ¶

type CreateInvokeFunctionStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A boolean flag specifies whether this stage executes asynchronously.
	IsAsync *bool `mandatory:"true" json:"isAsync"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Optional binary artifat ocid user may provide to this stage.
	ArtifactId *string `mandatory:"false" json:"artifactId"`
}

CreateInvokeFunctionStageDetails Specifies Invoke Function stage.

func (CreateInvokeFunctionStageDetails) GetDefinedTags ¶

func (m CreateInvokeFunctionStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateInvokeFunctionStageDetails) GetDisplayName ¶

func (m CreateInvokeFunctionStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateInvokeFunctionStageDetails) GetFreeformTags ¶

func (m CreateInvokeFunctionStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateInvokeFunctionStageDetails) GetPipelineId ¶

func (m CreateInvokeFunctionStageDetails) GetPipelineId() *string

GetPipelineId returns PipelineId

func (CreateInvokeFunctionStageDetails) GetStagePredecessorCollection ¶

func (m CreateInvokeFunctionStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateInvokeFunctionStageDetails) GetTimeoutInSeconds ¶

func (m CreateInvokeFunctionStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateInvokeFunctionStageDetails) MarshalJSON ¶

func (m CreateInvokeFunctionStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateInvokeFunctionStageDetails) String ¶

type CreateLoadBalancerListenerEnvironmentDetails ¶

type CreateLoadBalancerListenerEnvironmentDetails struct {

	// Environment Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// The OCID of Load Balancer
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// Name of the Load Balancer Listener
	ListenerName *string `mandatory:"true" json:"listenerName"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateLoadBalancerListenerEnvironmentDetails Specifies Load Balancer Listener environment.

func (CreateLoadBalancerListenerEnvironmentDetails) GetApplicationId ¶

GetApplicationId returns ApplicationId

func (CreateLoadBalancerListenerEnvironmentDetails) GetDefinedTags ¶

func (m CreateLoadBalancerListenerEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateLoadBalancerListenerEnvironmentDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateLoadBalancerListenerEnvironmentDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateLoadBalancerListenerEnvironmentDetails) MarshalJSON ¶

func (m CreateLoadBalancerListenerEnvironmentDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateLoadBalancerListenerEnvironmentDetails) String ¶

type CreateLoadBalancerTrafficShiftRollOutPolicyDetails ¶

type CreateLoadBalancerTrafficShiftRollOutPolicyDetails struct {

	// Specifies number of batches for this stage.
	BatchCount *int `mandatory:"true" json:"batchCount"`

	// Specifies delay in seconds between batches.
	BatchDelayInSeconds *int `mandatory:"false" json:"batchDelayInSeconds"`

	// Indicates the stoping criteria.
	RampLimitPercent *float32 `mandatory:"false" json:"rampLimitPercent"`
}

CreateLoadBalancerTrafficShiftRollOutPolicyDetails Description of rollout policy for Load Balancer Traffic Shift stage.

func (CreateLoadBalancerTrafficShiftRollOutPolicyDetails) String ¶

type CreateLoadBalancerTrafficShiftStageDetails ¶

type CreateLoadBalancerTrafficShiftStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// Existing Load Balance Listener environment ocid.
	// Listener of this environment should have Backends or BackendSet set up.
	LoadBalancerListenerEnvironmentId *string `mandatory:"true" json:"loadBalancerListenerEnvironmentId"`

	BlueBackendIps *BackendSetIpCollection `mandatory:"true" json:"blueBackendIps"`

	GreenBackendIps *BackendSetIpCollection `mandatory:"true" json:"greenBackendIps"`

	RolloutPolicy *CreateLoadBalancerTrafficShiftRollOutPolicyDetails `mandatory:"true" json:"rolloutPolicy"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Specifies the target or destination Backend set.
	TrafficShiftTarget LoadBalancerTrafficShiftStageTrafficShiftTargetEnum `mandatory:"true" json:"trafficShiftTarget"`
}

CreateLoadBalancerTrafficShiftStageDetails Specifies Load Balncer traffic shift stage.

func (CreateLoadBalancerTrafficShiftStageDetails) GetDefinedTags ¶

func (m CreateLoadBalancerTrafficShiftStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateLoadBalancerTrafficShiftStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateLoadBalancerTrafficShiftStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateLoadBalancerTrafficShiftStageDetails) GetPipelineId ¶

GetPipelineId returns PipelineId

func (CreateLoadBalancerTrafficShiftStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateLoadBalancerTrafficShiftStageDetails) GetTimeoutInSeconds ¶

func (m CreateLoadBalancerTrafficShiftStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateLoadBalancerTrafficShiftStageDetails) MarshalJSON ¶

func (m CreateLoadBalancerTrafficShiftStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateLoadBalancerTrafficShiftStageDetails) String ¶

type CreateManualApprovalStageDetails ¶

type CreateManualApprovalStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A minimum number of approvals required for stage to proceed.
	NumberOfApprovalsRequired *int `mandatory:"false" json:"numberOfApprovalsRequired"`
}

CreateManualApprovalStageDetails Specifies the manual approval stage.

func (CreateManualApprovalStageDetails) GetDefinedTags ¶

func (m CreateManualApprovalStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateManualApprovalStageDetails) GetDisplayName ¶

func (m CreateManualApprovalStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateManualApprovalStageDetails) GetFreeformTags ¶

func (m CreateManualApprovalStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateManualApprovalStageDetails) GetPipelineId ¶

func (m CreateManualApprovalStageDetails) GetPipelineId() *string

GetPipelineId returns PipelineId

func (CreateManualApprovalStageDetails) GetStagePredecessorCollection ¶

func (m CreateManualApprovalStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateManualApprovalStageDetails) GetTimeoutInSeconds ¶

func (m CreateManualApprovalStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateManualApprovalStageDetails) MarshalJSON ¶

func (m CreateManualApprovalStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateManualApprovalStageDetails) String ¶

type CreateObjectNameFilterDetails ¶

type CreateObjectNameFilterDetails struct {

	// An array of glob patterns to match the object names to exclude. An empty array is ignored.
	InclusionPatterns []string `mandatory:"false" json:"inclusionPatterns"`

	// An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket.
	ExclusionPatterns []string `mandatory:"false" json:"exclusionPatterns"`

	// An array of object name prefixes. An empty array means to include all objects.
	InclusionPrefixes []string `mandatory:"false" json:"inclusionPrefixes"`
}

CreateObjectNameFilterDetails Specifies a filter that compares object names to a set of prefixes or patterns

func (CreateObjectNameFilterDetails) String ¶

type CreateObjectStorageArtifactSourceDetails ¶

type CreateObjectStorageArtifactSourceDetails struct {

	// Specifies the object storage bucket
	BucketName *string `mandatory:"true" json:"bucketName"`

	// Specifies the object storage namespace
	NamespaceName *string `mandatory:"true" json:"namespaceName"`

	ObjectNameFilter *CreateObjectNameFilterDetails `mandatory:"false" json:"objectNameFilter"`
}

CreateObjectStorageArtifactSourceDetails Specifies the Object Storage Artifact Source Details

func (CreateObjectStorageArtifactSourceDetails) MarshalJSON ¶

func (m CreateObjectStorageArtifactSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateObjectStorageArtifactSourceDetails) String ¶

type CreateOcirArtifactSourceDetails ¶

type CreateOcirArtifactSourceDetails 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"`
}

CreateOcirArtifactSourceDetails Specifies OCIR details

func (CreateOcirArtifactSourceDetails) MarshalJSON ¶

func (m CreateOcirArtifactSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateOcirArtifactSourceDetails) String ¶

type CreateOkeClusterEnvironmentDetails ¶

type CreateOkeClusterEnvironmentDetails struct {

	// Environment Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// The OCID of the OKE cluster.
	ClusterId *string `mandatory:"true" json:"clusterId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateOkeClusterEnvironmentDetails Specifies the OKE Cluster environment.

func (CreateOkeClusterEnvironmentDetails) GetApplicationId ¶

func (m CreateOkeClusterEnvironmentDetails) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (CreateOkeClusterEnvironmentDetails) GetDefinedTags ¶

func (m CreateOkeClusterEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateOkeClusterEnvironmentDetails) GetDisplayName ¶

func (m CreateOkeClusterEnvironmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateOkeClusterEnvironmentDetails) GetFreeformTags ¶

func (m CreateOkeClusterEnvironmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateOkeClusterEnvironmentDetails) MarshalJSON ¶

func (m CreateOkeClusterEnvironmentDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateOkeClusterEnvironmentDetails) String ¶

type CreateOkeDeploymentStageDetails ¶

type CreateOkeDeploymentStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// OkeCluster environment ocid for deployment.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid, this manifest should not include any Job resource.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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"`
}

CreateOkeDeploymentStageDetails Specifies the OKEDeployment stage.

func (CreateOkeDeploymentStageDetails) GetDefinedTags ¶

func (m CreateOkeDeploymentStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateOkeDeploymentStageDetails) GetDisplayName ¶

func (m CreateOkeDeploymentStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateOkeDeploymentStageDetails) GetFreeformTags ¶

func (m CreateOkeDeploymentStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateOkeDeploymentStageDetails) GetPipelineId ¶

func (m CreateOkeDeploymentStageDetails) GetPipelineId() *string

GetPipelineId returns PipelineId

func (CreateOkeDeploymentStageDetails) GetStagePredecessorCollection ¶

func (m CreateOkeDeploymentStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateOkeDeploymentStageDetails) GetTimeoutInSeconds ¶

func (m CreateOkeDeploymentStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateOkeDeploymentStageDetails) MarshalJSON ¶

func (m CreateOkeDeploymentStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateOkeDeploymentStageDetails) String ¶

type CreatePipelineDetails ¶

type CreatePipelineDetails struct {

	// Pipeline display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Type of the Pipeline.
	PipelineType *string `mandatory:"true" json:"pipelineType"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	PipelineParameters *PipelineParameterCollection `mandatory:"false" json:"pipelineParameters"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreatePipelineDetails The information about new Pipeline to be created.

func (CreatePipelineDetails) String ¶

func (m CreatePipelineDetails) String() string

type CreatePipelineRequest ¶

type CreatePipelineRequest struct {

	// Details for the new Pipeline.
	CreatePipelineDetails `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 before then 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"`

	// The client request ID for tracing.
	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
}

CreatePipelineRequest wrapper for the CreatePipeline operation

func (CreatePipelineRequest) HTTPRequest ¶

func (request CreatePipelineRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreatePipelineRequest) RetryPolicy ¶

func (request CreatePipelineRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreatePipelineRequest) String ¶

func (request CreatePipelineRequest) String() string

type CreatePipelineResponse ¶

type CreatePipelineResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Pipeline instance
	Pipeline `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreatePipelineResponse wrapper for the CreatePipeline operation

func (CreatePipelineResponse) HTTPResponse ¶

func (response CreatePipelineResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreatePipelineResponse) String ¶

func (response CreatePipelineResponse) String() string

type CreateRunDeploymentConcurrencyConflictPolicyDetails ¶

type CreateRunDeploymentConcurrencyConflictPolicyDetails struct {

	// The types of policies in case of a conflict
	ConcurrencyConflictPolicyType RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum `mandatory:"true" json:"concurrencyConflictPolicyType"`
}

CreateRunDeploymentConcurrencyConflictPolicyDetails This describes the policy in case there is a deployment already running on the target pipeline.

func (CreateRunDeploymentConcurrencyConflictPolicyDetails) String ¶

type CreateRunDeploymentStageDetails ¶

type CreateRunDeploymentStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// A target Pipeline ocid that will be run in this stage.
	TargetPipelineId *string `mandatory:"true" json:"targetPipelineId"`

	// A boolean flag specifies whether the target deployment is run synchronously or asynchronously.
	IsAsync *bool `mandatory:"true" json:"isAsync"`

	CreateRunDeploymentConcurrencyConflictPolicyDetails *CreateRunDeploymentConcurrencyConflictPolicyDetails `mandatory:"true" json:"createRunDeploymentConcurrencyConflictPolicyDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateRunDeploymentStageDetails Specifies Run Deployment Pipleline stage which runs another pipeline of the application.

func (CreateRunDeploymentStageDetails) GetDefinedTags ¶

func (m CreateRunDeploymentStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateRunDeploymentStageDetails) GetDisplayName ¶

func (m CreateRunDeploymentStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateRunDeploymentStageDetails) GetFreeformTags ¶

func (m CreateRunDeploymentStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateRunDeploymentStageDetails) GetPipelineId ¶

func (m CreateRunDeploymentStageDetails) GetPipelineId() *string

GetPipelineId returns PipelineId

func (CreateRunDeploymentStageDetails) GetStagePredecessorCollection ¶

func (m CreateRunDeploymentStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateRunDeploymentStageDetails) GetTimeoutInSeconds ¶

func (m CreateRunDeploymentStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateRunDeploymentStageDetails) MarshalJSON ¶

func (m CreateRunDeploymentStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateRunDeploymentStageDetails) String ¶

type CreateRunJobOnComputeInstanceGroupStageDetails ¶

type CreateRunJobOnComputeInstanceGroupStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// An instance group environment ocid.
	ComputeInstanceGroupEnvironmentId *string `mandatory:"true" json:"computeInstanceGroupEnvironmentId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"true" json:"primaryArtifactId"`

	RolloutPolicy *CreateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails `mandatory:"true" json:"rolloutPolicy"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// File artifact ocids, there should be atleast one artifact containing deployment specifications.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// The path to the deployment specification file in the primary artifact for this stage's Environment. The default location if not specified is deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`
}

CreateRunJobOnComputeInstanceGroupStageDetails Specifies Run job on the compute instance groups stage.

func (CreateRunJobOnComputeInstanceGroupStageDetails) GetDefinedTags ¶

func (m CreateRunJobOnComputeInstanceGroupStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateRunJobOnComputeInstanceGroupStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateRunJobOnComputeInstanceGroupStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateRunJobOnComputeInstanceGroupStageDetails) GetPipelineId ¶

GetPipelineId returns PipelineId

func (CreateRunJobOnComputeInstanceGroupStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateRunJobOnComputeInstanceGroupStageDetails) GetTimeoutInSeconds ¶

func (m CreateRunJobOnComputeInstanceGroupStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateRunJobOnComputeInstanceGroupStageDetails) MarshalJSON ¶

func (m CreateRunJobOnComputeInstanceGroupStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateRunJobOnComputeInstanceGroupStageDetails) String ¶

type CreateRunJobOnComputeInstanceStageDetails ¶

type CreateRunJobOnComputeInstanceStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// Instance OCID on which this stage runs the job.
	ComputeInstanceId *string `mandatory:"true" json:"computeInstanceId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"true" json:"primaryArtifactId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// File artifact ocids.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// The path to the deployment specification file in the primary artifact for this stage's Environment. The default location if not specified is deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`
}

CreateRunJobOnComputeInstanceStageDetails Specifies Run job on an instance stage.

func (CreateRunJobOnComputeInstanceStageDetails) GetDefinedTags ¶

func (m CreateRunJobOnComputeInstanceStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateRunJobOnComputeInstanceStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateRunJobOnComputeInstanceStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateRunJobOnComputeInstanceStageDetails) GetPipelineId ¶

GetPipelineId returns PipelineId

func (CreateRunJobOnComputeInstanceStageDetails) GetStagePredecessorCollection ¶

func (m CreateRunJobOnComputeInstanceStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateRunJobOnComputeInstanceStageDetails) GetTimeoutInSeconds ¶

func (m CreateRunJobOnComputeInstanceStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateRunJobOnComputeInstanceStageDetails) MarshalJSON ¶

func (m CreateRunJobOnComputeInstanceStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateRunJobOnComputeInstanceStageDetails) String ¶

type CreateRunOkeJobStageDetails ¶

type CreateRunOkeJobStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// OKE Cluster environment ocid.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Default Namespace to be used for Kubernetes Job when not specified in the manifest
	Namespace *string `mandatory:"false" json:"namespace"`

	// Specifies synchronous or asynchronous mode of execution for this stage.
	ExecutionMode RunOkeJobStageExecutionModeEnum `mandatory:"true" json:"executionMode"`
}

CreateRunOkeJobStageDetails Specifies Run job on OKE stage.

func (CreateRunOkeJobStageDetails) GetDefinedTags ¶

func (m CreateRunOkeJobStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateRunOkeJobStageDetails) GetDisplayName ¶

func (m CreateRunOkeJobStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateRunOkeJobStageDetails) GetFreeformTags ¶

func (m CreateRunOkeJobStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateRunOkeJobStageDetails) GetPipelineId ¶

func (m CreateRunOkeJobStageDetails) GetPipelineId() *string

GetPipelineId returns PipelineId

func (CreateRunOkeJobStageDetails) GetStagePredecessorCollection ¶

func (m CreateRunOkeJobStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateRunOkeJobStageDetails) GetTimeoutInSeconds ¶

func (m CreateRunOkeJobStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateRunOkeJobStageDetails) MarshalJSON ¶

func (m CreateRunOkeJobStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateRunOkeJobStageDetails) String ¶

type CreateRunValidationTestOnComputeInstanceStageDetails ¶

type CreateRunValidationTestOnComputeInstanceStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// Instance OCID on which this stage runs validation.
	ComputeInstanceId *string `mandatory:"true" json:"computeInstanceId"`

	// File artifact ocids, there should be atleast one artifact containing deployment specifications.
	ArtifactIds []string `mandatory:"true" json:"artifactIds"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateRunValidationTestOnComputeInstanceStageDetails Specifies run Validation test on an compute instance stage.

func (CreateRunValidationTestOnComputeInstanceStageDetails) GetDefinedTags ¶

func (m CreateRunValidationTestOnComputeInstanceStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateRunValidationTestOnComputeInstanceStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateRunValidationTestOnComputeInstanceStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateRunValidationTestOnComputeInstanceStageDetails) GetPipelineId ¶

GetPipelineId returns PipelineId

func (CreateRunValidationTestOnComputeInstanceStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateRunValidationTestOnComputeInstanceStageDetails) GetTimeoutInSeconds ¶

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateRunValidationTestOnComputeInstanceStageDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (CreateRunValidationTestOnComputeInstanceStageDetails) String ¶

type CreateRunValidationTestOnFunctionStageDetails ¶

type CreateRunValidationTestOnFunctionStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Optional binary artifact user may provide to this stage.
	BinaryArtifactId *string `mandatory:"false" json:"binaryArtifactId"`
}

CreateRunValidationTestOnFunctionStageDetails Specifies Run validation test on Function to validate on going deployment.

func (CreateRunValidationTestOnFunctionStageDetails) GetDefinedTags ¶

func (m CreateRunValidationTestOnFunctionStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateRunValidationTestOnFunctionStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateRunValidationTestOnFunctionStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateRunValidationTestOnFunctionStageDetails) GetPipelineId ¶

GetPipelineId returns PipelineId

func (CreateRunValidationTestOnFunctionStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateRunValidationTestOnFunctionStageDetails) GetTimeoutInSeconds ¶

func (m CreateRunValidationTestOnFunctionStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateRunValidationTestOnFunctionStageDetails) MarshalJSON ¶

func (m CreateRunValidationTestOnFunctionStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateRunValidationTestOnFunctionStageDetails) String ¶

type CreateRunValidationTestOnOkeStageDetails ¶

type CreateRunValidationTestOnOkeStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// OKE Cluster environment for running this job.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateRunValidationTestOnOkeStageDetails Specifies Run validation on OKE stage, to validate ongoing deployment on OKE.

func (CreateRunValidationTestOnOkeStageDetails) GetDefinedTags ¶

func (m CreateRunValidationTestOnOkeStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateRunValidationTestOnOkeStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateRunValidationTestOnOkeStageDetails) GetFreeformTags ¶

func (m CreateRunValidationTestOnOkeStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateRunValidationTestOnOkeStageDetails) GetPipelineId ¶

GetPipelineId returns PipelineId

func (CreateRunValidationTestOnOkeStageDetails) GetStagePredecessorCollection ¶

func (m CreateRunValidationTestOnOkeStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateRunValidationTestOnOkeStageDetails) GetTimeoutInSeconds ¶

func (m CreateRunValidationTestOnOkeStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateRunValidationTestOnOkeStageDetails) MarshalJSON ¶

func (m CreateRunValidationTestOnOkeStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateRunValidationTestOnOkeStageDetails) String ¶

type CreateStageDetails ¶

type CreateStageDetails interface {

	// Stage Identifier
	GetDisplayName() *string

	// Pipeline Identifier
	GetPipelineId() *string

	GetStagePredecessorCollection() *StagePredecessorCollection

	// A timeout in seconds, this stage may take to return.
	GetTimeoutInSeconds() *int

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

CreateStageDetails The information about new Stage.

type CreateStageRequest ¶

type CreateStageRequest struct {

	// Details for the new Stage.
	CreateStageDetails `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 before then 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"`

	// The client request ID for tracing.
	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
}

CreateStageRequest wrapper for the CreateStage operation

func (CreateStageRequest) HTTPRequest ¶

func (request CreateStageRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateStageRequest) RetryPolicy ¶

func (request CreateStageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateStageRequest) String ¶

func (request CreateStageRequest) String() string

type CreateStageResponse ¶

type CreateStageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Stage instance
	Stage `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CreateStageResponse wrapper for the CreateStage operation

func (CreateStageResponse) HTTPResponse ¶

func (response CreateStageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateStageResponse) String ¶

func (response CreateStageResponse) String() string

type CreateUpdateFunctionApplicationStageDetails ¶

type CreateUpdateFunctionApplicationStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A docker image artifact ocid.
	DockerImageArtifactId *string `mandatory:"false" json:"dockerImageArtifactId"`

	// User provided key/value pair configuration which is assigned through constants or parameter.
	Config map[string]string `mandatory:"false" json:"config"`
}

CreateUpdateFunctionApplicationStageDetails Specifies the creation of an Update Function Application Stage, either by updating the value of a property or by providing the name of an existing image in the Docker registry that you now want to base the function on, instead of the previously specified image.

func (CreateUpdateFunctionApplicationStageDetails) GetDefinedTags ¶

func (m CreateUpdateFunctionApplicationStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateUpdateFunctionApplicationStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (CreateUpdateFunctionApplicationStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (CreateUpdateFunctionApplicationStageDetails) GetPipelineId ¶

GetPipelineId returns PipelineId

func (CreateUpdateFunctionApplicationStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateUpdateFunctionApplicationStageDetails) GetTimeoutInSeconds ¶

func (m CreateUpdateFunctionApplicationStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateUpdateFunctionApplicationStageDetails) MarshalJSON ¶

func (m CreateUpdateFunctionApplicationStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateUpdateFunctionApplicationStageDetails) String ¶

type CreateWaitStageDetails ¶

type CreateWaitStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"true" json:"stagePredecessorCollection"`

	// The duration of each wait window. Or the absolute wait duration.
	// Minimum waitDuration should be 5 seconds.
	WaitDuration *string `mandatory:"true" json:"waitDuration"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The times when wait stage begins, and specifies a recurring window. Following RFC 5545 recurrence rules, we can specify frequency, occurance, starting time and window interval.
	// Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window, we can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the window interval.
	WaitBeginTimes *string `mandatory:"false" json:"waitBeginTimes"`

	// Time zone in form of tzdb canonical Zone Id.
	TimeZone *string `mandatory:"false" json:"timeZone"`
}

CreateWaitStageDetails Specifies the Wait Stage. User can specify variable wait times or an absolute duration.

func (CreateWaitStageDetails) GetDefinedTags ¶

func (m CreateWaitStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateWaitStageDetails) GetDisplayName ¶

func (m CreateWaitStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateWaitStageDetails) GetFreeformTags ¶

func (m CreateWaitStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateWaitStageDetails) GetPipelineId ¶

func (m CreateWaitStageDetails) GetPipelineId() *string

GetPipelineId returns PipelineId

func (CreateWaitStageDetails) GetStagePredecessorCollection ¶

func (m CreateWaitStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (CreateWaitStageDetails) GetTimeoutInSeconds ¶

func (m CreateWaitStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (CreateWaitStageDetails) MarshalJSON ¶

func (m CreateWaitStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateWaitStageDetails) String ¶

func (m CreateWaitStageDetails) String() string

type DeleteApplicationRequest ¶

type DeleteApplicationRequest struct {

	// unique Application identifier
	ApplicationId *string `mandatory:"true" contributesTo:"path" name:"applicationId"`

	// 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"`

	// The client request ID for tracing.
	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
}

DeleteApplicationRequest wrapper for the DeleteApplication operation

func (DeleteApplicationRequest) HTTPRequest ¶

func (request DeleteApplicationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteApplicationRequest) RetryPolicy ¶

func (request DeleteApplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteApplicationRequest) String ¶

func (request DeleteApplicationRequest) String() string

type DeleteApplicationResponse ¶

type DeleteApplicationResponse 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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteApplicationResponse wrapper for the DeleteApplication operation

func (DeleteApplicationResponse) HTTPResponse ¶

func (response DeleteApplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteApplicationResponse) String ¶

func (response DeleteApplicationResponse) String() string

type DeleteArtifactRequest ¶

type DeleteArtifactRequest struct {

	// unique Artifact identifier
	ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`

	// 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"`

	// The client request ID for tracing.
	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
}

DeleteArtifactRequest wrapper for the DeleteArtifact operation

func (DeleteArtifactRequest) HTTPRequest ¶

func (request DeleteArtifactRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteArtifactRequest) RetryPolicy ¶

func (request DeleteArtifactRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteArtifactRequest) String ¶

func (request DeleteArtifactRequest) String() string

type DeleteArtifactResponse ¶

type DeleteArtifactResponse 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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteArtifactResponse wrapper for the DeleteArtifact operation

func (DeleteArtifactResponse) HTTPResponse ¶

func (response DeleteArtifactResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteArtifactResponse) String ¶

func (response DeleteArtifactResponse) String() string

type DeleteDeploymentRequest ¶

type DeleteDeploymentRequest struct {

	// unique Deployment identifier
	DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"`

	// 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"`

	// The client request ID for tracing.
	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
}

DeleteDeploymentRequest wrapper for the DeleteDeployment operation

func (DeleteDeploymentRequest) HTTPRequest ¶

func (request DeleteDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDeploymentRequest) RetryPolicy ¶

func (request DeleteDeploymentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDeploymentRequest) String ¶

func (request DeleteDeploymentRequest) String() string

type DeleteDeploymentResponse ¶

type DeleteDeploymentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteDeploymentResponse wrapper for the DeleteDeployment operation

func (DeleteDeploymentResponse) HTTPResponse ¶

func (response DeleteDeploymentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDeploymentResponse) String ¶

func (response DeleteDeploymentResponse) String() string

type DeleteEnvironmentRequest ¶

type DeleteEnvironmentRequest struct {

	// unique Environment identifier
	EnvironmentId *string `mandatory:"true" contributesTo:"path" name:"environmentId"`

	// 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"`

	// The client request ID for tracing.
	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
}

DeleteEnvironmentRequest wrapper for the DeleteEnvironment operation

func (DeleteEnvironmentRequest) HTTPRequest ¶

func (request DeleteEnvironmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteEnvironmentRequest) RetryPolicy ¶

func (request DeleteEnvironmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteEnvironmentRequest) String ¶

func (request DeleteEnvironmentRequest) String() string

type DeleteEnvironmentResponse ¶

type DeleteEnvironmentResponse 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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteEnvironmentResponse wrapper for the DeleteEnvironment operation

func (DeleteEnvironmentResponse) HTTPResponse ¶

func (response DeleteEnvironmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteEnvironmentResponse) String ¶

func (response DeleteEnvironmentResponse) String() string

type DeletePipelineRequest ¶

type DeletePipelineRequest struct {

	// unique Pipeline identifier
	PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"`

	// 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"`

	// The client request ID for tracing.
	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
}

DeletePipelineRequest wrapper for the DeletePipeline operation

func (DeletePipelineRequest) HTTPRequest ¶

func (request DeletePipelineRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeletePipelineRequest) RetryPolicy ¶

func (request DeletePipelineRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeletePipelineRequest) String ¶

func (request DeletePipelineRequest) String() string

type DeletePipelineResponse ¶

type DeletePipelineResponse 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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeletePipelineResponse wrapper for the DeletePipeline operation

func (DeletePipelineResponse) HTTPResponse ¶

func (response DeletePipelineResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeletePipelineResponse) String ¶

func (response DeletePipelineResponse) String() string

type DeleteStageRequest ¶

type DeleteStageRequest struct {

	// unique Stage identifier
	StageId *string `mandatory:"true" contributesTo:"path" name:"stageId"`

	// 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"`

	// The client request ID for tracing.
	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
}

DeleteStageRequest wrapper for the DeleteStage operation

func (DeleteStageRequest) HTTPRequest ¶

func (request DeleteStageRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteStageRequest) RetryPolicy ¶

func (request DeleteStageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteStageRequest) String ¶

func (request DeleteStageRequest) String() string

type DeleteStageResponse ¶

type DeleteStageResponse 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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteStageResponse wrapper for the DeleteStage operation

func (DeleteStageResponse) HTTPResponse ¶

func (response DeleteStageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteStageResponse) String ¶

func (response DeleteStageResponse) String() string

type DeployFunctionStage ¶

type DeployFunctionStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A docker image artifact ocid.
	DockerImageArtifactId *string `mandatory:"true" json:"dockerImageArtifactId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// User provided key/value pair configuration which assigned through constants or parameter.
	Config map[string]string `mandatory:"false" json:"config"`

	// Maximum usable memory for the function (MiB)
	MaxMemoryInMBs *int64 `mandatory:"false" json:"maxMemoryInMBs"`

	// Timeout for executions of the function. Value in seconds.
	FunctionTimeoutInSeconds *int `mandatory:"false" json:"functionTimeoutInSeconds"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

DeployFunctionStage Specifies the DeployFunction Stage.

func (DeployFunctionStage) GetApplicationId ¶

func (m DeployFunctionStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (DeployFunctionStage) GetCompartmentId ¶

func (m DeployFunctionStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (DeployFunctionStage) GetDefinedTags ¶

func (m DeployFunctionStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (DeployFunctionStage) GetDisplayName ¶

func (m DeployFunctionStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (DeployFunctionStage) GetFreeformTags ¶

func (m DeployFunctionStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (DeployFunctionStage) GetId ¶

func (m DeployFunctionStage) GetId() *string

GetId returns Id

func (DeployFunctionStage) GetLifecycleState ¶

func (m DeployFunctionStage) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (DeployFunctionStage) GetLifecyleDetails ¶

func (m DeployFunctionStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (DeployFunctionStage) GetPipelineId ¶

func (m DeployFunctionStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (DeployFunctionStage) GetStagePredecessorCollection ¶

func (m DeployFunctionStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (DeployFunctionStage) GetSystemTags ¶

func (m DeployFunctionStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (DeployFunctionStage) GetTimeCreated ¶

func (m DeployFunctionStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (DeployFunctionStage) GetTimeUpdated ¶

func (m DeployFunctionStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (DeployFunctionStage) GetTimeoutInSeconds ¶

func (m DeployFunctionStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (DeployFunctionStage) MarshalJSON ¶

func (m DeployFunctionStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DeployFunctionStage) String ¶

func (m DeployFunctionStage) String() string

type DeployFunctionStageExecutionProgress ¶

type DeployFunctionStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// Specifies a list of Function Deployment statuses
	FunctionDeploymentStatuses []FunctionDeploymentStatus `mandatory:"false" json:"functionDeploymentStatuses"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

DeployFunctionStageExecutionProgress Specifies the execution details for DeployFunction Stage.

func (DeployFunctionStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (DeployFunctionStageExecutionProgress) GetStatusMessages ¶

func (m DeployFunctionStageExecutionProgress) GetStatusMessages() []string

GetStatusMessages returns StatusMessages

func (DeployFunctionStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (DeployFunctionStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (DeployFunctionStageExecutionProgress) MarshalJSON ¶

func (m DeployFunctionStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DeployFunctionStageExecutionProgress) String ¶

type DeployFunctionStageSummary ¶

type DeployFunctionStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A docker image artifact ocid.
	DockerImageArtifactId *string `mandatory:"true" json:"dockerImageArtifactId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// User provided key/value pair configuration which assigned through constants or parameter.
	Config map[string]string `mandatory:"false" json:"config"`

	// Maximum usable memory for the function (MiB)
	MaxMemoryInMBs *int64 `mandatory:"false" json:"maxMemoryInMBs"`

	// Timeout for executions of the function. Value in seconds.
	FunctionTimeoutInSeconds *int `mandatory:"false" json:"functionTimeoutInSeconds"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

DeployFunctionStageSummary Specifies the DeployFunction Stage.

func (DeployFunctionStageSummary) GetApplicationId ¶

func (m DeployFunctionStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (DeployFunctionStageSummary) GetCompartmentId ¶

func (m DeployFunctionStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (DeployFunctionStageSummary) GetDefinedTags ¶

func (m DeployFunctionStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (DeployFunctionStageSummary) GetDisplayName ¶

func (m DeployFunctionStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (DeployFunctionStageSummary) GetFreeformTags ¶

func (m DeployFunctionStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (DeployFunctionStageSummary) GetId ¶

GetId returns Id

func (DeployFunctionStageSummary) GetLifecycleDetails ¶

func (m DeployFunctionStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (DeployFunctionStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (DeployFunctionStageSummary) GetPipelineId ¶

func (m DeployFunctionStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (DeployFunctionStageSummary) GetStagePredecessorCollection ¶

func (m DeployFunctionStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (DeployFunctionStageSummary) GetSystemTags ¶

func (m DeployFunctionStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (DeployFunctionStageSummary) GetTimeCreated ¶

func (m DeployFunctionStageSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (DeployFunctionStageSummary) GetTimeUpdated ¶

func (m DeployFunctionStageSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (DeployFunctionStageSummary) GetTimeoutInSeconds ¶

func (m DeployFunctionStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (DeployFunctionStageSummary) MarshalJSON ¶

func (m DeployFunctionStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (DeployFunctionStageSummary) String ¶

type Deployment ¶

type Deployment struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Deployment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Deployment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Deployment was updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Deployment.
	LifecycleState DeploymentLifecycleStateEnum `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"`

	DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"`

	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.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Deployment Description of Deployment.

func (Deployment) String ¶

func (m Deployment) String() string

type DeploymentArgument ¶

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"`
}

DeploymentArgument Values for pipeline parameters to be supplied at the time of deployment.

func (DeploymentArgument) String ¶

func (m DeploymentArgument) String() string

type DeploymentArgumentCollection ¶

type DeploymentArgumentCollection struct {

	// List of arguments provided at the time of deployment.
	Items []DeploymentArgument `mandatory:"true" json:"items"`
}

DeploymentArgumentCollection Specifies list of arguments passed along with the deployment.

func (DeploymentArgumentCollection) String ¶

type DeploymentClient ¶

type DeploymentClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

DeploymentClient a client for Deployment

func NewDeploymentClientWithConfigurationProvider ¶

func NewDeploymentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DeploymentClient, err error)

NewDeploymentClientWithConfigurationProvider Creates a new default Deployment client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewDeploymentClientWithOboToken ¶

func NewDeploymentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DeploymentClient, err error)

NewDeploymentClientWithOboToken Creates a new default Deployment 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 (DeploymentClient) ApproveDeployment ¶

func (client DeploymentClient) ApproveDeployment(ctx context.Context, request ApproveDeploymentRequest) (response ApproveDeploymentResponse, err error)

ApproveDeployment Submit stage approval.

func (*DeploymentClient) ConfigurationProvider ¶

func (client *DeploymentClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (DeploymentClient) CreateDeployment ¶

func (client DeploymentClient) CreateDeployment(ctx context.Context, request CreateDeploymentRequest) (response CreateDeploymentResponse, err error)

CreateDeployment Creates a new Deployment.

func (DeploymentClient) DeleteDeployment ¶

func (client DeploymentClient) DeleteDeployment(ctx context.Context, request DeleteDeploymentRequest) (response DeleteDeploymentResponse, err error)

DeleteDeployment Deletes a Deployment resource by identifier

func (DeploymentClient) GetDeployment ¶

func (client DeploymentClient) GetDeployment(ctx context.Context, request GetDeploymentRequest) (response GetDeploymentResponse, err error)

GetDeployment Gets a Deployment by identifier

func (DeploymentClient) ListDeployments ¶

func (client DeploymentClient) ListDeployments(ctx context.Context, request ListDeploymentsRequest) (response ListDeploymentsResponse, err error)

ListDeployments Returns a list of Deployments.

func (*DeploymentClient) SetRegion ¶

func (client *DeploymentClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DeploymentClient) UpdateDeployment ¶

func (client DeploymentClient) UpdateDeployment(ctx context.Context, request UpdateDeploymentRequest) (response UpdateDeploymentResponse, err error)

UpdateDeployment Updates the Deployment

type DeploymentCollection ¶

type DeploymentCollection struct {

	// Array of DeploymentSummary items.
	Items []DeploymentSummary `mandatory:"true" json:"items"`
}

DeploymentCollection Results of a deployment search.

func (DeploymentCollection) String ¶

func (m DeploymentCollection) String() string

type DeploymentExecutionProgress ¶

type DeploymentExecutionProgress struct {

	// The time the the Deployment is started. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Deployment is finished. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// Map of stage OCIDs to StageExecutionProgress model.
	StageExecutionProgress map[string]StageExecutionProgress `mandatory:"false" json:"stageExecutionProgress"`
}

DeploymentExecutionProgress The execution progress details of a Deployment.

func (DeploymentExecutionProgress) String ¶

func (*DeploymentExecutionProgress) UnmarshalJSON ¶

func (m *DeploymentExecutionProgress) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type DeploymentLifecycleStateEnum ¶

type DeploymentLifecycleStateEnum string

DeploymentLifecycleStateEnum Enum with underlying type: string

const (
	DeploymentLifecycleStateAccepted   DeploymentLifecycleStateEnum = "ACCEPTED"
	DeploymentLifecycleStateInProgress DeploymentLifecycleStateEnum = "IN_PROGRESS"
	DeploymentLifecycleStateFailed     DeploymentLifecycleStateEnum = "FAILED"
	DeploymentLifecycleStateSucceeded  DeploymentLifecycleStateEnum = "SUCCEEDED"
	DeploymentLifecycleStateCanceling  DeploymentLifecycleStateEnum = "CANCELING"
	DeploymentLifecycleStateCanceled   DeploymentLifecycleStateEnum = "CANCELED"
)

Set of constants representing the allowable values for DeploymentLifecycleStateEnum

func GetDeploymentLifecycleStateEnumValues ¶

func GetDeploymentLifecycleStateEnumValues() []DeploymentLifecycleStateEnum

GetDeploymentLifecycleStateEnumValues Enumerates the set of values for DeploymentLifecycleStateEnum

type DeploymentSummary ¶

type DeploymentSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Deployment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Deployment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Deployment was updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Deployment.
	LifecycleState DeploymentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"`

	// 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.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

DeploymentSummary Summary of the Deployment.

func (DeploymentSummary) String ¶

func (m DeploymentSummary) String() string

type Environment ¶

type Environment interface {

	// Unique identifier that is immutable on creation
	GetId() *string

	// Application Identifier
	GetApplicationId() *string

	// Compartment Identifier
	GetCompartmentId() *string

	// Environment Identifier, can be renamed
	GetDisplayName() *string

	// The time the the Environment was created. An RFC3339 formatted datetime string
	GetTimeCreated() *common.SDKTime

	// The time the Environment was updated. An RFC3339 formatted datetime string
	GetTimeUpdated() *common.SDKTime

	// The current state of the Environment.
	GetLifecycleState() EnvironmentLifecycleStateEnum

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	GetLifecyleDetails() *string

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}
}

Environment Description of Environment.

type EnvironmentClient ¶

type EnvironmentClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

EnvironmentClient a client for Environment

func NewEnvironmentClientWithConfigurationProvider ¶

func NewEnvironmentClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client EnvironmentClient, err error)

NewEnvironmentClientWithConfigurationProvider Creates a new default Environment client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewEnvironmentClientWithOboToken ¶

func NewEnvironmentClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client EnvironmentClient, err error)

NewEnvironmentClientWithOboToken Creates a new default Environment 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 (*EnvironmentClient) ConfigurationProvider ¶

func (client *EnvironmentClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (EnvironmentClient) CreateEnvironment ¶

func (client EnvironmentClient) CreateEnvironment(ctx context.Context, request CreateEnvironmentRequest) (response CreateEnvironmentResponse, err error)

CreateEnvironment Creates a new Environment.

func (EnvironmentClient) DeleteEnvironment ¶

func (client EnvironmentClient) DeleteEnvironment(ctx context.Context, request DeleteEnvironmentRequest) (response DeleteEnvironmentResponse, err error)

DeleteEnvironment Deletes a Environment resource by identifier

func (EnvironmentClient) GetEnvironment ¶

func (client EnvironmentClient) GetEnvironment(ctx context.Context, request GetEnvironmentRequest) (response GetEnvironmentResponse, err error)

GetEnvironment Gets a Environment by identifier

func (EnvironmentClient) ListEnvironments ¶

func (client EnvironmentClient) ListEnvironments(ctx context.Context, request ListEnvironmentsRequest) (response ListEnvironmentsResponse, err error)

ListEnvironments Returns a list of Environments.

func (*EnvironmentClient) SetRegion ¶

func (client *EnvironmentClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (EnvironmentClient) UpdateEnvironment ¶

func (client EnvironmentClient) UpdateEnvironment(ctx context.Context, request UpdateEnvironmentRequest) (response UpdateEnvironmentResponse, err error)

UpdateEnvironment Updates the Environment

type EnvironmentCollection ¶

type EnvironmentCollection struct {

	// EnvironmentSummary items found for the search.
	Items []EnvironmentSummary `mandatory:"true" json:"items"`
}

EnvironmentCollection Results of an Environment search.

func (EnvironmentCollection) String ¶

func (m EnvironmentCollection) String() string

func (*EnvironmentCollection) UnmarshalJSON ¶

func (m *EnvironmentCollection) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type EnvironmentEnvironmentTypeEnum ¶

type EnvironmentEnvironmentTypeEnum string

EnvironmentEnvironmentTypeEnum Enum with underlying type: string

const (
	EnvironmentEnvironmentTypeOkeCluster           EnvironmentEnvironmentTypeEnum = "OKE_CLUSTER"
	EnvironmentEnvironmentTypeComputeInstanceGroup EnvironmentEnvironmentTypeEnum = "COMPUTE_INSTANCE_GROUP"
	EnvironmentEnvironmentTypeFunction             EnvironmentEnvironmentTypeEnum = "FUNCTION"
	EnvironmentEnvironmentTypeLoadBalanceListener  EnvironmentEnvironmentTypeEnum = "LOAD_BALANCE_LISTENER"
)

Set of constants representing the allowable values for EnvironmentEnvironmentTypeEnum

func GetEnvironmentEnvironmentTypeEnumValues ¶

func GetEnvironmentEnvironmentTypeEnumValues() []EnvironmentEnvironmentTypeEnum

GetEnvironmentEnvironmentTypeEnumValues Enumerates the set of values for EnvironmentEnvironmentTypeEnum

type EnvironmentLifecycleStateEnum ¶

type EnvironmentLifecycleStateEnum string

EnvironmentLifecycleStateEnum Enum with underlying type: string

const (
	EnvironmentLifecycleStateCreating EnvironmentLifecycleStateEnum = "CREATING"
	EnvironmentLifecycleStateUpdating EnvironmentLifecycleStateEnum = "UPDATING"
	EnvironmentLifecycleStateActive   EnvironmentLifecycleStateEnum = "ACTIVE"
	EnvironmentLifecycleStateDeleting EnvironmentLifecycleStateEnum = "DELETING"
	EnvironmentLifecycleStateDeleted  EnvironmentLifecycleStateEnum = "DELETED"
	EnvironmentLifecycleStateFailed   EnvironmentLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for EnvironmentLifecycleStateEnum

func GetEnvironmentLifecycleStateEnumValues ¶

func GetEnvironmentLifecycleStateEnumValues() []EnvironmentLifecycleStateEnum

GetEnvironmentLifecycleStateEnumValues Enumerates the set of values for EnvironmentLifecycleStateEnum

type EnvironmentSummary ¶

type EnvironmentSummary interface {

	// Unique identifier that is immutable on creation
	GetId() *string

	// Application Identifier
	GetApplicationId() *string

	// Compartment Identifier
	GetCompartmentId() *string

	// Environment Identifier, can be renamed
	GetDisplayName() *string

	// The time the the Environment was created. An RFC3339 formatted datetime string
	GetTimeCreated() *common.SDKTime

	// The time the Environment was updated. An RFC3339 formatted datetime string
	GetTimeUpdated() *common.SDKTime

	// The current state of the Environment.
	GetLifecycleState() EnvironmentLifecycleStateEnum

	// 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.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}
}

EnvironmentSummary Summary of the Environment.

type FunctionDeploymentStatus ¶

type FunctionDeploymentStatus struct {

	// The current state of the Function Deployment Stage.
	Status FunctionDeploymentStatusStatusEnum `mandatory:"false" json:"status,omitempty"`

	// A message describing the current status of Function Deployment Stage in more details.
	Message *string `mandatory:"false" json:"message"`

	// The timestamp when current status of Function Deployment recorded. An RFC3339 formatted datetime string
	TimeReported *common.SDKTime `mandatory:"false" json:"timeReported"`
}

FunctionDeploymentStatus Specifies Function Deployment Stage Specific Status.

func (FunctionDeploymentStatus) String ¶

func (m FunctionDeploymentStatus) String() string

type FunctionDeploymentStatusStatusEnum ¶

type FunctionDeploymentStatusStatusEnum string

FunctionDeploymentStatusStatusEnum Enum with underlying type: string

const (
	FunctionDeploymentStatusStatusInProgress FunctionDeploymentStatusStatusEnum = "IN_PROGRESS"
	FunctionDeploymentStatusStatusSucceeded  FunctionDeploymentStatusStatusEnum = "SUCCEEDED"
	FunctionDeploymentStatusStatusFailed     FunctionDeploymentStatusStatusEnum = "FAILED"
)

Set of constants representing the allowable values for FunctionDeploymentStatusStatusEnum

func GetFunctionDeploymentStatusStatusEnumValues ¶

func GetFunctionDeploymentStatusStatusEnumValues() []FunctionDeploymentStatusStatusEnum

GetFunctionDeploymentStatusStatusEnumValues Enumerates the set of values for FunctionDeploymentStatusStatusEnum

type FunctionEnvironment ¶

type FunctionEnvironment struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the Function.
	FunctionId *string `mandatory:"true" json:"functionId"`

	// Environment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Environment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Environment was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Environment.
	LifecycleState EnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

FunctionEnvironment Specifies the OKE Function environment.

func (FunctionEnvironment) GetApplicationId ¶

func (m FunctionEnvironment) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (FunctionEnvironment) GetCompartmentId ¶

func (m FunctionEnvironment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (FunctionEnvironment) GetDefinedTags ¶

func (m FunctionEnvironment) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (FunctionEnvironment) GetDisplayName ¶

func (m FunctionEnvironment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (FunctionEnvironment) GetFreeformTags ¶

func (m FunctionEnvironment) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (FunctionEnvironment) GetId ¶

func (m FunctionEnvironment) GetId() *string

GetId returns Id

func (FunctionEnvironment) GetLifecycleState ¶

func (m FunctionEnvironment) GetLifecycleState() EnvironmentLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (FunctionEnvironment) GetLifecyleDetails ¶

func (m FunctionEnvironment) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (FunctionEnvironment) GetSystemTags ¶

func (m FunctionEnvironment) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (FunctionEnvironment) GetTimeCreated ¶

func (m FunctionEnvironment) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (FunctionEnvironment) GetTimeUpdated ¶

func (m FunctionEnvironment) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (FunctionEnvironment) MarshalJSON ¶

func (m FunctionEnvironment) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (FunctionEnvironment) String ¶

func (m FunctionEnvironment) String() string

type FunctionEnvironmentSummary ¶

type FunctionEnvironmentSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the Function.
	FunctionId *string `mandatory:"true" json:"functionId"`

	// Environment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Environment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Environment was updated. An RFC3339 formatted datetime string
	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.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Environment.
	LifecycleState EnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

FunctionEnvironmentSummary Specifies the OKE Function environment.

func (FunctionEnvironmentSummary) GetApplicationId ¶

func (m FunctionEnvironmentSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (FunctionEnvironmentSummary) GetCompartmentId ¶

func (m FunctionEnvironmentSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (FunctionEnvironmentSummary) GetDefinedTags ¶

func (m FunctionEnvironmentSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (FunctionEnvironmentSummary) GetDisplayName ¶

func (m FunctionEnvironmentSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (FunctionEnvironmentSummary) GetFreeformTags ¶

func (m FunctionEnvironmentSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (FunctionEnvironmentSummary) GetId ¶

GetId returns Id

func (FunctionEnvironmentSummary) GetLifecycleDetails ¶

func (m FunctionEnvironmentSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (FunctionEnvironmentSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (FunctionEnvironmentSummary) GetSystemTags ¶

func (m FunctionEnvironmentSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (FunctionEnvironmentSummary) GetTimeCreated ¶

func (m FunctionEnvironmentSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (FunctionEnvironmentSummary) GetTimeUpdated ¶

func (m FunctionEnvironmentSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (FunctionEnvironmentSummary) MarshalJSON ¶

func (m FunctionEnvironmentSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (FunctionEnvironmentSummary) String ¶

type GetApplicationRequest ¶

type GetApplicationRequest struct {

	// unique Application identifier
	ApplicationId *string `mandatory:"true" contributesTo:"path" name:"applicationId"`

	// The client request ID for tracing.
	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
}

GetApplicationRequest wrapper for the GetApplication operation

func (GetApplicationRequest) HTTPRequest ¶

func (request GetApplicationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetApplicationRequest) RetryPolicy ¶

func (request GetApplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetApplicationRequest) String ¶

func (request GetApplicationRequest) String() string

type GetApplicationResponse ¶

type GetApplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Application instance
	Application `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetApplicationResponse wrapper for the GetApplication operation

func (GetApplicationResponse) HTTPResponse ¶

func (response GetApplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetApplicationResponse) String ¶

func (response GetApplicationResponse) String() string

type GetArtifactRequest ¶

type GetArtifactRequest struct {

	// unique Artifact identifier
	ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`

	// The client request ID for tracing.
	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
}

GetArtifactRequest wrapper for the GetArtifact operation

func (GetArtifactRequest) HTTPRequest ¶

func (request GetArtifactRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetArtifactRequest) RetryPolicy ¶

func (request GetArtifactRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetArtifactRequest) String ¶

func (request GetArtifactRequest) String() string

type GetArtifactResponse ¶

type GetArtifactResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Artifact instance
	Artifact `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetArtifactResponse wrapper for the GetArtifact operation

func (GetArtifactResponse) HTTPResponse ¶

func (response GetArtifactResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetArtifactResponse) String ¶

func (response GetArtifactResponse) String() string

type GetDeploymentRequest ¶

type GetDeploymentRequest struct {

	// unique Deployment identifier
	DeploymentId *string `mandatory:"true" contributesTo:"path" name:"deploymentId"`

	// The client request ID for tracing.
	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
}

GetDeploymentRequest wrapper for the GetDeployment operation

func (GetDeploymentRequest) HTTPRequest ¶

func (request GetDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDeploymentRequest) RetryPolicy ¶

func (request GetDeploymentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDeploymentRequest) String ¶

func (request GetDeploymentRequest) String() string

type GetDeploymentResponse ¶

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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDeploymentResponse wrapper for the GetDeployment operation

func (GetDeploymentResponse) HTTPResponse ¶

func (response GetDeploymentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDeploymentResponse) String ¶

func (response GetDeploymentResponse) String() string

type GetEnvironmentRequest ¶

type GetEnvironmentRequest struct {

	// unique Environment identifier
	EnvironmentId *string `mandatory:"true" contributesTo:"path" name:"environmentId"`

	// The client request ID for tracing.
	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
}

GetEnvironmentRequest wrapper for the GetEnvironment operation

func (GetEnvironmentRequest) HTTPRequest ¶

func (request GetEnvironmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetEnvironmentRequest) RetryPolicy ¶

func (request GetEnvironmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetEnvironmentRequest) String ¶

func (request GetEnvironmentRequest) String() string

type GetEnvironmentResponse ¶

type GetEnvironmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Environment instance
	Environment `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetEnvironmentResponse wrapper for the GetEnvironment operation

func (GetEnvironmentResponse) HTTPResponse ¶

func (response GetEnvironmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetEnvironmentResponse) String ¶

func (response GetEnvironmentResponse) String() string

type GetPipelineRequest ¶

type GetPipelineRequest struct {

	// unique Pipeline identifier
	PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"`

	// The client request ID for tracing.
	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
}

GetPipelineRequest wrapper for the GetPipeline operation

func (GetPipelineRequest) HTTPRequest ¶

func (request GetPipelineRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPipelineRequest) RetryPolicy ¶

func (request GetPipelineRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPipelineRequest) String ¶

func (request GetPipelineRequest) String() string

type GetPipelineResponse ¶

type GetPipelineResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Pipeline instance
	Pipeline `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetPipelineResponse wrapper for the GetPipeline operation

func (GetPipelineResponse) HTTPResponse ¶

func (response GetPipelineResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPipelineResponse) String ¶

func (response GetPipelineResponse) String() string

type GetStageRequest ¶

type GetStageRequest struct {

	// unique Stage identifier
	StageId *string `mandatory:"true" contributesTo:"path" name:"stageId"`

	// The client request ID for tracing.
	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
}

GetStageRequest wrapper for the GetStage operation

func (GetStageRequest) HTTPRequest ¶

func (request GetStageRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetStageRequest) RetryPolicy ¶

func (request GetStageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetStageRequest) String ¶

func (request GetStageRequest) String() string

type GetStageResponse ¶

type GetStageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Stage instance
	Stage `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetStageResponse wrapper for the GetStage operation

func (GetStageResponse) HTTPResponse ¶

func (response GetStageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetStageResponse) String ¶

func (response GetStageResponse) String() string

type GetWorkRequestRequest ¶

type GetWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	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
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

func (GetWorkRequestRequest) HTTPRequest ¶

func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy ¶

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String ¶

func (request GetWorkRequestRequest) String() string

type GetWorkRequestResponse ¶

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, please 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"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse ¶

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String ¶

func (response GetWorkRequestResponse) String() string

type InlineArtifactSource ¶

type InlineArtifactSource struct {

	// base64 Encoded String
	Base64EncodedContent []byte `mandatory:"true" json:"base64EncodedContent"`
}

InlineArtifactSource Specifies the Inline Artifact Source Details

func (InlineArtifactSource) MarshalJSON ¶

func (m InlineArtifactSource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InlineArtifactSource) String ¶

func (m InlineArtifactSource) String() string

type InstanceDeploymentStatus ¶

type InstanceDeploymentStatus struct {

	// the OCID of the instance
	InstanceId *string `mandatory:"false" json:"instanceId"`

	// The current status of the deployment.
	Status InstanceDeploymentStatusStatusEnum `mandatory:"false" json:"status,omitempty"`

	// A more detailed message about the current status of the deployment on the instance.
	Message *string `mandatory:"false" json:"message"`
}

InstanceDeploymentStatus Describe the deployment status of one instance.

func (InstanceDeploymentStatus) String ¶

func (m InstanceDeploymentStatus) String() string

type InstanceDeploymentStatusStatusEnum ¶

type InstanceDeploymentStatusStatusEnum string

InstanceDeploymentStatusStatusEnum Enum with underlying type: string

const (
	InstanceDeploymentStatusStatusInProgress InstanceDeploymentStatusStatusEnum = "IN_PROGRESS"
	InstanceDeploymentStatusStatusSucceeded  InstanceDeploymentStatusStatusEnum = "SUCCEEDED"
	InstanceDeploymentStatusStatusFailed     InstanceDeploymentStatusStatusEnum = "FAILED"
)

Set of constants representing the allowable values for InstanceDeploymentStatusStatusEnum

func GetInstanceDeploymentStatusStatusEnumValues ¶

func GetInstanceDeploymentStatusStatusEnumValues() []InstanceDeploymentStatusStatusEnum

GetInstanceDeploymentStatusStatusEnumValues Enumerates the set of values for InstanceDeploymentStatusStatusEnum

type InvokeFunctionStage ¶

type InvokeFunctionStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A boolean flag specifies whether this stage executes asynchronously.
	IsAsync *bool `mandatory:"true" json:"isAsync"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// Optional binary artifat ocid user may provide to this stage.
	ArtifactId *string `mandatory:"false" json:"artifactId"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

InvokeFunctionStage Specifies Invoke Function stage.

func (InvokeFunctionStage) GetApplicationId ¶

func (m InvokeFunctionStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (InvokeFunctionStage) GetCompartmentId ¶

func (m InvokeFunctionStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (InvokeFunctionStage) GetDefinedTags ¶

func (m InvokeFunctionStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (InvokeFunctionStage) GetDisplayName ¶

func (m InvokeFunctionStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (InvokeFunctionStage) GetFreeformTags ¶

func (m InvokeFunctionStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (InvokeFunctionStage) GetId ¶

func (m InvokeFunctionStage) GetId() *string

GetId returns Id

func (InvokeFunctionStage) GetLifecycleState ¶

func (m InvokeFunctionStage) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (InvokeFunctionStage) GetLifecyleDetails ¶

func (m InvokeFunctionStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (InvokeFunctionStage) GetPipelineId ¶

func (m InvokeFunctionStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (InvokeFunctionStage) GetStagePredecessorCollection ¶

func (m InvokeFunctionStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (InvokeFunctionStage) GetSystemTags ¶

func (m InvokeFunctionStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (InvokeFunctionStage) GetTimeCreated ¶

func (m InvokeFunctionStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (InvokeFunctionStage) GetTimeUpdated ¶

func (m InvokeFunctionStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (InvokeFunctionStage) GetTimeoutInSeconds ¶

func (m InvokeFunctionStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (InvokeFunctionStage) MarshalJSON ¶

func (m InvokeFunctionStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InvokeFunctionStage) String ¶

func (m InvokeFunctionStage) String() string

type InvokeFunctionStageExecutionProgress ¶

type InvokeFunctionStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

InvokeFunctionStageExecutionProgress Specifies Invoke Function stage specific execution details.

func (InvokeFunctionStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (InvokeFunctionStageExecutionProgress) GetStatusMessages ¶

func (m InvokeFunctionStageExecutionProgress) GetStatusMessages() []string

GetStatusMessages returns StatusMessages

func (InvokeFunctionStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (InvokeFunctionStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (InvokeFunctionStageExecutionProgress) MarshalJSON ¶

func (m InvokeFunctionStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InvokeFunctionStageExecutionProgress) String ¶

type InvokeFunctionStageSummary ¶

type InvokeFunctionStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A boolean flag specifies whether this stage executes asynchronously.
	IsAsync *bool `mandatory:"true" json:"isAsync"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// Optional binary artifat ocid user may provide to this stage.
	ArtifactId *string `mandatory:"false" json:"artifactId"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

InvokeFunctionStageSummary Specifies Invoke Function stage.

func (InvokeFunctionStageSummary) GetApplicationId ¶

func (m InvokeFunctionStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (InvokeFunctionStageSummary) GetCompartmentId ¶

func (m InvokeFunctionStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (InvokeFunctionStageSummary) GetDefinedTags ¶

func (m InvokeFunctionStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (InvokeFunctionStageSummary) GetDisplayName ¶

func (m InvokeFunctionStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (InvokeFunctionStageSummary) GetFreeformTags ¶

func (m InvokeFunctionStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (InvokeFunctionStageSummary) GetId ¶

GetId returns Id

func (InvokeFunctionStageSummary) GetLifecycleDetails ¶

func (m InvokeFunctionStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (InvokeFunctionStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (InvokeFunctionStageSummary) GetPipelineId ¶

func (m InvokeFunctionStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (InvokeFunctionStageSummary) GetStagePredecessorCollection ¶

func (m InvokeFunctionStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (InvokeFunctionStageSummary) GetSystemTags ¶

func (m InvokeFunctionStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (InvokeFunctionStageSummary) GetTimeCreated ¶

func (m InvokeFunctionStageSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (InvokeFunctionStageSummary) GetTimeUpdated ¶

func (m InvokeFunctionStageSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (InvokeFunctionStageSummary) GetTimeoutInSeconds ¶

func (m InvokeFunctionStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (InvokeFunctionStageSummary) MarshalJSON ¶

func (m InvokeFunctionStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InvokeFunctionStageSummary) String ¶

type ListApplicationsRequest ¶

type ListApplicationsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// unique Application identifier
	ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"`

	// A filter to return only Applications that matches the given lifecycleState.
	LifecycleState ApplicationLifecycleStateEnum `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, either 'asc' or 'desc'.
	SortOrder ListApplicationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListApplicationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListApplicationsRequest wrapper for the ListApplications operation

func (ListApplicationsRequest) HTTPRequest ¶

func (request ListApplicationsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListApplicationsRequest) RetryPolicy ¶

func (request ListApplicationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListApplicationsRequest) String ¶

func (request ListApplicationsRequest) String() string

type ListApplicationsResponse ¶

type ListApplicationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ApplicationCollection instances
	ApplicationCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please 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"`
}

ListApplicationsResponse wrapper for the ListApplications operation

func (ListApplicationsResponse) HTTPResponse ¶

func (response ListApplicationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListApplicationsResponse) String ¶

func (response ListApplicationsResponse) String() string

type ListApplicationsSortByEnum ¶

type ListApplicationsSortByEnum string

ListApplicationsSortByEnum Enum with underlying type: string

const (
	ListApplicationsSortByTimecreated ListApplicationsSortByEnum = "timeCreated"
	ListApplicationsSortByDisplayname ListApplicationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListApplicationsSortByEnum

func GetListApplicationsSortByEnumValues ¶

func GetListApplicationsSortByEnumValues() []ListApplicationsSortByEnum

GetListApplicationsSortByEnumValues Enumerates the set of values for ListApplicationsSortByEnum

type ListApplicationsSortOrderEnum ¶

type ListApplicationsSortOrderEnum string

ListApplicationsSortOrderEnum Enum with underlying type: string

const (
	ListApplicationsSortOrderAsc  ListApplicationsSortOrderEnum = "ASC"
	ListApplicationsSortOrderDesc ListApplicationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListApplicationsSortOrderEnum

func GetListApplicationsSortOrderEnumValues ¶

func GetListApplicationsSortOrderEnumValues() []ListApplicationsSortOrderEnum

GetListApplicationsSortOrderEnumValues Enumerates the set of values for ListApplicationsSortOrderEnum

type ListArtifactsRequest ¶

type ListArtifactsRequest struct {

	// The ID of the Artifact for filtering.
	ArtifactId *string `mandatory:"false" contributesTo:"query" name:"artifactId"`

	// The ID of the parent Application.
	ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter to return only Artifacts that matches the given lifecycleState.
	LifecycleState ArtifactLifecycleStateEnum `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, either 'asc' or 'desc'.
	SortOrder ListArtifactsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListArtifactsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListArtifactsRequest wrapper for the ListArtifacts operation

func (ListArtifactsRequest) HTTPRequest ¶

func (request ListArtifactsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListArtifactsRequest) RetryPolicy ¶

func (request ListArtifactsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListArtifactsRequest) String ¶

func (request ListArtifactsRequest) String() string

type ListArtifactsResponse ¶

type ListArtifactsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ArtifactCollection instances
	ArtifactCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please 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"`
}

ListArtifactsResponse wrapper for the ListArtifacts operation

func (ListArtifactsResponse) HTTPResponse ¶

func (response ListArtifactsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListArtifactsResponse) String ¶

func (response ListArtifactsResponse) String() string

type ListArtifactsSortByEnum ¶

type ListArtifactsSortByEnum string

ListArtifactsSortByEnum Enum with underlying type: string

const (
	ListArtifactsSortByTimecreated ListArtifactsSortByEnum = "timeCreated"
	ListArtifactsSortByDisplayname ListArtifactsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListArtifactsSortByEnum

func GetListArtifactsSortByEnumValues ¶

func GetListArtifactsSortByEnumValues() []ListArtifactsSortByEnum

GetListArtifactsSortByEnumValues Enumerates the set of values for ListArtifactsSortByEnum

type ListArtifactsSortOrderEnum ¶

type ListArtifactsSortOrderEnum string

ListArtifactsSortOrderEnum Enum with underlying type: string

const (
	ListArtifactsSortOrderAsc  ListArtifactsSortOrderEnum = "ASC"
	ListArtifactsSortOrderDesc ListArtifactsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListArtifactsSortOrderEnum

func GetListArtifactsSortOrderEnumValues ¶

func GetListArtifactsSortOrderEnumValues() []ListArtifactsSortOrderEnum

GetListArtifactsSortOrderEnumValues Enumerates the set of values for ListArtifactsSortOrderEnum

type ListDeploymentsRequest ¶

type ListDeploymentsRequest struct {

	// unique Deployment identifier
	DeploymentId *string `mandatory:"false" contributesTo:"query" name:"deploymentId"`

	// The ID of the parent Pipeline.
	PipelineId *string `mandatory:"false" contributesTo:"query" name:"pipelineId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// The ID of the parent Application.
	ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"`

	// 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, either 'asc' or 'desc'.
	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 timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListDeploymentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListDeploymentsRequest wrapper for the ListDeployments operation

func (ListDeploymentsRequest) HTTPRequest ¶

func (request ListDeploymentsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListDeploymentsRequest) RetryPolicy ¶

func (request ListDeploymentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListDeploymentsRequest) String ¶

func (request ListDeploymentsRequest) String() string

type ListDeploymentsResponse ¶

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, please 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"`
}

ListDeploymentsResponse wrapper for the ListDeployments operation

func (ListDeploymentsResponse) HTTPResponse ¶

func (response ListDeploymentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListDeploymentsResponse) String ¶

func (response ListDeploymentsResponse) String() string

type ListDeploymentsSortByEnum ¶

type ListDeploymentsSortByEnum string

ListDeploymentsSortByEnum Enum with underlying type: string

const (
	ListDeploymentsSortByTimecreated ListDeploymentsSortByEnum = "timeCreated"
	ListDeploymentsSortByDisplayname ListDeploymentsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListDeploymentsSortByEnum

func GetListDeploymentsSortByEnumValues ¶

func GetListDeploymentsSortByEnumValues() []ListDeploymentsSortByEnum

GetListDeploymentsSortByEnumValues Enumerates the set of values for ListDeploymentsSortByEnum

type ListDeploymentsSortOrderEnum ¶

type ListDeploymentsSortOrderEnum string

ListDeploymentsSortOrderEnum Enum with underlying type: string

const (
	ListDeploymentsSortOrderAsc  ListDeploymentsSortOrderEnum = "ASC"
	ListDeploymentsSortOrderDesc ListDeploymentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListDeploymentsSortOrderEnum

func GetListDeploymentsSortOrderEnumValues ¶

func GetListDeploymentsSortOrderEnumValues() []ListDeploymentsSortOrderEnum

GetListDeploymentsSortOrderEnumValues Enumerates the set of values for ListDeploymentsSortOrderEnum

type ListEnvironmentsRequest ¶

type ListEnvironmentsRequest struct {

	// The ID of the parent Application.
	ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// ID of the environment for filtering.
	EnvironmentId *string `mandatory:"false" contributesTo:"query" name:"environmentId"`

	// A filter to return only Environments that matches the given lifecycleState.
	LifecycleState EnvironmentLifecycleStateEnum `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, either 'asc' or 'desc'.
	SortOrder ListEnvironmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListEnvironmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListEnvironmentsRequest wrapper for the ListEnvironments operation

func (ListEnvironmentsRequest) HTTPRequest ¶

func (request ListEnvironmentsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListEnvironmentsRequest) RetryPolicy ¶

func (request ListEnvironmentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListEnvironmentsRequest) String ¶

func (request ListEnvironmentsRequest) String() string

type ListEnvironmentsResponse ¶

type ListEnvironmentsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of EnvironmentCollection instances
	EnvironmentCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please 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"`
}

ListEnvironmentsResponse wrapper for the ListEnvironments operation

func (ListEnvironmentsResponse) HTTPResponse ¶

func (response ListEnvironmentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListEnvironmentsResponse) String ¶

func (response ListEnvironmentsResponse) String() string

type ListEnvironmentsSortByEnum ¶

type ListEnvironmentsSortByEnum string

ListEnvironmentsSortByEnum Enum with underlying type: string

const (
	ListEnvironmentsSortByTimecreated ListEnvironmentsSortByEnum = "timeCreated"
	ListEnvironmentsSortByDisplayname ListEnvironmentsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListEnvironmentsSortByEnum

func GetListEnvironmentsSortByEnumValues ¶

func GetListEnvironmentsSortByEnumValues() []ListEnvironmentsSortByEnum

GetListEnvironmentsSortByEnumValues Enumerates the set of values for ListEnvironmentsSortByEnum

type ListEnvironmentsSortOrderEnum ¶

type ListEnvironmentsSortOrderEnum string

ListEnvironmentsSortOrderEnum Enum with underlying type: string

const (
	ListEnvironmentsSortOrderAsc  ListEnvironmentsSortOrderEnum = "ASC"
	ListEnvironmentsSortOrderDesc ListEnvironmentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListEnvironmentsSortOrderEnum

func GetListEnvironmentsSortOrderEnumValues ¶

func GetListEnvironmentsSortOrderEnumValues() []ListEnvironmentsSortOrderEnum

GetListEnvironmentsSortOrderEnumValues Enumerates the set of values for ListEnvironmentsSortOrderEnum

type ListPipelinesRequest ¶

type ListPipelinesRequest struct {

	// The ID of the parent Pipeline.
	PipelineId *string `mandatory:"false" contributesTo:"query" name:"pipelineId"`

	// The ID of the parent Application.
	ApplicationId *string `mandatory:"false" contributesTo:"query" name:"applicationId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter to return only Pipelines that matches the given lifecycleState.
	LifecycleState PipelineLifecycleStateEnum `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, either 'asc' or 'desc'.
	SortOrder ListPipelinesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListPipelinesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListPipelinesRequest wrapper for the ListPipelines operation

func (ListPipelinesRequest) HTTPRequest ¶

func (request ListPipelinesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPipelinesRequest) RetryPolicy ¶

func (request ListPipelinesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPipelinesRequest) String ¶

func (request ListPipelinesRequest) String() string

type ListPipelinesResponse ¶

type ListPipelinesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of PipelineCollection instances
	PipelineCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please 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"`
}

ListPipelinesResponse wrapper for the ListPipelines operation

func (ListPipelinesResponse) HTTPResponse ¶

func (response ListPipelinesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPipelinesResponse) String ¶

func (response ListPipelinesResponse) String() string

type ListPipelinesSortByEnum ¶

type ListPipelinesSortByEnum string

ListPipelinesSortByEnum Enum with underlying type: string

const (
	ListPipelinesSortByTimecreated ListPipelinesSortByEnum = "timeCreated"
	ListPipelinesSortByDisplayname ListPipelinesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListPipelinesSortByEnum

func GetListPipelinesSortByEnumValues ¶

func GetListPipelinesSortByEnumValues() []ListPipelinesSortByEnum

GetListPipelinesSortByEnumValues Enumerates the set of values for ListPipelinesSortByEnum

type ListPipelinesSortOrderEnum ¶

type ListPipelinesSortOrderEnum string

ListPipelinesSortOrderEnum Enum with underlying type: string

const (
	ListPipelinesSortOrderAsc  ListPipelinesSortOrderEnum = "ASC"
	ListPipelinesSortOrderDesc ListPipelinesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPipelinesSortOrderEnum

func GetListPipelinesSortOrderEnumValues ¶

func GetListPipelinesSortOrderEnumValues() []ListPipelinesSortOrderEnum

GetListPipelinesSortOrderEnumValues Enumerates the set of values for ListPipelinesSortOrderEnum

type ListStagesRequest ¶

type ListStagesRequest struct {

	// The ID of the Stage to be queried
	StageId *string `mandatory:"false" contributesTo:"query" name:"stageId"`

	// The ID of the parent Pipeline.
	PipelineId *string `mandatory:"false" contributesTo:"query" name:"pipelineId"`

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

	// A filter to return only Stages that matches the given lifecycleState.
	LifecycleState StageLifecycleStateEnum `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, either 'asc' or 'desc'.
	SortOrder ListStagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default.
	SortBy ListStagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The client request ID for tracing.
	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
}

ListStagesRequest wrapper for the ListStages operation

func (ListStagesRequest) HTTPRequest ¶

func (request ListStagesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListStagesRequest) RetryPolicy ¶

func (request ListStagesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListStagesRequest) String ¶

func (request ListStagesRequest) String() string

type ListStagesResponse ¶

type ListStagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of StageCollection instances
	StageCollection `presentIn:"body"`

	// Unique Oracle-assigned identifier for the request. If you need to contact
	// Oracle about a particular request, please 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"`
}

ListStagesResponse wrapper for the ListStages operation

func (ListStagesResponse) HTTPResponse ¶

func (response ListStagesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListStagesResponse) String ¶

func (response ListStagesResponse) String() string

type ListStagesSortByEnum ¶

type ListStagesSortByEnum string

ListStagesSortByEnum Enum with underlying type: string

const (
	ListStagesSortByTimecreated ListStagesSortByEnum = "timeCreated"
	ListStagesSortByDisplayname ListStagesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListStagesSortByEnum

func GetListStagesSortByEnumValues ¶

func GetListStagesSortByEnumValues() []ListStagesSortByEnum

GetListStagesSortByEnumValues Enumerates the set of values for ListStagesSortByEnum

type ListStagesSortOrderEnum ¶

type ListStagesSortOrderEnum string

ListStagesSortOrderEnum Enum with underlying type: string

const (
	ListStagesSortOrderAsc  ListStagesSortOrderEnum = "ASC"
	ListStagesSortOrderDesc ListStagesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListStagesSortOrderEnum

func GetListStagesSortOrderEnumValues ¶

func GetListStagesSortOrderEnumValues() []ListStagesSortOrderEnum

GetListStagesSortOrderEnumValues Enumerates the set of values for ListStagesSortOrderEnum

type ListWorkRequestErrorsRequest ¶

type ListWorkRequestErrorsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	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"`

	// 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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsRequest) HTTPRequest ¶

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy ¶

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String ¶

func (request ListWorkRequestErrorsRequest) String() string

type ListWorkRequestErrorsResponse ¶

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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse ¶

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String ¶

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest ¶

type ListWorkRequestLogsRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

	// The client request ID for tracing.
	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"`

	// 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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsRequest) HTTPRequest ¶

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy ¶

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String ¶

func (request ListWorkRequestLogsRequest) String() string

type ListWorkRequestLogsResponse ¶

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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse ¶

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String ¶

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest ¶

type ListWorkRequestsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The client request ID for tracing.
	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"`

	// 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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

func (ListWorkRequestsRequest) HTTPRequest ¶

func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy ¶

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String ¶

func (request ListWorkRequestsRequest) String() string

type ListWorkRequestsResponse ¶

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, please 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"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse ¶

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String ¶

func (response ListWorkRequestsResponse) String() string

type LoadBalancerListenerEnvironment ¶

type LoadBalancerListenerEnvironment struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of Load Balancer
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// Name of the Load Balancer Listener
	ListenerName *string `mandatory:"true" json:"listenerName"`

	// Environment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Environment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Environment was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Environment.
	LifecycleState EnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

LoadBalancerListenerEnvironment Specifies Load Balancer Listener environment.

func (LoadBalancerListenerEnvironment) GetApplicationId ¶

func (m LoadBalancerListenerEnvironment) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (LoadBalancerListenerEnvironment) GetCompartmentId ¶

func (m LoadBalancerListenerEnvironment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (LoadBalancerListenerEnvironment) GetDefinedTags ¶

func (m LoadBalancerListenerEnvironment) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (LoadBalancerListenerEnvironment) GetDisplayName ¶

func (m LoadBalancerListenerEnvironment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LoadBalancerListenerEnvironment) GetFreeformTags ¶

func (m LoadBalancerListenerEnvironment) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (LoadBalancerListenerEnvironment) GetId ¶

GetId returns Id

func (LoadBalancerListenerEnvironment) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (LoadBalancerListenerEnvironment) GetLifecyleDetails ¶

func (m LoadBalancerListenerEnvironment) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (LoadBalancerListenerEnvironment) GetSystemTags ¶

func (m LoadBalancerListenerEnvironment) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (LoadBalancerListenerEnvironment) GetTimeCreated ¶

func (m LoadBalancerListenerEnvironment) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (LoadBalancerListenerEnvironment) GetTimeUpdated ¶

func (m LoadBalancerListenerEnvironment) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (LoadBalancerListenerEnvironment) MarshalJSON ¶

func (m LoadBalancerListenerEnvironment) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoadBalancerListenerEnvironment) String ¶

type LoadBalancerListenerEnvironmentSummary ¶

type LoadBalancerListenerEnvironmentSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of Load Balancer
	LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

	// Name of the Load Balancer Listener
	ListenerName *string `mandatory:"true" json:"listenerName"`

	// Environment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Environment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Environment was updated. An RFC3339 formatted datetime string
	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.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Environment.
	LifecycleState EnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

LoadBalancerListenerEnvironmentSummary Specifies Load Balancer Listener environment.

func (LoadBalancerListenerEnvironmentSummary) GetApplicationId ¶

func (m LoadBalancerListenerEnvironmentSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (LoadBalancerListenerEnvironmentSummary) GetCompartmentId ¶

func (m LoadBalancerListenerEnvironmentSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (LoadBalancerListenerEnvironmentSummary) GetDefinedTags ¶

func (m LoadBalancerListenerEnvironmentSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (LoadBalancerListenerEnvironmentSummary) GetDisplayName ¶

func (m LoadBalancerListenerEnvironmentSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LoadBalancerListenerEnvironmentSummary) GetFreeformTags ¶

func (m LoadBalancerListenerEnvironmentSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (LoadBalancerListenerEnvironmentSummary) GetId ¶

GetId returns Id

func (LoadBalancerListenerEnvironmentSummary) GetLifecycleDetails ¶

func (m LoadBalancerListenerEnvironmentSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (LoadBalancerListenerEnvironmentSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (LoadBalancerListenerEnvironmentSummary) GetSystemTags ¶

func (m LoadBalancerListenerEnvironmentSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (LoadBalancerListenerEnvironmentSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (LoadBalancerListenerEnvironmentSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (LoadBalancerListenerEnvironmentSummary) MarshalJSON ¶

func (m LoadBalancerListenerEnvironmentSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoadBalancerListenerEnvironmentSummary) String ¶

type LoadBalancerTrafficShiftRollOutPolicy ¶

type LoadBalancerTrafficShiftRollOutPolicy struct {

	// Specifies number of batches for this stage.
	BatchCount *int `mandatory:"true" json:"batchCount"`

	// Specifies delay in seconds between batches.
	BatchDelayInSeconds *int `mandatory:"false" json:"batchDelayInSeconds"`

	// Indicates the stoping criteria.
	RampLimitPercent *float32 `mandatory:"false" json:"rampLimitPercent"`
}

LoadBalancerTrafficShiftRollOutPolicy Description of rollout policy for Load Balancer Traffic Shift stage.

func (LoadBalancerTrafficShiftRollOutPolicy) String ¶

type LoadBalancerTrafficShiftStage ¶

type LoadBalancerTrafficShiftStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Existing Load Balance Listener environment ocid.
	// Listener of this environment should have Backends or BackendSet set up.
	LoadBalancerListenerEnvironmentId *string `mandatory:"true" json:"loadBalancerListenerEnvironmentId"`

	BlueBackendIps *BackendSetIpCollection `mandatory:"true" json:"blueBackendIps"`

	GreenBackendIps *BackendSetIpCollection `mandatory:"true" json:"greenBackendIps"`

	RolloutPolicy *LoadBalancerTrafficShiftRollOutPolicy `mandatory:"true" json:"rolloutPolicy"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// Specifies the target or destination Backend set.
	TrafficShiftTarget LoadBalancerTrafficShiftStageTrafficShiftTargetEnum `mandatory:"true" json:"trafficShiftTarget"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

LoadBalancerTrafficShiftStage Specifies Load Balncer traffic shift stage.

func (LoadBalancerTrafficShiftStage) GetApplicationId ¶

func (m LoadBalancerTrafficShiftStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (LoadBalancerTrafficShiftStage) GetCompartmentId ¶

func (m LoadBalancerTrafficShiftStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (LoadBalancerTrafficShiftStage) GetDefinedTags ¶

func (m LoadBalancerTrafficShiftStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (LoadBalancerTrafficShiftStage) GetDisplayName ¶

func (m LoadBalancerTrafficShiftStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LoadBalancerTrafficShiftStage) GetFreeformTags ¶

func (m LoadBalancerTrafficShiftStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (LoadBalancerTrafficShiftStage) GetId ¶

GetId returns Id

func (LoadBalancerTrafficShiftStage) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (LoadBalancerTrafficShiftStage) GetLifecyleDetails ¶

func (m LoadBalancerTrafficShiftStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (LoadBalancerTrafficShiftStage) GetPipelineId ¶

func (m LoadBalancerTrafficShiftStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (LoadBalancerTrafficShiftStage) GetStagePredecessorCollection ¶

func (m LoadBalancerTrafficShiftStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (LoadBalancerTrafficShiftStage) GetSystemTags ¶

func (m LoadBalancerTrafficShiftStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (LoadBalancerTrafficShiftStage) GetTimeCreated ¶

func (m LoadBalancerTrafficShiftStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (LoadBalancerTrafficShiftStage) GetTimeUpdated ¶

func (m LoadBalancerTrafficShiftStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (LoadBalancerTrafficShiftStage) GetTimeoutInSeconds ¶

func (m LoadBalancerTrafficShiftStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (LoadBalancerTrafficShiftStage) MarshalJSON ¶

func (m LoadBalancerTrafficShiftStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoadBalancerTrafficShiftStage) String ¶

type LoadBalancerTrafficShiftStageExecutionProgress ¶

type LoadBalancerTrafficShiftStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

LoadBalancerTrafficShiftStageExecutionProgress Specifies Load Balncer traffic shift stage execution details.

func (LoadBalancerTrafficShiftStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (LoadBalancerTrafficShiftStageExecutionProgress) GetStatusMessages ¶

GetStatusMessages returns StatusMessages

func (LoadBalancerTrafficShiftStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (LoadBalancerTrafficShiftStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (LoadBalancerTrafficShiftStageExecutionProgress) MarshalJSON ¶

func (m LoadBalancerTrafficShiftStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoadBalancerTrafficShiftStageExecutionProgress) String ¶

type LoadBalancerTrafficShiftStageSummary ¶

type LoadBalancerTrafficShiftStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Existing Load Balance Listener environment ocid.
	// Listener of this environment should have Backends or BackendSet set up.
	LoadBalancerListenerEnvironmentId *string `mandatory:"true" json:"loadBalancerListenerEnvironmentId"`

	BlueBackendIps *BackendSetIpCollection `mandatory:"true" json:"blueBackendIps"`

	GreenBackendIps *BackendSetIpCollection `mandatory:"true" json:"greenBackendIps"`

	RolloutPolicy *LoadBalancerTrafficShiftRollOutPolicy `mandatory:"true" json:"rolloutPolicy"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Specifies the target or destination Backend set.
	TrafficShiftTarget LoadBalancerTrafficShiftStageTrafficShiftTargetEnum `mandatory:"true" json:"trafficShiftTarget"`
}

LoadBalancerTrafficShiftStageSummary Specifies Load Balncer traffic shift stage.

func (LoadBalancerTrafficShiftStageSummary) GetApplicationId ¶

func (m LoadBalancerTrafficShiftStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (LoadBalancerTrafficShiftStageSummary) GetCompartmentId ¶

func (m LoadBalancerTrafficShiftStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (LoadBalancerTrafficShiftStageSummary) GetDefinedTags ¶

func (m LoadBalancerTrafficShiftStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (LoadBalancerTrafficShiftStageSummary) GetDisplayName ¶

func (m LoadBalancerTrafficShiftStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (LoadBalancerTrafficShiftStageSummary) GetFreeformTags ¶

func (m LoadBalancerTrafficShiftStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (LoadBalancerTrafficShiftStageSummary) GetId ¶

GetId returns Id

func (LoadBalancerTrafficShiftStageSummary) GetLifecycleDetails ¶

func (m LoadBalancerTrafficShiftStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (LoadBalancerTrafficShiftStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (LoadBalancerTrafficShiftStageSummary) GetPipelineId ¶

func (m LoadBalancerTrafficShiftStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (LoadBalancerTrafficShiftStageSummary) GetStagePredecessorCollection ¶

func (m LoadBalancerTrafficShiftStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (LoadBalancerTrafficShiftStageSummary) GetSystemTags ¶

func (m LoadBalancerTrafficShiftStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (LoadBalancerTrafficShiftStageSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (LoadBalancerTrafficShiftStageSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (LoadBalancerTrafficShiftStageSummary) GetTimeoutInSeconds ¶

func (m LoadBalancerTrafficShiftStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (LoadBalancerTrafficShiftStageSummary) MarshalJSON ¶

func (m LoadBalancerTrafficShiftStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (LoadBalancerTrafficShiftStageSummary) String ¶

type LoadBalancerTrafficShiftStageTrafficShiftTargetEnum ¶

type LoadBalancerTrafficShiftStageTrafficShiftTargetEnum string

LoadBalancerTrafficShiftStageTrafficShiftTargetEnum Enum with underlying type: string

const (
	LoadBalancerTrafficShiftStageTrafficShiftTargetBlue  LoadBalancerTrafficShiftStageTrafficShiftTargetEnum = "BLUE"
	LoadBalancerTrafficShiftStageTrafficShiftTargetGreen LoadBalancerTrafficShiftStageTrafficShiftTargetEnum = "GREEN"
)

Set of constants representing the allowable values for LoadBalancerTrafficShiftStageTrafficShiftTargetEnum

func GetLoadBalancerTrafficShiftStageTrafficShiftTargetEnumValues ¶

func GetLoadBalancerTrafficShiftStageTrafficShiftTargetEnumValues() []LoadBalancerTrafficShiftStageTrafficShiftTargetEnum

GetLoadBalancerTrafficShiftStageTrafficShiftTargetEnumValues Enumerates the set of values for LoadBalancerTrafficShiftStageTrafficShiftTargetEnum

type ManualApprovalStage ¶

type ManualApprovalStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A minimum number of approvals required for stage to proceed.
	NumberOfApprovalsRequired *int `mandatory:"true" json:"numberOfApprovalsRequired"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ManualApprovalStage Specifies the manual approval stage.

func (ManualApprovalStage) GetApplicationId ¶

func (m ManualApprovalStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (ManualApprovalStage) GetCompartmentId ¶

func (m ManualApprovalStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ManualApprovalStage) GetDefinedTags ¶

func (m ManualApprovalStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ManualApprovalStage) GetDisplayName ¶

func (m ManualApprovalStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (ManualApprovalStage) GetFreeformTags ¶

func (m ManualApprovalStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (ManualApprovalStage) GetId ¶

func (m ManualApprovalStage) GetId() *string

GetId returns Id

func (ManualApprovalStage) GetLifecycleState ¶

func (m ManualApprovalStage) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (ManualApprovalStage) GetLifecyleDetails ¶

func (m ManualApprovalStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (ManualApprovalStage) GetPipelineId ¶

func (m ManualApprovalStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (ManualApprovalStage) GetStagePredecessorCollection ¶

func (m ManualApprovalStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (ManualApprovalStage) GetSystemTags ¶

func (m ManualApprovalStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (ManualApprovalStage) GetTimeCreated ¶

func (m ManualApprovalStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ManualApprovalStage) GetTimeUpdated ¶

func (m ManualApprovalStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ManualApprovalStage) GetTimeoutInSeconds ¶

func (m ManualApprovalStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (ManualApprovalStage) MarshalJSON ¶

func (m ManualApprovalStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ManualApprovalStage) String ¶

func (m ManualApprovalStage) String() string

type ManualApprovalStageExecutionProgress ¶

type ManualApprovalStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

ManualApprovalStageExecutionProgress Specifies the manual approval stage specific execution details.

func (ManualApprovalStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (ManualApprovalStageExecutionProgress) GetStatusMessages ¶

func (m ManualApprovalStageExecutionProgress) GetStatusMessages() []string

GetStatusMessages returns StatusMessages

func (ManualApprovalStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (ManualApprovalStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (ManualApprovalStageExecutionProgress) MarshalJSON ¶

func (m ManualApprovalStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ManualApprovalStageExecutionProgress) String ¶

type ManualApprovalStageSummary ¶

type ManualApprovalStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A minimum number of approvals required for stage to proceed.
	NumberOfApprovalsRequired *int `mandatory:"true" json:"numberOfApprovalsRequired"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

ManualApprovalStageSummary Specifies the manual approval stage.

func (ManualApprovalStageSummary) GetApplicationId ¶

func (m ManualApprovalStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (ManualApprovalStageSummary) GetCompartmentId ¶

func (m ManualApprovalStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ManualApprovalStageSummary) GetDefinedTags ¶

func (m ManualApprovalStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (ManualApprovalStageSummary) GetDisplayName ¶

func (m ManualApprovalStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (ManualApprovalStageSummary) GetFreeformTags ¶

func (m ManualApprovalStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (ManualApprovalStageSummary) GetId ¶

GetId returns Id

func (ManualApprovalStageSummary) GetLifecycleDetails ¶

func (m ManualApprovalStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (ManualApprovalStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (ManualApprovalStageSummary) GetPipelineId ¶

func (m ManualApprovalStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (ManualApprovalStageSummary) GetStagePredecessorCollection ¶

func (m ManualApprovalStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (ManualApprovalStageSummary) GetSystemTags ¶

func (m ManualApprovalStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (ManualApprovalStageSummary) GetTimeCreated ¶

func (m ManualApprovalStageSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ManualApprovalStageSummary) GetTimeUpdated ¶

func (m ManualApprovalStageSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ManualApprovalStageSummary) GetTimeoutInSeconds ¶

func (m ManualApprovalStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (ManualApprovalStageSummary) MarshalJSON ¶

func (m ManualApprovalStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ManualApprovalStageSummary) String ¶

type ObjectNameFilter ¶

type ObjectNameFilter struct {

	// An array of glob patterns to match the object names to exclude. An empty array is ignored.
	InclusionPatterns []string `mandatory:"false" json:"inclusionPatterns"`

	// An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket.
	ExclusionPatterns []string `mandatory:"false" json:"exclusionPatterns"`

	// An array of object name prefixes. An empty array means to include all objects.
	InclusionPrefixes []string `mandatory:"false" json:"inclusionPrefixes"`
}

ObjectNameFilter Specifies a filter that compares object names to a set of prefixes or patterns

func (ObjectNameFilter) String ¶

func (m ObjectNameFilter) String() string

type ObjectStorageArtifactSource ¶

type ObjectStorageArtifactSource struct {

	// Specifies the object storage bucket
	BucketName *string `mandatory:"true" json:"bucketName"`

	// Specifies the object storage namespace
	NamespaceName *string `mandatory:"true" json:"namespaceName"`

	ObjectNameFilter *ObjectNameFilter `mandatory:"false" json:"objectNameFilter"`
}

ObjectStorageArtifactSource Specifies the Object Storage Artifact Source Details

func (ObjectStorageArtifactSource) MarshalJSON ¶

func (m ObjectStorageArtifactSource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ObjectStorageArtifactSource) String ¶

type OcirArtifactSource ¶

type OcirArtifactSource 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"`
}

OcirArtifactSource Specifies OCIR details

func (OcirArtifactSource) MarshalJSON ¶

func (m OcirArtifactSource) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OcirArtifactSource) String ¶

func (m OcirArtifactSource) String() string

type OkeClusterEnvironment ¶

type OkeClusterEnvironment struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the OKE cluster.
	ClusterId *string `mandatory:"true" json:"clusterId"`

	// Environment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Environment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Environment was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Environment.
	LifecycleState EnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

OkeClusterEnvironment Specifies the OKE Cluster environment.

func (OkeClusterEnvironment) GetApplicationId ¶

func (m OkeClusterEnvironment) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (OkeClusterEnvironment) GetCompartmentId ¶

func (m OkeClusterEnvironment) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (OkeClusterEnvironment) GetDefinedTags ¶

func (m OkeClusterEnvironment) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (OkeClusterEnvironment) GetDisplayName ¶

func (m OkeClusterEnvironment) GetDisplayName() *string

GetDisplayName returns DisplayName

func (OkeClusterEnvironment) GetFreeformTags ¶

func (m OkeClusterEnvironment) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (OkeClusterEnvironment) GetId ¶

func (m OkeClusterEnvironment) GetId() *string

GetId returns Id

func (OkeClusterEnvironment) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (OkeClusterEnvironment) GetLifecyleDetails ¶

func (m OkeClusterEnvironment) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (OkeClusterEnvironment) GetSystemTags ¶

func (m OkeClusterEnvironment) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (OkeClusterEnvironment) GetTimeCreated ¶

func (m OkeClusterEnvironment) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OkeClusterEnvironment) GetTimeUpdated ¶

func (m OkeClusterEnvironment) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (OkeClusterEnvironment) MarshalJSON ¶

func (m OkeClusterEnvironment) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OkeClusterEnvironment) String ¶

func (m OkeClusterEnvironment) String() string

type OkeClusterEnvironmentSummary ¶

type OkeClusterEnvironmentSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID of the OKE cluster.
	ClusterId *string `mandatory:"true" json:"clusterId"`

	// Environment Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Environment was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Environment was updated. An RFC3339 formatted datetime string
	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.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Environment.
	LifecycleState EnvironmentLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

OkeClusterEnvironmentSummary Specifies the OKE Cluster environment.

func (OkeClusterEnvironmentSummary) GetApplicationId ¶

func (m OkeClusterEnvironmentSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (OkeClusterEnvironmentSummary) GetCompartmentId ¶

func (m OkeClusterEnvironmentSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (OkeClusterEnvironmentSummary) GetDefinedTags ¶

func (m OkeClusterEnvironmentSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (OkeClusterEnvironmentSummary) GetDisplayName ¶

func (m OkeClusterEnvironmentSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (OkeClusterEnvironmentSummary) GetFreeformTags ¶

func (m OkeClusterEnvironmentSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (OkeClusterEnvironmentSummary) GetId ¶

GetId returns Id

func (OkeClusterEnvironmentSummary) GetLifecycleDetails ¶

func (m OkeClusterEnvironmentSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (OkeClusterEnvironmentSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (OkeClusterEnvironmentSummary) GetSystemTags ¶

func (m OkeClusterEnvironmentSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (OkeClusterEnvironmentSummary) GetTimeCreated ¶

func (m OkeClusterEnvironmentSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OkeClusterEnvironmentSummary) GetTimeUpdated ¶

func (m OkeClusterEnvironmentSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (OkeClusterEnvironmentSummary) MarshalJSON ¶

func (m OkeClusterEnvironmentSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OkeClusterEnvironmentSummary) String ¶

type OkeDeploymentStage ¶

type OkeDeploymentStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OkeCluster environment ocid for deployment.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid, this manifest should not include any Job resource.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// Default Namespace to be used for Kubernetes Deployment when not specified in the manifest
	Namespace *string `mandatory:"true" json:"namespace"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

OkeDeploymentStage Specifies the OKEDeployment stage.

func (OkeDeploymentStage) GetApplicationId ¶

func (m OkeDeploymentStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (OkeDeploymentStage) GetCompartmentId ¶

func (m OkeDeploymentStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (OkeDeploymentStage) GetDefinedTags ¶

func (m OkeDeploymentStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (OkeDeploymentStage) GetDisplayName ¶

func (m OkeDeploymentStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (OkeDeploymentStage) GetFreeformTags ¶

func (m OkeDeploymentStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (OkeDeploymentStage) GetId ¶

func (m OkeDeploymentStage) GetId() *string

GetId returns Id

func (OkeDeploymentStage) GetLifecycleState ¶

func (m OkeDeploymentStage) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (OkeDeploymentStage) GetLifecyleDetails ¶

func (m OkeDeploymentStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (OkeDeploymentStage) GetPipelineId ¶

func (m OkeDeploymentStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (OkeDeploymentStage) GetStagePredecessorCollection ¶

func (m OkeDeploymentStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (OkeDeploymentStage) GetSystemTags ¶

func (m OkeDeploymentStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (OkeDeploymentStage) GetTimeCreated ¶

func (m OkeDeploymentStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OkeDeploymentStage) GetTimeUpdated ¶

func (m OkeDeploymentStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (OkeDeploymentStage) GetTimeoutInSeconds ¶

func (m OkeDeploymentStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (OkeDeploymentStage) MarshalJSON ¶

func (m OkeDeploymentStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OkeDeploymentStage) String ¶

func (m OkeDeploymentStage) String() string

type OkeDeploymentStageExecutionProgress ¶

type OkeDeploymentStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// Specifies a list of Oke Deployment statuses
	OkeDeploymentStatuses []OkeDeploymentStatus `mandatory:"false" json:"okeDeploymentStatuses"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

OkeDeploymentStageExecutionProgress Specifies the execution details for OKEDeployment stage.

func (OkeDeploymentStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (OkeDeploymentStageExecutionProgress) GetStatusMessages ¶

func (m OkeDeploymentStageExecutionProgress) GetStatusMessages() []string

GetStatusMessages returns StatusMessages

func (OkeDeploymentStageExecutionProgress) GetTimeFinished ¶

func (m OkeDeploymentStageExecutionProgress) GetTimeFinished() *common.SDKTime

GetTimeFinished returns TimeFinished

func (OkeDeploymentStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (OkeDeploymentStageExecutionProgress) MarshalJSON ¶

func (m OkeDeploymentStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OkeDeploymentStageExecutionProgress) String ¶

type OkeDeploymentStageSummary ¶

type OkeDeploymentStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OkeCluster environment ocid for deployment.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid, this manifest should not include any Job resource.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// Default Namespace to be used for Kubernetes Deployment when not specified in the manifest
	Namespace *string `mandatory:"true" json:"namespace"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

OkeDeploymentStageSummary Specifies the OKEDeployment stage.

func (OkeDeploymentStageSummary) GetApplicationId ¶

func (m OkeDeploymentStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (OkeDeploymentStageSummary) GetCompartmentId ¶

func (m OkeDeploymentStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (OkeDeploymentStageSummary) GetDefinedTags ¶

func (m OkeDeploymentStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (OkeDeploymentStageSummary) GetDisplayName ¶

func (m OkeDeploymentStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (OkeDeploymentStageSummary) GetFreeformTags ¶

func (m OkeDeploymentStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (OkeDeploymentStageSummary) GetId ¶

func (m OkeDeploymentStageSummary) GetId() *string

GetId returns Id

func (OkeDeploymentStageSummary) GetLifecycleDetails ¶

func (m OkeDeploymentStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (OkeDeploymentStageSummary) GetLifecycleState ¶

func (m OkeDeploymentStageSummary) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (OkeDeploymentStageSummary) GetPipelineId ¶

func (m OkeDeploymentStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (OkeDeploymentStageSummary) GetStagePredecessorCollection ¶

func (m OkeDeploymentStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (OkeDeploymentStageSummary) GetSystemTags ¶

func (m OkeDeploymentStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (OkeDeploymentStageSummary) GetTimeCreated ¶

func (m OkeDeploymentStageSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (OkeDeploymentStageSummary) GetTimeUpdated ¶

func (m OkeDeploymentStageSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (OkeDeploymentStageSummary) GetTimeoutInSeconds ¶

func (m OkeDeploymentStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (OkeDeploymentStageSummary) MarshalJSON ¶

func (m OkeDeploymentStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OkeDeploymentStageSummary) String ¶

func (m OkeDeploymentStageSummary) String() string

type OkeDeploymentStatus ¶

type OkeDeploymentStatus struct {

	// The current state of the Oke Deployment Stage.
	Status OkeDeploymentStatusStatusEnum `mandatory:"false" json:"status,omitempty"`

	// A message describing the current status of Oke Deployment Stage in more details.
	Message *string `mandatory:"false" json:"message"`

	// The timestamp when current status of Oke Deployment recorded. An RFC3339 formatted datetime string
	TimeReported *common.SDKTime `mandatory:"false" json:"timeReported"`
}

OkeDeploymentStatus Specifies OKE Deployment Stage Specific Status.

func (OkeDeploymentStatus) String ¶

func (m OkeDeploymentStatus) String() string

type OkeDeploymentStatusStatusEnum ¶

type OkeDeploymentStatusStatusEnum string

OkeDeploymentStatusStatusEnum Enum with underlying type: string

const (
	OkeDeploymentStatusStatusInProgress OkeDeploymentStatusStatusEnum = "IN_PROGRESS"
	OkeDeploymentStatusStatusSucceeded  OkeDeploymentStatusStatusEnum = "SUCCEEDED"
	OkeDeploymentStatusStatusFailed     OkeDeploymentStatusStatusEnum = "FAILED"
)

Set of constants representing the allowable values for OkeDeploymentStatusStatusEnum

func GetOkeDeploymentStatusStatusEnumValues ¶

func GetOkeDeploymentStatusStatusEnumValues() []OkeDeploymentStatusStatusEnum

GetOkeDeploymentStatusStatusEnumValues Enumerates the set of values for OkeDeploymentStatusStatusEnum

type OperationStatusEnum ¶

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetOperationStatusEnumValues ¶

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum ¶

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreateApplication OperationTypeEnum = "CREATE_APPLICATION"
	OperationTypeUpdateApplication OperationTypeEnum = "UPDATE_APPLICATION"
	OperationTypeDeleteApplication OperationTypeEnum = "DELETE_APPLICATION"
	OperationTypeCreatePipeline    OperationTypeEnum = "CREATE_PIPELINE"
	OperationTypeUpdatePipeline    OperationTypeEnum = "UPDATE_PIPELINE"
	OperationTypeDeletePipeline    OperationTypeEnum = "DELETE_PIPELINE"
	OperationTypeCreateStage       OperationTypeEnum = "CREATE_STAGE"
	OperationTypeUpdateStage       OperationTypeEnum = "UPDATE_STAGE"
	OperationTypeDeleteStage       OperationTypeEnum = "DELETE_STAGE"
	OperationTypeCreateArtifact    OperationTypeEnum = "CREATE_ARTIFACT"
	OperationTypeUpdateArtifact    OperationTypeEnum = "UPDATE_ARTIFACT"
	OperationTypeDeleteArtifact    OperationTypeEnum = "DELETE_ARTIFACT"
	OperationTypeCreateEnvironment OperationTypeEnum = "CREATE_ENVIRONMENT"
	OperationTypeUpdateEnvironment OperationTypeEnum = "UPDATE_ENVIRONMENT"
	OperationTypeDeleteEnvironment OperationTypeEnum = "DELETE_ENVIRONMENT"
	OperationTypeCreateDeployment  OperationTypeEnum = "CREATE_DEPLOYMENT"
	OperationTypeUpdateDeployment  OperationTypeEnum = "UPDATE_DEPLOYMENT"
	OperationTypeDeleteDeployment  OperationTypeEnum = "DELETE_DEPLOYMENT"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetOperationTypeEnumValues ¶

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type Pipeline ¶

type Pipeline struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	PipelineParameters *PipelineParameterCollection `mandatory:"true" json:"pipelineParameters"`

	// Pipeline Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Type of the Pipeline.
	PipelineType *string `mandatory:"false" json:"pipelineType"`

	// The time the the Pipeline was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Pipeline was updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Pipeline.
	LifecycleState PipelineLifecycleStateEnum `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.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

Pipeline Pipeline consists of Stages and metadata for Deployments.

func (Pipeline) String ¶

func (m Pipeline) String() string

type PipelineClient ¶

type PipelineClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

PipelineClient a client for Pipeline

func NewPipelineClientWithConfigurationProvider ¶

func NewPipelineClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client PipelineClient, err error)

NewPipelineClientWithConfigurationProvider Creates a new default Pipeline client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewPipelineClientWithOboToken ¶

func NewPipelineClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client PipelineClient, err error)

NewPipelineClientWithOboToken Creates a new default Pipeline 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 (*PipelineClient) ConfigurationProvider ¶

func (client *PipelineClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (PipelineClient) CreatePipeline ¶

func (client PipelineClient) CreatePipeline(ctx context.Context, request CreatePipelineRequest) (response CreatePipelineResponse, err error)

CreatePipeline Creates a new Pipeline.

func (PipelineClient) DeletePipeline ¶

func (client PipelineClient) DeletePipeline(ctx context.Context, request DeletePipelineRequest) (response DeletePipelineResponse, err error)

DeletePipeline Deletes a Pipeline resource by identifier

func (PipelineClient) GetPipeline ¶

func (client PipelineClient) GetPipeline(ctx context.Context, request GetPipelineRequest) (response GetPipelineResponse, err error)

GetPipeline Gets a Pipeline by identifier

func (PipelineClient) ListPipelines ¶

func (client PipelineClient) ListPipelines(ctx context.Context, request ListPipelinesRequest) (response ListPipelinesResponse, err error)

ListPipelines Returns a list of Pipelines.

func (*PipelineClient) SetRegion ¶

func (client *PipelineClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (PipelineClient) UpdatePipeline ¶

func (client PipelineClient) UpdatePipeline(ctx context.Context, request UpdatePipelineRequest) (response UpdatePipelineResponse, err error)

UpdatePipeline Updates the Pipeline

type PipelineCollection ¶

type PipelineCollection struct {

	// Array of PipelineSummary items.
	Items []PipelineSummary `mandatory:"true" json:"items"`
}

PipelineCollection Results of an pipeline search.

func (PipelineCollection) String ¶

func (m PipelineCollection) String() string

type PipelineLifecycleStateEnum ¶

type PipelineLifecycleStateEnum string

PipelineLifecycleStateEnum Enum with underlying type: string

const (
	PipelineLifecycleStateCreating PipelineLifecycleStateEnum = "CREATING"
	PipelineLifecycleStateUpdating PipelineLifecycleStateEnum = "UPDATING"
	PipelineLifecycleStateActive   PipelineLifecycleStateEnum = "ACTIVE"
	PipelineLifecycleStateDeleting PipelineLifecycleStateEnum = "DELETING"
	PipelineLifecycleStateDeleted  PipelineLifecycleStateEnum = "DELETED"
	PipelineLifecycleStateFailed   PipelineLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for PipelineLifecycleStateEnum

func GetPipelineLifecycleStateEnumValues ¶

func GetPipelineLifecycleStateEnumValues() []PipelineLifecycleStateEnum

GetPipelineLifecycleStateEnumValues Enumerates the set of values for PipelineLifecycleStateEnum

type PipelineParameter ¶

type PipelineParameter struct {

	// Name of the parameter (Case-sensitive).
	// Example: 'Pipeline_param' is not same as 'pipeline_Param'
	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"`
}

PipelineParameter Parameter name for which the values will be supplied at the time of deployment.

func (PipelineParameter) String ¶

func (m PipelineParameter) String() string

type PipelineParameterCollection ¶

type PipelineParameterCollection struct {

	// List of Parameters defined for a Pipeline.
	Items []PipelineParameter `mandatory:"true" json:"items"`
}

PipelineParameterCollection Specifies list of parameters present in Pipeline. In case of UPDATE operation, replaces existing parameters list. Merging with existing parameters is not supported.

func (PipelineParameterCollection) String ¶

type PipelineSummary ¶

type PipelineSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Pipeline Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Type of the Pipeline.
	PipelineType *string `mandatory:"false" json:"pipelineType"`

	// The time the the Pipeline was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Pipeline was updated. An RFC3339 formatted datetime string
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

	// The current state of the Pipeline.
	LifecycleState PipelineLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	PipelineParameters *PipelineParameterCollection `mandatory:"false" json:"pipelineParameters"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

PipelineSummary Summary of the Pipeline.

func (PipelineSummary) String ¶

func (m PipelineSummary) String() string

type RunDeploymentConcurrencyConflictPolicy ¶

type RunDeploymentConcurrencyConflictPolicy struct {

	// The types of policies in case of a conflict
	ConcurrencyConflictPolicyType RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum `mandatory:"true" json:"concurrencyConflictPolicyType"`
}

RunDeploymentConcurrencyConflictPolicy This describes the policy in case there is a deployment already running on the target pipeline.

func (RunDeploymentConcurrencyConflictPolicy) String ¶

type RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum ¶

type RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum string

RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum Enum with underlying type: string

const (
	RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeWaitForCompletion RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum = "WAIT_FOR_COMPLETION"
	RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeFailImmediately   RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum = "FAIL_IMMEDIATELY"
)

Set of constants representing the allowable values for RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum

func GetRunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnumValues ¶

func GetRunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnumValues() []RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum

GetRunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnumValues Enumerates the set of values for RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum

type RunDeploymentPipelineStageExecutionProgress ¶

type RunDeploymentPipelineStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

RunDeploymentPipelineStageExecutionProgress Specifies Run Deployment Pipleline stage specific exeution details.

func (RunDeploymentPipelineStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (RunDeploymentPipelineStageExecutionProgress) GetStatusMessages ¶

func (m RunDeploymentPipelineStageExecutionProgress) GetStatusMessages() []string

GetStatusMessages returns StatusMessages

func (RunDeploymentPipelineStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (RunDeploymentPipelineStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (RunDeploymentPipelineStageExecutionProgress) MarshalJSON ¶

func (m RunDeploymentPipelineStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunDeploymentPipelineStageExecutionProgress) String ¶

type RunDeploymentStage ¶

type RunDeploymentStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A target Pipeline ocid that will be run in this stage.
	TargetPipelineId *string `mandatory:"true" json:"targetPipelineId"`

	// A boolean flag specifies whether the target deployment is run synchronously or asynchronously.
	IsAsync *bool `mandatory:"true" json:"isAsync"`

	RunDeploymentConcurrencyConflictPolicy *RunDeploymentConcurrencyConflictPolicy `mandatory:"true" json:"runDeploymentConcurrencyConflictPolicy"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunDeploymentStage Specifies Run Deployment Pipleline stage which runs another pipeline of the application.

func (RunDeploymentStage) GetApplicationId ¶

func (m RunDeploymentStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunDeploymentStage) GetCompartmentId ¶

func (m RunDeploymentStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunDeploymentStage) GetDefinedTags ¶

func (m RunDeploymentStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunDeploymentStage) GetDisplayName ¶

func (m RunDeploymentStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunDeploymentStage) GetFreeformTags ¶

func (m RunDeploymentStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunDeploymentStage) GetId ¶

func (m RunDeploymentStage) GetId() *string

GetId returns Id

func (RunDeploymentStage) GetLifecycleState ¶

func (m RunDeploymentStage) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (RunDeploymentStage) GetLifecyleDetails ¶

func (m RunDeploymentStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (RunDeploymentStage) GetPipelineId ¶

func (m RunDeploymentStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunDeploymentStage) GetStagePredecessorCollection ¶

func (m RunDeploymentStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunDeploymentStage) GetSystemTags ¶

func (m RunDeploymentStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunDeploymentStage) GetTimeCreated ¶

func (m RunDeploymentStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (RunDeploymentStage) GetTimeUpdated ¶

func (m RunDeploymentStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (RunDeploymentStage) GetTimeoutInSeconds ¶

func (m RunDeploymentStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunDeploymentStage) MarshalJSON ¶

func (m RunDeploymentStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunDeploymentStage) String ¶

func (m RunDeploymentStage) String() string

type RunDeploymentStageSummary ¶

type RunDeploymentStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// A target Pipeline ocid that will be run in this stage.
	TargetPipelineId *string `mandatory:"true" json:"targetPipelineId"`

	// A boolean flag specifies whether the target deployment is run synchronously or asynchronously.
	IsAsync *bool `mandatory:"true" json:"isAsync"`

	RunDeploymentConcurrencyConflictPolicy *RunDeploymentConcurrencyConflictPolicy `mandatory:"true" json:"runDeploymentConcurrencyConflictPolicy"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunDeploymentStageSummary Specifies Run Deployment Pipleline stage which runs another pipeline of the application.

func (RunDeploymentStageSummary) GetApplicationId ¶

func (m RunDeploymentStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunDeploymentStageSummary) GetCompartmentId ¶

func (m RunDeploymentStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunDeploymentStageSummary) GetDefinedTags ¶

func (m RunDeploymentStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunDeploymentStageSummary) GetDisplayName ¶

func (m RunDeploymentStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunDeploymentStageSummary) GetFreeformTags ¶

func (m RunDeploymentStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunDeploymentStageSummary) GetId ¶

func (m RunDeploymentStageSummary) GetId() *string

GetId returns Id

func (RunDeploymentStageSummary) GetLifecycleDetails ¶

func (m RunDeploymentStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (RunDeploymentStageSummary) GetLifecycleState ¶

func (m RunDeploymentStageSummary) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (RunDeploymentStageSummary) GetPipelineId ¶

func (m RunDeploymentStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunDeploymentStageSummary) GetStagePredecessorCollection ¶

func (m RunDeploymentStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunDeploymentStageSummary) GetSystemTags ¶

func (m RunDeploymentStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunDeploymentStageSummary) GetTimeCreated ¶

func (m RunDeploymentStageSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (RunDeploymentStageSummary) GetTimeUpdated ¶

func (m RunDeploymentStageSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (RunDeploymentStageSummary) GetTimeoutInSeconds ¶

func (m RunDeploymentStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunDeploymentStageSummary) MarshalJSON ¶

func (m RunDeploymentStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunDeploymentStageSummary) String ¶

func (m RunDeploymentStageSummary) String() string

type RunJobOnComputeInstanceGroupStage ¶

type RunJobOnComputeInstanceGroupStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// An instance group environment ocid.
	ComputeInstanceGroupEnvironmentId *string `mandatory:"true" json:"computeInstanceGroupEnvironmentId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"true" json:"primaryArtifactId"`

	RolloutPolicy *ComputeInstanceGroupRollingDeploymentRollOutPolicy `mandatory:"true" json:"rolloutPolicy"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// File artifact ocids, there should be atleast one artifact containing deployment specifications.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// The path to the deployment specification file in the primary artifact for this stage's Environment. The default location if not specified is deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunJobOnComputeInstanceGroupStage Specifies Run job on the compute instance groups stage.

func (RunJobOnComputeInstanceGroupStage) GetApplicationId ¶

func (m RunJobOnComputeInstanceGroupStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunJobOnComputeInstanceGroupStage) GetCompartmentId ¶

func (m RunJobOnComputeInstanceGroupStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunJobOnComputeInstanceGroupStage) GetDefinedTags ¶

func (m RunJobOnComputeInstanceGroupStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunJobOnComputeInstanceGroupStage) GetDisplayName ¶

func (m RunJobOnComputeInstanceGroupStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunJobOnComputeInstanceGroupStage) GetFreeformTags ¶

func (m RunJobOnComputeInstanceGroupStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunJobOnComputeInstanceGroupStage) GetId ¶

GetId returns Id

func (RunJobOnComputeInstanceGroupStage) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunJobOnComputeInstanceGroupStage) GetLifecyleDetails ¶

func (m RunJobOnComputeInstanceGroupStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (RunJobOnComputeInstanceGroupStage) GetPipelineId ¶

func (m RunJobOnComputeInstanceGroupStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunJobOnComputeInstanceGroupStage) GetStagePredecessorCollection ¶

func (m RunJobOnComputeInstanceGroupStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunJobOnComputeInstanceGroupStage) GetSystemTags ¶

func (m RunJobOnComputeInstanceGroupStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunJobOnComputeInstanceGroupStage) GetTimeCreated ¶

func (m RunJobOnComputeInstanceGroupStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (RunJobOnComputeInstanceGroupStage) GetTimeUpdated ¶

func (m RunJobOnComputeInstanceGroupStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (RunJobOnComputeInstanceGroupStage) GetTimeoutInSeconds ¶

func (m RunJobOnComputeInstanceGroupStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunJobOnComputeInstanceGroupStage) MarshalJSON ¶

func (m RunJobOnComputeInstanceGroupStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunJobOnComputeInstanceGroupStage) String ¶

type RunJobOnComputeInstanceGroupStageExecutionProgress ¶

type RunJobOnComputeInstanceGroupStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

RunJobOnComputeInstanceGroupStageExecutionProgress Specifies Run job on the compute instance groups stage specific execution details.

func (RunJobOnComputeInstanceGroupStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (RunJobOnComputeInstanceGroupStageExecutionProgress) GetStatusMessages ¶

GetStatusMessages returns StatusMessages

func (RunJobOnComputeInstanceGroupStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (RunJobOnComputeInstanceGroupStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (RunJobOnComputeInstanceGroupStageExecutionProgress) MarshalJSON ¶

MarshalJSON marshals to json representation

func (RunJobOnComputeInstanceGroupStageExecutionProgress) String ¶

type RunJobOnComputeInstanceGroupStageSummary ¶

type RunJobOnComputeInstanceGroupStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// An instance group environment ocid.
	ComputeInstanceGroupEnvironmentId *string `mandatory:"true" json:"computeInstanceGroupEnvironmentId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"true" json:"primaryArtifactId"`

	RolloutPolicy *ComputeInstanceGroupRollingDeploymentRollOutPolicy `mandatory:"true" json:"rolloutPolicy"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// File artifact ocids, there should be atleast one artifact containing deployment specifications.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// The path to the deployment specification file in the primary artifact for this stage's Environment. The default location if not specified is deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunJobOnComputeInstanceGroupStageSummary Specifies Run job on the compute instance groups stage.

func (RunJobOnComputeInstanceGroupStageSummary) GetApplicationId ¶

func (m RunJobOnComputeInstanceGroupStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunJobOnComputeInstanceGroupStageSummary) GetCompartmentId ¶

func (m RunJobOnComputeInstanceGroupStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunJobOnComputeInstanceGroupStageSummary) GetDefinedTags ¶

func (m RunJobOnComputeInstanceGroupStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunJobOnComputeInstanceGroupStageSummary) GetDisplayName ¶

GetDisplayName returns DisplayName

func (RunJobOnComputeInstanceGroupStageSummary) GetFreeformTags ¶

func (m RunJobOnComputeInstanceGroupStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunJobOnComputeInstanceGroupStageSummary) GetId ¶

GetId returns Id

func (RunJobOnComputeInstanceGroupStageSummary) GetLifecycleDetails ¶

func (m RunJobOnComputeInstanceGroupStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (RunJobOnComputeInstanceGroupStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunJobOnComputeInstanceGroupStageSummary) GetPipelineId ¶

GetPipelineId returns PipelineId

func (RunJobOnComputeInstanceGroupStageSummary) GetStagePredecessorCollection ¶

func (m RunJobOnComputeInstanceGroupStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunJobOnComputeInstanceGroupStageSummary) GetSystemTags ¶

func (m RunJobOnComputeInstanceGroupStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunJobOnComputeInstanceGroupStageSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (RunJobOnComputeInstanceGroupStageSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (RunJobOnComputeInstanceGroupStageSummary) GetTimeoutInSeconds ¶

func (m RunJobOnComputeInstanceGroupStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunJobOnComputeInstanceGroupStageSummary) MarshalJSON ¶

func (m RunJobOnComputeInstanceGroupStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunJobOnComputeInstanceGroupStageSummary) String ¶

type RunJobOnComputeInstanceStage ¶

type RunJobOnComputeInstanceStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Instance OCID on which this stage runs the job.
	ComputeInstanceId *string `mandatory:"true" json:"computeInstanceId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"true" json:"primaryArtifactId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// File artifact ocids.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// The path to the deployment specification file in the primary artifact for this stage's Environment. The default location if not specified is deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunJobOnComputeInstanceStage Specifies Run job on an compute instance stage.

func (RunJobOnComputeInstanceStage) GetApplicationId ¶

func (m RunJobOnComputeInstanceStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunJobOnComputeInstanceStage) GetCompartmentId ¶

func (m RunJobOnComputeInstanceStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunJobOnComputeInstanceStage) GetDefinedTags ¶

func (m RunJobOnComputeInstanceStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunJobOnComputeInstanceStage) GetDisplayName ¶

func (m RunJobOnComputeInstanceStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunJobOnComputeInstanceStage) GetFreeformTags ¶

func (m RunJobOnComputeInstanceStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunJobOnComputeInstanceStage) GetId ¶

GetId returns Id

func (RunJobOnComputeInstanceStage) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunJobOnComputeInstanceStage) GetLifecyleDetails ¶

func (m RunJobOnComputeInstanceStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (RunJobOnComputeInstanceStage) GetPipelineId ¶

func (m RunJobOnComputeInstanceStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunJobOnComputeInstanceStage) GetStagePredecessorCollection ¶

func (m RunJobOnComputeInstanceStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunJobOnComputeInstanceStage) GetSystemTags ¶

func (m RunJobOnComputeInstanceStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunJobOnComputeInstanceStage) GetTimeCreated ¶

func (m RunJobOnComputeInstanceStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (RunJobOnComputeInstanceStage) GetTimeUpdated ¶

func (m RunJobOnComputeInstanceStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (RunJobOnComputeInstanceStage) GetTimeoutInSeconds ¶

func (m RunJobOnComputeInstanceStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunJobOnComputeInstanceStage) MarshalJSON ¶

func (m RunJobOnComputeInstanceStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunJobOnComputeInstanceStage) String ¶

type RunJobOnComputeInstanceStageExecutionProgress ¶

type RunJobOnComputeInstanceStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

RunJobOnComputeInstanceStageExecutionProgress Specifies Run job on an instance stage specific execution details.

func (RunJobOnComputeInstanceStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (RunJobOnComputeInstanceStageExecutionProgress) GetStatusMessages ¶

func (m RunJobOnComputeInstanceStageExecutionProgress) GetStatusMessages() []string

GetStatusMessages returns StatusMessages

func (RunJobOnComputeInstanceStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (RunJobOnComputeInstanceStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (RunJobOnComputeInstanceStageExecutionProgress) MarshalJSON ¶

func (m RunJobOnComputeInstanceStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunJobOnComputeInstanceStageExecutionProgress) String ¶

type RunJobOnComputeInstanceStageSummary ¶

type RunJobOnComputeInstanceStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Instance OCID on which this stage runs the job.
	ComputeInstanceId *string `mandatory:"true" json:"computeInstanceId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"true" json:"primaryArtifactId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// File artifact ocids.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// The path to the deployment specification file in the primary artifact for this stage's Environment. The default location if not specified is deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunJobOnComputeInstanceStageSummary Specifies Run job on an instance stage.

func (RunJobOnComputeInstanceStageSummary) GetApplicationId ¶

func (m RunJobOnComputeInstanceStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunJobOnComputeInstanceStageSummary) GetCompartmentId ¶

func (m RunJobOnComputeInstanceStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunJobOnComputeInstanceStageSummary) GetDefinedTags ¶

func (m RunJobOnComputeInstanceStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunJobOnComputeInstanceStageSummary) GetDisplayName ¶

func (m RunJobOnComputeInstanceStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunJobOnComputeInstanceStageSummary) GetFreeformTags ¶

func (m RunJobOnComputeInstanceStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunJobOnComputeInstanceStageSummary) GetId ¶

GetId returns Id

func (RunJobOnComputeInstanceStageSummary) GetLifecycleDetails ¶

func (m RunJobOnComputeInstanceStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (RunJobOnComputeInstanceStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunJobOnComputeInstanceStageSummary) GetPipelineId ¶

func (m RunJobOnComputeInstanceStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunJobOnComputeInstanceStageSummary) GetStagePredecessorCollection ¶

func (m RunJobOnComputeInstanceStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunJobOnComputeInstanceStageSummary) GetSystemTags ¶

func (m RunJobOnComputeInstanceStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunJobOnComputeInstanceStageSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (RunJobOnComputeInstanceStageSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (RunJobOnComputeInstanceStageSummary) GetTimeoutInSeconds ¶

func (m RunJobOnComputeInstanceStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunJobOnComputeInstanceStageSummary) MarshalJSON ¶

func (m RunJobOnComputeInstanceStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunJobOnComputeInstanceStageSummary) String ¶

type RunOkeJobStage ¶

type RunOkeJobStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OKE Cluster environment ocid.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// Default Namespace to be used for Kubernetes Job when not specified in the manifest
	Namespace *string `mandatory:"true" json:"namespace"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// Specifies synchronous or asynchronous mode of execution for this stage.
	ExecutionMode RunOkeJobStageExecutionModeEnum `mandatory:"true" json:"executionMode"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunOkeJobStage Specifies Run job on OKE stage.

func (RunOkeJobStage) GetApplicationId ¶

func (m RunOkeJobStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunOkeJobStage) GetCompartmentId ¶

func (m RunOkeJobStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunOkeJobStage) GetDefinedTags ¶

func (m RunOkeJobStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunOkeJobStage) GetDisplayName ¶

func (m RunOkeJobStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunOkeJobStage) GetFreeformTags ¶

func (m RunOkeJobStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunOkeJobStage) GetId ¶

func (m RunOkeJobStage) GetId() *string

GetId returns Id

func (RunOkeJobStage) GetLifecycleState ¶

func (m RunOkeJobStage) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (RunOkeJobStage) GetLifecyleDetails ¶

func (m RunOkeJobStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (RunOkeJobStage) GetPipelineId ¶

func (m RunOkeJobStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunOkeJobStage) GetStagePredecessorCollection ¶

func (m RunOkeJobStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunOkeJobStage) GetSystemTags ¶

func (m RunOkeJobStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunOkeJobStage) GetTimeCreated ¶

func (m RunOkeJobStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (RunOkeJobStage) GetTimeUpdated ¶

func (m RunOkeJobStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (RunOkeJobStage) GetTimeoutInSeconds ¶

func (m RunOkeJobStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunOkeJobStage) MarshalJSON ¶

func (m RunOkeJobStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunOkeJobStage) String ¶

func (m RunOkeJobStage) String() string

type RunOkeJobStageExecutionModeEnum ¶

type RunOkeJobStageExecutionModeEnum string

RunOkeJobStageExecutionModeEnum Enum with underlying type: string

const (
	RunOkeJobStageExecutionModeSync  RunOkeJobStageExecutionModeEnum = "SYNC"
	RunOkeJobStageExecutionModeAsync RunOkeJobStageExecutionModeEnum = "ASYNC"
)

Set of constants representing the allowable values for RunOkeJobStageExecutionModeEnum

func GetRunOkeJobStageExecutionModeEnumValues ¶

func GetRunOkeJobStageExecutionModeEnumValues() []RunOkeJobStageExecutionModeEnum

GetRunOkeJobStageExecutionModeEnumValues Enumerates the set of values for RunOkeJobStageExecutionModeEnum

type RunOkeJobStageExecutionProgress ¶

type RunOkeJobStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

RunOkeJobStageExecutionProgress Specifies Run job on OKE stage specific execution details.

func (RunOkeJobStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (RunOkeJobStageExecutionProgress) GetStatusMessages ¶

func (m RunOkeJobStageExecutionProgress) GetStatusMessages() []string

GetStatusMessages returns StatusMessages

func (RunOkeJobStageExecutionProgress) GetTimeFinished ¶

func (m RunOkeJobStageExecutionProgress) GetTimeFinished() *common.SDKTime

GetTimeFinished returns TimeFinished

func (RunOkeJobStageExecutionProgress) GetTimeStarted ¶

func (m RunOkeJobStageExecutionProgress) GetTimeStarted() *common.SDKTime

GetTimeStarted returns TimeStarted

func (RunOkeJobStageExecutionProgress) MarshalJSON ¶

func (m RunOkeJobStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunOkeJobStageExecutionProgress) String ¶

type RunOkeJobStageSummary ¶

type RunOkeJobStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OKE Cluster environment ocid.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// Default Namespace to be used for Kubernetes Job when not specified in the manifest
	Namespace *string `mandatory:"true" json:"namespace"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Specifies synchronous or asynchronous mode of execution for this stage.
	ExecutionMode RunOkeJobStageExecutionModeEnum `mandatory:"true" json:"executionMode"`
}

RunOkeJobStageSummary Specifies Run job on OKE stage.

func (RunOkeJobStageSummary) GetApplicationId ¶

func (m RunOkeJobStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunOkeJobStageSummary) GetCompartmentId ¶

func (m RunOkeJobStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunOkeJobStageSummary) GetDefinedTags ¶

func (m RunOkeJobStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunOkeJobStageSummary) GetDisplayName ¶

func (m RunOkeJobStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunOkeJobStageSummary) GetFreeformTags ¶

func (m RunOkeJobStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunOkeJobStageSummary) GetId ¶

func (m RunOkeJobStageSummary) GetId() *string

GetId returns Id

func (RunOkeJobStageSummary) GetLifecycleDetails ¶

func (m RunOkeJobStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (RunOkeJobStageSummary) GetLifecycleState ¶

func (m RunOkeJobStageSummary) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (RunOkeJobStageSummary) GetPipelineId ¶

func (m RunOkeJobStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunOkeJobStageSummary) GetStagePredecessorCollection ¶

func (m RunOkeJobStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunOkeJobStageSummary) GetSystemTags ¶

func (m RunOkeJobStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunOkeJobStageSummary) GetTimeCreated ¶

func (m RunOkeJobStageSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (RunOkeJobStageSummary) GetTimeUpdated ¶

func (m RunOkeJobStageSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (RunOkeJobStageSummary) GetTimeoutInSeconds ¶

func (m RunOkeJobStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunOkeJobStageSummary) MarshalJSON ¶

func (m RunOkeJobStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunOkeJobStageSummary) String ¶

func (m RunOkeJobStageSummary) String() string

type RunValidationTestOnComputeInstanceStage ¶

type RunValidationTestOnComputeInstanceStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Instance OCID on which this stage runs validation.
	ComputeInstanceId *string `mandatory:"true" json:"computeInstanceId"`

	// File artifact ocids, there should be atleast one artifact containing deployment specifications.
	ArtifactIds []string `mandatory:"true" json:"artifactIds"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunValidationTestOnComputeInstanceStage Specifies run Validation test on an compute instance stage.

func (RunValidationTestOnComputeInstanceStage) GetApplicationId ¶

func (m RunValidationTestOnComputeInstanceStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunValidationTestOnComputeInstanceStage) GetCompartmentId ¶

func (m RunValidationTestOnComputeInstanceStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunValidationTestOnComputeInstanceStage) GetDefinedTags ¶

func (m RunValidationTestOnComputeInstanceStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunValidationTestOnComputeInstanceStage) GetDisplayName ¶

func (m RunValidationTestOnComputeInstanceStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunValidationTestOnComputeInstanceStage) GetFreeformTags ¶

func (m RunValidationTestOnComputeInstanceStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunValidationTestOnComputeInstanceStage) GetId ¶

GetId returns Id

func (RunValidationTestOnComputeInstanceStage) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunValidationTestOnComputeInstanceStage) GetLifecyleDetails ¶

func (m RunValidationTestOnComputeInstanceStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (RunValidationTestOnComputeInstanceStage) GetPipelineId ¶

GetPipelineId returns PipelineId

func (RunValidationTestOnComputeInstanceStage) GetStagePredecessorCollection ¶

func (m RunValidationTestOnComputeInstanceStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunValidationTestOnComputeInstanceStage) GetSystemTags ¶

func (m RunValidationTestOnComputeInstanceStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunValidationTestOnComputeInstanceStage) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (RunValidationTestOnComputeInstanceStage) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (RunValidationTestOnComputeInstanceStage) GetTimeoutInSeconds ¶

func (m RunValidationTestOnComputeInstanceStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunValidationTestOnComputeInstanceStage) MarshalJSON ¶

func (m RunValidationTestOnComputeInstanceStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunValidationTestOnComputeInstanceStage) String ¶

type RunValidationTestOnComputeInstanceStageExecutionProgress ¶

type RunValidationTestOnComputeInstanceStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

RunValidationTestOnComputeInstanceStageExecutionProgress Specifies run Validation test on an compute instance stage specific execution details.

func (RunValidationTestOnComputeInstanceStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (RunValidationTestOnComputeInstanceStageExecutionProgress) GetStatusMessages ¶

GetStatusMessages returns StatusMessages

func (RunValidationTestOnComputeInstanceStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (RunValidationTestOnComputeInstanceStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (RunValidationTestOnComputeInstanceStageExecutionProgress) MarshalJSON ¶

MarshalJSON marshals to json representation

func (RunValidationTestOnComputeInstanceStageExecutionProgress) String ¶

type RunValidationTestOnComputeInstanceStageSummary ¶

type RunValidationTestOnComputeInstanceStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Instance OCID on which this stage runs validation.
	ComputeInstanceId *string `mandatory:"true" json:"computeInstanceId"`

	// File artifact ocids, there should be atleast one artifact containing deployment specifications.
	ArtifactIds []string `mandatory:"true" json:"artifactIds"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunValidationTestOnComputeInstanceStageSummary Specifies run Validation test on an compute instance stage.

func (RunValidationTestOnComputeInstanceStageSummary) GetApplicationId ¶

GetApplicationId returns ApplicationId

func (RunValidationTestOnComputeInstanceStageSummary) GetCompartmentId ¶

GetCompartmentId returns CompartmentId

func (RunValidationTestOnComputeInstanceStageSummary) GetDefinedTags ¶

func (m RunValidationTestOnComputeInstanceStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunValidationTestOnComputeInstanceStageSummary) GetDisplayName ¶

GetDisplayName returns DisplayName

func (RunValidationTestOnComputeInstanceStageSummary) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (RunValidationTestOnComputeInstanceStageSummary) GetId ¶

GetId returns Id

func (RunValidationTestOnComputeInstanceStageSummary) GetLifecycleDetails ¶

func (m RunValidationTestOnComputeInstanceStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (RunValidationTestOnComputeInstanceStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunValidationTestOnComputeInstanceStageSummary) GetPipelineId ¶

GetPipelineId returns PipelineId

func (RunValidationTestOnComputeInstanceStageSummary) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunValidationTestOnComputeInstanceStageSummary) GetSystemTags ¶

func (m RunValidationTestOnComputeInstanceStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunValidationTestOnComputeInstanceStageSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (RunValidationTestOnComputeInstanceStageSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (RunValidationTestOnComputeInstanceStageSummary) GetTimeoutInSeconds ¶

func (m RunValidationTestOnComputeInstanceStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunValidationTestOnComputeInstanceStageSummary) MarshalJSON ¶

func (m RunValidationTestOnComputeInstanceStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunValidationTestOnComputeInstanceStageSummary) String ¶

type RunValidationTestOnFunctionStage ¶

type RunValidationTestOnFunctionStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// Optional binary artifact user may provide to this stage.
	BinaryArtifactId *string `mandatory:"false" json:"binaryArtifactId"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunValidationTestOnFunctionStage Specifies Run validation test on Function to validate on going deployment.

func (RunValidationTestOnFunctionStage) GetApplicationId ¶

func (m RunValidationTestOnFunctionStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunValidationTestOnFunctionStage) GetCompartmentId ¶

func (m RunValidationTestOnFunctionStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunValidationTestOnFunctionStage) GetDefinedTags ¶

func (m RunValidationTestOnFunctionStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunValidationTestOnFunctionStage) GetDisplayName ¶

func (m RunValidationTestOnFunctionStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunValidationTestOnFunctionStage) GetFreeformTags ¶

func (m RunValidationTestOnFunctionStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunValidationTestOnFunctionStage) GetId ¶

GetId returns Id

func (RunValidationTestOnFunctionStage) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunValidationTestOnFunctionStage) GetLifecyleDetails ¶

func (m RunValidationTestOnFunctionStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (RunValidationTestOnFunctionStage) GetPipelineId ¶

func (m RunValidationTestOnFunctionStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunValidationTestOnFunctionStage) GetStagePredecessorCollection ¶

func (m RunValidationTestOnFunctionStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunValidationTestOnFunctionStage) GetSystemTags ¶

func (m RunValidationTestOnFunctionStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunValidationTestOnFunctionStage) GetTimeCreated ¶

func (m RunValidationTestOnFunctionStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (RunValidationTestOnFunctionStage) GetTimeUpdated ¶

func (m RunValidationTestOnFunctionStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (RunValidationTestOnFunctionStage) GetTimeoutInSeconds ¶

func (m RunValidationTestOnFunctionStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunValidationTestOnFunctionStage) MarshalJSON ¶

func (m RunValidationTestOnFunctionStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunValidationTestOnFunctionStage) String ¶

type RunValidationTestOnFunctionStageExecutionProgress ¶

type RunValidationTestOnFunctionStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

RunValidationTestOnFunctionStageExecutionProgress Specifies Run validation test on Function execution details.

func (RunValidationTestOnFunctionStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (RunValidationTestOnFunctionStageExecutionProgress) GetStatusMessages ¶

GetStatusMessages returns StatusMessages

func (RunValidationTestOnFunctionStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (RunValidationTestOnFunctionStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (RunValidationTestOnFunctionStageExecutionProgress) MarshalJSON ¶

func (m RunValidationTestOnFunctionStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunValidationTestOnFunctionStageExecutionProgress) String ¶

type RunValidationTestOnFunctionStageSummary ¶

type RunValidationTestOnFunctionStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// Optional binary artifact user may provide to this stage.
	BinaryArtifactId *string `mandatory:"false" json:"binaryArtifactId"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunValidationTestOnFunctionStageSummary Specifies Run validation test on Function to validate on going deployment.

func (RunValidationTestOnFunctionStageSummary) GetApplicationId ¶

func (m RunValidationTestOnFunctionStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunValidationTestOnFunctionStageSummary) GetCompartmentId ¶

func (m RunValidationTestOnFunctionStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunValidationTestOnFunctionStageSummary) GetDefinedTags ¶

func (m RunValidationTestOnFunctionStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunValidationTestOnFunctionStageSummary) GetDisplayName ¶

func (m RunValidationTestOnFunctionStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunValidationTestOnFunctionStageSummary) GetFreeformTags ¶

func (m RunValidationTestOnFunctionStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunValidationTestOnFunctionStageSummary) GetId ¶

GetId returns Id

func (RunValidationTestOnFunctionStageSummary) GetLifecycleDetails ¶

func (m RunValidationTestOnFunctionStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (RunValidationTestOnFunctionStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunValidationTestOnFunctionStageSummary) GetPipelineId ¶

GetPipelineId returns PipelineId

func (RunValidationTestOnFunctionStageSummary) GetStagePredecessorCollection ¶

func (m RunValidationTestOnFunctionStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunValidationTestOnFunctionStageSummary) GetSystemTags ¶

func (m RunValidationTestOnFunctionStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunValidationTestOnFunctionStageSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (RunValidationTestOnFunctionStageSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (RunValidationTestOnFunctionStageSummary) GetTimeoutInSeconds ¶

func (m RunValidationTestOnFunctionStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunValidationTestOnFunctionStageSummary) MarshalJSON ¶

func (m RunValidationTestOnFunctionStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunValidationTestOnFunctionStageSummary) String ¶

type RunValidationTestOnOkeStage ¶

type RunValidationTestOnOkeStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OKE Cluster environment for running this job.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunValidationTestOnOkeStage Specifies Run validation on OKE stage, to validate ongoing deployment on OKE.

func (RunValidationTestOnOkeStage) GetApplicationId ¶

func (m RunValidationTestOnOkeStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunValidationTestOnOkeStage) GetCompartmentId ¶

func (m RunValidationTestOnOkeStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunValidationTestOnOkeStage) GetDefinedTags ¶

func (m RunValidationTestOnOkeStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunValidationTestOnOkeStage) GetDisplayName ¶

func (m RunValidationTestOnOkeStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunValidationTestOnOkeStage) GetFreeformTags ¶

func (m RunValidationTestOnOkeStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunValidationTestOnOkeStage) GetId ¶

GetId returns Id

func (RunValidationTestOnOkeStage) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunValidationTestOnOkeStage) GetLifecyleDetails ¶

func (m RunValidationTestOnOkeStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (RunValidationTestOnOkeStage) GetPipelineId ¶

func (m RunValidationTestOnOkeStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunValidationTestOnOkeStage) GetStagePredecessorCollection ¶

func (m RunValidationTestOnOkeStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunValidationTestOnOkeStage) GetSystemTags ¶

func (m RunValidationTestOnOkeStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunValidationTestOnOkeStage) GetTimeCreated ¶

func (m RunValidationTestOnOkeStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (RunValidationTestOnOkeStage) GetTimeUpdated ¶

func (m RunValidationTestOnOkeStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (RunValidationTestOnOkeStage) GetTimeoutInSeconds ¶

func (m RunValidationTestOnOkeStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunValidationTestOnOkeStage) MarshalJSON ¶

func (m RunValidationTestOnOkeStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunValidationTestOnOkeStage) String ¶

type RunValidationTestOnOkeStageExecutionProgress ¶

type RunValidationTestOnOkeStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

RunValidationTestOnOkeStageExecutionProgress Specifies Run validation on OKE stage specific execution details.

func (RunValidationTestOnOkeStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (RunValidationTestOnOkeStageExecutionProgress) GetStatusMessages ¶

func (m RunValidationTestOnOkeStageExecutionProgress) GetStatusMessages() []string

GetStatusMessages returns StatusMessages

func (RunValidationTestOnOkeStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (RunValidationTestOnOkeStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (RunValidationTestOnOkeStageExecutionProgress) MarshalJSON ¶

func (m RunValidationTestOnOkeStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunValidationTestOnOkeStageExecutionProgress) String ¶

type RunValidationTestOnOkeStageSummary ¶

type RunValidationTestOnOkeStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// OKE Cluster environment for running this job.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

RunValidationTestOnOkeStageSummary Specifies Run validation on OKE stage, to validate ongoing deployment on OKE.

func (RunValidationTestOnOkeStageSummary) GetApplicationId ¶

func (m RunValidationTestOnOkeStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (RunValidationTestOnOkeStageSummary) GetCompartmentId ¶

func (m RunValidationTestOnOkeStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (RunValidationTestOnOkeStageSummary) GetDefinedTags ¶

func (m RunValidationTestOnOkeStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (RunValidationTestOnOkeStageSummary) GetDisplayName ¶

func (m RunValidationTestOnOkeStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (RunValidationTestOnOkeStageSummary) GetFreeformTags ¶

func (m RunValidationTestOnOkeStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (RunValidationTestOnOkeStageSummary) GetId ¶

GetId returns Id

func (RunValidationTestOnOkeStageSummary) GetLifecycleDetails ¶

func (m RunValidationTestOnOkeStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (RunValidationTestOnOkeStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (RunValidationTestOnOkeStageSummary) GetPipelineId ¶

func (m RunValidationTestOnOkeStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (RunValidationTestOnOkeStageSummary) GetStagePredecessorCollection ¶

func (m RunValidationTestOnOkeStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (RunValidationTestOnOkeStageSummary) GetSystemTags ¶

func (m RunValidationTestOnOkeStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (RunValidationTestOnOkeStageSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (RunValidationTestOnOkeStageSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (RunValidationTestOnOkeStageSummary) GetTimeoutInSeconds ¶

func (m RunValidationTestOnOkeStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (RunValidationTestOnOkeStageSummary) MarshalJSON ¶

func (m RunValidationTestOnOkeStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (RunValidationTestOnOkeStageSummary) String ¶

type SortOrderEnum ¶

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

const (
	SortOrderAsc  SortOrderEnum = "ASC"
	SortOrderDesc SortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SortOrderEnum

func GetSortOrderEnumValues ¶

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type Stage ¶

type Stage interface {

	// Unique identifier that is immutable on creation
	GetId() *string

	// Application Identifier
	GetApplicationId() *string

	// Pipeline Identifier
	GetPipelineId() *string

	// Compartment Identifier
	GetCompartmentId() *string

	// Stage Identifier, can be renamed
	GetDisplayName() *string

	// The time the the Stage was created. An RFC3339 formatted datetime string
	GetTimeCreated() *common.SDKTime

	// The time the Stage was updated. An RFC3339 formatted datetime string
	GetTimeUpdated() *common.SDKTime

	// The current state of the Stage.
	GetLifecycleState() StageLifecycleStateEnum

	// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	GetLifecyleDetails() *string

	// A timeout in seconds, this stage may take to return.
	GetTimeoutInSeconds() *int

	GetStagePredecessorCollection() *StagePredecessorCollection

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}
}

Stage Description of Stage.

type StageClient ¶

type StageClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

StageClient a client for Stage

func NewStageClientWithConfigurationProvider ¶

func NewStageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client StageClient, err error)

NewStageClientWithConfigurationProvider Creates a new default Stage client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewStageClientWithOboToken ¶

func NewStageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client StageClient, err error)

NewStageClientWithOboToken Creates a new default Stage 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 (*StageClient) ConfigurationProvider ¶

func (client *StageClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (StageClient) CreateStage ¶

func (client StageClient) CreateStage(ctx context.Context, request CreateStageRequest) (response CreateStageResponse, err error)

CreateStage Creates a new Stage.

func (StageClient) DeleteStage ¶

func (client StageClient) DeleteStage(ctx context.Context, request DeleteStageRequest) (response DeleteStageResponse, err error)

DeleteStage Deletes a Stage resource by identifier

func (StageClient) GetStage ¶

func (client StageClient) GetStage(ctx context.Context, request GetStageRequest) (response GetStageResponse, err error)

GetStage Gets a Stage by identifier

func (StageClient) ListStages ¶

func (client StageClient) ListStages(ctx context.Context, request ListStagesRequest) (response ListStagesResponse, err error)

ListStages Returns a list of Stages.

func (*StageClient) SetRegion ¶

func (client *StageClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (StageClient) UpdateStage ¶

func (client StageClient) UpdateStage(ctx context.Context, request UpdateStageRequest) (response UpdateStageResponse, err error)

UpdateStage Updates the Stage

type StageCollection ¶

type StageCollection struct {

	// StageSummary items found for the search.
	Items []StageSummary `mandatory:"true" json:"items"`
}

StageCollection Result of a stage search.

func (StageCollection) String ¶

func (m StageCollection) String() string

func (*StageCollection) UnmarshalJSON ¶

func (m *StageCollection) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type StageExecutionProgress ¶

type StageExecutionProgress interface {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	GetTimeStarted() *common.SDKTime

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	GetTimeFinished() *common.SDKTime

	// The current state of the Stage.
	GetStatus() StageExecutionProgressStatusEnum

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	GetStatusMessages() []string
}

StageExecutionProgress The details about the execution progress of a Stage in a Deployment.

type StageExecutionProgressStatusEnum ¶

type StageExecutionProgressStatusEnum string

StageExecutionProgressStatusEnum Enum with underlying type: string

const (
	StageExecutionProgressStatusAccepted   StageExecutionProgressStatusEnum = "ACCEPTED"
	StageExecutionProgressStatusInProgress StageExecutionProgressStatusEnum = "IN_PROGRESS"
	StageExecutionProgressStatusFailed     StageExecutionProgressStatusEnum = "FAILED"
	StageExecutionProgressStatusSucceeded  StageExecutionProgressStatusEnum = "SUCCEEDED"
	StageExecutionProgressStatusCanceling  StageExecutionProgressStatusEnum = "CANCELING"
	StageExecutionProgressStatusCanceled   StageExecutionProgressStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for StageExecutionProgressStatusEnum

func GetStageExecutionProgressStatusEnumValues ¶

func GetStageExecutionProgressStatusEnumValues() []StageExecutionProgressStatusEnum

GetStageExecutionProgressStatusEnumValues Enumerates the set of values for StageExecutionProgressStatusEnum

type StageLifecycleStateEnum ¶

type StageLifecycleStateEnum string

StageLifecycleStateEnum Enum with underlying type: string

const (
	StageLifecycleStateCreating StageLifecycleStateEnum = "CREATING"
	StageLifecycleStateUpdating StageLifecycleStateEnum = "UPDATING"
	StageLifecycleStateActive   StageLifecycleStateEnum = "ACTIVE"
	StageLifecycleStateDeleting StageLifecycleStateEnum = "DELETING"
	StageLifecycleStateDeleted  StageLifecycleStateEnum = "DELETED"
	StageLifecycleStateFailed   StageLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for StageLifecycleStateEnum

func GetStageLifecycleStateEnumValues ¶

func GetStageLifecycleStateEnumValues() []StageLifecycleStateEnum

GetStageLifecycleStateEnumValues Enumerates the set of values for StageLifecycleStateEnum

type StagePredecessor ¶

type StagePredecessor struct {

	// The id of the predecessor stage. If a stage is the first stage in the pipeline, then the id is the pipeline's id.
	Id *string `mandatory:"true" json:"id"`
}

StagePredecessor Metadata for defining a stage's predecessor.

func (StagePredecessor) String ¶

func (m StagePredecessor) String() string

type StagePredecessorCollection ¶

type StagePredecessorCollection struct {

	// A list of StagePredecessors for a stage.
	Items []StagePredecessor `mandatory:"true" json:"items"`
}

StagePredecessorCollection The containing collection for the predecessors of a Stage.

func (StagePredecessorCollection) String ¶

type StageStageTypeEnum ¶

type StageStageTypeEnum string

StageStageTypeEnum Enum with underlying type: string

const (
	StageStageTypeWait                                  StageStageTypeEnum = "WAIT"
	StageStageTypeComputeInstanceGroupRollingDeployment StageStageTypeEnum = "COMPUTE_INSTANCE_GROUP_ROLLING_DEPLOYMENT"
	StageStageTypeOkeDeployment                         StageStageTypeEnum = "OKE_DEPLOYMENT"
	StageStageTypeDeployFunction                        StageStageTypeEnum = "DEPLOY_FUNCTION"
	StageStageTypeUpdateFunctionApplication             StageStageTypeEnum = "UPDATE_FUNCTION_APPLICATION"
	StageStageTypeRunJobOnComputeInstanceGroup          StageStageTypeEnum = "RUN_JOB_ON_COMPUTE_INSTANCE_GROUP"
	StageStageTypeRunJobOnComputeInstance               StageStageTypeEnum = "RUN_JOB_ON_COMPUTE_INSTANCE"
	StageStageTypeRunOkeJob                             StageStageTypeEnum = "RUN_OKE_JOB"
	StageStageTypeInvokeFunction                        StageStageTypeEnum = "INVOKE_FUNCTION"
	StageStageTypeRunValidationTestOnComputeInstance    StageStageTypeEnum = "RUN_VALIDATION_TEST_ON_COMPUTE_INSTANCE"
	StageStageTypeRunValidationTestOnOke                StageStageTypeEnum = "RUN_VALIDATION_TEST_ON_OKE"
	StageStageTypeRunValidationTestOnFunction           StageStageTypeEnum = "RUN_VALIDATION_TEST_ON_FUNCTION"
	StageStageTypeLoadBalancerTrafficShift              StageStageTypeEnum = "LOAD_BALANCER_TRAFFIC_SHIFT"
	StageStageTypeManualApproval                        StageStageTypeEnum = "MANUAL_APPROVAL"
	StageStageTypeRunDeploymentPipeline                 StageStageTypeEnum = "RUN_DEPLOYMENT_PIPELINE"
)

Set of constants representing the allowable values for StageStageTypeEnum

func GetStageStageTypeEnumValues ¶

func GetStageStageTypeEnumValues() []StageStageTypeEnum

GetStageStageTypeEnumValues Enumerates the set of values for StageStageTypeEnum

type StageSummary ¶

type StageSummary interface {

	// Unique identifier that is immutable on creation
	GetId() *string

	// Application Identifier
	GetApplicationId() *string

	// Pipeline Identifier
	GetPipelineId() *string

	// Compartment Identifier
	GetCompartmentId() *string

	// Stage Identifier, can be renamed
	GetDisplayName() *string

	// The time the the Stage was created. An RFC3339 formatted datetime string
	GetTimeCreated() *common.SDKTime

	// The time the Stage was updated. An RFC3339 formatted datetime string
	GetTimeUpdated() *common.SDKTime

	// The current state of the Stage.
	GetLifecycleState() StageLifecycleStateEnum

	// 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

	// A timeout in seconds, this stage may take to return.
	GetTimeoutInSeconds() *int

	GetStagePredecessorCollection() *StagePredecessorCollection

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}

	// Usage of system tag keys. These predefined keys are scoped to namespaces.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	GetSystemTags() map[string]map[string]interface{}
}

StageSummary Summary of the Stage.

type UpdateApplicationDetails ¶

type UpdateApplicationDetails struct {

	// Application display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateApplicationDetails The information to be updated for the given Application.

func (UpdateApplicationDetails) String ¶

func (m UpdateApplicationDetails) String() string

type UpdateApplicationRequest ¶

type UpdateApplicationRequest struct {

	// unique Application identifier
	ApplicationId *string `mandatory:"true" contributesTo:"path" name:"applicationId"`

	// The information to be updated.
	UpdateApplicationDetails `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"`

	// The client request ID for tracing.
	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
}

UpdateApplicationRequest wrapper for the UpdateApplication operation

func (UpdateApplicationRequest) HTTPRequest ¶

func (request UpdateApplicationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateApplicationRequest) RetryPolicy ¶

func (request UpdateApplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateApplicationRequest) String ¶

func (request UpdateApplicationRequest) String() string

type UpdateApplicationResponse ¶

type UpdateApplicationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Application instance
	Application `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateApplicationResponse wrapper for the UpdateApplication operation

func (UpdateApplicationResponse) HTTPResponse ¶

func (response UpdateApplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateApplicationResponse) String ¶

func (response UpdateApplicationResponse) String() string

type UpdateArtifactDetails ¶

type UpdateArtifactDetails struct {

	// Artifact Identifier
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Type of the Artifact
	ArtifactType *string `mandatory:"false" json:"artifactType"`

	ArtifactSource UpdateArtifactSourceDetails `mandatory:"false" json:"artifactSource"`

	ArtifactParameters *ArtifactParameterCollection `mandatory:"false" json:"artifactParameters"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateArtifactDetails The information to be updated.

func (UpdateArtifactDetails) String ¶

func (m UpdateArtifactDetails) String() string

func (*UpdateArtifactDetails) UnmarshalJSON ¶

func (m *UpdateArtifactDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateArtifactRequest ¶

type UpdateArtifactRequest struct {

	// unique Artifact identifier
	ArtifactId *string `mandatory:"true" contributesTo:"path" name:"artifactId"`

	// The information to be updated.
	UpdateArtifactDetails `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"`

	// The client request ID for tracing.
	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
}

UpdateArtifactRequest wrapper for the UpdateArtifact operation

func (UpdateArtifactRequest) HTTPRequest ¶

func (request UpdateArtifactRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateArtifactRequest) RetryPolicy ¶

func (request UpdateArtifactRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateArtifactRequest) String ¶

func (request UpdateArtifactRequest) String() string

type UpdateArtifactResponse ¶

type UpdateArtifactResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Artifact instance
	Artifact `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateArtifactResponse wrapper for the UpdateArtifact operation

func (UpdateArtifactResponse) HTTPResponse ¶

func (response UpdateArtifactResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateArtifactResponse) String ¶

func (response UpdateArtifactResponse) String() string

type UpdateArtifactSourceDetails ¶

type UpdateArtifactSourceDetails interface {
}

UpdateArtifactSourceDetails Specifies source of an artifact

type UpdateComputeInstanceGroupEnvironmentDetails ¶

type UpdateComputeInstanceGroupEnvironmentDetails struct {

	// Environment Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	ComputeInstanceGroupSelectors *ComputeInstanceGroupSelectorCollection `mandatory:"true" json:"computeInstanceGroupSelectors"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateComputeInstanceGroupEnvironmentDetails Specifies the Compute Instance Group environment.

func (UpdateComputeInstanceGroupEnvironmentDetails) GetDefinedTags ¶

func (m UpdateComputeInstanceGroupEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateComputeInstanceGroupEnvironmentDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (UpdateComputeInstanceGroupEnvironmentDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (UpdateComputeInstanceGroupEnvironmentDetails) MarshalJSON ¶

func (m UpdateComputeInstanceGroupEnvironmentDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateComputeInstanceGroupEnvironmentDetails) String ¶

type UpdateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails ¶

type UpdateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails struct {

	// Indicates maximum number of instances deploying at a time.
	MaxConcurrentInstances *int `mandatory:"false" json:"maxConcurrentInstances"`

	// The number of seconds in delay between batch rollout. The default delay is 1 minute.
	BatchDelayInSeconds *int `mandatory:"false" json:"batchDelayInSeconds"`

	RollOutStrategy *ComputeInstanceGroupLinearRollOutStrategy `mandatory:"false" json:"rollOutStrategy"`
}

UpdateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails Specifies rollout policy for Compute Instance group rolling deployment stage.

func (UpdateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails) String ¶

type UpdateComputeInstanceGroupRollingDeploymentStageDetails ¶

type UpdateComputeInstanceGroupRollingDeploymentStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// An compute instance group environment ocid for rolling deployment.
	ComputeInstanceGroupEnvironmentId *string `mandatory:"false" json:"computeInstanceGroupEnvironmentId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"false" json:"primaryArtifactId"`

	// The path to the deployment specification file in the primary artifact. By default, it should be deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`

	// Additional file artifact ocids.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	RolloutPolicy *UpdateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails `mandatory:"false" json:"rolloutPolicy"`

	// An optional Load balancer ocid.
	LoadBalancerId *string `mandatory:"false" json:"loadBalancerId"`
}

UpdateComputeInstanceGroupRollingDeploymentStageDetails Specifies the Instance group rolling Deployment Stage.

func (UpdateComputeInstanceGroupRollingDeploymentStageDetails) GetDefinedTags ¶

func (m UpdateComputeInstanceGroupRollingDeploymentStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateComputeInstanceGroupRollingDeploymentStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (UpdateComputeInstanceGroupRollingDeploymentStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (UpdateComputeInstanceGroupRollingDeploymentStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateComputeInstanceGroupRollingDeploymentStageDetails) GetTimeoutInSeconds ¶

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateComputeInstanceGroupRollingDeploymentStageDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (UpdateComputeInstanceGroupRollingDeploymentStageDetails) String ¶

type UpdateDeployFunctionStageDetails ¶

type UpdateDeployFunctionStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A docker image artifact ocid.
	DockerImageArtifactId *string `mandatory:"true" json:"dockerImageArtifactId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// User provided key/value pair configuration which assigned through constants or parameter.
	Config map[string]string `mandatory:"false" json:"config"`

	// Maximum usable memory for the function (MiB)
	MaxMemoryInMBs *int64 `mandatory:"false" json:"maxMemoryInMBs"`

	// Timeout for executions of the function. Value in seconds.
	FunctionTimeoutInSeconds *int `mandatory:"false" json:"functionTimeoutInSeconds"`
}

UpdateDeployFunctionStageDetails Specifies the DeployFunction Stage.

func (UpdateDeployFunctionStageDetails) GetDefinedTags ¶

func (m UpdateDeployFunctionStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateDeployFunctionStageDetails) GetDisplayName ¶

func (m UpdateDeployFunctionStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateDeployFunctionStageDetails) GetFreeformTags ¶

func (m UpdateDeployFunctionStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateDeployFunctionStageDetails) GetStagePredecessorCollection ¶

func (m UpdateDeployFunctionStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateDeployFunctionStageDetails) GetTimeoutInSeconds ¶

func (m UpdateDeployFunctionStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateDeployFunctionStageDetails) MarshalJSON ¶

func (m UpdateDeployFunctionStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateDeployFunctionStageDetails) String ¶

type UpdateDeploymentDetails ¶

type UpdateDeploymentDetails struct {

	// Deployment Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	DeploymentArguments *DeploymentArgumentCollection `mandatory:"false" json:"deploymentArguments"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateDeploymentDetails The information to be updated.

func (UpdateDeploymentDetails) String ¶

func (m UpdateDeploymentDetails) String() string

type 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"`

	// The client request ID for tracing.
	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
}

UpdateDeploymentRequest wrapper for the UpdateDeployment operation

func (UpdateDeploymentRequest) HTTPRequest ¶

func (request UpdateDeploymentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDeploymentRequest) RetryPolicy ¶

func (request UpdateDeploymentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDeploymentRequest) String ¶

func (request UpdateDeploymentRequest) String() string

type UpdateDeploymentResponse ¶

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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateDeploymentResponse wrapper for the UpdateDeployment operation

func (UpdateDeploymentResponse) HTTPResponse ¶

func (response UpdateDeploymentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDeploymentResponse) String ¶

func (response UpdateDeploymentResponse) String() string

type UpdateEnvironmentDetails ¶

type UpdateEnvironmentDetails interface {

	// Environment Identifier
	GetDisplayName() *string

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

UpdateEnvironmentDetails The information to be updated.

type UpdateEnvironmentRequest ¶

type UpdateEnvironmentRequest struct {

	// unique Environment identifier
	EnvironmentId *string `mandatory:"true" contributesTo:"path" name:"environmentId"`

	// The information to be updated.
	UpdateEnvironmentDetails `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"`

	// The client request ID for tracing.
	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
}

UpdateEnvironmentRequest wrapper for the UpdateEnvironment operation

func (UpdateEnvironmentRequest) HTTPRequest ¶

func (request UpdateEnvironmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateEnvironmentRequest) RetryPolicy ¶

func (request UpdateEnvironmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateEnvironmentRequest) String ¶

func (request UpdateEnvironmentRequest) String() string

type UpdateEnvironmentResponse ¶

type UpdateEnvironmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Environment instance
	Environment `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateEnvironmentResponse wrapper for the UpdateEnvironment operation

func (UpdateEnvironmentResponse) HTTPResponse ¶

func (response UpdateEnvironmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateEnvironmentResponse) String ¶

func (response UpdateEnvironmentResponse) String() string

type UpdateFunctionApplicationStage ¶

type UpdateFunctionApplicationStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// A docker image artifact ocid.
	DockerImageArtifactId *string `mandatory:"false" json:"dockerImageArtifactId"`

	// User provided key/value pair configuration which is assigned through constants or parameter.
	Config map[string]string `mandatory:"false" json:"config"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

UpdateFunctionApplicationStage Specifies the Update Function Application Stage, either by updating the value of a property or by providing the name of an existing image in the Docker registry that you now want to base the function on, instead of the previously specified image.

func (UpdateFunctionApplicationStage) GetApplicationId ¶

func (m UpdateFunctionApplicationStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (UpdateFunctionApplicationStage) GetCompartmentId ¶

func (m UpdateFunctionApplicationStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (UpdateFunctionApplicationStage) GetDefinedTags ¶

func (m UpdateFunctionApplicationStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateFunctionApplicationStage) GetDisplayName ¶

func (m UpdateFunctionApplicationStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateFunctionApplicationStage) GetFreeformTags ¶

func (m UpdateFunctionApplicationStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateFunctionApplicationStage) GetId ¶

GetId returns Id

func (UpdateFunctionApplicationStage) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (UpdateFunctionApplicationStage) GetLifecyleDetails ¶

func (m UpdateFunctionApplicationStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (UpdateFunctionApplicationStage) GetPipelineId ¶

func (m UpdateFunctionApplicationStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (UpdateFunctionApplicationStage) GetStagePredecessorCollection ¶

func (m UpdateFunctionApplicationStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateFunctionApplicationStage) GetSystemTags ¶

func (m UpdateFunctionApplicationStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (UpdateFunctionApplicationStage) GetTimeCreated ¶

func (m UpdateFunctionApplicationStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (UpdateFunctionApplicationStage) GetTimeUpdated ¶

func (m UpdateFunctionApplicationStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (UpdateFunctionApplicationStage) GetTimeoutInSeconds ¶

func (m UpdateFunctionApplicationStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateFunctionApplicationStage) MarshalJSON ¶

func (m UpdateFunctionApplicationStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateFunctionApplicationStage) String ¶

type UpdateFunctionApplicationStageDetails ¶

type UpdateFunctionApplicationStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A docker image artifact ocid.
	DockerImageArtifactId *string `mandatory:"false" json:"dockerImageArtifactId"`

	// User provided key/value pair configuration which is assigned through constants or parameter.
	Config map[string]string `mandatory:"false" json:"config"`
}

UpdateFunctionApplicationStageDetails Specifies the update of an Update Function Application Stage, either by updating the value of a property or by providing the name of an existing image in the Docker registry that you now want to base the function on, instead of the previously specified image.

func (UpdateFunctionApplicationStageDetails) GetDefinedTags ¶

func (m UpdateFunctionApplicationStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateFunctionApplicationStageDetails) GetDisplayName ¶

func (m UpdateFunctionApplicationStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateFunctionApplicationStageDetails) GetFreeformTags ¶

func (m UpdateFunctionApplicationStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateFunctionApplicationStageDetails) GetStagePredecessorCollection ¶

func (m UpdateFunctionApplicationStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateFunctionApplicationStageDetails) GetTimeoutInSeconds ¶

func (m UpdateFunctionApplicationStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateFunctionApplicationStageDetails) MarshalJSON ¶

func (m UpdateFunctionApplicationStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateFunctionApplicationStageDetails) String ¶

type UpdateFunctionApplicationStageExecutionProgress ¶

type UpdateFunctionApplicationStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

UpdateFunctionApplicationStageExecutionProgress Specifies the execution details for UpdateFunctionApplicationStage.

func (UpdateFunctionApplicationStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (UpdateFunctionApplicationStageExecutionProgress) GetStatusMessages ¶

GetStatusMessages returns StatusMessages

func (UpdateFunctionApplicationStageExecutionProgress) GetTimeFinished ¶

GetTimeFinished returns TimeFinished

func (UpdateFunctionApplicationStageExecutionProgress) GetTimeStarted ¶

GetTimeStarted returns TimeStarted

func (UpdateFunctionApplicationStageExecutionProgress) MarshalJSON ¶

func (m UpdateFunctionApplicationStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateFunctionApplicationStageExecutionProgress) String ¶

type UpdateFunctionApplicationStageSummary ¶

type UpdateFunctionApplicationStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// A docker image artifact ocid.
	DockerImageArtifactId *string `mandatory:"false" json:"dockerImageArtifactId"`

	// User provided key/value pair configuration which is assigned through constants or parameter.
	Config map[string]string `mandatory:"false" json:"config"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

UpdateFunctionApplicationStageSummary Specifies the summary of an Update Function Application Stage, either by updating the value of a property or by providing the name of an existing image in the Docker registry that you now want to base the function on, instead of the previously specified image.

func (UpdateFunctionApplicationStageSummary) GetApplicationId ¶

func (m UpdateFunctionApplicationStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (UpdateFunctionApplicationStageSummary) GetCompartmentId ¶

func (m UpdateFunctionApplicationStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (UpdateFunctionApplicationStageSummary) GetDefinedTags ¶

func (m UpdateFunctionApplicationStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateFunctionApplicationStageSummary) GetDisplayName ¶

func (m UpdateFunctionApplicationStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateFunctionApplicationStageSummary) GetFreeformTags ¶

func (m UpdateFunctionApplicationStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateFunctionApplicationStageSummary) GetId ¶

GetId returns Id

func (UpdateFunctionApplicationStageSummary) GetLifecycleDetails ¶

func (m UpdateFunctionApplicationStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (UpdateFunctionApplicationStageSummary) GetLifecycleState ¶

GetLifecycleState returns LifecycleState

func (UpdateFunctionApplicationStageSummary) GetPipelineId ¶

func (m UpdateFunctionApplicationStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (UpdateFunctionApplicationStageSummary) GetStagePredecessorCollection ¶

func (m UpdateFunctionApplicationStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateFunctionApplicationStageSummary) GetSystemTags ¶

func (m UpdateFunctionApplicationStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (UpdateFunctionApplicationStageSummary) GetTimeCreated ¶

GetTimeCreated returns TimeCreated

func (UpdateFunctionApplicationStageSummary) GetTimeUpdated ¶

GetTimeUpdated returns TimeUpdated

func (UpdateFunctionApplicationStageSummary) GetTimeoutInSeconds ¶

func (m UpdateFunctionApplicationStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateFunctionApplicationStageSummary) MarshalJSON ¶

func (m UpdateFunctionApplicationStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateFunctionApplicationStageSummary) String ¶

type UpdateFunctionEnvironmentDetails ¶

type UpdateFunctionEnvironmentDetails struct {

	// Environment Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the Function.
	FunctionId *string `mandatory:"true" json:"functionId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateFunctionEnvironmentDetails Specifies the OKE Function environment.

func (UpdateFunctionEnvironmentDetails) GetDefinedTags ¶

func (m UpdateFunctionEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateFunctionEnvironmentDetails) GetDisplayName ¶

func (m UpdateFunctionEnvironmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateFunctionEnvironmentDetails) GetFreeformTags ¶

func (m UpdateFunctionEnvironmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateFunctionEnvironmentDetails) MarshalJSON ¶

func (m UpdateFunctionEnvironmentDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateFunctionEnvironmentDetails) String ¶

type UpdateInlineArtifactSourceDetails ¶

type UpdateInlineArtifactSourceDetails struct {

	// base64 Encoded String
	Base64EncodedContent []byte `mandatory:"false" json:"base64EncodedContent"`
}

UpdateInlineArtifactSourceDetails Specifies the Inline Artifact Source Details

func (UpdateInlineArtifactSourceDetails) MarshalJSON ¶

func (m UpdateInlineArtifactSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateInlineArtifactSourceDetails) String ¶

type UpdateInvokeFunctionStageDetails ¶

type UpdateInvokeFunctionStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A boolean flag specifies whether this stage executes asynchronously.
	IsAsync *bool `mandatory:"true" json:"isAsync"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Optional binary artifat ocid user may provide to this stage.
	ArtifactId *string `mandatory:"false" json:"artifactId"`
}

UpdateInvokeFunctionStageDetails Specifies Invoke Function stage.

func (UpdateInvokeFunctionStageDetails) GetDefinedTags ¶

func (m UpdateInvokeFunctionStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateInvokeFunctionStageDetails) GetDisplayName ¶

func (m UpdateInvokeFunctionStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateInvokeFunctionStageDetails) GetFreeformTags ¶

func (m UpdateInvokeFunctionStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateInvokeFunctionStageDetails) GetStagePredecessorCollection ¶

func (m UpdateInvokeFunctionStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateInvokeFunctionStageDetails) GetTimeoutInSeconds ¶

func (m UpdateInvokeFunctionStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateInvokeFunctionStageDetails) MarshalJSON ¶

func (m UpdateInvokeFunctionStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateInvokeFunctionStageDetails) String ¶

type UpdateLoadBalancerListenerEnvironmentDetails ¶

type UpdateLoadBalancerListenerEnvironmentDetails struct {

	// Environment Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The OCID of Load Balancer
	LoadBalancerId *string `mandatory:"false" json:"loadBalancerId"`

	// Name of the Load Balancer Listener
	ListenerName *string `mandatory:"false" json:"listenerName"`
}

UpdateLoadBalancerListenerEnvironmentDetails Specifies Load Balancer Listener environment.

func (UpdateLoadBalancerListenerEnvironmentDetails) GetDefinedTags ¶

func (m UpdateLoadBalancerListenerEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateLoadBalancerListenerEnvironmentDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (UpdateLoadBalancerListenerEnvironmentDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (UpdateLoadBalancerListenerEnvironmentDetails) MarshalJSON ¶

func (m UpdateLoadBalancerListenerEnvironmentDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateLoadBalancerListenerEnvironmentDetails) String ¶

type UpdateLoadBalancerTrafficShiftRollOutPolicyDetails ¶

type UpdateLoadBalancerTrafficShiftRollOutPolicyDetails struct {

	// Specifies number of batches for this stage.
	BatchCount *int `mandatory:"true" json:"batchCount"`

	// Specifies delay in seconds between batches.
	BatchDelayInSeconds *int `mandatory:"false" json:"batchDelayInSeconds"`

	// Indicates the stoping criteria.
	RampLimitPercent *float32 `mandatory:"false" json:"rampLimitPercent"`
}

UpdateLoadBalancerTrafficShiftRollOutPolicyDetails Description of rollout policy for Load Balancer Traffic Shift stage.

func (UpdateLoadBalancerTrafficShiftRollOutPolicyDetails) String ¶

type UpdateLoadBalancerTrafficShiftStageDetails ¶

type UpdateLoadBalancerTrafficShiftStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Existing Load Balance Listener environment ocid.
	// Listener of this environment should have Backends or BackendSet set up.
	LoadBalancerListenerEnvironmentId *string `mandatory:"false" json:"loadBalancerListenerEnvironmentId"`

	BlueBackendIps *BackendSetIpCollection `mandatory:"false" json:"blueBackendIps"`

	GreenBackendIps *BackendSetIpCollection `mandatory:"false" json:"greenBackendIps"`

	RolloutPolicy *UpdateLoadBalancerTrafficShiftRollOutPolicyDetails `mandatory:"false" json:"rolloutPolicy"`

	// Specifies the target or destination Backend set.
	TrafficShiftTarget LoadBalancerTrafficShiftStageTrafficShiftTargetEnum `mandatory:"false" json:"trafficShiftTarget,omitempty"`
}

UpdateLoadBalancerTrafficShiftStageDetails Specifies Load Balncer traffic shift stage.

func (UpdateLoadBalancerTrafficShiftStageDetails) GetDefinedTags ¶

func (m UpdateLoadBalancerTrafficShiftStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateLoadBalancerTrafficShiftStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (UpdateLoadBalancerTrafficShiftStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (UpdateLoadBalancerTrafficShiftStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateLoadBalancerTrafficShiftStageDetails) GetTimeoutInSeconds ¶

func (m UpdateLoadBalancerTrafficShiftStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateLoadBalancerTrafficShiftStageDetails) MarshalJSON ¶

func (m UpdateLoadBalancerTrafficShiftStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateLoadBalancerTrafficShiftStageDetails) String ¶

type UpdateManualApprovalStageDetails ¶

type UpdateManualApprovalStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// A minimum number of approvals required for stage to proceed.
	NumberOfApprovalsRequired *int `mandatory:"true" json:"numberOfApprovalsRequired"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateManualApprovalStageDetails Specifies the manual approval stage.

func (UpdateManualApprovalStageDetails) GetDefinedTags ¶

func (m UpdateManualApprovalStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateManualApprovalStageDetails) GetDisplayName ¶

func (m UpdateManualApprovalStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateManualApprovalStageDetails) GetFreeformTags ¶

func (m UpdateManualApprovalStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateManualApprovalStageDetails) GetStagePredecessorCollection ¶

func (m UpdateManualApprovalStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateManualApprovalStageDetails) GetTimeoutInSeconds ¶

func (m UpdateManualApprovalStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateManualApprovalStageDetails) MarshalJSON ¶

func (m UpdateManualApprovalStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateManualApprovalStageDetails) String ¶

type UpdateObjectNameFilterDetails ¶

type UpdateObjectNameFilterDetails struct {

	// An array of glob patterns to match the object names to exclude. An empty array is ignored.
	InclusionPatterns []string `mandatory:"false" json:"inclusionPatterns"`

	// An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket.
	ExclusionPatterns []string `mandatory:"false" json:"exclusionPatterns"`

	// An array of object name prefixes. An empty array means to include all objects.
	InclusionPrefixes []string `mandatory:"false" json:"inclusionPrefixes"`
}

UpdateObjectNameFilterDetails Specifies a filter that compares object names to a set of prefixes or patterns

func (UpdateObjectNameFilterDetails) String ¶

type UpdateObjectStorageArtifactSourceDetails ¶

type UpdateObjectStorageArtifactSourceDetails struct {

	// Specifies the object storage bucket
	BucketName *string `mandatory:"false" json:"bucketName"`

	// Specifies the object storage namespace
	NamespaceName *string `mandatory:"false" json:"namespaceName"`

	ObjectNameFilter *UpdateObjectNameFilterDetails `mandatory:"false" json:"objectNameFilter"`
}

UpdateObjectStorageArtifactSourceDetails Specifies the Object Storage Artifact Source Details

func (UpdateObjectStorageArtifactSourceDetails) MarshalJSON ¶

func (m UpdateObjectStorageArtifactSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateObjectStorageArtifactSourceDetails) String ¶

type UpdateOcirArtifactSourceDetails ¶

type UpdateOcirArtifactSourceDetails struct {

	// Specifies OCIR Image Path - optionally include tag
	ImageUri *string `mandatory:"false" json:"imageUri"`

	// Specifies image digest for the version of the image
	ImageDigest *string `mandatory:"false" json:"imageDigest"`
}

UpdateOcirArtifactSourceDetails Specifies OCIR details - optionally include tag

func (UpdateOcirArtifactSourceDetails) MarshalJSON ¶

func (m UpdateOcirArtifactSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateOcirArtifactSourceDetails) String ¶

type UpdateOkeClusterEnvironmentDetails ¶

type UpdateOkeClusterEnvironmentDetails struct {

	// Environment Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID of the OKE cluster.
	ClusterId *string `mandatory:"true" json:"clusterId"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateOkeClusterEnvironmentDetails Specifies the OKE Cluster environment.

func (UpdateOkeClusterEnvironmentDetails) GetDefinedTags ¶

func (m UpdateOkeClusterEnvironmentDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateOkeClusterEnvironmentDetails) GetDisplayName ¶

func (m UpdateOkeClusterEnvironmentDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateOkeClusterEnvironmentDetails) GetFreeformTags ¶

func (m UpdateOkeClusterEnvironmentDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateOkeClusterEnvironmentDetails) MarshalJSON ¶

func (m UpdateOkeClusterEnvironmentDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateOkeClusterEnvironmentDetails) String ¶

type UpdateOkeDeploymentStageDetails ¶

type UpdateOkeDeploymentStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// OkeCluster environment ocid for deployment.
	OkeClusterEnvironmentId *string `mandatory:"false" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid, this manifest should not include any Job resource.
	KubernetesManifestArtifactId *string `mandatory:"false" json:"kubernetesManifestArtifactId"`

	// Default Namespace to be used for Kubernetes Deployment when not specified in the manifest
	Namespace *string `mandatory:"false" json:"namespace"`
}

UpdateOkeDeploymentStageDetails Specifies the OKEDeployment stage.

func (UpdateOkeDeploymentStageDetails) GetDefinedTags ¶

func (m UpdateOkeDeploymentStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateOkeDeploymentStageDetails) GetDisplayName ¶

func (m UpdateOkeDeploymentStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateOkeDeploymentStageDetails) GetFreeformTags ¶

func (m UpdateOkeDeploymentStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateOkeDeploymentStageDetails) GetStagePredecessorCollection ¶

func (m UpdateOkeDeploymentStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateOkeDeploymentStageDetails) GetTimeoutInSeconds ¶

func (m UpdateOkeDeploymentStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateOkeDeploymentStageDetails) MarshalJSON ¶

func (m UpdateOkeDeploymentStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateOkeDeploymentStageDetails) String ¶

type UpdatePipelineDetails ¶

type UpdatePipelineDetails struct {

	// Pipeline display name
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Pipeline type
	PipelineType *string `mandatory:"false" json:"pipelineType"`

	PipelineParameters *PipelineParameterCollection `mandatory:"false" json:"pipelineParameters"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdatePipelineDetails The information to be updated for the given Pipeline.

func (UpdatePipelineDetails) String ¶

func (m UpdatePipelineDetails) String() string

type UpdatePipelineRequest ¶

type UpdatePipelineRequest struct {

	// unique Pipeline identifier
	PipelineId *string `mandatory:"true" contributesTo:"path" name:"pipelineId"`

	// The information to be updated.
	UpdatePipelineDetails `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"`

	// The client request ID for tracing.
	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
}

UpdatePipelineRequest wrapper for the UpdatePipeline operation

func (UpdatePipelineRequest) HTTPRequest ¶

func (request UpdatePipelineRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdatePipelineRequest) RetryPolicy ¶

func (request UpdatePipelineRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdatePipelineRequest) String ¶

func (request UpdatePipelineRequest) String() string

type UpdatePipelineResponse ¶

type UpdatePipelineResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Pipeline instance
	Pipeline `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdatePipelineResponse wrapper for the UpdatePipeline operation

func (UpdatePipelineResponse) HTTPResponse ¶

func (response UpdatePipelineResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdatePipelineResponse) String ¶

func (response UpdatePipelineResponse) String() string

type UpdateRunDeploymentConcurrencyConflictPolicyDetails ¶

type UpdateRunDeploymentConcurrencyConflictPolicyDetails struct {

	// The types of policies in case of a conflict
	ConcurrencyConflictPolicyType RunDeploymentConcurrencyConflictPolicyConcurrencyConflictPolicyTypeEnum `mandatory:"false" json:"concurrencyConflictPolicyType,omitempty"`
}

UpdateRunDeploymentConcurrencyConflictPolicyDetails This describes the policy in case there is a deployment already running on the target pipeline.

func (UpdateRunDeploymentConcurrencyConflictPolicyDetails) String ¶

type UpdateRunDeploymentStageDetails ¶

type UpdateRunDeploymentStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// A target Pipeline ocid that will be run in this stage.
	TargetPipelineId *string `mandatory:"false" json:"targetPipelineId"`

	// A boolean flag specifies whether the target deployment is run synchronously or asynchronously.
	IsAsync *bool `mandatory:"false" json:"isAsync"`

	UpdateRunDeploymentConcurrencyConflictPolicyDetails *UpdateRunDeploymentConcurrencyConflictPolicyDetails `mandatory:"false" json:"updateRunDeploymentConcurrencyConflictPolicyDetails"`
}

UpdateRunDeploymentStageDetails Specifies Run Deployment Pipleline stage which runs another pipeline of the application.

func (UpdateRunDeploymentStageDetails) GetDefinedTags ¶

func (m UpdateRunDeploymentStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateRunDeploymentStageDetails) GetDisplayName ¶

func (m UpdateRunDeploymentStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateRunDeploymentStageDetails) GetFreeformTags ¶

func (m UpdateRunDeploymentStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateRunDeploymentStageDetails) GetStagePredecessorCollection ¶

func (m UpdateRunDeploymentStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateRunDeploymentStageDetails) GetTimeoutInSeconds ¶

func (m UpdateRunDeploymentStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateRunDeploymentStageDetails) MarshalJSON ¶

func (m UpdateRunDeploymentStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateRunDeploymentStageDetails) String ¶

type UpdateRunJobOnComputeInstanceGroupStageDetails ¶

type UpdateRunJobOnComputeInstanceGroupStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// An instance group environment ocid.
	ComputeInstanceGroupEnvironmentId *string `mandatory:"false" json:"computeInstanceGroupEnvironmentId"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"false" json:"primaryArtifactId"`

	// File artifact ocids, there should be atleast one artifact containing deployment specifications.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	RolloutPolicy *UpdateComputeInstanceGroupRollingDeploymentRollOutPolicyDetails `mandatory:"false" json:"rolloutPolicy"`

	// The path to the deployment specification file in the primary artifact for this stage's Environment. The default location if not specified is deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`
}

UpdateRunJobOnComputeInstanceGroupStageDetails Specifies Run job on the compute instance groups stage.

func (UpdateRunJobOnComputeInstanceGroupStageDetails) GetDefinedTags ¶

func (m UpdateRunJobOnComputeInstanceGroupStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateRunJobOnComputeInstanceGroupStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (UpdateRunJobOnComputeInstanceGroupStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (UpdateRunJobOnComputeInstanceGroupStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateRunJobOnComputeInstanceGroupStageDetails) GetTimeoutInSeconds ¶

func (m UpdateRunJobOnComputeInstanceGroupStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateRunJobOnComputeInstanceGroupStageDetails) MarshalJSON ¶

func (m UpdateRunJobOnComputeInstanceGroupStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateRunJobOnComputeInstanceGroupStageDetails) String ¶

type UpdateRunJobOnComputeInstanceStageDetails ¶

type UpdateRunJobOnComputeInstanceStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Instance OCID on which this stage runs the job.
	ComputeInstanceId *string `mandatory:"false" json:"computeInstanceId"`

	// File artifact ocids.
	AdditionalArtifactIds []string `mandatory:"false" json:"additionalArtifactIds"`

	// The OCID of the artifact that contains the deployment specification.
	PrimaryArtifactId *string `mandatory:"false" json:"primaryArtifactId"`

	// The path to the deployment specification file in the primary artifact for this stage's Environment. The default location if not specified is deployment_spec.yaml
	DeploymentSpecFile *string `mandatory:"false" json:"deploymentSpecFile"`
}

UpdateRunJobOnComputeInstanceStageDetails Specifies Run job on an instance stage.

func (UpdateRunJobOnComputeInstanceStageDetails) GetDefinedTags ¶

func (m UpdateRunJobOnComputeInstanceStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateRunJobOnComputeInstanceStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (UpdateRunJobOnComputeInstanceStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (UpdateRunJobOnComputeInstanceStageDetails) GetStagePredecessorCollection ¶

func (m UpdateRunJobOnComputeInstanceStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateRunJobOnComputeInstanceStageDetails) GetTimeoutInSeconds ¶

func (m UpdateRunJobOnComputeInstanceStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateRunJobOnComputeInstanceStageDetails) MarshalJSON ¶

func (m UpdateRunJobOnComputeInstanceStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateRunJobOnComputeInstanceStageDetails) String ¶

type UpdateRunOkeJobStageDetails ¶

type UpdateRunOkeJobStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// OKE Cluster environment ocid.
	OkeClusterEnvironmentId *string `mandatory:"false" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid.
	KubernetesManifestArtifactId *string `mandatory:"false" json:"kubernetesManifestArtifactId"`

	// Default Namespace to be used for Kubernetes Job when not specified in the manifest
	Namespace *string `mandatory:"false" json:"namespace"`

	// Specifies synchronous or asynchronous mode of execution for this stage.
	ExecutionMode RunOkeJobStageExecutionModeEnum `mandatory:"false" json:"executionMode,omitempty"`
}

UpdateRunOkeJobStageDetails Specifies Run job on OKE stage.

func (UpdateRunOkeJobStageDetails) GetDefinedTags ¶

func (m UpdateRunOkeJobStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateRunOkeJobStageDetails) GetDisplayName ¶

func (m UpdateRunOkeJobStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateRunOkeJobStageDetails) GetFreeformTags ¶

func (m UpdateRunOkeJobStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateRunOkeJobStageDetails) GetStagePredecessorCollection ¶

func (m UpdateRunOkeJobStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateRunOkeJobStageDetails) GetTimeoutInSeconds ¶

func (m UpdateRunOkeJobStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateRunOkeJobStageDetails) MarshalJSON ¶

func (m UpdateRunOkeJobStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateRunOkeJobStageDetails) String ¶

type UpdateRunValidationTestOnComputeInstanceStageDetails ¶

type UpdateRunValidationTestOnComputeInstanceStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Instance OCID on which this stage runs validation.
	ComputeInstanceId *string `mandatory:"true" json:"computeInstanceId"`

	// File artifact ocids, there should be atleast one artifact containing deployment specifications.
	ArtifactIds []string `mandatory:"true" json:"artifactIds"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateRunValidationTestOnComputeInstanceStageDetails Specifies run Validation test on an compute instance stage.

func (UpdateRunValidationTestOnComputeInstanceStageDetails) GetDefinedTags ¶

func (m UpdateRunValidationTestOnComputeInstanceStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateRunValidationTestOnComputeInstanceStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (UpdateRunValidationTestOnComputeInstanceStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (UpdateRunValidationTestOnComputeInstanceStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateRunValidationTestOnComputeInstanceStageDetails) GetTimeoutInSeconds ¶

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateRunValidationTestOnComputeInstanceStageDetails) MarshalJSON ¶

MarshalJSON marshals to json representation

func (UpdateRunValidationTestOnComputeInstanceStageDetails) String ¶

type UpdateRunValidationTestOnFunctionStageDetails ¶

type UpdateRunValidationTestOnFunctionStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Function environment ocid.
	FunctionEnvironmentId *string `mandatory:"true" json:"functionEnvironmentId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Optional binary artifact user may provide to this stage.
	BinaryArtifactId *string `mandatory:"false" json:"binaryArtifactId"`
}

UpdateRunValidationTestOnFunctionStageDetails Specifies Run validation test on Function to validate on going deployment.

func (UpdateRunValidationTestOnFunctionStageDetails) GetDefinedTags ¶

func (m UpdateRunValidationTestOnFunctionStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateRunValidationTestOnFunctionStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (UpdateRunValidationTestOnFunctionStageDetails) GetFreeformTags ¶

GetFreeformTags returns FreeformTags

func (UpdateRunValidationTestOnFunctionStageDetails) GetStagePredecessorCollection ¶

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateRunValidationTestOnFunctionStageDetails) GetTimeoutInSeconds ¶

func (m UpdateRunValidationTestOnFunctionStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateRunValidationTestOnFunctionStageDetails) MarshalJSON ¶

func (m UpdateRunValidationTestOnFunctionStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateRunValidationTestOnFunctionStageDetails) String ¶

type UpdateRunValidationTestOnOkeStageDetails ¶

type UpdateRunValidationTestOnOkeStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// OKE Cluster environment for running this job.
	OkeClusterEnvironmentId *string `mandatory:"true" json:"okeClusterEnvironmentId"`

	// KubernetesManifest artifact ocid.
	KubernetesManifestArtifactId *string `mandatory:"true" json:"kubernetesManifestArtifactId"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateRunValidationTestOnOkeStageDetails Specifies Run validation on OKE stage, to validate ongoing deployment on OKE.

func (UpdateRunValidationTestOnOkeStageDetails) GetDefinedTags ¶

func (m UpdateRunValidationTestOnOkeStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateRunValidationTestOnOkeStageDetails) GetDisplayName ¶

GetDisplayName returns DisplayName

func (UpdateRunValidationTestOnOkeStageDetails) GetFreeformTags ¶

func (m UpdateRunValidationTestOnOkeStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateRunValidationTestOnOkeStageDetails) GetStagePredecessorCollection ¶

func (m UpdateRunValidationTestOnOkeStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateRunValidationTestOnOkeStageDetails) GetTimeoutInSeconds ¶

func (m UpdateRunValidationTestOnOkeStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateRunValidationTestOnOkeStageDetails) MarshalJSON ¶

func (m UpdateRunValidationTestOnOkeStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateRunValidationTestOnOkeStageDetails) String ¶

type UpdateStageDetails ¶

type UpdateStageDetails interface {

	// Stage Identifier
	GetDisplayName() *string

	// A timeout in seconds, this stage may take to return.
	GetTimeoutInSeconds() *int

	GetStagePredecessorCollection() *StagePredecessorCollection

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	GetFreeformTags() map[string]string

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	GetDefinedTags() map[string]map[string]interface{}
}

UpdateStageDetails The information to be updated.

type UpdateStageRequest ¶

type UpdateStageRequest struct {

	// unique Stage identifier
	StageId *string `mandatory:"true" contributesTo:"path" name:"stageId"`

	// The information to be updated.
	UpdateStageDetails `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"`

	// The client request ID for tracing.
	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
}

UpdateStageRequest wrapper for the UpdateStage operation

func (UpdateStageRequest) HTTPRequest ¶

func (request UpdateStageRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateStageRequest) RetryPolicy ¶

func (request UpdateStageRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateStageRequest) String ¶

func (request UpdateStageRequest) String() string

type UpdateStageResponse ¶

type UpdateStageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Stage instance
	Stage `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, please provide the request ID.
	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

UpdateStageResponse wrapper for the UpdateStage operation

func (UpdateStageResponse) HTTPResponse ¶

func (response UpdateStageResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateStageResponse) String ¶

func (response UpdateStageResponse) String() string

type UpdateWaitStageDetails ¶

type UpdateWaitStageDetails struct {

	// Stage Identifier
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The duration of each wait window. Or the absolute wait duration.
	// Minimum waitDuration should be 5 seconds.
	WaitDuration *string `mandatory:"true" json:"waitDuration"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The times when wait stage begins, and specifies a recurring window. Following RFC 5545 recurrence rules, we can specify frequency, occurance, starting time and window interval.
	// Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window, we can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the window interval.
	WaitBeginTimes *string `mandatory:"false" json:"waitBeginTimes"`

	// Time zone in form of tzdb canonical Zone Id.
	TimeZone *string `mandatory:"false" json:"timeZone"`
}

UpdateWaitStageDetails Specifies the Wait Stage. User can specify variable wait times or an absolute duration.

func (UpdateWaitStageDetails) GetDefinedTags ¶

func (m UpdateWaitStageDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateWaitStageDetails) GetDisplayName ¶

func (m UpdateWaitStageDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateWaitStageDetails) GetFreeformTags ¶

func (m UpdateWaitStageDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateWaitStageDetails) GetStagePredecessorCollection ¶

func (m UpdateWaitStageDetails) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (UpdateWaitStageDetails) GetTimeoutInSeconds ¶

func (m UpdateWaitStageDetails) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (UpdateWaitStageDetails) MarshalJSON ¶

func (m UpdateWaitStageDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateWaitStageDetails) String ¶

func (m UpdateWaitStageDetails) String() string

type WaitStage ¶

type WaitStage struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The duration of each wait window. Or the absolute wait duration.
	// Minimum waitDuration should be 5 seconds.
	WaitDuration *string `mandatory:"true" json:"waitDuration"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The times when wait stage begins, and specifies a recurring window. Following RFC 5545 recurrence rules, we can specify frequency, occurance, starting time and window interval.
	// Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window, we can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the window interval.
	WaitBeginTimes *string `mandatory:"false" json:"waitBeginTimes"`

	// Time zone in form of tzdb canonical Zone Id.
	TimeZone *string `mandatory:"false" json:"timeZone"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

WaitStage Specifies the Wait Stage. User can specify variable wait times or an absolute duration.

func (WaitStage) GetApplicationId ¶

func (m WaitStage) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (WaitStage) GetCompartmentId ¶

func (m WaitStage) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (WaitStage) GetDefinedTags ¶

func (m WaitStage) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (WaitStage) GetDisplayName ¶

func (m WaitStage) GetDisplayName() *string

GetDisplayName returns DisplayName

func (WaitStage) GetFreeformTags ¶

func (m WaitStage) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (WaitStage) GetId ¶

func (m WaitStage) GetId() *string

GetId returns Id

func (WaitStage) GetLifecycleState ¶

func (m WaitStage) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (WaitStage) GetLifecyleDetails ¶

func (m WaitStage) GetLifecyleDetails() *string

GetLifecyleDetails returns LifecyleDetails

func (WaitStage) GetPipelineId ¶

func (m WaitStage) GetPipelineId() *string

GetPipelineId returns PipelineId

func (WaitStage) GetStagePredecessorCollection ¶

func (m WaitStage) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (WaitStage) GetSystemTags ¶

func (m WaitStage) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (WaitStage) GetTimeCreated ¶

func (m WaitStage) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (WaitStage) GetTimeUpdated ¶

func (m WaitStage) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (WaitStage) GetTimeoutInSeconds ¶

func (m WaitStage) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (WaitStage) MarshalJSON ¶

func (m WaitStage) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (WaitStage) String ¶

func (m WaitStage) String() string

type WaitStageExecutionProgress ¶

type WaitStageExecutionProgress struct {

	// The time the Stage was started executing. An RFC3339 formatted datetime string
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the Stage was finished executing. An RFC3339 formatted datetime string
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

	// A message describing the current state of the stage in more detail. For example, can be used to provide actionable information for a resource in Failed state.
	StatusMessages []string `mandatory:"false" json:"statusMessages"`

	// The current state of the Stage.
	Status StageExecutionProgressStatusEnum `mandatory:"false" json:"status,omitempty"`
}

WaitStageExecutionProgress Specifies wait stage specific execution details.

func (WaitStageExecutionProgress) GetStatus ¶

GetStatus returns Status

func (WaitStageExecutionProgress) GetStatusMessages ¶

func (m WaitStageExecutionProgress) GetStatusMessages() []string

GetStatusMessages returns StatusMessages

func (WaitStageExecutionProgress) GetTimeFinished ¶

func (m WaitStageExecutionProgress) GetTimeFinished() *common.SDKTime

GetTimeFinished returns TimeFinished

func (WaitStageExecutionProgress) GetTimeStarted ¶

func (m WaitStageExecutionProgress) GetTimeStarted() *common.SDKTime

GetTimeStarted returns TimeStarted

func (WaitStageExecutionProgress) MarshalJSON ¶

func (m WaitStageExecutionProgress) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (WaitStageExecutionProgress) String ¶

type WaitStageSummary ¶

type WaitStageSummary struct {

	// Unique identifier that is immutable on creation
	Id *string `mandatory:"true" json:"id"`

	// Application Identifier
	ApplicationId *string `mandatory:"true" json:"applicationId"`

	// Pipeline Identifier
	PipelineId *string `mandatory:"true" json:"pipelineId"`

	// Compartment Identifier
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Stage Identifier, can be renamed
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The time the the Stage was created. An RFC3339 formatted datetime string
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The time the Stage was updated. An RFC3339 formatted datetime string
	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"`

	// A timeout in seconds, this stage may take to return.
	TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

	StagePredecessorCollection *StagePredecessorCollection `mandatory:"false" json:"stagePredecessorCollection"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// 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.
	// Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

	// The times when wait stage begins, and specifies a recurring window. Following RFC 5545 recurrence rules, we can specify frequency, occurance, starting time and window interval.
	// Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window, we can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the window interval.
	WaitBeginTimes *string `mandatory:"false" json:"waitBeginTimes"`

	// Time zone in form of tzdb canonical Zone Id.
	TimeZone *string `mandatory:"false" json:"timeZone"`

	// The duration of each wait window. Or the absolute wait duration.
	// Minimum waitDuration should be 5 seconds.
	WaitDuration *string `mandatory:"false" json:"waitDuration"`

	// The current state of the Stage.
	LifecycleState StageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

WaitStageSummary Specifies the Wait Stage. User can specify variable wait times or an absolute duration.

func (WaitStageSummary) GetApplicationId ¶

func (m WaitStageSummary) GetApplicationId() *string

GetApplicationId returns ApplicationId

func (WaitStageSummary) GetCompartmentId ¶

func (m WaitStageSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (WaitStageSummary) GetDefinedTags ¶

func (m WaitStageSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (WaitStageSummary) GetDisplayName ¶

func (m WaitStageSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (WaitStageSummary) GetFreeformTags ¶

func (m WaitStageSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (WaitStageSummary) GetId ¶

func (m WaitStageSummary) GetId() *string

GetId returns Id

func (WaitStageSummary) GetLifecycleDetails ¶

func (m WaitStageSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (WaitStageSummary) GetLifecycleState ¶

func (m WaitStageSummary) GetLifecycleState() StageLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (WaitStageSummary) GetPipelineId ¶

func (m WaitStageSummary) GetPipelineId() *string

GetPipelineId returns PipelineId

func (WaitStageSummary) GetStagePredecessorCollection ¶

func (m WaitStageSummary) GetStagePredecessorCollection() *StagePredecessorCollection

GetStagePredecessorCollection returns StagePredecessorCollection

func (WaitStageSummary) GetSystemTags ¶

func (m WaitStageSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (WaitStageSummary) GetTimeCreated ¶

func (m WaitStageSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (WaitStageSummary) GetTimeUpdated ¶

func (m WaitStageSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (WaitStageSummary) GetTimeoutInSeconds ¶

func (m WaitStageSummary) GetTimeoutInSeconds() *int

GetTimeoutInSeconds returns TimeoutInSeconds

func (WaitStageSummary) MarshalJSON ¶

func (m WaitStageSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (WaitStageSummary) String ¶

func (m WaitStageSummary) String() string

type WorkRequest ¶

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 id 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"`

	// The date and time the request was created, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 14.29.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest A description of workrequest status

func (WorkRequest) String ¶

func (m WorkRequest) String() string

type WorkRequestClient ¶

type WorkRequestClient struct {
	common.BaseClient
	// contains filtered or unexported fields
}

WorkRequestClient a client for WorkRequest

func NewWorkRequestClientWithConfigurationProvider ¶

func NewWorkRequestClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client WorkRequestClient, err error)

NewWorkRequestClientWithConfigurationProvider Creates a new default WorkRequest client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewWorkRequestClientWithOboToken ¶

func NewWorkRequestClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client WorkRequestClient, err error)

NewWorkRequestClientWithOboToken Creates a new default WorkRequest 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 (*WorkRequestClient) ConfigurationProvider ¶

func (client *WorkRequestClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (WorkRequestClient) GetWorkRequest ¶

func (client WorkRequestClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the status of the work request with the given ID.

func (WorkRequestClient) ListWorkRequestErrors ¶

func (client WorkRequestClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Return a (paginated) list of errors for a given work request.

func (WorkRequestClient) ListWorkRequestLogs ¶

func (client WorkRequestClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Return a (paginated) list of logs for a given work request.

func (WorkRequestClient) ListWorkRequests ¶

func (client WorkRequestClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

func (*WorkRequestClient) SetRegion ¶

func (client *WorkRequestClient) SetRegion(region string)

SetRegion overrides the region of this client.

type WorkRequestCollection ¶

type WorkRequestCollection struct {

	// WorkRequest items found for the search.
	Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

WorkRequestCollection Results of a list of WorkRequest.

func (WorkRequestCollection) String ¶

func (m WorkRequestCollection) String() string

type WorkRequestError ¶

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed on
	// (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"`

	// The time the error occured. An RFC3339 formatted datetime string.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String ¶

func (m WorkRequestError) String() string

type WorkRequestErrorCollection ¶

type WorkRequestErrorCollection struct {

	// WorkRequestError items found for the listing.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Results of a list of WorkRequest errors encountered while executing a work request.

func (WorkRequestErrorCollection) String ¶

type WorkRequestLogEntry ¶

type WorkRequestLogEntry struct {

	// Human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written. An RFC3339 formatted datetime string
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from the execution of a work request.

func (WorkRequestLogEntry) String ¶

func (m WorkRequestLogEntry) String() string

type WorkRequestLogEntryCollection ¶

type WorkRequestLogEntryCollection struct {

	// WorkRequestLogEntry items found for the listing.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Results of a list of log message from the execution of a work request.

func (WorkRequestLogEntryCollection) String ¶

type WorkRequestResource ¶

type WorkRequestResource struct {

	// The resource type the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively.
	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 do a GET on to access the resource metadata
	EntityUri *string `mandatory:"false" json:"entityUri"`
}

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String ¶

func (m WorkRequestResource) String() string

type WorkRequestSummary ¶

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 id 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"`

	// The date and time the request was created, as described in
	// RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
	// section 14.29.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A description of workrequest status

func (WorkRequestSummary) String ¶

func (m WorkRequestSummary) String() string

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL