...

Package containerengine

import "github.com/oracle/oci-go-sdk/containerengine"
Overview
Index

Overview ▾

Index ▾

Variables
func GetClusterLifecycleStateEnumStringValues() []string
func GetClusterMigrateToNativeVcnStatusStateEnumStringValues() []string
func GetClusterPodNetworkOptionDetailsCniTypeEnumStringValues() []string
func GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues() []string
func GetListClustersSortByEnumStringValues() []string
func GetListClustersSortOrderEnumStringValues() []string
func GetListNodePoolsSortByEnumStringValues() []string
func GetListNodePoolsSortOrderEnumStringValues() []string
func GetListWorkRequestsResourceTypeEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetNodeLifecycleStateEnumStringValues() []string
func GetNodePoolLifecycleStateEnumStringValues() []string
func GetNodePoolPodNetworkOptionDetailsCniTypeEnumStringValues() []string
func GetNodeSourceTypeEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetWorkRequestOperationTypeEnumStringValues() []string
func GetWorkRequestResourceActionTypeEnumStringValues() []string
func GetWorkRequestStatusEnumStringValues() []string
type AddOnOptions
    func (m AddOnOptions) String() string
    func (m AddOnOptions) ValidateEnumValue() (bool, error)
type AdmissionControllerOptions
    func (m AdmissionControllerOptions) String() string
    func (m AdmissionControllerOptions) ValidateEnumValue() (bool, error)
type Cluster
    func (m Cluster) String() string
    func (m *Cluster) UnmarshalJSON(data []byte) (e error)
    func (m Cluster) ValidateEnumValue() (bool, error)
type ClusterCreateOptions
    func (m ClusterCreateOptions) String() string
    func (m ClusterCreateOptions) ValidateEnumValue() (bool, error)
type ClusterEndpointConfig
    func (m ClusterEndpointConfig) String() string
    func (m ClusterEndpointConfig) ValidateEnumValue() (bool, error)
type ClusterEndpoints
    func (m ClusterEndpoints) String() string
    func (m ClusterEndpoints) ValidateEnumValue() (bool, error)
type ClusterLifecycleStateEnum
    func GetClusterLifecycleStateEnumValues() []ClusterLifecycleStateEnum
    func GetMappingClusterLifecycleStateEnum(val string) (ClusterLifecycleStateEnum, bool)
type ClusterMetadata
    func (m ClusterMetadata) String() string
    func (m ClusterMetadata) ValidateEnumValue() (bool, error)
type ClusterMigrateToNativeVcnDetails
    func (m ClusterMigrateToNativeVcnDetails) String() string
    func (m ClusterMigrateToNativeVcnDetails) ValidateEnumValue() (bool, error)
type ClusterMigrateToNativeVcnRequest
    func (request ClusterMigrateToNativeVcnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ClusterMigrateToNativeVcnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ClusterMigrateToNativeVcnRequest) RetryPolicy() *common.RetryPolicy
    func (request ClusterMigrateToNativeVcnRequest) String() string
    func (request ClusterMigrateToNativeVcnRequest) ValidateEnumValue() (bool, error)
type ClusterMigrateToNativeVcnResponse
    func (response ClusterMigrateToNativeVcnResponse) HTTPResponse() *http.Response
    func (response ClusterMigrateToNativeVcnResponse) String() string
type ClusterMigrateToNativeVcnStatus
    func (m ClusterMigrateToNativeVcnStatus) String() string
    func (m ClusterMigrateToNativeVcnStatus) ValidateEnumValue() (bool, error)
type ClusterMigrateToNativeVcnStatusStateEnum
    func GetClusterMigrateToNativeVcnStatusStateEnumValues() []ClusterMigrateToNativeVcnStatusStateEnum
    func GetMappingClusterMigrateToNativeVcnStatusStateEnum(val string) (ClusterMigrateToNativeVcnStatusStateEnum, bool)
type ClusterOptions
    func (m ClusterOptions) String() string
    func (m *ClusterOptions) UnmarshalJSON(data []byte) (e error)
    func (m ClusterOptions) ValidateEnumValue() (bool, error)
type ClusterPodNetworkOptionDetails
type ClusterPodNetworkOptionDetailsCniTypeEnum
    func GetClusterPodNetworkOptionDetailsCniTypeEnumValues() []ClusterPodNetworkOptionDetailsCniTypeEnum
    func GetMappingClusterPodNetworkOptionDetailsCniTypeEnum(val string) (ClusterPodNetworkOptionDetailsCniTypeEnum, bool)
type ClusterSummary
    func (m ClusterSummary) String() string
    func (m *ClusterSummary) UnmarshalJSON(data []byte) (e error)
    func (m ClusterSummary) ValidateEnumValue() (bool, error)
type ClusterSummaryLifecycleStateEnum
type ContainerEngineClient
    func NewContainerEngineClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ContainerEngineClient, err error)
    func NewContainerEngineClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ContainerEngineClient, err error)
    func (client ContainerEngineClient) ClusterMigrateToNativeVcn(ctx context.Context, request ClusterMigrateToNativeVcnRequest) (response ClusterMigrateToNativeVcnResponse, err error)
    func (client *ContainerEngineClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ContainerEngineClient) CreateCluster(ctx context.Context, request CreateClusterRequest) (response CreateClusterResponse, err error)
    func (client ContainerEngineClient) CreateKubeconfig(ctx context.Context, request CreateKubeconfigRequest) (response CreateKubeconfigResponse, err error)
    func (client ContainerEngineClient) CreateNodePool(ctx context.Context, request CreateNodePoolRequest) (response CreateNodePoolResponse, err error)
    func (client ContainerEngineClient) DeleteCluster(ctx context.Context, request DeleteClusterRequest) (response DeleteClusterResponse, err error)
    func (client ContainerEngineClient) DeleteNode(ctx context.Context, request DeleteNodeRequest) (response DeleteNodeResponse, err error)
    func (client ContainerEngineClient) DeleteNodePool(ctx context.Context, request DeleteNodePoolRequest) (response DeleteNodePoolResponse, err error)
    func (client ContainerEngineClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
    func (client ContainerEngineClient) GetCluster(ctx context.Context, request GetClusterRequest) (response GetClusterResponse, err error)
    func (client ContainerEngineClient) GetClusterMigrateToNativeVcnStatus(ctx context.Context, request GetClusterMigrateToNativeVcnStatusRequest) (response GetClusterMigrateToNativeVcnStatusResponse, err error)
    func (client ContainerEngineClient) GetClusterOptions(ctx context.Context, request GetClusterOptionsRequest) (response GetClusterOptionsResponse, err error)
    func (client ContainerEngineClient) GetNodePool(ctx context.Context, request GetNodePoolRequest) (response GetNodePoolResponse, err error)
    func (client ContainerEngineClient) GetNodePoolOptions(ctx context.Context, request GetNodePoolOptionsRequest) (response GetNodePoolOptionsResponse, err error)
    func (client ContainerEngineClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client ContainerEngineClient) ListClusters(ctx context.Context, request ListClustersRequest) (response ListClustersResponse, err error)
    func (client ContainerEngineClient) ListNodePools(ctx context.Context, request ListNodePoolsRequest) (response ListNodePoolsResponse, err error)
    func (client ContainerEngineClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client ContainerEngineClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client ContainerEngineClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client *ContainerEngineClient) SetRegion(region string)
    func (client ContainerEngineClient) UpdateCluster(ctx context.Context, request UpdateClusterRequest) (response UpdateClusterResponse, err error)
    func (client ContainerEngineClient) UpdateClusterEndpointConfig(ctx context.Context, request UpdateClusterEndpointConfigRequest) (response UpdateClusterEndpointConfigResponse, err error)
    func (client ContainerEngineClient) UpdateNodePool(ctx context.Context, request UpdateNodePoolRequest) (response UpdateNodePoolResponse, err error)
type CreateClusterDetails
    func (m CreateClusterDetails) String() string
    func (m *CreateClusterDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateClusterDetails) ValidateEnumValue() (bool, error)
type CreateClusterEndpointConfigDetails
    func (m CreateClusterEndpointConfigDetails) String() string
    func (m CreateClusterEndpointConfigDetails) ValidateEnumValue() (bool, error)
type CreateClusterKubeconfigContentDetails
    func (m CreateClusterKubeconfigContentDetails) String() string
    func (m CreateClusterKubeconfigContentDetails) ValidateEnumValue() (bool, error)
type CreateClusterKubeconfigContentDetailsEndpointEnum
    func GetCreateClusterKubeconfigContentDetailsEndpointEnumValues() []CreateClusterKubeconfigContentDetailsEndpointEnum
    func GetMappingCreateClusterKubeconfigContentDetailsEndpointEnum(val string) (CreateClusterKubeconfigContentDetailsEndpointEnum, bool)
type CreateClusterRequest
    func (request CreateClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateClusterRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateClusterRequest) String() string
    func (request CreateClusterRequest) ValidateEnumValue() (bool, error)
type CreateClusterResponse
    func (response CreateClusterResponse) HTTPResponse() *http.Response
    func (response CreateClusterResponse) String() string
type CreateImagePolicyConfigDetails
    func (m CreateImagePolicyConfigDetails) String() string
    func (m CreateImagePolicyConfigDetails) ValidateEnumValue() (bool, error)
type CreateKubeconfigRequest
    func (request CreateKubeconfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateKubeconfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateKubeconfigRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateKubeconfigRequest) String() string
    func (request CreateKubeconfigRequest) ValidateEnumValue() (bool, error)
type CreateKubeconfigResponse
    func (response CreateKubeconfigResponse) HTTPResponse() *http.Response
    func (response CreateKubeconfigResponse) String() string
type CreateNodePoolDetails
    func (m CreateNodePoolDetails) String() string
    func (m *CreateNodePoolDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateNodePoolDetails) ValidateEnumValue() (bool, error)
type CreateNodePoolNodeConfigDetails
    func (m CreateNodePoolNodeConfigDetails) String() string
    func (m *CreateNodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateNodePoolNodeConfigDetails) ValidateEnumValue() (bool, error)
type CreateNodePoolRequest
    func (request CreateNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateNodePoolRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateNodePoolRequest) String() string
    func (request CreateNodePoolRequest) ValidateEnumValue() (bool, error)
type CreateNodePoolResponse
    func (response CreateNodePoolResponse) HTTPResponse() *http.Response
    func (response CreateNodePoolResponse) String() string
type CreateNodeShapeConfigDetails
    func (m CreateNodeShapeConfigDetails) String() string
    func (m CreateNodeShapeConfigDetails) ValidateEnumValue() (bool, error)
type DeleteClusterRequest
    func (request DeleteClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteClusterRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteClusterRequest) String() string
    func (request DeleteClusterRequest) ValidateEnumValue() (bool, error)
type DeleteClusterResponse
    func (response DeleteClusterResponse) HTTPResponse() *http.Response
    func (response DeleteClusterResponse) String() string
type DeleteNodePoolRequest
    func (request DeleteNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteNodePoolRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteNodePoolRequest) String() string
    func (request DeleteNodePoolRequest) ValidateEnumValue() (bool, error)
type DeleteNodePoolResponse
    func (response DeleteNodePoolResponse) HTTPResponse() *http.Response
    func (response DeleteNodePoolResponse) String() string
type DeleteNodeRequest
    func (request DeleteNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteNodeRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteNodeRequest) String() string
    func (request DeleteNodeRequest) ValidateEnumValue() (bool, error)
type DeleteNodeResponse
    func (response DeleteNodeResponse) HTTPResponse() *http.Response
    func (response DeleteNodeResponse) String() string
type DeleteWorkRequestRequest
    func (request DeleteWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteWorkRequestRequest) String() string
    func (request DeleteWorkRequestRequest) ValidateEnumValue() (bool, error)
type DeleteWorkRequestResponse
    func (response DeleteWorkRequestResponse) HTTPResponse() *http.Response
    func (response DeleteWorkRequestResponse) String() string
type FlannelOverlayClusterPodNetworkOptionDetails
    func (m FlannelOverlayClusterPodNetworkOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m FlannelOverlayClusterPodNetworkOptionDetails) String() string
    func (m FlannelOverlayClusterPodNetworkOptionDetails) ValidateEnumValue() (bool, error)
type FlannelOverlayNodePoolPodNetworkOptionDetails
    func (m FlannelOverlayNodePoolPodNetworkOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m FlannelOverlayNodePoolPodNetworkOptionDetails) String() string
    func (m FlannelOverlayNodePoolPodNetworkOptionDetails) ValidateEnumValue() (bool, error)
type GetClusterMigrateToNativeVcnStatusRequest
    func (request GetClusterMigrateToNativeVcnStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetClusterMigrateToNativeVcnStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetClusterMigrateToNativeVcnStatusRequest) RetryPolicy() *common.RetryPolicy
    func (request GetClusterMigrateToNativeVcnStatusRequest) String() string
    func (request GetClusterMigrateToNativeVcnStatusRequest) ValidateEnumValue() (bool, error)
type GetClusterMigrateToNativeVcnStatusResponse
    func (response GetClusterMigrateToNativeVcnStatusResponse) HTTPResponse() *http.Response
    func (response GetClusterMigrateToNativeVcnStatusResponse) String() string
type GetClusterOptionsRequest
    func (request GetClusterOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetClusterOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetClusterOptionsRequest) RetryPolicy() *common.RetryPolicy
    func (request GetClusterOptionsRequest) String() string
    func (request GetClusterOptionsRequest) ValidateEnumValue() (bool, error)
type GetClusterOptionsResponse
    func (response GetClusterOptionsResponse) HTTPResponse() *http.Response
    func (response GetClusterOptionsResponse) String() string
type GetClusterRequest
    func (request GetClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetClusterRequest) RetryPolicy() *common.RetryPolicy
    func (request GetClusterRequest) String() string
    func (request GetClusterRequest) ValidateEnumValue() (bool, error)
type GetClusterResponse
    func (response GetClusterResponse) HTTPResponse() *http.Response
    func (response GetClusterResponse) String() string
type GetNodePoolOptionsRequest
    func (request GetNodePoolOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetNodePoolOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetNodePoolOptionsRequest) RetryPolicy() *common.RetryPolicy
    func (request GetNodePoolOptionsRequest) String() string
    func (request GetNodePoolOptionsRequest) ValidateEnumValue() (bool, error)
type GetNodePoolOptionsResponse
    func (response GetNodePoolOptionsResponse) HTTPResponse() *http.Response
    func (response GetNodePoolOptionsResponse) String() string
type GetNodePoolRequest
    func (request GetNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetNodePoolRequest) RetryPolicy() *common.RetryPolicy
    func (request GetNodePoolRequest) String() string
    func (request GetNodePoolRequest) ValidateEnumValue() (bool, error)
type GetNodePoolResponse
    func (response GetNodePoolResponse) HTTPResponse() *http.Response
    func (response GetNodePoolResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type ImagePolicyConfig
    func (m ImagePolicyConfig) String() string
    func (m ImagePolicyConfig) ValidateEnumValue() (bool, error)
type KeyDetails
    func (m KeyDetails) String() string
    func (m KeyDetails) ValidateEnumValue() (bool, error)
type KeyValue
    func (m KeyValue) String() string
    func (m KeyValue) ValidateEnumValue() (bool, error)
type KubernetesNetworkConfig
    func (m KubernetesNetworkConfig) String() string
    func (m KubernetesNetworkConfig) ValidateEnumValue() (bool, error)
type ListClustersRequest
    func (request ListClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListClustersRequest) RetryPolicy() *common.RetryPolicy
    func (request ListClustersRequest) String() string
    func (request ListClustersRequest) ValidateEnumValue() (bool, error)
type ListClustersResponse
    func (response ListClustersResponse) HTTPResponse() *http.Response
    func (response ListClustersResponse) String() string
type ListClustersSortByEnum
    func GetListClustersSortByEnumValues() []ListClustersSortByEnum
    func GetMappingListClustersSortByEnum(val string) (ListClustersSortByEnum, bool)
type ListClustersSortOrderEnum
    func GetListClustersSortOrderEnumValues() []ListClustersSortOrderEnum
    func GetMappingListClustersSortOrderEnum(val string) (ListClustersSortOrderEnum, bool)
type ListNodePoolsRequest
    func (request ListNodePoolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListNodePoolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListNodePoolsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListNodePoolsRequest) String() string
    func (request ListNodePoolsRequest) ValidateEnumValue() (bool, error)
type ListNodePoolsResponse
    func (response ListNodePoolsResponse) HTTPResponse() *http.Response
    func (response ListNodePoolsResponse) String() string
type ListNodePoolsSortByEnum
    func GetListNodePoolsSortByEnumValues() []ListNodePoolsSortByEnum
    func GetMappingListNodePoolsSortByEnum(val string) (ListNodePoolsSortByEnum, bool)
type ListNodePoolsSortOrderEnum
    func GetListNodePoolsSortOrderEnumValues() []ListNodePoolsSortOrderEnum
    func GetMappingListNodePoolsSortOrderEnum(val string) (ListNodePoolsSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResourceTypeEnum
    func GetListWorkRequestsResourceTypeEnumValues() []ListWorkRequestsResourceTypeEnum
    func GetMappingListWorkRequestsResourceTypeEnum(val string) (ListWorkRequestsResourceTypeEnum, bool)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type Node
    func (m Node) String() string
    func (m Node) ValidateEnumValue() (bool, error)
type NodeError
    func (m NodeError) String() string
    func (m NodeError) ValidateEnumValue() (bool, error)
type NodeEvictionNodePoolSettings
    func (m NodeEvictionNodePoolSettings) String() string
    func (m NodeEvictionNodePoolSettings) ValidateEnumValue() (bool, error)
type NodeLifecycleStateEnum
    func GetMappingNodeLifecycleStateEnum(val string) (NodeLifecycleStateEnum, bool)
    func GetNodeLifecycleStateEnumValues() []NodeLifecycleStateEnum
type NodePool
    func (m NodePool) String() string
    func (m *NodePool) UnmarshalJSON(data []byte) (e error)
    func (m NodePool) ValidateEnumValue() (bool, error)
type NodePoolLifecycleStateEnum
    func GetMappingNodePoolLifecycleStateEnum(val string) (NodePoolLifecycleStateEnum, bool)
    func GetNodePoolLifecycleStateEnumValues() []NodePoolLifecycleStateEnum
type NodePoolNodeConfigDetails
    func (m NodePoolNodeConfigDetails) String() string
    func (m *NodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error)
    func (m NodePoolNodeConfigDetails) ValidateEnumValue() (bool, error)
type NodePoolOptions
    func (m NodePoolOptions) String() string
    func (m *NodePoolOptions) UnmarshalJSON(data []byte) (e error)
    func (m NodePoolOptions) ValidateEnumValue() (bool, error)
type NodePoolPlacementConfigDetails
    func (m NodePoolPlacementConfigDetails) String() string
    func (m NodePoolPlacementConfigDetails) ValidateEnumValue() (bool, error)
type NodePoolPodNetworkOptionDetails
type NodePoolPodNetworkOptionDetailsCniTypeEnum
    func GetMappingNodePoolPodNetworkOptionDetailsCniTypeEnum(val string) (NodePoolPodNetworkOptionDetailsCniTypeEnum, bool)
    func GetNodePoolPodNetworkOptionDetailsCniTypeEnumValues() []NodePoolPodNetworkOptionDetailsCniTypeEnum
type NodePoolSummary
    func (m NodePoolSummary) String() string
    func (m *NodePoolSummary) UnmarshalJSON(data []byte) (e error)
    func (m NodePoolSummary) ValidateEnumValue() (bool, error)
type NodeShapeConfig
    func (m NodeShapeConfig) String() string
    func (m NodeShapeConfig) ValidateEnumValue() (bool, error)
type NodeSourceDetails
type NodeSourceOption
type NodeSourceTypeEnum
    func GetMappingNodeSourceTypeEnum(val string) (NodeSourceTypeEnum, bool)
    func GetNodeSourceTypeEnumValues() []NodeSourceTypeEnum
type NodeSourceViaImageDetails
    func (m NodeSourceViaImageDetails) MarshalJSON() (buff []byte, e error)
    func (m NodeSourceViaImageDetails) String() string
    func (m NodeSourceViaImageDetails) ValidateEnumValue() (bool, error)
type NodeSourceViaImageOption
    func (m NodeSourceViaImageOption) GetSourceName() *string
    func (m NodeSourceViaImageOption) MarshalJSON() (buff []byte, e error)
    func (m NodeSourceViaImageOption) String() string
    func (m NodeSourceViaImageOption) ValidateEnumValue() (bool, error)
type OciVcnIpNativeClusterPodNetworkOptionDetails
    func (m OciVcnIpNativeClusterPodNetworkOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m OciVcnIpNativeClusterPodNetworkOptionDetails) String() string
    func (m OciVcnIpNativeClusterPodNetworkOptionDetails) ValidateEnumValue() (bool, error)
type OciVcnIpNativeNodePoolPodNetworkOptionDetails
    func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) MarshalJSON() (buff []byte, e error)
    func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) String() string
    func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) ValidateEnumValue() (bool, error)
type PersistentVolumeConfigDetails
    func (m PersistentVolumeConfigDetails) String() string
    func (m PersistentVolumeConfigDetails) ValidateEnumValue() (bool, error)
type ServiceLbConfigDetails
    func (m ServiceLbConfigDetails) String() string
    func (m ServiceLbConfigDetails) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type UpdateClusterDetails
    func (m UpdateClusterDetails) String() string
    func (m UpdateClusterDetails) ValidateEnumValue() (bool, error)
type UpdateClusterEndpointConfigDetails
    func (m UpdateClusterEndpointConfigDetails) String() string
    func (m UpdateClusterEndpointConfigDetails) ValidateEnumValue() (bool, error)
type UpdateClusterEndpointConfigRequest
    func (request UpdateClusterEndpointConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateClusterEndpointConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateClusterEndpointConfigRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateClusterEndpointConfigRequest) String() string
    func (request UpdateClusterEndpointConfigRequest) ValidateEnumValue() (bool, error)
type UpdateClusterEndpointConfigResponse
    func (response UpdateClusterEndpointConfigResponse) HTTPResponse() *http.Response
    func (response UpdateClusterEndpointConfigResponse) String() string
type UpdateClusterOptionsDetails
    func (m UpdateClusterOptionsDetails) String() string
    func (m UpdateClusterOptionsDetails) ValidateEnumValue() (bool, error)
type UpdateClusterRequest
    func (request UpdateClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateClusterRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateClusterRequest) String() string
    func (request UpdateClusterRequest) ValidateEnumValue() (bool, error)
type UpdateClusterResponse
    func (response UpdateClusterResponse) HTTPResponse() *http.Response
    func (response UpdateClusterResponse) String() string
type UpdateImagePolicyConfigDetails
    func (m UpdateImagePolicyConfigDetails) String() string
    func (m UpdateImagePolicyConfigDetails) ValidateEnumValue() (bool, error)
type UpdateNodePoolDetails
    func (m UpdateNodePoolDetails) String() string
    func (m *UpdateNodePoolDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateNodePoolDetails) ValidateEnumValue() (bool, error)
type UpdateNodePoolNodeConfigDetails
    func (m UpdateNodePoolNodeConfigDetails) String() string
    func (m *UpdateNodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateNodePoolNodeConfigDetails) ValidateEnumValue() (bool, error)
type UpdateNodePoolRequest
    func (request UpdateNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateNodePoolRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateNodePoolRequest) String() string
    func (request UpdateNodePoolRequest) ValidateEnumValue() (bool, error)
type UpdateNodePoolResponse
    func (response UpdateNodePoolResponse) HTTPResponse() *http.Response
    func (response UpdateNodePoolResponse) String() string
type UpdateNodeShapeConfigDetails
    func (m UpdateNodeShapeConfigDetails) String() string
    func (m UpdateNodeShapeConfigDetails) ValidateEnumValue() (bool, error)
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestOperationTypeEnum
    func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
    func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceActionTypeEnum
    func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
    func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
type WorkRequestStatusEnum
    func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)
    func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryOperationTypeEnum
type WorkRequestSummaryStatusEnum

Package files

add_on_options.go admission_controller_options.go cluster.go cluster_create_options.go cluster_endpoint_config.go cluster_endpoints.go cluster_lifecycle_state.go cluster_metadata.go cluster_migrate_to_native_vcn_details.go cluster_migrate_to_native_vcn_request_response.go cluster_migrate_to_native_vcn_status.go cluster_options.go cluster_pod_network_option_details.go cluster_summary.go containerengine_client.go create_cluster_details.go create_cluster_endpoint_config_details.go create_cluster_kubeconfig_content_details.go create_cluster_request_response.go create_image_policy_config_details.go create_kubeconfig_request_response.go create_node_pool_details.go create_node_pool_node_config_details.go create_node_pool_request_response.go create_node_shape_config_details.go delete_cluster_request_response.go delete_node_pool_request_response.go delete_node_request_response.go delete_work_request_request_response.go flannel_overlay_cluster_pod_network_option_details.go flannel_overlay_node_pool_pod_network_option_details.go get_cluster_migrate_to_native_vcn_status_request_response.go get_cluster_options_request_response.go get_cluster_request_response.go get_node_pool_options_request_response.go get_node_pool_request_response.go get_work_request_request_response.go image_policy_config.go key_details.go key_value.go kubernetes_network_config.go list_clusters_request_response.go list_node_pools_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go node.go node_error.go node_eviction_node_pool_settings.go node_pool.go node_pool_lifecycle_state.go node_pool_node_config_details.go node_pool_options.go node_pool_placement_config_details.go node_pool_pod_network_option_details.go node_pool_summary.go node_shape_config.go node_source_details.go node_source_option.go node_source_type.go node_source_via_image_details.go node_source_via_image_option.go oci_vcn_ip_native_cluster_pod_network_option_details.go oci_vcn_ip_native_node_pool_pod_network_option_details.go persistent_volume_config_details.go service_lb_config_details.go sort_order.go update_cluster_details.go update_cluster_endpoint_config_details.go update_cluster_endpoint_config_request_response.go update_cluster_options_details.go update_cluster_request_response.go update_image_policy_config_details.go update_node_pool_details.go update_node_pool_node_config_details.go update_node_pool_request_response.go update_node_shape_config_details.go work_request.go work_request_error.go work_request_log_entry.go work_request_operation_type.go work_request_resource.go work_request_status.go work_request_summary.go

Variables

GetClusterSummaryLifecycleStateEnumValues Enumerates the set of values for ClusterLifecycleStateEnum Consider using GetClusterLifecycleStateEnumValue Deprecated

var GetClusterSummaryLifecycleStateEnumValues = GetClusterLifecycleStateEnumValues

GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum Consider using GetWorkRequestOperationTypeEnumValue Deprecated

var GetWorkRequestSummaryOperationTypeEnumValues = GetWorkRequestOperationTypeEnumValues

GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum Consider using GetWorkRequestStatusEnumValue Deprecated

var GetWorkRequestSummaryStatusEnumValues = GetWorkRequestStatusEnumValues

func GetClusterLifecycleStateEnumStringValues

func GetClusterLifecycleStateEnumStringValues() []string

GetClusterLifecycleStateEnumStringValues Enumerates the set of values in String for ClusterLifecycleStateEnum

func GetClusterMigrateToNativeVcnStatusStateEnumStringValues

func GetClusterMigrateToNativeVcnStatusStateEnumStringValues() []string

GetClusterMigrateToNativeVcnStatusStateEnumStringValues Enumerates the set of values in String for ClusterMigrateToNativeVcnStatusStateEnum

func GetClusterPodNetworkOptionDetailsCniTypeEnumStringValues

func GetClusterPodNetworkOptionDetailsCniTypeEnumStringValues() []string

GetClusterPodNetworkOptionDetailsCniTypeEnumStringValues Enumerates the set of values in String for ClusterPodNetworkOptionDetailsCniTypeEnum

func GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues

func GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues() []string

GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues Enumerates the set of values in String for CreateClusterKubeconfigContentDetailsEndpointEnum

func GetListClustersSortByEnumStringValues

func GetListClustersSortByEnumStringValues() []string

GetListClustersSortByEnumStringValues Enumerates the set of values in String for ListClustersSortByEnum

func GetListClustersSortOrderEnumStringValues

func GetListClustersSortOrderEnumStringValues() []string

GetListClustersSortOrderEnumStringValues Enumerates the set of values in String for ListClustersSortOrderEnum

func GetListNodePoolsSortByEnumStringValues

func GetListNodePoolsSortByEnumStringValues() []string

GetListNodePoolsSortByEnumStringValues Enumerates the set of values in String for ListNodePoolsSortByEnum

func GetListNodePoolsSortOrderEnumStringValues

func GetListNodePoolsSortOrderEnumStringValues() []string

GetListNodePoolsSortOrderEnumStringValues Enumerates the set of values in String for ListNodePoolsSortOrderEnum

func GetListWorkRequestsResourceTypeEnumStringValues

func GetListWorkRequestsResourceTypeEnumStringValues() []string

GetListWorkRequestsResourceTypeEnumStringValues Enumerates the set of values in String for ListWorkRequestsResourceTypeEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetNodeLifecycleStateEnumStringValues

func GetNodeLifecycleStateEnumStringValues() []string

GetNodeLifecycleStateEnumStringValues Enumerates the set of values in String for NodeLifecycleStateEnum

func GetNodePoolLifecycleStateEnumStringValues

func GetNodePoolLifecycleStateEnumStringValues() []string

GetNodePoolLifecycleStateEnumStringValues Enumerates the set of values in String for NodePoolLifecycleStateEnum

func GetNodePoolPodNetworkOptionDetailsCniTypeEnumStringValues

func GetNodePoolPodNetworkOptionDetailsCniTypeEnumStringValues() []string

GetNodePoolPodNetworkOptionDetailsCniTypeEnumStringValues Enumerates the set of values in String for NodePoolPodNetworkOptionDetailsCniTypeEnum

func GetNodeSourceTypeEnumStringValues

func GetNodeSourceTypeEnumStringValues() []string

GetNodeSourceTypeEnumStringValues Enumerates the set of values in String for NodeSourceTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetWorkRequestOperationTypeEnumStringValues

func GetWorkRequestOperationTypeEnumStringValues() []string

GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum

func GetWorkRequestResourceActionTypeEnumStringValues

func GetWorkRequestResourceActionTypeEnumStringValues() []string

GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum

func GetWorkRequestStatusEnumStringValues

func GetWorkRequestStatusEnumStringValues() []string

GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum

type AddOnOptions

AddOnOptions The properties that define options for supported add-ons.

type AddOnOptions struct {

    // Whether or not to enable the Kubernetes Dashboard add-on.
    IsKubernetesDashboardEnabled *bool `mandatory:"false" json:"isKubernetesDashboardEnabled"`

    // Whether or not to enable the Tiller add-on.
    IsTillerEnabled *bool `mandatory:"false" json:"isTillerEnabled"`
}

func (AddOnOptions) String

func (m AddOnOptions) String() string

func (AddOnOptions) ValidateEnumValue

func (m AddOnOptions) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AdmissionControllerOptions

AdmissionControllerOptions The properties that define supported admission controllers.

type AdmissionControllerOptions struct {

    // Whether or not to enable the Pod Security Policy admission controller.
    IsPodSecurityPolicyEnabled *bool `mandatory:"false" json:"isPodSecurityPolicyEnabled"`
}

func (AdmissionControllerOptions) String

func (m AdmissionControllerOptions) String() string

func (AdmissionControllerOptions) ValidateEnumValue

func (m AdmissionControllerOptions) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Cluster

Cluster A Kubernetes cluster. Avoid entering confidential information.

type Cluster struct {

    // The OCID of the cluster.
    Id *string `mandatory:"false" json:"id"`

    // The name of the cluster.
    Name *string `mandatory:"false" json:"name"`

    // The OCID of the compartment in which the cluster exists.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The network configuration for access to the Cluster control plane.
    EndpointConfig *ClusterEndpointConfig `mandatory:"false" json:"endpointConfig"`

    // The OCID of the virtual cloud network (VCN) in which the cluster exists.
    VcnId *string `mandatory:"false" json:"vcnId"`

    // The version of Kubernetes running on the cluster masters.
    KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"`

    // The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    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 attributes for the cluster.
    Options *ClusterCreateOptions `mandatory:"false" json:"options"`

    // Metadata about the cluster.
    Metadata *ClusterMetadata `mandatory:"false" json:"metadata"`

    // The state of the cluster masters.
    LifecycleState ClusterLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Details about the state of the cluster masters.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Endpoints served up by the cluster masters.
    Endpoints *ClusterEndpoints `mandatory:"false" json:"endpoints"`

    // Available Kubernetes versions to which the clusters masters may be upgraded.
    AvailableKubernetesUpgrades []string `mandatory:"false" json:"availableKubernetesUpgrades"`

    // The image verification policy for signature validation.
    ImagePolicyConfig *ImagePolicyConfig `mandatory:"false" json:"imagePolicyConfig"`

    // Available CNIs and network options for existing and new node pools of the cluster
    ClusterPodNetworkOptions []ClusterPodNetworkOptionDetails `mandatory:"false" json:"clusterPodNetworkOptions"`
}

func (Cluster) String

func (m Cluster) String() string

func (*Cluster) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (Cluster) ValidateEnumValue

func (m Cluster) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterCreateOptions

ClusterCreateOptions The properties that define extra options for a cluster.

type ClusterCreateOptions struct {

    // The OCIDs of the subnets used for Kubernetes services load balancers.
    ServiceLbSubnetIds []string `mandatory:"false" json:"serviceLbSubnetIds"`

    // Network configuration for Kubernetes.
    KubernetesNetworkConfig *KubernetesNetworkConfig `mandatory:"false" json:"kubernetesNetworkConfig"`

    // Configurable cluster add-ons
    AddOns *AddOnOptions `mandatory:"false" json:"addOns"`

    // Configurable cluster admission controllers
    AdmissionControllerOptions *AdmissionControllerOptions `mandatory:"false" json:"admissionControllerOptions"`

    PersistentVolumeConfig *PersistentVolumeConfigDetails `mandatory:"false" json:"persistentVolumeConfig"`

    ServiceLbConfig *ServiceLbConfigDetails `mandatory:"false" json:"serviceLbConfig"`
}

func (ClusterCreateOptions) String

func (m ClusterCreateOptions) String() string

func (ClusterCreateOptions) ValidateEnumValue

func (m ClusterCreateOptions) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterEndpointConfig

ClusterEndpointConfig The properties that define the network configuration for the Cluster endpoint.

type ClusterEndpointConfig struct {

    // The OCID of the regional subnet in which to place the Cluster endpoint.
    SubnetId *string `mandatory:"false" json:"subnetId"`

    // A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
    IsPublicIpEnabled *bool `mandatory:"false" json:"isPublicIpEnabled"`
}

func (ClusterEndpointConfig) String

func (m ClusterEndpointConfig) String() string

func (ClusterEndpointConfig) ValidateEnumValue

func (m ClusterEndpointConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterEndpoints

ClusterEndpoints The properties that define endpoints for a cluster.

type ClusterEndpoints struct {

    // The non-native networking Kubernetes API server endpoint.
    Kubernetes *string `mandatory:"false" json:"kubernetes"`

    // The public native networking Kubernetes API server endpoint, if one was requested.
    PublicEndpoint *string `mandatory:"false" json:"publicEndpoint"`

    // The private native networking Kubernetes API server endpoint.
    PrivateEndpoint *string `mandatory:"false" json:"privateEndpoint"`

    // The FQDN assigned to the Kubernetes API private endpoint.
    // Example: 'https://yourVcnHostnameEndpoint'
    VcnHostnameEndpoint *string `mandatory:"false" json:"vcnHostnameEndpoint"`
}

func (ClusterEndpoints) String

func (m ClusterEndpoints) String() string

func (ClusterEndpoints) ValidateEnumValue

func (m ClusterEndpoints) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterLifecycleStateEnum

ClusterLifecycleStateEnum Enum with underlying type: string

type ClusterLifecycleStateEnum string

Set of constants representing the allowable values for ClusterLifecycleStateEnum

const (
    ClusterLifecycleStateCreating ClusterLifecycleStateEnum = "CREATING"
    ClusterLifecycleStateActive   ClusterLifecycleStateEnum = "ACTIVE"
    ClusterLifecycleStateFailed   ClusterLifecycleStateEnum = "FAILED"
    ClusterLifecycleStateDeleting ClusterLifecycleStateEnum = "DELETING"
    ClusterLifecycleStateDeleted  ClusterLifecycleStateEnum = "DELETED"
    ClusterLifecycleStateUpdating ClusterLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ClusterLifecycleStateEnum Deprecated

const (
    ClusterSummaryLifecycleStateCreating ClusterLifecycleStateEnum = "CREATING"
    ClusterSummaryLifecycleStateActive   ClusterLifecycleStateEnum = "ACTIVE"
    ClusterSummaryLifecycleStateFailed   ClusterLifecycleStateEnum = "FAILED"
    ClusterSummaryLifecycleStateDeleting ClusterLifecycleStateEnum = "DELETING"
    ClusterSummaryLifecycleStateDeleted  ClusterLifecycleStateEnum = "DELETED"
    ClusterSummaryLifecycleStateUpdating ClusterLifecycleStateEnum = "UPDATING"
)

func GetClusterLifecycleStateEnumValues

func GetClusterLifecycleStateEnumValues() []ClusterLifecycleStateEnum

GetClusterLifecycleStateEnumValues Enumerates the set of values for ClusterLifecycleStateEnum

func GetMappingClusterLifecycleStateEnum

func GetMappingClusterLifecycleStateEnum(val string) (ClusterLifecycleStateEnum, bool)

GetMappingClusterLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ClusterMetadata

ClusterMetadata The properties that define meta data for a cluster.

type ClusterMetadata struct {

    // The time the cluster was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The user who created the cluster.
    CreatedByUserId *string `mandatory:"false" json:"createdByUserId"`

    // The OCID of the work request which created the cluster.
    CreatedByWorkRequestId *string `mandatory:"false" json:"createdByWorkRequestId"`

    // The time the cluster was deleted.
    TimeDeleted *common.SDKTime `mandatory:"false" json:"timeDeleted"`

    // The user who deleted the cluster.
    DeletedByUserId *string `mandatory:"false" json:"deletedByUserId"`

    // The OCID of the work request which deleted the cluster.
    DeletedByWorkRequestId *string `mandatory:"false" json:"deletedByWorkRequestId"`

    // The time the cluster was updated.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The user who updated the cluster.
    UpdatedByUserId *string `mandatory:"false" json:"updatedByUserId"`

    // The OCID of the work request which updated the cluster.
    UpdatedByWorkRequestId *string `mandatory:"false" json:"updatedByWorkRequestId"`
}

func (ClusterMetadata) String

func (m ClusterMetadata) String() string

func (ClusterMetadata) ValidateEnumValue

func (m ClusterMetadata) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterMigrateToNativeVcnDetails

ClusterMigrateToNativeVcnDetails The properties that define a request to migrate a cluster to Native VCN.

type ClusterMigrateToNativeVcnDetails struct {

    // The network configuration for access to the Cluster control plane.
    EndpointConfig *ClusterEndpointConfig `mandatory:"true" json:"endpointConfig"`

    // The optional override of the non-native endpoint decommission time after migration is complete. Defaults to 30 days.
    DecommissionDelayDuration *string `mandatory:"false" json:"decommissionDelayDuration"`
}

func (ClusterMigrateToNativeVcnDetails) String

func (m ClusterMigrateToNativeVcnDetails) String() string

func (ClusterMigrateToNativeVcnDetails) ValidateEnumValue

func (m ClusterMigrateToNativeVcnDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterMigrateToNativeVcnRequest

ClusterMigrateToNativeVcnRequest wrapper for the ClusterMigrateToNativeVcn operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcnRequest.

type ClusterMigrateToNativeVcnRequest struct {

    // The OCID of the cluster.
    ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"`

    // The details for the cluster's migration to native VCN.
    ClusterMigrateToNativeVcnDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ClusterMigrateToNativeVcnRequest) BinaryRequestBody

func (request ClusterMigrateToNativeVcnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ClusterMigrateToNativeVcnRequest) HTTPRequest

func (request ClusterMigrateToNativeVcnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ClusterMigrateToNativeVcnRequest) RetryPolicy

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

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

func (ClusterMigrateToNativeVcnRequest) String

func (request ClusterMigrateToNativeVcnRequest) String() string

func (ClusterMigrateToNativeVcnRequest) ValidateEnumValue

func (request ClusterMigrateToNativeVcnRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterMigrateToNativeVcnResponse

ClusterMigrateToNativeVcnResponse wrapper for the ClusterMigrateToNativeVcn operation

type ClusterMigrateToNativeVcnResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request handling the 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"`
}

func (ClusterMigrateToNativeVcnResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ClusterMigrateToNativeVcnResponse) String

func (response ClusterMigrateToNativeVcnResponse) String() string

type ClusterMigrateToNativeVcnStatus

ClusterMigrateToNativeVcnStatus Information regarding a cluster's move to Native VCN.

type ClusterMigrateToNativeVcnStatus struct {

    // The current migration status of the cluster.
    State ClusterMigrateToNativeVcnStatusStateEnum `mandatory:"true" json:"state"`

    // The date and time the non-native VCN is due to be decommissioned.
    TimeDecommissionScheduled *common.SDKTime `mandatory:"false" json:"timeDecommissionScheduled"`
}

func (ClusterMigrateToNativeVcnStatus) String

func (m ClusterMigrateToNativeVcnStatus) String() string

func (ClusterMigrateToNativeVcnStatus) ValidateEnumValue

func (m ClusterMigrateToNativeVcnStatus) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterMigrateToNativeVcnStatusStateEnum

ClusterMigrateToNativeVcnStatusStateEnum Enum with underlying type: string

type ClusterMigrateToNativeVcnStatusStateEnum string

Set of constants representing the allowable values for ClusterMigrateToNativeVcnStatusStateEnum

const (
    ClusterMigrateToNativeVcnStatusStateNotStarted          ClusterMigrateToNativeVcnStatusStateEnum = "NOT_STARTED"
    ClusterMigrateToNativeVcnStatusStateRequested           ClusterMigrateToNativeVcnStatusStateEnum = "REQUESTED"
    ClusterMigrateToNativeVcnStatusStateInProgress          ClusterMigrateToNativeVcnStatusStateEnum = "IN_PROGRESS"
    ClusterMigrateToNativeVcnStatusStatePendingDecommission ClusterMigrateToNativeVcnStatusStateEnum = "PENDING_DECOMMISSION"
    ClusterMigrateToNativeVcnStatusStateCompleted           ClusterMigrateToNativeVcnStatusStateEnum = "COMPLETED"
)

func GetClusterMigrateToNativeVcnStatusStateEnumValues

func GetClusterMigrateToNativeVcnStatusStateEnumValues() []ClusterMigrateToNativeVcnStatusStateEnum

GetClusterMigrateToNativeVcnStatusStateEnumValues Enumerates the set of values for ClusterMigrateToNativeVcnStatusStateEnum

func GetMappingClusterMigrateToNativeVcnStatusStateEnum

func GetMappingClusterMigrateToNativeVcnStatusStateEnum(val string) (ClusterMigrateToNativeVcnStatusStateEnum, bool)

GetMappingClusterMigrateToNativeVcnStatusStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ClusterOptions

ClusterOptions Options for creating or updating clusters.

type ClusterOptions struct {

    // Available Kubernetes versions.
    KubernetesVersions []string `mandatory:"false" json:"kubernetesVersions"`

    // Available CNIs and network options for existing and new node pools of the cluster
    ClusterPodNetworkOptions []ClusterPodNetworkOptionDetails `mandatory:"false" json:"clusterPodNetworkOptions"`
}

func (ClusterOptions) String

func (m ClusterOptions) String() string

func (*ClusterOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ClusterOptions) ValidateEnumValue

func (m ClusterOptions) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterPodNetworkOptionDetails

ClusterPodNetworkOptionDetails The CNI type and relevant network details potentially applicable to the node pools of the cluster

type ClusterPodNetworkOptionDetails interface {
}

type ClusterPodNetworkOptionDetailsCniTypeEnum

ClusterPodNetworkOptionDetailsCniTypeEnum Enum with underlying type: string

type ClusterPodNetworkOptionDetailsCniTypeEnum string

Set of constants representing the allowable values for ClusterPodNetworkOptionDetailsCniTypeEnum

const (
    ClusterPodNetworkOptionDetailsCniTypeOciVcnIpNative ClusterPodNetworkOptionDetailsCniTypeEnum = "OCI_VCN_IP_NATIVE"
    ClusterPodNetworkOptionDetailsCniTypeFlannelOverlay ClusterPodNetworkOptionDetailsCniTypeEnum = "FLANNEL_OVERLAY"
)

func GetClusterPodNetworkOptionDetailsCniTypeEnumValues

func GetClusterPodNetworkOptionDetailsCniTypeEnumValues() []ClusterPodNetworkOptionDetailsCniTypeEnum

GetClusterPodNetworkOptionDetailsCniTypeEnumValues Enumerates the set of values for ClusterPodNetworkOptionDetailsCniTypeEnum

func GetMappingClusterPodNetworkOptionDetailsCniTypeEnum

func GetMappingClusterPodNetworkOptionDetailsCniTypeEnum(val string) (ClusterPodNetworkOptionDetailsCniTypeEnum, bool)

GetMappingClusterPodNetworkOptionDetailsCniTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ClusterSummary

ClusterSummary The properties that define a cluster summary.

type ClusterSummary struct {

    // The OCID of the cluster.
    Id *string `mandatory:"false" json:"id"`

    // The name of the cluster.
    Name *string `mandatory:"false" json:"name"`

    // The OCID of the compartment in which the cluster exists.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The network configuration for access to the Cluster control plane.
    EndpointConfig *ClusterEndpointConfig `mandatory:"false" json:"endpointConfig"`

    // The OCID of the virtual cloud network (VCN) in which the cluster exists
    VcnId *string `mandatory:"false" json:"vcnId"`

    // The version of Kubernetes running on the cluster masters.
    KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    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 attributes for the cluster.
    Options *ClusterCreateOptions `mandatory:"false" json:"options"`

    // Metadata about the cluster.
    Metadata *ClusterMetadata `mandatory:"false" json:"metadata"`

    // The state of the cluster masters.
    LifecycleState ClusterLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Details about the state of the cluster masters.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Endpoints served up by the cluster masters.
    Endpoints *ClusterEndpoints `mandatory:"false" json:"endpoints"`

    // Available Kubernetes versions to which the clusters masters may be upgraded.
    AvailableKubernetesUpgrades []string `mandatory:"false" json:"availableKubernetesUpgrades"`

    // The image verification policy for signature validation.
    ImagePolicyConfig *ImagePolicyConfig `mandatory:"false" json:"imagePolicyConfig"`

    // Available CNIs and network options for existing and new node pools of the cluster
    ClusterPodNetworkOptions []ClusterPodNetworkOptionDetails `mandatory:"false" json:"clusterPodNetworkOptions"`
}

func (ClusterSummary) String

func (m ClusterSummary) String() string

func (*ClusterSummary) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ClusterSummary) ValidateEnumValue

func (m ClusterSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ClusterSummaryLifecycleStateEnum

ClusterSummaryLifecycleStateEnum is an alias to type: ClusterLifecycleStateEnum Consider using ClusterLifecycleStateEnum instead Deprecated

type ClusterSummaryLifecycleStateEnum = ClusterLifecycleStateEnum

type ContainerEngineClient

ContainerEngineClient a client for ContainerEngine

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

func NewContainerEngineClientWithConfigurationProvider

func NewContainerEngineClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ContainerEngineClient, err error)

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

func NewContainerEngineClientWithOboToken

func NewContainerEngineClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ContainerEngineClient, err error)

NewContainerEngineClientWithOboToken Creates a new default ContainerEngine 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 (ContainerEngineClient) ClusterMigrateToNativeVcn

func (client ContainerEngineClient) ClusterMigrateToNativeVcn(ctx context.Context, request ClusterMigrateToNativeVcnRequest) (response ClusterMigrateToNativeVcnResponse, err error)

ClusterMigrateToNativeVcn Initiates cluster migration to use native VCN.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcn API. A default retry strategy applies to this operation ClusterMigrateToNativeVcn()

func (*ContainerEngineClient) ConfigurationProvider

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

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

func (ContainerEngineClient) CreateCluster

func (client ContainerEngineClient) CreateCluster(ctx context.Context, request CreateClusterRequest) (response CreateClusterResponse, err error)

CreateCluster Create a new cluster.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/CreateCluster.go.html to see an example of how to use CreateCluster API. A default retry strategy applies to this operation CreateCluster()

func (ContainerEngineClient) CreateKubeconfig

func (client ContainerEngineClient) CreateKubeconfig(ctx context.Context, request CreateKubeconfigRequest) (response CreateKubeconfigResponse, err error)

CreateKubeconfig Create the Kubeconfig YAML for a cluster.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfig API. A default retry strategy applies to this operation CreateKubeconfig()

func (ContainerEngineClient) CreateNodePool

func (client ContainerEngineClient) CreateNodePool(ctx context.Context, request CreateNodePoolRequest) (response CreateNodePoolResponse, err error)

CreateNodePool Create a new node pool.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePool API. A default retry strategy applies to this operation CreateNodePool()

func (ContainerEngineClient) DeleteCluster

func (client ContainerEngineClient) DeleteCluster(ctx context.Context, request DeleteClusterRequest) (response DeleteClusterResponse, err error)

DeleteCluster Delete a cluster.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/DeleteCluster.go.html to see an example of how to use DeleteCluster API. A default retry strategy applies to this operation DeleteCluster()

func (ContainerEngineClient) DeleteNode

func (client ContainerEngineClient) DeleteNode(ctx context.Context, request DeleteNodeRequest) (response DeleteNodeResponse, err error)

DeleteNode Delete node.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/DeleteNode.go.html to see an example of how to use DeleteNode API. A default retry strategy applies to this operation DeleteNode()

func (ContainerEngineClient) DeleteNodePool

func (client ContainerEngineClient) DeleteNodePool(ctx context.Context, request DeleteNodePoolRequest) (response DeleteNodePoolResponse, err error)

DeleteNodePool Delete a node pool.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePool API. A default retry strategy applies to this operation DeleteNodePool()

func (ContainerEngineClient) DeleteWorkRequest

func (client ContainerEngineClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)

DeleteWorkRequest Cancel a work request that has not started.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequest API. A default retry strategy applies to this operation DeleteWorkRequest()

func (ContainerEngineClient) GetCluster

func (client ContainerEngineClient) GetCluster(ctx context.Context, request GetClusterRequest) (response GetClusterResponse, err error)

GetCluster Get the details of a cluster.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetCluster.go.html to see an example of how to use GetCluster API. A default retry strategy applies to this operation GetCluster()

func (ContainerEngineClient) GetClusterMigrateToNativeVcnStatus

func (client ContainerEngineClient) GetClusterMigrateToNativeVcnStatus(ctx context.Context, request GetClusterMigrateToNativeVcnStatusRequest) (response GetClusterMigrateToNativeVcnStatusResponse, err error)

GetClusterMigrateToNativeVcnStatus Get details on a cluster's migration to native VCN.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatus API. A default retry strategy applies to this operation GetClusterMigrateToNativeVcnStatus()

func (ContainerEngineClient) GetClusterOptions

func (client ContainerEngineClient) GetClusterOptions(ctx context.Context, request GetClusterOptionsRequest) (response GetClusterOptionsResponse, err error)

GetClusterOptions Get options available for clusters.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptions API. A default retry strategy applies to this operation GetClusterOptions()

func (ContainerEngineClient) GetNodePool

func (client ContainerEngineClient) GetNodePool(ctx context.Context, request GetNodePoolRequest) (response GetNodePoolResponse, err error)

GetNodePool Get the details of a node pool.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetNodePool.go.html to see an example of how to use GetNodePool API. A default retry strategy applies to this operation GetNodePool()

func (ContainerEngineClient) GetNodePoolOptions

func (client ContainerEngineClient) GetNodePoolOptions(ctx context.Context, request GetNodePoolOptionsRequest) (response GetNodePoolOptionsResponse, err error)

GetNodePoolOptions Get options available for node pools.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptions API. A default retry strategy applies to this operation GetNodePoolOptions()

func (ContainerEngineClient) GetWorkRequest

func (client ContainerEngineClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Get the details of a work request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (ContainerEngineClient) ListClusters

func (client ContainerEngineClient) ListClusters(ctx context.Context, request ListClustersRequest) (response ListClustersResponse, err error)

ListClusters List all the cluster objects in a compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListClusters.go.html to see an example of how to use ListClusters API. A default retry strategy applies to this operation ListClusters()

func (ContainerEngineClient) ListNodePools

func (client ContainerEngineClient) ListNodePools(ctx context.Context, request ListNodePoolsRequest) (response ListNodePoolsResponse, err error)

ListNodePools List all the node pools in a compartment, and optionally filter by cluster.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListNodePools.go.html to see an example of how to use ListNodePools API. A default retry strategy applies to this operation ListNodePools()

func (ContainerEngineClient) ListWorkRequestErrors

func (client ContainerEngineClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Get the errors of a work request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (ContainerEngineClient) ListWorkRequestLogs

func (client ContainerEngineClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Get the logs of a work request.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (ContainerEngineClient) ListWorkRequests

func (client ContainerEngineClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests List all work requests in a compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (*ContainerEngineClient) SetRegion

func (client *ContainerEngineClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ContainerEngineClient) UpdateCluster

func (client ContainerEngineClient) UpdateCluster(ctx context.Context, request UpdateClusterRequest) (response UpdateClusterResponse, err error)

UpdateCluster Update the details of a cluster.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/UpdateCluster.go.html to see an example of how to use UpdateCluster API. A default retry strategy applies to this operation UpdateCluster()

func (ContainerEngineClient) UpdateClusterEndpointConfig

func (client ContainerEngineClient) UpdateClusterEndpointConfig(ctx context.Context, request UpdateClusterEndpointConfigRequest) (response UpdateClusterEndpointConfigResponse, err error)

UpdateClusterEndpointConfig Update the details of the cluster endpoint configuration.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfig API. A default retry strategy applies to this operation UpdateClusterEndpointConfig()

func (ContainerEngineClient) UpdateNodePool

func (client ContainerEngineClient) UpdateNodePool(ctx context.Context, request UpdateNodePoolRequest) (response UpdateNodePoolResponse, err error)

UpdateNodePool Update the details of a node pool.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePool API. A default retry strategy applies to this operation UpdateNodePool()

type CreateClusterDetails

CreateClusterDetails The properties that define a request to create a cluster.

type CreateClusterDetails struct {

    // The name of the cluster. Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    // The OCID of the compartment in which to create the cluster.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID of the virtual cloud network (VCN) in which to create the cluster.
    VcnId *string `mandatory:"true" json:"vcnId"`

    // The version of Kubernetes to install into the cluster masters.
    KubernetesVersion *string `mandatory:"true" json:"kubernetesVersion"`

    // The network configuration for access to the Cluster control plane.
    EndpointConfig *CreateClusterEndpointConfigDetails `mandatory:"false" json:"endpointConfig"`

    // The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
    // When used, `kubernetesVersion` must be at least `v1.13.0`.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Optional attributes for the cluster.
    Options *ClusterCreateOptions `mandatory:"false" json:"options"`

    // The image verification policy for signature validation. Once a policy is created and enabled with
    // one or more kms keys, the policy will ensure all images deployed has been signed with the key(s)
    // attached to the policy.
    ImagePolicyConfig *CreateImagePolicyConfigDetails `mandatory:"false" json:"imagePolicyConfig"`

    // Available CNIs and network options for existing and new node pools of the cluster
    ClusterPodNetworkOptions []ClusterPodNetworkOptionDetails `mandatory:"false" json:"clusterPodNetworkOptions"`
}

func (CreateClusterDetails) String

func (m CreateClusterDetails) String() string

func (*CreateClusterDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateClusterDetails) ValidateEnumValue

func (m CreateClusterDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateClusterEndpointConfigDetails

CreateClusterEndpointConfigDetails The properties that define the network configuration for the Cluster endpoint.

type CreateClusterEndpointConfigDetails struct {

    // The OCID of the regional subnet in which to place the Cluster endpoint.
    SubnetId *string `mandatory:"false" json:"subnetId"`

    // A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
    IsPublicIpEnabled *bool `mandatory:"false" json:"isPublicIpEnabled"`
}

func (CreateClusterEndpointConfigDetails) String

func (m CreateClusterEndpointConfigDetails) String() string

func (CreateClusterEndpointConfigDetails) ValidateEnumValue

func (m CreateClusterEndpointConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateClusterKubeconfigContentDetails

CreateClusterKubeconfigContentDetails The properties that define a request to create a cluster kubeconfig.

type CreateClusterKubeconfigContentDetails struct {

    // The version of the kubeconfig token. Supported value 2.0.0
    TokenVersion *string `mandatory:"false" json:"tokenVersion"`

    // Deprecated. This field is no longer used.
    Expiration *int `mandatory:"false" json:"expiration"`

    // The endpoint to target. A cluster may have multiple endpoints exposed but the kubeconfig can only target one at a time.
    Endpoint CreateClusterKubeconfigContentDetailsEndpointEnum `mandatory:"false" json:"endpoint,omitempty"`
}

func (CreateClusterKubeconfigContentDetails) String

func (m CreateClusterKubeconfigContentDetails) String() string

func (CreateClusterKubeconfigContentDetails) ValidateEnumValue

func (m CreateClusterKubeconfigContentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateClusterKubeconfigContentDetailsEndpointEnum

CreateClusterKubeconfigContentDetailsEndpointEnum Enum with underlying type: string

type CreateClusterKubeconfigContentDetailsEndpointEnum string

Set of constants representing the allowable values for CreateClusterKubeconfigContentDetailsEndpointEnum

const (
    CreateClusterKubeconfigContentDetailsEndpointLegacyKubernetes CreateClusterKubeconfigContentDetailsEndpointEnum = "LEGACY_KUBERNETES"
    CreateClusterKubeconfigContentDetailsEndpointPublicEndpoint   CreateClusterKubeconfigContentDetailsEndpointEnum = "PUBLIC_ENDPOINT"
    CreateClusterKubeconfigContentDetailsEndpointPrivateEndpoint  CreateClusterKubeconfigContentDetailsEndpointEnum = "PRIVATE_ENDPOINT"
    CreateClusterKubeconfigContentDetailsEndpointVcnHostname      CreateClusterKubeconfigContentDetailsEndpointEnum = "VCN_HOSTNAME"
)

func GetCreateClusterKubeconfigContentDetailsEndpointEnumValues

func GetCreateClusterKubeconfigContentDetailsEndpointEnumValues() []CreateClusterKubeconfigContentDetailsEndpointEnum

GetCreateClusterKubeconfigContentDetailsEndpointEnumValues Enumerates the set of values for CreateClusterKubeconfigContentDetailsEndpointEnum

func GetMappingCreateClusterKubeconfigContentDetailsEndpointEnum

func GetMappingCreateClusterKubeconfigContentDetailsEndpointEnum(val string) (CreateClusterKubeconfigContentDetailsEndpointEnum, bool)

GetMappingCreateClusterKubeconfigContentDetailsEndpointEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateClusterRequest

CreateClusterRequest wrapper for the CreateCluster operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/CreateCluster.go.html to see an example of how to use CreateClusterRequest.

type CreateClusterRequest struct {

    // The details of the cluster to create.
    CreateClusterDetails `contributesTo:"body"`

    // A token you supply to uniquely identify the request and provide idempotency if
    // the request is retried. Idempotency tokens expire after 24 hours.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateClusterRequest) BinaryRequestBody

func (request CreateClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateClusterRequest) HTTPRequest

func (request CreateClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateClusterRequest) RetryPolicy

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

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

func (CreateClusterRequest) String

func (request CreateClusterRequest) String() string

func (CreateClusterRequest) ValidateEnumValue

func (request CreateClusterRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateClusterResponse

CreateClusterResponse wrapper for the CreateCluster operation

type CreateClusterResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request handling the 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"`
}

func (CreateClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateClusterResponse) String

func (response CreateClusterResponse) String() string

type CreateImagePolicyConfigDetails

CreateImagePolicyConfigDetails The properties that define a image verification policy.

type CreateImagePolicyConfigDetails struct {

    // Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
    IsPolicyEnabled *bool `mandatory:"false" json:"isPolicyEnabled"`

    // A list of KMS key details.
    KeyDetails []KeyDetails `mandatory:"false" json:"keyDetails"`
}

func (CreateImagePolicyConfigDetails) String

func (m CreateImagePolicyConfigDetails) String() string

func (CreateImagePolicyConfigDetails) ValidateEnumValue

func (m CreateImagePolicyConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateKubeconfigRequest

CreateKubeconfigRequest wrapper for the CreateKubeconfig operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfigRequest.

type CreateKubeconfigRequest struct {

    // The OCID of the cluster.
    ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"`

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

    // The details of the cluster kubeconfig to create.
    CreateClusterKubeconfigContentDetails `contributesTo:"body"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateKubeconfigRequest) BinaryRequestBody

func (request CreateKubeconfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateKubeconfigRequest) HTTPRequest

func (request CreateKubeconfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateKubeconfigRequest) RetryPolicy

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

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

func (CreateKubeconfigRequest) String

func (request CreateKubeconfigRequest) String() string

func (CreateKubeconfigRequest) ValidateEnumValue

func (request CreateKubeconfigRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateKubeconfigResponse

CreateKubeconfigResponse wrapper for the CreateKubeconfig operation

type CreateKubeconfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

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

func (CreateKubeconfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateKubeconfigResponse) String

func (response CreateKubeconfigResponse) String() string

type CreateNodePoolDetails

CreateNodePoolDetails The properties that define a request to create a node pool.

type CreateNodePoolDetails struct {

    // The OCID of the compartment in which the node pool exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID of the cluster to which this node pool is attached.
    ClusterId *string `mandatory:"true" json:"clusterId"`

    // The name of the node pool. Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    // The name of the node shape of the nodes in the node pool.
    NodeShape *string `mandatory:"true" json:"nodeShape"`

    // The version of Kubernetes to install on the nodes in the node pool.
    KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"`

    // A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.
    NodeMetadata map[string]string `mandatory:"false" json:"nodeMetadata"`

    // Deprecated. Use `nodeSourceDetails` instead.
    // If you specify values for both, this value is ignored.
    // The name of the image running on the nodes in the node pool.
    NodeImageName *string `mandatory:"false" json:"nodeImageName"`

    // Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    NodeSourceDetails NodeSourceDetails `mandatory:"false" json:"nodeSourceDetails"`

    // Specify the configuration of the shape to launch nodes in the node pool.
    NodeShapeConfig *CreateNodeShapeConfigDetails `mandatory:"false" json:"nodeShapeConfig"`

    // A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    InitialNodeLabels []KeyValue `mandatory:"false" json:"initialNodeLabels"`

    // The SSH public key on each node in the node pool on launch.
    SshPublicKey *string `mandatory:"false" json:"sshPublicKey"`

    // Optional, default to 1. The number of nodes to create in each subnet specified in subnetIds property.
    // When used, subnetIds is required. This property is deprecated, use nodeConfigDetails instead.
    QuantityPerSubnet *int `mandatory:"false" json:"quantityPerSubnet"`

    // The OCIDs of the subnets in which to place nodes for this node pool. When used, quantityPerSubnet
    // can be provided. This property is deprecated, use nodeConfigDetails. Exactly one of the
    // subnetIds or nodeConfigDetails properties must be specified.
    SubnetIds []string `mandatory:"false" json:"subnetIds"`

    // The configuration of nodes in the node pool. Exactly one of the
    // subnetIds or nodeConfigDetails properties must be specified.
    NodeConfigDetails *CreateNodePoolNodeConfigDetails `mandatory:"false" json:"nodeConfigDetails"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `mandatory:"false" json:"nodeEvictionNodePoolSettings"`
}

func (CreateNodePoolDetails) String

func (m CreateNodePoolDetails) String() string

func (*CreateNodePoolDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateNodePoolDetails) ValidateEnumValue

func (m CreateNodePoolDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateNodePoolNodeConfigDetails

CreateNodePoolNodeConfigDetails The size and placement configuration of nodes in the node pool.

type CreateNodePoolNodeConfigDetails struct {

    // The number of nodes that should be in the node pool.
    Size *int `mandatory:"true" json:"size"`

    // The placement configurations for the node pool. Provide one placement
    // configuration for each availability domain in which you intend to launch a node.
    // To use the node pool with a regional subnet, provide a placement configuration for
    // each availability domain, and include the regional subnet in each placement
    // configuration.
    PlacementConfigs []NodePoolPlacementConfigDetails `mandatory:"true" json:"placementConfigs"`

    // The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // The OCID of the Key Management Service key assigned to the boot volume.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
    IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The CNI related configuration of pods in the node pool.
    NodePoolPodNetworkOptionDetails NodePoolPodNetworkOptionDetails `mandatory:"false" json:"nodePoolPodNetworkOptionDetails"`
}

func (CreateNodePoolNodeConfigDetails) String

func (m CreateNodePoolNodeConfigDetails) String() string

func (*CreateNodePoolNodeConfigDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateNodePoolNodeConfigDetails) ValidateEnumValue

func (m CreateNodePoolNodeConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateNodePoolRequest

CreateNodePoolRequest wrapper for the CreateNodePool operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePoolRequest.

type CreateNodePoolRequest struct {

    // The details of the node pool to create.
    CreateNodePoolDetails `contributesTo:"body"`

    // A token you supply to uniquely identify the request and provide idempotency if
    // the request is retried. Idempotency tokens expire after 24 hours.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateNodePoolRequest) BinaryRequestBody

func (request CreateNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateNodePoolRequest) HTTPRequest

func (request CreateNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateNodePoolRequest) RetryPolicy

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

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

func (CreateNodePoolRequest) String

func (request CreateNodePoolRequest) String() string

func (CreateNodePoolRequest) ValidateEnumValue

func (request CreateNodePoolRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateNodePoolResponse

CreateNodePoolResponse wrapper for the CreateNodePool operation

type CreateNodePoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request handling the 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"`
}

func (CreateNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateNodePoolResponse) String

func (response CreateNodePoolResponse) String() string

type CreateNodeShapeConfigDetails

CreateNodeShapeConfigDetails The shape configuration of the nodes.

type CreateNodeShapeConfigDetails struct {

    // The total number of OCPUs available to each node in the node pool.
    // See here (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details.
    Ocpus *float32 `mandatory:"false" json:"ocpus"`

    // The total amount of memory available to each node, in gigabytes.
    MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`
}

func (CreateNodeShapeConfigDetails) String

func (m CreateNodeShapeConfigDetails) String() string

func (CreateNodeShapeConfigDetails) ValidateEnumValue

func (m CreateNodeShapeConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteClusterRequest

DeleteClusterRequest wrapper for the DeleteCluster operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/DeleteCluster.go.html to see an example of how to use DeleteClusterRequest.

type DeleteClusterRequest struct {

    // The OCID of the cluster.
    ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteClusterRequest) BinaryRequestBody

func (request DeleteClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteClusterRequest) HTTPRequest

func (request DeleteClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteClusterRequest) RetryPolicy

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

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

func (DeleteClusterRequest) String

func (request DeleteClusterRequest) String() string

func (DeleteClusterRequest) ValidateEnumValue

func (request DeleteClusterRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteClusterResponse

DeleteClusterResponse wrapper for the DeleteCluster operation

type DeleteClusterResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request handling the 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"`
}

func (DeleteClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteClusterResponse) String

func (response DeleteClusterResponse) String() string

type DeleteNodePoolRequest

DeleteNodePoolRequest wrapper for the DeleteNodePool operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePoolRequest.

type DeleteNodePoolRequest struct {

    // The OCID of the node pool.
    NodePoolId *string `mandatory:"true" contributesTo:"path" name:"nodePoolId"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // Duration after which OKE will give up eviction of the pods on the node.
    // PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    OverrideEvictionGraceDuration *string `mandatory:"false" contributesTo:"query" name:"overrideEvictionGraceDuration"`

    // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
    IsForceDeletionAfterOverrideGraceDuration *bool `mandatory:"false" contributesTo:"query" name:"isForceDeletionAfterOverrideGraceDuration"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteNodePoolRequest) BinaryRequestBody

func (request DeleteNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteNodePoolRequest) HTTPRequest

func (request DeleteNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteNodePoolRequest) RetryPolicy

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

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

func (DeleteNodePoolRequest) String

func (request DeleteNodePoolRequest) String() string

func (DeleteNodePoolRequest) ValidateEnumValue

func (request DeleteNodePoolRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteNodePoolResponse

DeleteNodePoolResponse wrapper for the DeleteNodePool operation

type DeleteNodePoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request handling the 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"`
}

func (DeleteNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNodePoolResponse) String

func (response DeleteNodePoolResponse) String() string

type DeleteNodeRequest

DeleteNodeRequest wrapper for the DeleteNode operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/DeleteNode.go.html to see an example of how to use DeleteNodeRequest.

type DeleteNodeRequest struct {

    // The OCID of the node pool.
    NodePoolId *string `mandatory:"true" contributesTo:"path" name:"nodePoolId"`

    // The OCID of the compute instance.
    NodeId *string `mandatory:"true" contributesTo:"path" name:"nodeId"`

    // If the nodepool should be scaled down after the node is deleted.
    IsDecrementSize *bool `mandatory:"false" contributesTo:"query" name:"isDecrementSize"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // Duration after which OKE will give up eviction of the pods on the node.
    // PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    OverrideEvictionGraceDuration *string `mandatory:"false" contributesTo:"query" name:"overrideEvictionGraceDuration"`

    // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
    IsForceDeletionAfterOverrideGraceDuration *bool `mandatory:"false" contributesTo:"query" name:"isForceDeletionAfterOverrideGraceDuration"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteNodeRequest) BinaryRequestBody

func (request DeleteNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteNodeRequest) HTTPRequest

func (request DeleteNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteNodeRequest) RetryPolicy

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

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

func (DeleteNodeRequest) String

func (request DeleteNodeRequest) String() string

func (DeleteNodeRequest) ValidateEnumValue

func (request DeleteNodeRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteNodeResponse

DeleteNodeResponse wrapper for the DeleteNode operation

type DeleteNodeResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request handling the 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"`
}

func (DeleteNodeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNodeResponse) String

func (response DeleteNodeResponse) String() string

type DeleteWorkRequestRequest

DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequestRequest.

type DeleteWorkRequestRequest struct {

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

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteWorkRequestRequest) BinaryRequestBody

func (request DeleteWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteWorkRequestRequest) HTTPRequest

func (request DeleteWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteWorkRequestRequest) RetryPolicy

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

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

func (DeleteWorkRequestRequest) String

func (request DeleteWorkRequestRequest) String() string

func (DeleteWorkRequestRequest) ValidateEnumValue

func (request DeleteWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteWorkRequestResponse

DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation

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

func (DeleteWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWorkRequestResponse) String

func (response DeleteWorkRequestResponse) String() string

type FlannelOverlayClusterPodNetworkOptionDetails

FlannelOverlayClusterPodNetworkOptionDetails Network options specific to using the flannel (FLANNEL_OVERLAY) CNI

type FlannelOverlayClusterPodNetworkOptionDetails struct {
}

func (FlannelOverlayClusterPodNetworkOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (FlannelOverlayClusterPodNetworkOptionDetails) String

func (m FlannelOverlayClusterPodNetworkOptionDetails) String() string

func (FlannelOverlayClusterPodNetworkOptionDetails) ValidateEnumValue

func (m FlannelOverlayClusterPodNetworkOptionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type FlannelOverlayNodePoolPodNetworkOptionDetails

FlannelOverlayNodePoolPodNetworkOptionDetails Network options specific to using the flannel (FLANNEL_OVERLAY) CNI

type FlannelOverlayNodePoolPodNetworkOptionDetails struct {
}

func (FlannelOverlayNodePoolPodNetworkOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (FlannelOverlayNodePoolPodNetworkOptionDetails) String

func (m FlannelOverlayNodePoolPodNetworkOptionDetails) String() string

func (FlannelOverlayNodePoolPodNetworkOptionDetails) ValidateEnumValue

func (m FlannelOverlayNodePoolPodNetworkOptionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetClusterMigrateToNativeVcnStatusRequest

GetClusterMigrateToNativeVcnStatusRequest wrapper for the GetClusterMigrateToNativeVcnStatus operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatusRequest.

type GetClusterMigrateToNativeVcnStatusRequest struct {

    // The OCID of the cluster.
    ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetClusterMigrateToNativeVcnStatusRequest) BinaryRequestBody

func (request GetClusterMigrateToNativeVcnStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetClusterMigrateToNativeVcnStatusRequest) HTTPRequest

func (request GetClusterMigrateToNativeVcnStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetClusterMigrateToNativeVcnStatusRequest) RetryPolicy

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

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

func (GetClusterMigrateToNativeVcnStatusRequest) String

func (request GetClusterMigrateToNativeVcnStatusRequest) String() string

func (GetClusterMigrateToNativeVcnStatusRequest) ValidateEnumValue

func (request GetClusterMigrateToNativeVcnStatusRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetClusterMigrateToNativeVcnStatusResponse

GetClusterMigrateToNativeVcnStatusResponse wrapper for the GetClusterMigrateToNativeVcnStatus operation

type GetClusterMigrateToNativeVcnStatusResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ClusterMigrateToNativeVcnStatus instance
    ClusterMigrateToNativeVcnStatus `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"`
}

func (GetClusterMigrateToNativeVcnStatusResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetClusterMigrateToNativeVcnStatusResponse) String

func (response GetClusterMigrateToNativeVcnStatusResponse) String() string

type GetClusterOptionsRequest

GetClusterOptionsRequest wrapper for the GetClusterOptions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptionsRequest.

type GetClusterOptionsRequest struct {

    // The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster.
    ClusterOptionId *string `mandatory:"true" contributesTo:"path" name:"clusterOptionId"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetClusterOptionsRequest) BinaryRequestBody

func (request GetClusterOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetClusterOptionsRequest) HTTPRequest

func (request GetClusterOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetClusterOptionsRequest) RetryPolicy

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

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

func (GetClusterOptionsRequest) String

func (request GetClusterOptionsRequest) String() string

func (GetClusterOptionsRequest) ValidateEnumValue

func (request GetClusterOptionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetClusterOptionsResponse

GetClusterOptionsResponse wrapper for the GetClusterOptions operation

type GetClusterOptionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ClusterOptions instance
    ClusterOptions `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"`
}

func (GetClusterOptionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetClusterOptionsResponse) String

func (response GetClusterOptionsResponse) String() string

type GetClusterRequest

GetClusterRequest wrapper for the GetCluster operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetCluster.go.html to see an example of how to use GetClusterRequest.

type GetClusterRequest struct {

    // The OCID of the cluster.
    ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetClusterRequest) BinaryRequestBody

func (request GetClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetClusterRequest) HTTPRequest

func (request GetClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetClusterRequest) RetryPolicy

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

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

func (GetClusterRequest) String

func (request GetClusterRequest) String() string

func (GetClusterRequest) ValidateEnumValue

func (request GetClusterRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetClusterResponse

GetClusterResponse wrapper for the GetCluster operation

type GetClusterResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Cluster instance
    Cluster `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"`
}

func (GetClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetClusterResponse) String

func (response GetClusterResponse) String() string

type GetNodePoolOptionsRequest

GetNodePoolOptionsRequest wrapper for the GetNodePoolOptions operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptionsRequest.

type GetNodePoolOptionsRequest struct {

    // The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster.
    NodePoolOptionId *string `mandatory:"true" contributesTo:"path" name:"nodePoolOptionId"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetNodePoolOptionsRequest) BinaryRequestBody

func (request GetNodePoolOptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNodePoolOptionsRequest) HTTPRequest

func (request GetNodePoolOptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNodePoolOptionsRequest) RetryPolicy

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

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

func (GetNodePoolOptionsRequest) String

func (request GetNodePoolOptionsRequest) String() string

func (GetNodePoolOptionsRequest) ValidateEnumValue

func (request GetNodePoolOptionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetNodePoolOptionsResponse

GetNodePoolOptionsResponse wrapper for the GetNodePoolOptions operation

type GetNodePoolOptionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The NodePoolOptions instance
    NodePoolOptions `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"`
}

func (GetNodePoolOptionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNodePoolOptionsResponse) String

func (response GetNodePoolOptionsResponse) String() string

type GetNodePoolRequest

GetNodePoolRequest wrapper for the GetNodePool operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetNodePool.go.html to see an example of how to use GetNodePoolRequest.

type GetNodePoolRequest struct {

    // The OCID of the node pool.
    NodePoolId *string `mandatory:"true" contributesTo:"path" name:"nodePoolId"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetNodePoolRequest) BinaryRequestBody

func (request GetNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNodePoolRequest) HTTPRequest

func (request GetNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNodePoolRequest) RetryPolicy

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

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

func (GetNodePoolRequest) String

func (request GetNodePoolRequest) String() string

func (GetNodePoolRequest) ValidateEnumValue

func (request GetNodePoolRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetNodePoolResponse

GetNodePoolResponse wrapper for the GetNodePool operation

type GetNodePoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The NodePool instance
    NodePool `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"`
}

func (GetNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNodePoolResponse) String

func (response GetNodePoolResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

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

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `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"`

    // the number of seconds to should wait before polling this endpoint again
    RetryAfter *int `presentIn:"header" name:"retry-after"`
}

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type ImagePolicyConfig

ImagePolicyConfig The properties that define a image verification policy.

type ImagePolicyConfig struct {

    // Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
    IsPolicyEnabled *bool `mandatory:"false" json:"isPolicyEnabled"`

    // A list of KMS key details.
    KeyDetails []KeyDetails `mandatory:"false" json:"keyDetails"`
}

func (ImagePolicyConfig) String

func (m ImagePolicyConfig) String() string

func (ImagePolicyConfig) ValidateEnumValue

func (m ImagePolicyConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type KeyDetails

KeyDetails The properties that define the kms keys used by OKE for Image Signature verification.

type KeyDetails struct {

    // The OCIDs of the KMS key that will be used to verify whether the images are signed by an approved source.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
}

func (KeyDetails) String

func (m KeyDetails) String() string

func (KeyDetails) ValidateEnumValue

func (m KeyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type KeyValue

KeyValue The properties that define a key value pair.

type KeyValue struct {

    // The key of the pair.
    Key *string `mandatory:"false" json:"key"`

    // The value of the pair.
    Value *string `mandatory:"false" json:"value"`
}

func (KeyValue) String

func (m KeyValue) String() string

func (KeyValue) ValidateEnumValue

func (m KeyValue) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type KubernetesNetworkConfig

KubernetesNetworkConfig The properties that define the network configuration for Kubernetes.

type KubernetesNetworkConfig struct {

    // The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
    PodsCidr *string `mandatory:"false" json:"podsCidr"`

    // The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
    ServicesCidr *string `mandatory:"false" json:"servicesCidr"`
}

func (KubernetesNetworkConfig) String

func (m KubernetesNetworkConfig) String() string

func (KubernetesNetworkConfig) ValidateEnumValue

func (m KubernetesNetworkConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListClustersRequest

ListClustersRequest wrapper for the ListClusters operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListClusters.go.html to see an example of how to use ListClustersRequest.

type ListClustersRequest struct {

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // A cluster lifecycle state to filter on. Can have multiple parameters of this name.
    LifecycleState []ClusterLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // The name to filter on.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call.
    // 1 is the minimum, 1000 is the maximum. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The optional order in which to sort the results.
    SortOrder ListClustersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The optional field to sort the results by.
    SortBy ListClustersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListClustersRequest) BinaryRequestBody

func (request ListClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListClustersRequest) HTTPRequest

func (request ListClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListClustersRequest) RetryPolicy

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

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

func (ListClustersRequest) String

func (request ListClustersRequest) String() string

func (ListClustersRequest) ValidateEnumValue

func (request ListClustersRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListClustersResponse

ListClustersResponse wrapper for the ListClusters operation

type ListClustersResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ClusterSummary instances
    Items []ClusterSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results remain.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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"`
}

func (ListClustersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListClustersResponse) String

func (response ListClustersResponse) String() string

type ListClustersSortByEnum

ListClustersSortByEnum Enum with underlying type: string

type ListClustersSortByEnum string

Set of constants representing the allowable values for ListClustersSortByEnum

const (
    ListClustersSortById          ListClustersSortByEnum = "ID"
    ListClustersSortByName        ListClustersSortByEnum = "NAME"
    ListClustersSortByTimeCreated ListClustersSortByEnum = "TIME_CREATED"
)

func GetListClustersSortByEnumValues

func GetListClustersSortByEnumValues() []ListClustersSortByEnum

GetListClustersSortByEnumValues Enumerates the set of values for ListClustersSortByEnum

func GetMappingListClustersSortByEnum

func GetMappingListClustersSortByEnum(val string) (ListClustersSortByEnum, bool)

GetMappingListClustersSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListClustersSortOrderEnum

ListClustersSortOrderEnum Enum with underlying type: string

type ListClustersSortOrderEnum string

Set of constants representing the allowable values for ListClustersSortOrderEnum

const (
    ListClustersSortOrderAsc  ListClustersSortOrderEnum = "ASC"
    ListClustersSortOrderDesc ListClustersSortOrderEnum = "DESC"
)

func GetListClustersSortOrderEnumValues

func GetListClustersSortOrderEnumValues() []ListClustersSortOrderEnum

GetListClustersSortOrderEnumValues Enumerates the set of values for ListClustersSortOrderEnum

func GetMappingListClustersSortOrderEnum

func GetMappingListClustersSortOrderEnum(val string) (ListClustersSortOrderEnum, bool)

GetMappingListClustersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNodePoolsRequest

ListNodePoolsRequest wrapper for the ListNodePools operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListNodePools.go.html to see an example of how to use ListNodePoolsRequest.

type ListNodePoolsRequest struct {

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The OCID of the cluster.
    ClusterId *string `mandatory:"false" contributesTo:"query" name:"clusterId"`

    // The name to filter on.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call.
    // 1 is the minimum, 1000 is the maximum. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The optional order in which to sort the results.
    SortOrder ListNodePoolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The optional field to sort the results by.
    SortBy ListNodePoolsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

    // A list of nodepool lifecycle states on which to filter on, matching any of the list items (OR logic). eg. [ACTIVE, DELETING]
    LifecycleState []NodePoolLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListNodePoolsRequest) BinaryRequestBody

func (request ListNodePoolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListNodePoolsRequest) HTTPRequest

func (request ListNodePoolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNodePoolsRequest) RetryPolicy

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

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

func (ListNodePoolsRequest) String

func (request ListNodePoolsRequest) String() string

func (ListNodePoolsRequest) ValidateEnumValue

func (request ListNodePoolsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListNodePoolsResponse

ListNodePoolsResponse wrapper for the ListNodePools operation

type ListNodePoolsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []NodePoolSummary instances
    Items []NodePoolSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results remain.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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"`
}

func (ListNodePoolsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListNodePoolsResponse) String

func (response ListNodePoolsResponse) String() string

type ListNodePoolsSortByEnum

ListNodePoolsSortByEnum Enum with underlying type: string

type ListNodePoolsSortByEnum string

Set of constants representing the allowable values for ListNodePoolsSortByEnum

const (
    ListNodePoolsSortById          ListNodePoolsSortByEnum = "ID"
    ListNodePoolsSortByName        ListNodePoolsSortByEnum = "NAME"
    ListNodePoolsSortByTimeCreated ListNodePoolsSortByEnum = "TIME_CREATED"
)

func GetListNodePoolsSortByEnumValues

func GetListNodePoolsSortByEnumValues() []ListNodePoolsSortByEnum

GetListNodePoolsSortByEnumValues Enumerates the set of values for ListNodePoolsSortByEnum

func GetMappingListNodePoolsSortByEnum

func GetMappingListNodePoolsSortByEnum(val string) (ListNodePoolsSortByEnum, bool)

GetMappingListNodePoolsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNodePoolsSortOrderEnum

ListNodePoolsSortOrderEnum Enum with underlying type: string

type ListNodePoolsSortOrderEnum string

Set of constants representing the allowable values for ListNodePoolsSortOrderEnum

const (
    ListNodePoolsSortOrderAsc  ListNodePoolsSortOrderEnum = "ASC"
    ListNodePoolsSortOrderDesc ListNodePoolsSortOrderEnum = "DESC"
)

func GetListNodePoolsSortOrderEnumValues

func GetListNodePoolsSortOrderEnumValues() []ListNodePoolsSortOrderEnum

GetListNodePoolsSortOrderEnumValues Enumerates the set of values for ListNodePoolsSortOrderEnum

func GetMappingListNodePoolsSortOrderEnum

func GetMappingListNodePoolsSortOrderEnum(val string) (ListNodePoolsSortOrderEnum, bool)

GetMappingListNodePoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The []WorkRequestError instance
    Items []WorkRequestError `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"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The []WorkRequestLogEntry instance
    Items []WorkRequestLogEntry `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"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The OCID of the cluster.
    ClusterId *string `mandatory:"false" contributesTo:"query" name:"clusterId"`

    // The OCID of the resource associated with a work request
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // Type of the resource associated with a work request
    ResourceType ListWorkRequestsResourceTypeEnum `mandatory:"false" contributesTo:"query" name:"resourceType" omitEmpty:"true"`

    // A work request status to filter on. Can have multiple parameters of this name.
    Status []string `contributesTo:"query" name:"status" collectionFormat:"multi"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call.
    // 1 is the minimum, 1000 is the maximum. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The optional order in which to sort the results.
    SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The optional field to sort the results by.
    SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResourceTypeEnum

ListWorkRequestsResourceTypeEnum Enum with underlying type: string

type ListWorkRequestsResourceTypeEnum string

Set of constants representing the allowable values for ListWorkRequestsResourceTypeEnum

const (
    ListWorkRequestsResourceTypeCluster  ListWorkRequestsResourceTypeEnum = "CLUSTER"
    ListWorkRequestsResourceTypeNodepool ListWorkRequestsResourceTypeEnum = "NODEPOOL"
)

func GetListWorkRequestsResourceTypeEnumValues

func GetListWorkRequestsResourceTypeEnumValues() []ListWorkRequestsResourceTypeEnum

GetListWorkRequestsResourceTypeEnumValues Enumerates the set of values for ListWorkRequestsResourceTypeEnum

func GetMappingListWorkRequestsResourceTypeEnum

func GetMappingListWorkRequestsResourceTypeEnum(val string) (ListWorkRequestsResourceTypeEnum, bool)

GetMappingListWorkRequestsResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestSummary instances
    Items []WorkRequestSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results remain.
    // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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"`
}

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortById            ListWorkRequestsSortByEnum = "ID"
    ListWorkRequestsSortByOperationType ListWorkRequestsSortByEnum = "OPERATION_TYPE"
    ListWorkRequestsSortByStatus        ListWorkRequestsSortByEnum = "STATUS"
    ListWorkRequestsSortByTimeAccepted  ListWorkRequestsSortByEnum = "TIME_ACCEPTED"
    ListWorkRequestsSortByTimeStarted   ListWorkRequestsSortByEnum = "TIME_STARTED"
    ListWorkRequestsSortByTimeFinished  ListWorkRequestsSortByEnum = "TIME_FINISHED"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type Node

Node The properties that define a node.

type Node struct {

    // The OCID of the compute instance backing this node.
    Id *string `mandatory:"false" json:"id"`

    // The name of the node.
    Name *string `mandatory:"false" json:"name"`

    // The version of Kubernetes this node is running.
    KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"`

    // The name of the availability domain in which this node is placed.
    AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

    // The OCID of the subnet in which this node is placed.
    SubnetId *string `mandatory:"false" json:"subnetId"`

    // The OCID of the node pool to which this node belongs.
    NodePoolId *string `mandatory:"false" json:"nodePoolId"`

    // The fault domain of this node.
    FaultDomain *string `mandatory:"false" json:"faultDomain"`

    // The private IP address of this node.
    PrivateIp *string `mandatory:"false" json:"privateIp"`

    // The public IP address of this node.
    PublicIp *string `mandatory:"false" json:"publicIp"`

    // An error that may be associated with the node.
    NodeError *NodeError `mandatory:"false" json:"nodeError"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    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 state of the node.
    LifecycleState NodeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Details about the state of the node.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

func (Node) String

func (m Node) String() string

func (Node) ValidateEnumValue

func (m Node) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeError

NodeError The properties that define an upstream error while managing a node.

type NodeError struct {

    // A short error code that defines the upstream error, meant for programmatic parsing. See API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
    Code *string `mandatory:"true" json:"code"`

    // A human-readable error string of the upstream error.
    Message *string `mandatory:"true" json:"message"`

    // The status of the HTTP response encountered in the upstream error.
    Status *string `mandatory:"false" json:"status"`

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

func (NodeError) String

func (m NodeError) String() string

func (NodeError) ValidateEnumValue

func (m NodeError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeEvictionNodePoolSettings

NodeEvictionNodePoolSettings Node Eviction Details configuration

type NodeEvictionNodePoolSettings struct {

    // Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain.
    // Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    EvictionGraceDuration *string `mandatory:"false" json:"evictionGraceDuration"`

    // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
    IsForceDeleteAfterGraceDuration *bool `mandatory:"false" json:"isForceDeleteAfterGraceDuration"`
}

func (NodeEvictionNodePoolSettings) String

func (m NodeEvictionNodePoolSettings) String() string

func (NodeEvictionNodePoolSettings) ValidateEnumValue

func (m NodeEvictionNodePoolSettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeLifecycleStateEnum

NodeLifecycleStateEnum Enum with underlying type: string

type NodeLifecycleStateEnum string

Set of constants representing the allowable values for NodeLifecycleStateEnum

const (
    NodeLifecycleStateCreating NodeLifecycleStateEnum = "CREATING"
    NodeLifecycleStateActive   NodeLifecycleStateEnum = "ACTIVE"
    NodeLifecycleStateUpdating NodeLifecycleStateEnum = "UPDATING"
    NodeLifecycleStateDeleting NodeLifecycleStateEnum = "DELETING"
    NodeLifecycleStateDeleted  NodeLifecycleStateEnum = "DELETED"
    NodeLifecycleStateFailing  NodeLifecycleStateEnum = "FAILING"
    NodeLifecycleStateInactive NodeLifecycleStateEnum = "INACTIVE"
)

func GetMappingNodeLifecycleStateEnum

func GetMappingNodeLifecycleStateEnum(val string) (NodeLifecycleStateEnum, bool)

GetMappingNodeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeLifecycleStateEnumValues

func GetNodeLifecycleStateEnumValues() []NodeLifecycleStateEnum

GetNodeLifecycleStateEnumValues Enumerates the set of values for NodeLifecycleStateEnum

type NodePool

NodePool A pool of compute nodes attached to a cluster. Avoid entering confidential information.

type NodePool struct {

    // The OCID of the node pool.
    Id *string `mandatory:"false" json:"id"`

    // The state of the nodepool.
    LifecycleState NodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Details about the state of the nodepool.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The OCID of the compartment in which the node pool exists.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The OCID of the cluster to which this node pool is attached.
    ClusterId *string `mandatory:"false" json:"clusterId"`

    // The name of the node pool.
    Name *string `mandatory:"false" json:"name"`

    // The version of Kubernetes running on the nodes in the node pool.
    KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"`

    // A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.
    NodeMetadata map[string]string `mandatory:"false" json:"nodeMetadata"`

    // Deprecated. see `nodeSource`. The OCID of the image running on the nodes in the node pool.
    NodeImageId *string `mandatory:"false" json:"nodeImageId"`

    // Deprecated. see `nodeSource`. The name of the image running on the nodes in the node pool.
    NodeImageName *string `mandatory:"false" json:"nodeImageName"`

    // The shape configuration of the nodes.
    NodeShapeConfig *NodeShapeConfig `mandatory:"false" json:"nodeShapeConfig"`

    // Deprecated. see `nodeSourceDetails`. Source running on the nodes in the node pool.
    NodeSource NodeSourceOption `mandatory:"false" json:"nodeSource"`

    // Source running on the nodes in the node pool.
    NodeSourceDetails NodeSourceDetails `mandatory:"false" json:"nodeSourceDetails"`

    // The name of the node shape of the nodes in the node pool.
    NodeShape *string `mandatory:"false" json:"nodeShape"`

    // A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    InitialNodeLabels []KeyValue `mandatory:"false" json:"initialNodeLabels"`

    // The SSH public key on each node in the node pool on launch.
    SshPublicKey *string `mandatory:"false" json:"sshPublicKey"`

    // The number of nodes in each subnet.
    QuantityPerSubnet *int `mandatory:"false" json:"quantityPerSubnet"`

    // The OCIDs of the subnets in which to place nodes for this node pool.
    SubnetIds []string `mandatory:"false" json:"subnetIds"`

    // The nodes in the node pool.
    Nodes []Node `mandatory:"false" json:"nodes"`

    // The configuration of nodes in the node pool.
    NodeConfigDetails *NodePoolNodeConfigDetails `mandatory:"false" json:"nodeConfigDetails"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    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"`

    NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `mandatory:"false" json:"nodeEvictionNodePoolSettings"`
}

func (NodePool) String

func (m NodePool) String() string

func (*NodePool) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (NodePool) ValidateEnumValue

func (m NodePool) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodePoolLifecycleStateEnum

NodePoolLifecycleStateEnum Enum with underlying type: string

type NodePoolLifecycleStateEnum string

Set of constants representing the allowable values for NodePoolLifecycleStateEnum

const (
    NodePoolLifecycleStateDeleted        NodePoolLifecycleStateEnum = "DELETED"
    NodePoolLifecycleStateCreating       NodePoolLifecycleStateEnum = "CREATING"
    NodePoolLifecycleStateActive         NodePoolLifecycleStateEnum = "ACTIVE"
    NodePoolLifecycleStateUpdating       NodePoolLifecycleStateEnum = "UPDATING"
    NodePoolLifecycleStateDeleting       NodePoolLifecycleStateEnum = "DELETING"
    NodePoolLifecycleStateFailed         NodePoolLifecycleStateEnum = "FAILED"
    NodePoolLifecycleStateInactive       NodePoolLifecycleStateEnum = "INACTIVE"
    NodePoolLifecycleStateNeedsAttention NodePoolLifecycleStateEnum = "NEEDS_ATTENTION"
)

func GetMappingNodePoolLifecycleStateEnum

func GetMappingNodePoolLifecycleStateEnum(val string) (NodePoolLifecycleStateEnum, bool)

GetMappingNodePoolLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodePoolLifecycleStateEnumValues

func GetNodePoolLifecycleStateEnumValues() []NodePoolLifecycleStateEnum

GetNodePoolLifecycleStateEnumValues Enumerates the set of values for NodePoolLifecycleStateEnum

type NodePoolNodeConfigDetails

NodePoolNodeConfigDetails The size and placement configuration of nodes in the node pool.

type NodePoolNodeConfigDetails struct {

    // The number of nodes in the node pool.
    Size *int `mandatory:"false" json:"size"`

    // The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // The OCID of the Key Management Service key assigned to the boot volume.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
    IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The placement configurations for the node pool. Provide one placement
    // configuration for each availability domain in which you intend to launch a node.
    // To use the node pool with a regional subnet, provide a placement configuration for
    // each availability domain, and include the regional subnet in each placement
    // configuration.
    PlacementConfigs []NodePoolPlacementConfigDetails `mandatory:"false" json:"placementConfigs"`

    // The CNI related configuration of pods in the node pool.
    NodePoolPodNetworkOptionDetails NodePoolPodNetworkOptionDetails `mandatory:"false" json:"nodePoolPodNetworkOptionDetails"`
}

func (NodePoolNodeConfigDetails) String

func (m NodePoolNodeConfigDetails) String() string

func (*NodePoolNodeConfigDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (NodePoolNodeConfigDetails) ValidateEnumValue

func (m NodePoolNodeConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodePoolOptions

NodePoolOptions Options for creating or updating node pools.

type NodePoolOptions struct {

    // Available Kubernetes versions.
    KubernetesVersions []string `mandatory:"false" json:"kubernetesVersions"`

    // Available shapes for nodes.
    Shapes []string `mandatory:"false" json:"shapes"`

    // Deprecated. See sources.
    // When creating a node pool using the `CreateNodePoolDetails` object, only image names contained in this
    // property can be passed to the `nodeImageName` property.
    Images []string `mandatory:"false" json:"images"`

    // Available source of the node.
    Sources []NodeSourceOption `mandatory:"false" json:"sources"`
}

func (NodePoolOptions) String

func (m NodePoolOptions) String() string

func (*NodePoolOptions) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (NodePoolOptions) ValidateEnumValue

func (m NodePoolOptions) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodePoolPlacementConfigDetails

NodePoolPlacementConfigDetails The location where a node pool will place nodes.

type NodePoolPlacementConfigDetails struct {

    // The availability domain in which to place nodes.
    // Example: `Uocm:PHX-AD-1`
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

    // The OCID of the subnet in which to place nodes.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // The OCID of the compute capacity reservation in which to place the compute instance.
    CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"`

    // A list of fault domains in which to place nodes.
    FaultDomains []string `mandatory:"false" json:"faultDomains"`
}

func (NodePoolPlacementConfigDetails) String

func (m NodePoolPlacementConfigDetails) String() string

func (NodePoolPlacementConfigDetails) ValidateEnumValue

func (m NodePoolPlacementConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodePoolPodNetworkOptionDetails

NodePoolPodNetworkOptionDetails The CNI type and relevant network details for the pods of a given node pool

type NodePoolPodNetworkOptionDetails interface {
}

type NodePoolPodNetworkOptionDetailsCniTypeEnum

NodePoolPodNetworkOptionDetailsCniTypeEnum Enum with underlying type: string

type NodePoolPodNetworkOptionDetailsCniTypeEnum string

Set of constants representing the allowable values for NodePoolPodNetworkOptionDetailsCniTypeEnum

const (
    NodePoolPodNetworkOptionDetailsCniTypeOciVcnIpNative NodePoolPodNetworkOptionDetailsCniTypeEnum = "OCI_VCN_IP_NATIVE"
    NodePoolPodNetworkOptionDetailsCniTypeFlannelOverlay NodePoolPodNetworkOptionDetailsCniTypeEnum = "FLANNEL_OVERLAY"
)

func GetMappingNodePoolPodNetworkOptionDetailsCniTypeEnum

func GetMappingNodePoolPodNetworkOptionDetailsCniTypeEnum(val string) (NodePoolPodNetworkOptionDetailsCniTypeEnum, bool)

GetMappingNodePoolPodNetworkOptionDetailsCniTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodePoolPodNetworkOptionDetailsCniTypeEnumValues

func GetNodePoolPodNetworkOptionDetailsCniTypeEnumValues() []NodePoolPodNetworkOptionDetailsCniTypeEnum

GetNodePoolPodNetworkOptionDetailsCniTypeEnumValues Enumerates the set of values for NodePoolPodNetworkOptionDetailsCniTypeEnum

type NodePoolSummary

NodePoolSummary The properties that define a node pool summary.

type NodePoolSummary struct {

    // The OCID of the node pool.
    Id *string `mandatory:"false" json:"id"`

    // The state of the nodepool.
    LifecycleState NodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Details about the state of the nodepool.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The OCID of the compartment in which the node pool exists.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The OCID of the cluster to which this node pool is attached.
    ClusterId *string `mandatory:"false" json:"clusterId"`

    // The name of the node pool.
    Name *string `mandatory:"false" json:"name"`

    // The version of Kubernetes running on the nodes in the node pool.
    KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"`

    // Deprecated. see `nodeSource`. The OCID of the image running on the nodes in the node pool.
    NodeImageId *string `mandatory:"false" json:"nodeImageId"`

    // Deprecated. see `nodeSource`. The name of the image running on the nodes in the node pool.
    NodeImageName *string `mandatory:"false" json:"nodeImageName"`

    // The shape configuration of the nodes.
    NodeShapeConfig *NodeShapeConfig `mandatory:"false" json:"nodeShapeConfig"`

    // Deprecated. see `nodeSourceDetails`. Source running on the nodes in the node pool.
    NodeSource NodeSourceOption `mandatory:"false" json:"nodeSource"`

    // Source running on the nodes in the node pool.
    NodeSourceDetails NodeSourceDetails `mandatory:"false" json:"nodeSourceDetails"`

    // The name of the node shape of the nodes in the node pool.
    NodeShape *string `mandatory:"false" json:"nodeShape"`

    // A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    InitialNodeLabels []KeyValue `mandatory:"false" json:"initialNodeLabels"`

    // The SSH public key on each node in the node pool on launch.
    SshPublicKey *string `mandatory:"false" json:"sshPublicKey"`

    // The number of nodes in each subnet.
    QuantityPerSubnet *int `mandatory:"false" json:"quantityPerSubnet"`

    // The OCIDs of the subnets in which to place nodes for this node pool.
    SubnetIds []string `mandatory:"false" json:"subnetIds"`

    // The configuration of nodes in the node pool.
    NodeConfigDetails *NodePoolNodeConfigDetails `mandatory:"false" json:"nodeConfigDetails"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    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"`

    NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `mandatory:"false" json:"nodeEvictionNodePoolSettings"`
}

func (NodePoolSummary) String

func (m NodePoolSummary) String() string

func (*NodePoolSummary) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (NodePoolSummary) ValidateEnumValue

func (m NodePoolSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeShapeConfig

NodeShapeConfig The shape configuration of the nodes.

type NodeShapeConfig struct {

    // The total number of OCPUs available to each node in the node pool.
    // See here (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details.
    Ocpus *float32 `mandatory:"false" json:"ocpus"`

    // The total amount of memory available to each node, in gigabytes.
    MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`
}

func (NodeShapeConfig) String

func (m NodeShapeConfig) String() string

func (NodeShapeConfig) ValidateEnumValue

func (m NodeShapeConfig) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeSourceDetails

NodeSourceDetails The details of the node's source.

type NodeSourceDetails interface {
}

type NodeSourceOption

NodeSourceOption The source option for the node.

type NodeSourceOption interface {

    // The user-friendly name of the entity corresponding to the OCID.
    GetSourceName() *string
}

type NodeSourceTypeEnum

NodeSourceTypeEnum Enum with underlying type: string

type NodeSourceTypeEnum string

Set of constants representing the allowable values for NodeSourceTypeEnum

const (
    NodeSourceTypeImage NodeSourceTypeEnum = "IMAGE"
)

func GetMappingNodeSourceTypeEnum

func GetMappingNodeSourceTypeEnum(val string) (NodeSourceTypeEnum, bool)

GetMappingNodeSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNodeSourceTypeEnumValues

func GetNodeSourceTypeEnumValues() []NodeSourceTypeEnum

GetNodeSourceTypeEnumValues Enumerates the set of values for NodeSourceTypeEnum

type NodeSourceViaImageDetails

NodeSourceViaImageDetails Details of the image running on the node.

type NodeSourceViaImageDetails struct {

    // The OCID of the image used to boot the node.
    ImageId *string `mandatory:"true" json:"imageId"`

    // The size of the boot volume in GBs. Minimum value is 50 GB. See here (https://docs.cloud.oracle.com/en-us/iaas/Content/Block/Concepts/bootvolumes.htm) for max custom boot volume sizing and OS-specific requirements.
    BootVolumeSizeInGBs *int64 `mandatory:"false" json:"bootVolumeSizeInGBs"`
}

func (NodeSourceViaImageDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (NodeSourceViaImageDetails) String

func (m NodeSourceViaImageDetails) String() string

func (NodeSourceViaImageDetails) ValidateEnumValue

func (m NodeSourceViaImageDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NodeSourceViaImageOption

NodeSourceViaImageOption An image can be specified as the source of nodes when launching a node pool using the `nodeSourceDetails` object.

type NodeSourceViaImageOption struct {

    // The user-friendly name of the entity corresponding to the OCID.
    SourceName *string `mandatory:"false" json:"sourceName"`

    // The OCID of the image.
    ImageId *string `mandatory:"false" json:"imageId"`
}

func (NodeSourceViaImageOption) GetSourceName

func (m NodeSourceViaImageOption) GetSourceName() *string

GetSourceName returns SourceName

func (NodeSourceViaImageOption) MarshalJSON

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

MarshalJSON marshals to json representation

func (NodeSourceViaImageOption) String

func (m NodeSourceViaImageOption) String() string

func (NodeSourceViaImageOption) ValidateEnumValue

func (m NodeSourceViaImageOption) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OciVcnIpNativeClusterPodNetworkOptionDetails

OciVcnIpNativeClusterPodNetworkOptionDetails Network options specific to using the OCI VCN Native CNI

type OciVcnIpNativeClusterPodNetworkOptionDetails struct {
}

func (OciVcnIpNativeClusterPodNetworkOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (OciVcnIpNativeClusterPodNetworkOptionDetails) String

func (m OciVcnIpNativeClusterPodNetworkOptionDetails) String() string

func (OciVcnIpNativeClusterPodNetworkOptionDetails) ValidateEnumValue

func (m OciVcnIpNativeClusterPodNetworkOptionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OciVcnIpNativeNodePoolPodNetworkOptionDetails

OciVcnIpNativeNodePoolPodNetworkOptionDetails Network options specific to using the OCI VCN Native CNI

type OciVcnIpNativeNodePoolPodNetworkOptionDetails struct {

    // The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs
    PodSubnetIds []string `mandatory:"true" json:"podSubnetIds"`

    // The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape
    MaxPodsPerNode *int `mandatory:"false" json:"maxPodsPerNode"`

    // The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    PodNsgIds []string `mandatory:"false" json:"podNsgIds"`
}

func (OciVcnIpNativeNodePoolPodNetworkOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (OciVcnIpNativeNodePoolPodNetworkOptionDetails) String

func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) String() string

func (OciVcnIpNativeNodePoolPodNetworkOptionDetails) ValidateEnumValue

func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PersistentVolumeConfigDetails

PersistentVolumeConfigDetails Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)

type PersistentVolumeConfigDetails struct {

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (PersistentVolumeConfigDetails) String

func (m PersistentVolumeConfigDetails) String() string

func (PersistentVolumeConfigDetails) ValidateEnumValue

func (m PersistentVolumeConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ServiceLbConfigDetails

ServiceLbConfigDetails Configuration to be applied to load balancers created by Kubernetes services

type ServiceLbConfigDetails struct {

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (ServiceLbConfigDetails) String

func (m ServiceLbConfigDetails) String() string

func (ServiceLbConfigDetails) ValidateEnumValue

func (m ServiceLbConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type UpdateClusterDetails

UpdateClusterDetails The properties that define a request to update a cluster.

type UpdateClusterDetails struct {

    // The new name for the cluster. Avoid entering confidential information.
    Name *string `mandatory:"false" json:"name"`

    // The version of Kubernetes to which the cluster masters should be upgraded.
    KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"`

    Options *UpdateClusterOptionsDetails `mandatory:"false" json:"options"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The image verification policy for signature validation. Once a policy is created and enabled with
    // one or more kms keys, the policy will ensure all images deployed has been signed with the key(s)
    // attached to the policy.
    ImagePolicyConfig *UpdateImagePolicyConfigDetails `mandatory:"false" json:"imagePolicyConfig"`
}

func (UpdateClusterDetails) String

func (m UpdateClusterDetails) String() string

func (UpdateClusterDetails) ValidateEnumValue

func (m UpdateClusterDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateClusterEndpointConfigDetails

UpdateClusterEndpointConfigDetails The properties that define a request to update a cluster endpoint config.

type UpdateClusterEndpointConfigDetails struct {

    // A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster update will fail.
    IsPublicIpEnabled *bool `mandatory:"false" json:"isPublicIpEnabled"`
}

func (UpdateClusterEndpointConfigDetails) String

func (m UpdateClusterEndpointConfigDetails) String() string

func (UpdateClusterEndpointConfigDetails) ValidateEnumValue

func (m UpdateClusterEndpointConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateClusterEndpointConfigRequest

UpdateClusterEndpointConfigRequest wrapper for the UpdateClusterEndpointConfig operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfigRequest.

type UpdateClusterEndpointConfigRequest struct {

    // The OCID of the cluster.
    ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"`

    // The details of the cluster's endpoint to update.
    UpdateClusterEndpointConfigDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateClusterEndpointConfigRequest) BinaryRequestBody

func (request UpdateClusterEndpointConfigRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateClusterEndpointConfigRequest) HTTPRequest

func (request UpdateClusterEndpointConfigRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateClusterEndpointConfigRequest) RetryPolicy

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

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

func (UpdateClusterEndpointConfigRequest) String

func (request UpdateClusterEndpointConfigRequest) String() string

func (UpdateClusterEndpointConfigRequest) ValidateEnumValue

func (request UpdateClusterEndpointConfigRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateClusterEndpointConfigResponse

UpdateClusterEndpointConfigResponse wrapper for the UpdateClusterEndpointConfig operation

type UpdateClusterEndpointConfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request handling the 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"`
}

func (UpdateClusterEndpointConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateClusterEndpointConfigResponse) String

func (response UpdateClusterEndpointConfigResponse) String() string

type UpdateClusterOptionsDetails

UpdateClusterOptionsDetails The properties that define extra options updating a cluster.

type UpdateClusterOptionsDetails struct {

    // Configurable cluster admission controllers
    AdmissionControllerOptions *AdmissionControllerOptions `mandatory:"false" json:"admissionControllerOptions"`

    PersistentVolumeConfig *PersistentVolumeConfigDetails `mandatory:"false" json:"persistentVolumeConfig"`

    ServiceLbConfig *ServiceLbConfigDetails `mandatory:"false" json:"serviceLbConfig"`
}

func (UpdateClusterOptionsDetails) String

func (m UpdateClusterOptionsDetails) String() string

func (UpdateClusterOptionsDetails) ValidateEnumValue

func (m UpdateClusterOptionsDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateClusterRequest

UpdateClusterRequest wrapper for the UpdateCluster operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/UpdateCluster.go.html to see an example of how to use UpdateClusterRequest.

type UpdateClusterRequest struct {

    // The OCID of the cluster.
    ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"`

    // The details of the cluster to update.
    UpdateClusterDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateClusterRequest) BinaryRequestBody

func (request UpdateClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateClusterRequest) HTTPRequest

func (request UpdateClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateClusterRequest) RetryPolicy

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

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

func (UpdateClusterRequest) String

func (request UpdateClusterRequest) String() string

func (UpdateClusterRequest) ValidateEnumValue

func (request UpdateClusterRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateClusterResponse

UpdateClusterResponse wrapper for the UpdateCluster operation

type UpdateClusterResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request handling the 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"`
}

func (UpdateClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateClusterResponse) String

func (response UpdateClusterResponse) String() string

type UpdateImagePolicyConfigDetails

UpdateImagePolicyConfigDetails The properties that define a image verification policy.

type UpdateImagePolicyConfigDetails struct {

    // Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
    IsPolicyEnabled *bool `mandatory:"false" json:"isPolicyEnabled"`

    // A list of KMS key details.
    KeyDetails []KeyDetails `mandatory:"false" json:"keyDetails"`
}

func (UpdateImagePolicyConfigDetails) String

func (m UpdateImagePolicyConfigDetails) String() string

func (UpdateImagePolicyConfigDetails) ValidateEnumValue

func (m UpdateImagePolicyConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNodePoolDetails

UpdateNodePoolDetails The properties that define a request to update a node pool.

type UpdateNodePoolDetails struct {

    // The new name for the cluster. Avoid entering confidential information.
    Name *string `mandatory:"false" json:"name"`

    // The version of Kubernetes to which the nodes in the node pool should be upgraded.
    KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"`

    // A list of key/value pairs to add to nodes after they join the Kubernetes cluster.
    InitialNodeLabels []KeyValue `mandatory:"false" json:"initialNodeLabels"`

    // The number of nodes to have in each subnet specified in the subnetIds property. This property is deprecated,
    // use nodeConfigDetails instead. If the current value of quantityPerSubnet is greater than 0, you can only
    // use quantityPerSubnet to scale the node pool. If the current value of quantityPerSubnet is equal to 0 and
    // the current value of size in nodeConfigDetails is greater than 0, before you can use quantityPerSubnet,
    // you must first scale the node pool to 0 nodes using nodeConfigDetails.
    QuantityPerSubnet *int `mandatory:"false" json:"quantityPerSubnet"`

    // The OCIDs of the subnets in which to place nodes for this node pool. This property is deprecated,
    // use nodeConfigDetails instead. Only one of the subnetIds or nodeConfigDetails
    // properties can be specified.
    SubnetIds []string `mandatory:"false" json:"subnetIds"`

    // The configuration of nodes in the node pool. Only one of the subnetIds or nodeConfigDetails
    // properties should be specified. If the current value of quantityPerSubnet is greater than 0, the node
    // pool may still be scaled using quantityPerSubnet. Before you can use nodeConfigDetails,
    // you must first scale the node pool to 0 nodes using quantityPerSubnet.
    NodeConfigDetails *UpdateNodePoolNodeConfigDetails `mandatory:"false" json:"nodeConfigDetails"`

    // A list of key/value pairs to add to each underlying OCI instance in the node pool on launch.
    NodeMetadata map[string]string `mandatory:"false" json:"nodeMetadata"`

    // Specify the source to use to launch nodes in the node pool. Currently, image is the only supported source.
    NodeSourceDetails NodeSourceDetails `mandatory:"false" json:"nodeSourceDetails"`

    // The SSH public key to add to each node in the node pool on launch.
    SshPublicKey *string `mandatory:"false" json:"sshPublicKey"`

    // The name of the node shape of the nodes in the node pool used on launch.
    NodeShape *string `mandatory:"false" json:"nodeShape"`

    // Specify the configuration of the shape to launch nodes in the node pool.
    NodeShapeConfig *UpdateNodeShapeConfigDetails `mandatory:"false" json:"nodeShapeConfig"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    NodeEvictionNodePoolSettings *NodeEvictionNodePoolSettings `mandatory:"false" json:"nodeEvictionNodePoolSettings"`
}

func (UpdateNodePoolDetails) String

func (m UpdateNodePoolDetails) String() string

func (*UpdateNodePoolDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateNodePoolDetails) ValidateEnumValue

func (m UpdateNodePoolDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNodePoolNodeConfigDetails

UpdateNodePoolNodeConfigDetails The size and placement configuration of nodes in the node pool.

type UpdateNodePoolNodeConfigDetails struct {

    // The number of nodes in the node pool.
    Size *int `mandatory:"false" json:"size"`

    // The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see NetworkSecurityGroup.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // The OCID of the Key Management Service key assigned to the boot volume.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
    IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The placement configurations for the node pool. Provide one placement
    // configuration for each availability domain in which you intend to launch a node.
    // To use the node pool with a regional subnet, provide a placement configuration for
    // each availability domain, and include the regional subnet in each placement
    // configuration.
    PlacementConfigs []NodePoolPlacementConfigDetails `mandatory:"false" json:"placementConfigs"`

    // The CNI related configuration of pods in the node pool.
    NodePoolPodNetworkOptionDetails NodePoolPodNetworkOptionDetails `mandatory:"false" json:"nodePoolPodNetworkOptionDetails"`
}

func (UpdateNodePoolNodeConfigDetails) String

func (m UpdateNodePoolNodeConfigDetails) String() string

func (*UpdateNodePoolNodeConfigDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateNodePoolNodeConfigDetails) ValidateEnumValue

func (m UpdateNodePoolNodeConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNodePoolRequest

UpdateNodePoolRequest wrapper for the UpdateNodePool operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.26.1/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePoolRequest.

type UpdateNodePoolRequest struct {

    // The OCID of the node pool.
    NodePoolId *string `mandatory:"true" contributesTo:"path" name:"nodePoolId"`

    // The fields to update in a node pool.
    UpdateNodePoolDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous GET or POST response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // Duration after which OKE will give up eviction of the pods on the node.
    // PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
    OverrideEvictionGraceDuration *string `mandatory:"false" contributesTo:"query" name:"overrideEvictionGraceDuration"`

    // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
    IsForceDeletionAfterOverrideGraceDuration *bool `mandatory:"false" contributesTo:"query" name:"isForceDeletionAfterOverrideGraceDuration"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateNodePoolRequest) BinaryRequestBody

func (request UpdateNodePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateNodePoolRequest) HTTPRequest

func (request UpdateNodePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNodePoolRequest) RetryPolicy

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

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

func (UpdateNodePoolRequest) String

func (request UpdateNodePoolRequest) String() string

func (UpdateNodePoolRequest) ValidateEnumValue

func (request UpdateNodePoolRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNodePoolResponse

UpdateNodePoolResponse wrapper for the UpdateNodePool operation

type UpdateNodePoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID of the work request handling the 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"`
}

func (UpdateNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateNodePoolResponse) String

func (response UpdateNodePoolResponse) String() string

type UpdateNodeShapeConfigDetails

UpdateNodeShapeConfigDetails The shape configuration of the nodes.

type UpdateNodeShapeConfigDetails struct {

    // The total number of OCPUs available to each node in the node pool.
    // See here (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details.
    Ocpus *float32 `mandatory:"false" json:"ocpus"`

    // The total amount of memory available to each node, in gigabytes.
    MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`
}

func (UpdateNodeShapeConfigDetails) String

func (m UpdateNodeShapeConfigDetails) String() string

func (UpdateNodeShapeConfigDetails) ValidateEnumValue

func (m UpdateNodeShapeConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequest

WorkRequest An asynchronous work request.

type WorkRequest struct {

    // The OCID of the work request.
    Id *string `mandatory:"false" json:"id"`

    // The type of work the work request is doing.
    OperationType WorkRequestOperationTypeEnum `mandatory:"false" json:"operationType,omitempty"`

    // The current status of the work request.
    Status WorkRequestStatusEnum `mandatory:"false" json:"status,omitempty"`

    // The OCID of the compartment in which the work request exists.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The resources this work request affects.
    Resources []WorkRequestResource `mandatory:"false" json:"resources"`

    // The time the work request was accepted.
    TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

    // The time the work request was started.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The time the work request was finished.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

WorkRequestError Errors related to a specific work request.

type WorkRequestError struct {

    // A short error code that defines the error, meant for programmatic parsing. See API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
    Code *string `mandatory:"true" json:"code"`

    // A human-readable error string.
    Message *string `mandatory:"true" json:"message"`

    // The date and time the error occurred.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

WorkRequestLogEntry Log entries related to a specific work request.

type WorkRequestLogEntry struct {

    // The description of an action that occurred.
    Message *string `mandatory:"false" json:"message"`

    // The date and time the log entry occurred.
    Timestamp *string `mandatory:"false" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestOperationTypeEnum

WorkRequestOperationTypeEnum Enum with underlying type: string

type WorkRequestOperationTypeEnum string

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

const (
    WorkRequestOperationTypeClusterCreate     WorkRequestOperationTypeEnum = "CLUSTER_CREATE"
    WorkRequestOperationTypeClusterUpdate     WorkRequestOperationTypeEnum = "CLUSTER_UPDATE"
    WorkRequestOperationTypeClusterDelete     WorkRequestOperationTypeEnum = "CLUSTER_DELETE"
    WorkRequestOperationTypeNodepoolCreate    WorkRequestOperationTypeEnum = "NODEPOOL_CREATE"
    WorkRequestOperationTypeNodepoolUpdate    WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE"
    WorkRequestOperationTypeNodepoolDelete    WorkRequestOperationTypeEnum = "NODEPOOL_DELETE"
    WorkRequestOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE"
    WorkRequestOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL"
)

Set of constants representing the allowable values for WorkRequestOperationTypeEnum Deprecated

const (
    WorkRequestSummaryOperationTypeClusterCreate     WorkRequestOperationTypeEnum = "CLUSTER_CREATE"
    WorkRequestSummaryOperationTypeClusterUpdate     WorkRequestOperationTypeEnum = "CLUSTER_UPDATE"
    WorkRequestSummaryOperationTypeClusterDelete     WorkRequestOperationTypeEnum = "CLUSTER_DELETE"
    WorkRequestSummaryOperationTypeNodepoolCreate    WorkRequestOperationTypeEnum = "NODEPOOL_CREATE"
    WorkRequestSummaryOperationTypeNodepoolUpdate    WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE"
    WorkRequestSummaryOperationTypeNodepoolDelete    WorkRequestOperationTypeEnum = "NODEPOOL_DELETE"
    WorkRequestSummaryOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE"
    WorkRequestSummaryOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL"
)

func GetMappingWorkRequestOperationTypeEnum

func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)

GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestOperationTypeEnumValues

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource

WorkRequestResource The properties that define a work request resource.

type WorkRequestResource struct {

    // The way in which this resource was affected by the work tracked by the work request.
    ActionType WorkRequestResourceActionTypeEnum `mandatory:"false" json:"actionType,omitempty"`

    // The resource type the work request affects.
    EntityType *string `mandatory:"false" json:"entityType"`

    // The OCID of the resource the work request affects.
    Identifier *string `mandatory:"false" json:"identifier"`

    // The URI path on which the user can issue a GET request to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceActionTypeEnum

WorkRequestResourceActionTypeEnum Enum with underlying type: string

type WorkRequestResourceActionTypeEnum string

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

const (
    WorkRequestResourceActionTypeCreated        WorkRequestResourceActionTypeEnum = "CREATED"
    WorkRequestResourceActionTypeUpdated        WorkRequestResourceActionTypeEnum = "UPDATED"
    WorkRequestResourceActionTypeDeleted        WorkRequestResourceActionTypeEnum = "DELETED"
    WorkRequestResourceActionTypeRelated        WorkRequestResourceActionTypeEnum = "RELATED"
    WorkRequestResourceActionTypeInProgress     WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
    WorkRequestResourceActionTypeFailed         WorkRequestResourceActionTypeEnum = "FAILED"
    WorkRequestResourceActionTypeCanceledCreate WorkRequestResourceActionTypeEnum = "CANCELED_CREATE"
    WorkRequestResourceActionTypeCanceledUpdate WorkRequestResourceActionTypeEnum = "CANCELED_UPDATE"
    WorkRequestResourceActionTypeCanceledDelete WorkRequestResourceActionTypeEnum = "CANCELED_DELETE"
)

func GetMappingWorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)

GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestStatusEnum

WorkRequestStatusEnum Enum with underlying type: string

type WorkRequestStatusEnum string

Set of constants representing the allowable values for WorkRequestStatusEnum

const (
    WorkRequestStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
    WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
    WorkRequestStatusFailed     WorkRequestStatusEnum = "FAILED"
    WorkRequestStatusSucceeded  WorkRequestStatusEnum = "SUCCEEDED"
    WorkRequestStatusCanceling  WorkRequestStatusEnum = "CANCELING"
    WorkRequestStatusCanceled   WorkRequestStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for WorkRequestStatusEnum Deprecated

const (
    WorkRequestSummaryStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
    WorkRequestSummaryStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
    WorkRequestSummaryStatusFailed     WorkRequestStatusEnum = "FAILED"
    WorkRequestSummaryStatusSucceeded  WorkRequestStatusEnum = "SUCCEEDED"
    WorkRequestSummaryStatusCanceling  WorkRequestStatusEnum = "CANCELING"
    WorkRequestSummaryStatusCanceled   WorkRequestStatusEnum = "CANCELED"
)

func GetMappingWorkRequestStatusEnum

func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)

GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestStatusEnumValues

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

type WorkRequestSummary

WorkRequestSummary The properties that define a work request summary.

type WorkRequestSummary struct {

    // The OCID of the work request.
    Id *string `mandatory:"false" json:"id"`

    // The type of work the work request is doing.
    OperationType WorkRequestOperationTypeEnum `mandatory:"false" json:"operationType,omitempty"`

    // The current status of the work request.
    Status WorkRequestStatusEnum `mandatory:"false" json:"status,omitempty"`

    // The OCID of the compartment in which the work request exists.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The resources this work request affects.
    Resources []WorkRequestResource `mandatory:"false" json:"resources"`

    // The time the work request was accepted.
    TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

    // The time the work request was started.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The time the work request was finished.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryOperationTypeEnum

WorkRequestSummaryOperationTypeEnum is an alias to type: WorkRequestOperationTypeEnum Consider using WorkRequestOperationTypeEnum instead Deprecated

type WorkRequestSummaryOperationTypeEnum = WorkRequestOperationTypeEnum

type WorkRequestSummaryStatusEnum

WorkRequestSummaryStatusEnum is an alias to type: WorkRequestStatusEnum Consider using WorkRequestStatusEnum instead Deprecated

type WorkRequestSummaryStatusEnum = WorkRequestStatusEnum