containerengine

package
v0.0.0-...-7b64836 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0, Apache-2.0, UPL-1.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetClusterSummaryLifecycleStateEnumValues = GetClusterLifecycleStateEnumValues

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

View Source
var GetWorkRequestSummaryOperationTypeEnumValues = GetWorkRequestOperationTypeEnumValues

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

View Source
var GetWorkRequestSummaryStatusEnumValues = GetWorkRequestStatusEnumValues

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

Functions

func GetAddonLifecycleStateEnumStringValues

func GetAddonLifecycleStateEnumStringValues() []string

GetAddonLifecycleStateEnumStringValues Enumerates the set of values in String for AddonLifecycleStateEnum

func GetAddonOptionSummaryLifecycleStateEnumStringValues

func GetAddonOptionSummaryLifecycleStateEnumStringValues() []string

GetAddonOptionSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for AddonOptionSummaryLifecycleStateEnum

func GetAddonVersionsStatusEnumStringValues

func GetAddonVersionsStatusEnumStringValues() []string

GetAddonVersionsStatusEnumStringValues Enumerates the set of values in String for AddonVersionsStatusEnum

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 GetClusterTypeEnumStringValues

func GetClusterTypeEnumStringValues() []string

GetClusterTypeEnumStringValues Enumerates the set of values in String for ClusterTypeEnum

func GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues

func GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues() []string

GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues Enumerates the set of values in String for CreateClusterKubeconfigContentDetailsEndpointEnum

func GetCredentialRotationStatusStatusDetailsEnumStringValues

func GetCredentialRotationStatusStatusDetailsEnumStringValues() []string

GetCredentialRotationStatusStatusDetailsEnumStringValues Enumerates the set of values in String for CredentialRotationStatusStatusDetailsEnum

func GetCredentialRotationStatusStatusEnumStringValues

func GetCredentialRotationStatusStatusEnumStringValues() []string

GetCredentialRotationStatusStatusEnumStringValues Enumerates the set of values in String for CredentialRotationStatusStatusEnum

func GetListAddonOptionsSortByEnumStringValues

func GetListAddonOptionsSortByEnumStringValues() []string

GetListAddonOptionsSortByEnumStringValues Enumerates the set of values in String for ListAddonOptionsSortByEnum

func GetListAddonOptionsSortOrderEnumStringValues

func GetListAddonOptionsSortOrderEnumStringValues() []string

GetListAddonOptionsSortOrderEnumStringValues Enumerates the set of values in String for ListAddonOptionsSortOrderEnum

func GetListAddonsSortByEnumStringValues

func GetListAddonsSortByEnumStringValues() []string

GetListAddonsSortByEnumStringValues Enumerates the set of values in String for ListAddonsSortByEnum

func GetListAddonsSortOrderEnumStringValues

func GetListAddonsSortOrderEnumStringValues() []string

GetListAddonsSortOrderEnumStringValues Enumerates the set of values in String for ListAddonsSortOrderEnum

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 GetListPodShapesSortByEnumStringValues

func GetListPodShapesSortByEnumStringValues() []string

GetListPodShapesSortByEnumStringValues Enumerates the set of values in String for ListPodShapesSortByEnum

func GetListPodShapesSortOrderEnumStringValues

func GetListPodShapesSortOrderEnumStringValues() []string

GetListPodShapesSortOrderEnumStringValues Enumerates the set of values in String for ListPodShapesSortOrderEnum

func GetListVirtualNodePoolsSortByEnumStringValues

func GetListVirtualNodePoolsSortByEnumStringValues() []string

GetListVirtualNodePoolsSortByEnumStringValues Enumerates the set of values in String for ListVirtualNodePoolsSortByEnum

func GetListVirtualNodePoolsSortOrderEnumStringValues

func GetListVirtualNodePoolsSortOrderEnumStringValues() []string

GetListVirtualNodePoolsSortOrderEnumStringValues Enumerates the set of values in String for ListVirtualNodePoolsSortOrderEnum

func GetListVirtualNodesSortByEnumStringValues

func GetListVirtualNodesSortByEnumStringValues() []string

GetListVirtualNodesSortByEnumStringValues Enumerates the set of values in String for ListVirtualNodesSortByEnum

func GetListVirtualNodesSortOrderEnumStringValues

func GetListVirtualNodesSortOrderEnumStringValues() []string

GetListVirtualNodesSortOrderEnumStringValues Enumerates the set of values in String for ListVirtualNodesSortOrderEnum

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 GetListWorkloadMappingsSortByEnumStringValues

func GetListWorkloadMappingsSortByEnumStringValues() []string

GetListWorkloadMappingsSortByEnumStringValues Enumerates the set of values in String for ListWorkloadMappingsSortByEnum

func GetListWorkloadMappingsSortOrderEnumStringValues

func GetListWorkloadMappingsSortOrderEnumStringValues() []string

GetListWorkloadMappingsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkloadMappingsSortOrderEnum

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 GetPreemptionActionTypeEnumStringValues

func GetPreemptionActionTypeEnumStringValues() []string

GetPreemptionActionTypeEnumStringValues Enumerates the set of values in String for PreemptionActionTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetVirtualNodeLifecycleStateEnumStringValues

func GetVirtualNodeLifecycleStateEnumStringValues() []string

GetVirtualNodeLifecycleStateEnumStringValues Enumerates the set of values in String for VirtualNodeLifecycleStateEnum

func GetVirtualNodePoolLifecycleStateEnumStringValues

func GetVirtualNodePoolLifecycleStateEnumStringValues() []string

GetVirtualNodePoolLifecycleStateEnumStringValues Enumerates the set of values in String for VirtualNodePoolLifecycleStateEnum

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

func GetWorkloadMappingLifecycleStateEnumStringValues

func GetWorkloadMappingLifecycleStateEnumStringValues() []string

GetWorkloadMappingLifecycleStateEnumStringValues Enumerates the set of values in String for WorkloadMappingLifecycleStateEnum

Types

type AddOnOptions

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

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

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 Addon

type Addon struct {

	// The name of the addon.
	Name *string `mandatory:"true" json:"name"`

	// The state of the addon.
	LifecycleState AddonLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// selected addon version, or null indicates autoUpdate
	Version *string `mandatory:"false" json:"version"`

	// current installed version of the addon
	CurrentInstalledVersion *string `mandatory:"false" json:"currentInstalledVersion"`

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

	// Addon configuration details.
	Configurations []AddonConfiguration `mandatory:"false" json:"configurations"`

	// The error info of the addon.
	AddonError *AddonError `mandatory:"false" json:"addonError"`
}

Addon The properties that define an addon.

func (Addon) String

func (m Addon) String() string

func (Addon) ValidateEnumValue

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

ValidateEnumValue returns an 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 AddonConfiguration

type AddonConfiguration struct {

	// configuration key name
	Key *string `mandatory:"false" json:"key"`

	// configuration value name
	Value *string `mandatory:"false" json:"value"`
}

AddonConfiguration Defines the configuration of available addons for a cluster

func (AddonConfiguration) String

func (m AddonConfiguration) String() string

func (AddonConfiguration) ValidateEnumValue

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

ValidateEnumValue returns an 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 AddonError

type AddonError 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:"false" json:"code"`

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

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

AddonError The error info of the addon.

func (AddonError) String

func (m AddonError) String() string

func (AddonError) ValidateEnumValue

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

ValidateEnumValue returns an 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 AddonLifecycleStateEnum

type AddonLifecycleStateEnum string

AddonLifecycleStateEnum Enum with underlying type: string

const (
	AddonLifecycleStateCreating       AddonLifecycleStateEnum = "CREATING"
	AddonLifecycleStateActive         AddonLifecycleStateEnum = "ACTIVE"
	AddonLifecycleStateDeleting       AddonLifecycleStateEnum = "DELETING"
	AddonLifecycleStateDeleted        AddonLifecycleStateEnum = "DELETED"
	AddonLifecycleStateUpdating       AddonLifecycleStateEnum = "UPDATING"
	AddonLifecycleStateNeedsAttention AddonLifecycleStateEnum = "NEEDS_ATTENTION"
	AddonLifecycleStateFailed         AddonLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for AddonLifecycleStateEnum

func GetAddonLifecycleStateEnumValues

func GetAddonLifecycleStateEnumValues() []AddonLifecycleStateEnum

GetAddonLifecycleStateEnumValues Enumerates the set of values for AddonLifecycleStateEnum

func GetMappingAddonLifecycleStateEnum

func GetMappingAddonLifecycleStateEnum(val string) (AddonLifecycleStateEnum, bool)

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

type AddonOptionSummary

type AddonOptionSummary struct {

	// Name of the addon and it would be unique.
	Name *string `mandatory:"true" json:"name"`

	// The life cycle state of the addon.
	LifecycleState AddonOptionSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Is it an essential addon for cluster operation or not.
	IsEssential *bool `mandatory:"true" json:"isEssential"`

	// The resources this work request affects.
	Versions []AddonVersions `mandatory:"true" json:"versions"`

	// Addon definition schema version to validate addon.
	AddonSchemaVersion *string `mandatory:"false" json:"addonSchemaVersion"`

	// Addon group info, a namespace concept that groups addons with similar functionalities.
	AddonGroup *string `mandatory:"false" json:"addonGroup"`

	// Description on the addon.
	Description *string `mandatory:"false" json:"description"`

	// 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 time the work request was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

AddonOptionSummary The properties that define addon summary.

func (AddonOptionSummary) String

func (m AddonOptionSummary) String() string

func (AddonOptionSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 AddonOptionSummaryLifecycleStateEnum

type AddonOptionSummaryLifecycleStateEnum string

AddonOptionSummaryLifecycleStateEnum Enum with underlying type: string

const (
	AddonOptionSummaryLifecycleStateActive   AddonOptionSummaryLifecycleStateEnum = "ACTIVE"
	AddonOptionSummaryLifecycleStateInactive AddonOptionSummaryLifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for AddonOptionSummaryLifecycleStateEnum

func GetAddonOptionSummaryLifecycleStateEnumValues

func GetAddonOptionSummaryLifecycleStateEnumValues() []AddonOptionSummaryLifecycleStateEnum

GetAddonOptionSummaryLifecycleStateEnumValues Enumerates the set of values for AddonOptionSummaryLifecycleStateEnum

func GetMappingAddonOptionSummaryLifecycleStateEnum

func GetMappingAddonOptionSummaryLifecycleStateEnum(val string) (AddonOptionSummaryLifecycleStateEnum, bool)

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

type AddonSummary

type AddonSummary struct {

	// The name of the addon.
	Name *string `mandatory:"true" json:"name"`

	// The state of the addon.
	LifecycleState AddonLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// selected addon version, or null indicates autoUpdate
	Version *string `mandatory:"false" json:"version"`

	// current installed version of the addon
	CurrentInstalledVersion *string `mandatory:"false" json:"currentInstalledVersion"`

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

	// The error info of the addon.
	AddonError *AddonError `mandatory:"false" json:"addonError"`
}

AddonSummary The properties that define an addon summary.

func (AddonSummary) String

func (m AddonSummary) String() string

func (AddonSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 AddonVersionConfiguration

type AddonVersionConfiguration struct {

	// If the the configuration is required or not.
	IsRequired *bool `mandatory:"false" json:"isRequired"`

	// Addon configuration key
	Key *string `mandatory:"false" json:"key"`

	// Addon configuration value
	Value *string `mandatory:"false" json:"value"`

	// Display name of addon version.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Information about the addon version configuration.
	Description *string `mandatory:"false" json:"description"`
}

AddonVersionConfiguration Addon version configuration details.

func (AddonVersionConfiguration) String

func (m AddonVersionConfiguration) String() string

func (AddonVersionConfiguration) ValidateEnumValue

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

ValidateEnumValue returns an 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 AddonVersions

type AddonVersions struct {

	// Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered  based on limits property.
	Status AddonVersionsStatusEnum `mandatory:"false" json:"status,omitempty"`

	// Version number, need be comparable within an addon.
	VersionNumber *string `mandatory:"false" json:"versionNumber"`

	// Information about the addon version.
	Description *string `mandatory:"false" json:"description"`

	// The range of kubernetes versions an addon can be configured.
	KubernetesVersionFilters *KubernetesVersionsFilters `mandatory:"false" json:"kubernetesVersionFilters"`

	// Addon version configuration details.
	Configurations []AddonVersionConfiguration `mandatory:"false" json:"configurations"`
}

AddonVersions The properties that define a work request resource.

func (AddonVersions) String

func (m AddonVersions) String() string

func (AddonVersions) ValidateEnumValue

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

ValidateEnumValue returns an 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 AddonVersionsStatusEnum

type AddonVersionsStatusEnum string

AddonVersionsStatusEnum Enum with underlying type: string

const (
	AddonVersionsStatusActive     AddonVersionsStatusEnum = "ACTIVE"
	AddonVersionsStatusDeprecated AddonVersionsStatusEnum = "DEPRECATED"
	AddonVersionsStatusPreview    AddonVersionsStatusEnum = "PREVIEW"
	AddonVersionsStatusRecalled   AddonVersionsStatusEnum = "RECALLED"
)

Set of constants representing the allowable values for AddonVersionsStatusEnum

func GetAddonVersionsStatusEnumValues

func GetAddonVersionsStatusEnumValues() []AddonVersionsStatusEnum

GetAddonVersionsStatusEnumValues Enumerates the set of values for AddonVersionsStatusEnum

func GetMappingAddonVersionsStatusEnum

func GetMappingAddonVersionsStatusEnum(val string) (AddonVersionsStatusEnum, bool)

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

type AdmissionControllerOptions

type AdmissionControllerOptions struct {

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

AdmissionControllerOptions The properties that define supported admission controllers.

func (AdmissionControllerOptions) 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

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. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm)
	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"`

	// Type of cluster
	Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"`
}

Cluster A Kubernetes cluster. Avoid entering confidential information.

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

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

ClusterCreateOptions The properties that define extra options for a cluster.

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

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

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

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

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

ClusterEndpoints The properties that define endpoints for a cluster.

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

type ClusterLifecycleStateEnum string

ClusterLifecycleStateEnum Enum with underlying type: string

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

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

Set of constants representing the allowable values for ClusterLifecycleStateEnum Deprecated

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

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

	// The time until which the cluster credential is valid.
	TimeCredentialExpiration *common.SDKTime `mandatory:"false" json:"timeCredentialExpiration"`
}

ClusterMetadata The properties that define meta data for a cluster.

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

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

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

func (ClusterMigrateToNativeVcnDetails) 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

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
}

ClusterMigrateToNativeVcnRequest wrapper for the ClusterMigrateToNativeVcn operation

See also

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

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

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

ClusterMigrateToNativeVcnResponse wrapper for the ClusterMigrateToNativeVcn operation

func (ClusterMigrateToNativeVcnResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ClusterMigrateToNativeVcnResponse) String

func (response ClusterMigrateToNativeVcnResponse) String() string

type ClusterMigrateToNativeVcnStatus

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

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

func (ClusterMigrateToNativeVcnStatus) 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

type ClusterMigrateToNativeVcnStatusStateEnum string

ClusterMigrateToNativeVcnStatusStateEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ClusterMigrateToNativeVcnStatusStateEnum

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

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

ClusterOptions Options for creating or updating clusters.

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

type ClusterPodNetworkOptionDetails interface {
}

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

type ClusterPodNetworkOptionDetailsCniTypeEnum

type ClusterPodNetworkOptionDetailsCniTypeEnum string

ClusterPodNetworkOptionDetailsCniTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ClusterPodNetworkOptionDetailsCniTypeEnum

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

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. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm)
	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"`

	// Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengcomparingenhancedwithbasicclusters_topic.htm)
	Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"`
}

ClusterSummary The properties that define a cluster summary.

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

type ClusterSummaryLifecycleStateEnum = ClusterLifecycleStateEnum

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

type ClusterTypeEnum

type ClusterTypeEnum string

ClusterTypeEnum Enum with underlying type: string

const (
	ClusterTypeBasicCluster    ClusterTypeEnum = "BASIC_CLUSTER"
	ClusterTypeEnhancedCluster ClusterTypeEnum = "ENHANCED_CLUSTER"
)

Set of constants representing the allowable values for ClusterTypeEnum

func GetClusterTypeEnumValues

func GetClusterTypeEnumValues() []ClusterTypeEnum

GetClusterTypeEnumValues Enumerates the set of values for ClusterTypeEnum

func GetMappingClusterTypeEnum

func GetMappingClusterTypeEnum(val string) (ClusterTypeEnum, bool)

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

type CompleteCredentialRotationRequest

type CompleteCredentialRotationRequest struct {

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

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

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

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

CompleteCredentialRotationRequest wrapper for the CompleteCredentialRotation operation

See also

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

func (CompleteCredentialRotationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CompleteCredentialRotationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CompleteCredentialRotationRequest) RetryPolicy

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

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

func (CompleteCredentialRotationRequest) String

func (request CompleteCredentialRotationRequest) String() string

func (CompleteCredentialRotationRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 CompleteCredentialRotationResponse

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

CompleteCredentialRotationResponse wrapper for the CompleteCredentialRotation operation

func (CompleteCredentialRotationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CompleteCredentialRotationResponse) String

func (response CompleteCredentialRotationResponse) String() string

type ContainerEngineClient

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

ContainerEngineClient a client for ContainerEngine

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/latest/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) CompleteCredentialRotation

func (client ContainerEngineClient) CompleteCredentialRotation(ctx context.Context, request CompleteCredentialRotationRequest) (response CompleteCredentialRotationResponse, err error)

CompleteCredentialRotation Complete cluster credential rotation. Retire old credentials from kubernetes components.

See also

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

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/latest/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/latest/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/latest/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) CreateVirtualNodePool

func (client ContainerEngineClient) CreateVirtualNodePool(ctx context.Context, request CreateVirtualNodePoolRequest) (response CreateVirtualNodePoolResponse, err error)

CreateVirtualNodePool Create a new virtual node pool.

See also

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

func (ContainerEngineClient) CreateWorkloadMapping

func (client ContainerEngineClient) CreateWorkloadMapping(ctx context.Context, request CreateWorkloadMappingRequest) (response CreateWorkloadMappingResponse, err error)

CreateWorkloadMapping Create the specified workloadMapping for a cluster.

See also

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

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/latest/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/latest/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/latest/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) DeleteVirtualNodePool

func (client ContainerEngineClient) DeleteVirtualNodePool(ctx context.Context, request DeleteVirtualNodePoolRequest) (response DeleteVirtualNodePoolResponse, err error)

DeleteVirtualNodePool Delete a virtual node pool.

See also

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

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/latest/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) DeleteWorkloadMapping

func (client ContainerEngineClient) DeleteWorkloadMapping(ctx context.Context, request DeleteWorkloadMappingRequest) (response DeleteWorkloadMappingResponse, err error)

DeleteWorkloadMapping Delete workloadMapping for a provisioned cluster.

See also

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

func (ContainerEngineClient) DisableAddon

func (client ContainerEngineClient) DisableAddon(ctx context.Context, request DisableAddonRequest) (response DisableAddonResponse, err error)

DisableAddon Disable addon for a provisioned cluster.

See also

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

func (ContainerEngineClient) GetAddon

func (client ContainerEngineClient) GetAddon(ctx context.Context, request GetAddonRequest) (response GetAddonResponse, err error)

GetAddon Get the specified addon for a cluster.

See also

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

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/latest/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/latest/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/latest/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) GetCredentialRotationStatus

func (client ContainerEngineClient) GetCredentialRotationStatus(ctx context.Context, request GetCredentialRotationStatusRequest) (response GetCredentialRotationStatusResponse, err error)

GetCredentialRotationStatus Get cluster credential rotation status.

See also

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

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/latest/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/latest/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) GetVirtualNode

func (client ContainerEngineClient) GetVirtualNode(ctx context.Context, request GetVirtualNodeRequest) (response GetVirtualNodeResponse, err error)

GetVirtualNode Get the details of a virtual node.

See also

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

func (ContainerEngineClient) GetVirtualNodePool

func (client ContainerEngineClient) GetVirtualNodePool(ctx context.Context, request GetVirtualNodePoolRequest) (response GetVirtualNodePoolResponse, err error)

GetVirtualNodePool Get the details of a virtual node pool.

See also

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

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/latest/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) GetWorkloadMapping

func (client ContainerEngineClient) GetWorkloadMapping(ctx context.Context, request GetWorkloadMappingRequest) (response GetWorkloadMappingResponse, err error)

GetWorkloadMapping Get the specified workloadMapping for a cluster.

See also

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

func (ContainerEngineClient) InstallAddon

func (client ContainerEngineClient) InstallAddon(ctx context.Context, request InstallAddonRequest) (response InstallAddonResponse, err error)

InstallAddon Install the specified addon for a cluster.

See also

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

func (ContainerEngineClient) ListAddonOptions

func (client ContainerEngineClient) ListAddonOptions(ctx context.Context, request ListAddonOptionsRequest) (response ListAddonOptionsResponse, err error)

ListAddonOptions Get list of supported addons for a specific kubernetes version.

See also

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

func (ContainerEngineClient) ListAddons

func (client ContainerEngineClient) ListAddons(ctx context.Context, request ListAddonsRequest) (response ListAddonsResponse, err error)

ListAddons List addon for a provisioned cluster.

See also

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

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/latest/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/latest/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) ListPodShapes

func (client ContainerEngineClient) ListPodShapes(ctx context.Context, request ListPodShapesRequest) (response ListPodShapesResponse, err error)

ListPodShapes List all the Pod Shapes in a compartment.

See also

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

func (ContainerEngineClient) ListVirtualNodePools

func (client ContainerEngineClient) ListVirtualNodePools(ctx context.Context, request ListVirtualNodePoolsRequest) (response ListVirtualNodePoolsResponse, err error)

ListVirtualNodePools List all the virtual 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/latest/containerengine/ListVirtualNodePools.go.html to see an example of how to use ListVirtualNodePools API. A default retry strategy applies to this operation ListVirtualNodePools()

func (ContainerEngineClient) ListVirtualNodes

func (client ContainerEngineClient) ListVirtualNodes(ctx context.Context, request ListVirtualNodesRequest) (response ListVirtualNodesResponse, err error)

ListVirtualNodes List virtual nodes in a virtual node pool.

See also

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

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/latest/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/latest/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/latest/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) ListWorkloadMappings

func (client ContainerEngineClient) ListWorkloadMappings(ctx context.Context, request ListWorkloadMappingsRequest) (response ListWorkloadMappingsResponse, err error)

ListWorkloadMappings List workloadMappings for a provisioned cluster.

See also

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

func (*ContainerEngineClient) SetRegion

func (client *ContainerEngineClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ContainerEngineClient) StartCredentialRotation

func (client ContainerEngineClient) StartCredentialRotation(ctx context.Context, request StartCredentialRotationRequest) (response StartCredentialRotationResponse, err error)

StartCredentialRotation Start cluster credential rotation by adding new credentials, old credentials will still work after this operation.

See also

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

func (ContainerEngineClient) UpdateAddon

func (client ContainerEngineClient) UpdateAddon(ctx context.Context, request UpdateAddonRequest) (response UpdateAddonResponse, err error)

UpdateAddon Update addon details for a cluster.

See also

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

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/latest/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/latest/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/latest/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePool API. A default retry strategy applies to this operation UpdateNodePool()

func (ContainerEngineClient) UpdateVirtualNodePool

func (client ContainerEngineClient) UpdateVirtualNodePool(ctx context.Context, request UpdateVirtualNodePoolRequest) (response UpdateVirtualNodePoolResponse, err error)

UpdateVirtualNodePool Update the details of a virtual node pool.

See also

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

func (ContainerEngineClient) UpdateWorkloadMapping

func (client ContainerEngineClient) UpdateWorkloadMapping(ctx context.Context, request UpdateWorkloadMappingRequest) (response UpdateWorkloadMappingResponse, err error)

UpdateWorkloadMapping Update workloadMapping details for a cluster.

See also

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

type CreateClusterDetails

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

	// Type of cluster
	Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"`
}

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

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

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

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

func (CreateClusterEndpointConfigDetails) 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

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

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

func (CreateClusterKubeconfigContentDetails) 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

type CreateClusterKubeconfigContentDetailsEndpointEnum string

CreateClusterKubeconfigContentDetailsEndpointEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateClusterKubeconfigContentDetailsEndpointEnum

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

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
}

CreateClusterRequest wrapper for the CreateCluster operation

See also

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

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

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

CreateClusterResponse wrapper for the CreateCluster operation

func (CreateClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateClusterResponse) String

func (response CreateClusterResponse) String() string

type CreateImagePolicyConfigDetails

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

CreateImagePolicyConfigDetails The properties that define a image verification policy.

func (CreateImagePolicyConfigDetails) 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

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
}

CreateKubeconfigRequest wrapper for the CreateKubeconfig operation

See also

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

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

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

CreateKubeconfigResponse wrapper for the CreateKubeconfig operation

func (CreateKubeconfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateKubeconfigResponse) String

func (response CreateKubeconfigResponse) String() string

type CreateNodePoolDetails

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

	NodePoolCyclingDetails *NodePoolCyclingDetails `mandatory:"false" json:"nodePoolCyclingDetails"`
}

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

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

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

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

func (CreateNodePoolNodeConfigDetails) 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

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
}

CreateNodePoolRequest wrapper for the CreateNodePool operation

See also

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

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

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

CreateNodePoolResponse wrapper for the CreateNodePool operation

func (CreateNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateNodePoolResponse) String

func (response CreateNodePoolResponse) String() string

type CreateNodeShapeConfigDetails

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

CreateNodeShapeConfigDetails The shape configuration of the nodes.

func (CreateNodeShapeConfigDetails) 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 CreateVirtualNodePoolDetails

type CreateVirtualNodePoolDetails struct {

	// Compartment of the virtual node pool.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
	ClusterId *string `mandatory:"true" json:"clusterId"`

	// Display name of the virtual node pool. This is a non-unique value.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
	PlacementConfigurations []PlacementConfiguration `mandatory:"true" json:"placementConfigurations"`

	// Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
	InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"`

	// A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
	Taints []Taint `mandatory:"false" json:"taints"`

	// The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
	Size *int `mandatory:"false" json:"size"`

	// List of network security group id's applied to the Virtual Node VNIC.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The pod configuration for pods run on virtual nodes of this virtual node pool.
	PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"`

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

	VirtualNodeTags *VirtualNodeTags `mandatory:"false" json:"virtualNodeTags"`
}

CreateVirtualNodePoolDetails The properties that define a request to create a virtual node pool.

func (CreateVirtualNodePoolDetails) String

func (CreateVirtualNodePoolDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateVirtualNodePoolRequest

type CreateVirtualNodePoolRequest struct {

	// The details of the virtual node pool to create.
	CreateVirtualNodePoolDetails `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
}

CreateVirtualNodePoolRequest wrapper for the CreateVirtualNodePool operation

See also

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

func (CreateVirtualNodePoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateVirtualNodePoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateVirtualNodePoolRequest) RetryPolicy

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

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

func (CreateVirtualNodePoolRequest) String

func (request CreateVirtualNodePoolRequest) String() string

func (CreateVirtualNodePoolRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateVirtualNodePoolResponse

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

CreateVirtualNodePoolResponse wrapper for the CreateVirtualNodePool operation

func (CreateVirtualNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateVirtualNodePoolResponse) String

func (response CreateVirtualNodePoolResponse) String() string

type CreateWorkloadMappingDetails

type CreateWorkloadMappingDetails struct {

	// The namespace of the workloadMapping.
	Namespace *string `mandatory:"true" json:"namespace"`

	// The OCID of the mapped customer compartment.
	MappedCompartmentId *string `mandatory:"true" json:"mappedCompartmentId"`

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

CreateWorkloadMappingDetails The properties that define a workloadMapping

func (CreateWorkloadMappingDetails) String

func (CreateWorkloadMappingDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateWorkloadMappingRequest

type CreateWorkloadMappingRequest struct {

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

	// The details of the workloadMapping to be create.
	CreateWorkloadMappingDetails `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
}

CreateWorkloadMappingRequest wrapper for the CreateWorkloadMapping operation

See also

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

func (CreateWorkloadMappingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateWorkloadMappingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateWorkloadMappingRequest) RetryPolicy

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

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

func (CreateWorkloadMappingRequest) String

func (request CreateWorkloadMappingRequest) String() string

func (CreateWorkloadMappingRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 CreateWorkloadMappingResponse

type CreateWorkloadMappingResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

CreateWorkloadMappingResponse wrapper for the CreateWorkloadMapping operation

func (CreateWorkloadMappingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateWorkloadMappingResponse) String

func (response CreateWorkloadMappingResponse) String() string

type CredentialRotationStatus

type CredentialRotationStatus struct {

	// Credential rotation status of a kubernetes cluster
	// IN_PROGRESS: Issuing new credentials to kubernetes cluster control plane and worker nodes or retiring old credentials from kubernetes cluster control plane and worker nodes.
	// WAITING: Waiting for customer to invoke the complete rotation action or the automcatic complete rotation action.
	// COMPLETED: New credentials are functional on kuberentes cluster.
	Status CredentialRotationStatusStatusEnum `mandatory:"true" json:"status"`

	// Details of a kuberenetes cluster credential rotation status:
	// ISSUING_NEW_CREDENTIALS: Credential rotation is in progress. Starting to issue new credentials to kubernetes cluster control plane and worker nodes.
	// NEW_CREDENTIALS_ISSUED: New credentials are added. At this stage cluster has both old and new credentials and is awaiting old credentials retirement.
	// RETIRING_OLD_CREDENTIALS: Retirement of old credentials is in progress. Starting to remove old credentials from kubernetes cluster control plane and worker nodes.
	// COMPLETED: Credential rotation is complete. Old credentials are retired.
	StatusDetails CredentialRotationStatusStatusDetailsEnum `mandatory:"true" json:"statusDetails"`

	// The time by which retirement of old credentials should start.
	TimeAutoCompletionScheduled *common.SDKTime `mandatory:"false" json:"timeAutoCompletionScheduled"`
}

CredentialRotationStatus Information regarding cluster's credential rotation.

func (CredentialRotationStatus) String

func (m CredentialRotationStatus) String() string

func (CredentialRotationStatus) ValidateEnumValue

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

ValidateEnumValue returns an 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 CredentialRotationStatusStatusDetailsEnum

type CredentialRotationStatusStatusDetailsEnum string

CredentialRotationStatusStatusDetailsEnum Enum with underlying type: string

const (
	CredentialRotationStatusStatusDetailsIssuingNewCredentials  CredentialRotationStatusStatusDetailsEnum = "ISSUING_NEW_CREDENTIALS"
	CredentialRotationStatusStatusDetailsNewCredentialsIssued   CredentialRotationStatusStatusDetailsEnum = "NEW_CREDENTIALS_ISSUED"
	CredentialRotationStatusStatusDetailsRetiringOldCredentials CredentialRotationStatusStatusDetailsEnum = "RETIRING_OLD_CREDENTIALS"
	CredentialRotationStatusStatusDetailsCompleted              CredentialRotationStatusStatusDetailsEnum = "COMPLETED"
)

Set of constants representing the allowable values for CredentialRotationStatusStatusDetailsEnum

func GetCredentialRotationStatusStatusDetailsEnumValues

func GetCredentialRotationStatusStatusDetailsEnumValues() []CredentialRotationStatusStatusDetailsEnum

GetCredentialRotationStatusStatusDetailsEnumValues Enumerates the set of values for CredentialRotationStatusStatusDetailsEnum

func GetMappingCredentialRotationStatusStatusDetailsEnum

func GetMappingCredentialRotationStatusStatusDetailsEnum(val string) (CredentialRotationStatusStatusDetailsEnum, bool)

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

type CredentialRotationStatusStatusEnum

type CredentialRotationStatusStatusEnum string

CredentialRotationStatusStatusEnum Enum with underlying type: string

const (
	CredentialRotationStatusStatusInProgress CredentialRotationStatusStatusEnum = "IN_PROGRESS"
	CredentialRotationStatusStatusWaiting    CredentialRotationStatusStatusEnum = "WAITING"
	CredentialRotationStatusStatusCompleted  CredentialRotationStatusStatusEnum = "COMPLETED"
)

Set of constants representing the allowable values for CredentialRotationStatusStatusEnum

func GetCredentialRotationStatusStatusEnumValues

func GetCredentialRotationStatusStatusEnumValues() []CredentialRotationStatusStatusEnum

GetCredentialRotationStatusStatusEnumValues Enumerates the set of values for CredentialRotationStatusStatusEnum

func GetMappingCredentialRotationStatusStatusEnum

func GetMappingCredentialRotationStatusStatusEnum(val string) (CredentialRotationStatusStatusEnum, bool)

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

type 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
}

DeleteClusterRequest wrapper for the DeleteCluster operation

See also

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

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

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

DeleteClusterResponse wrapper for the DeleteCluster operation

func (DeleteClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteClusterResponse) String

func (response DeleteClusterResponse) String() string

type 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
}

DeleteNodePoolRequest wrapper for the DeleteNodePool operation

See also

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

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

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

DeleteNodePoolResponse wrapper for the DeleteNodePool operation

func (DeleteNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNodePoolResponse) String

func (response DeleteNodePoolResponse) String() string

type 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
}

DeleteNodeRequest wrapper for the DeleteNode operation

See also

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

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

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

DeleteNodeResponse wrapper for the DeleteNode operation

func (DeleteNodeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNodeResponse) String

func (response DeleteNodeResponse) String() string

type DeleteVirtualNodePoolRequest

type DeleteVirtualNodePoolRequest struct {

	// The OCID of the virtual node pool.
	VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"`

	// 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 SKE will give up eviction of the pods on the node.
	// PT0M will indicate you want to delete the virtual node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
	OverrideEvictionGraceDurationVnp *string `mandatory:"false" contributesTo:"query" name:"overrideEvictionGraceDurationVnp"`

	// If the underlying virtual node should be force deleted if all the pods are not evicted in the evictionGraceDuration.
	IsForceDeletionAfterOverrideGraceDurationVnp *bool `mandatory:"false" contributesTo:"query" name:"isForceDeletionAfterOverrideGraceDurationVnp"`

	// 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
}

DeleteVirtualNodePoolRequest wrapper for the DeleteVirtualNodePool operation

See also

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

func (DeleteVirtualNodePoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteVirtualNodePoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteVirtualNodePoolRequest) RetryPolicy

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

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

func (DeleteVirtualNodePoolRequest) String

func (request DeleteVirtualNodePoolRequest) String() string

func (DeleteVirtualNodePoolRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeleteVirtualNodePoolResponse

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

DeleteVirtualNodePoolResponse wrapper for the DeleteVirtualNodePool operation

func (DeleteVirtualNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteVirtualNodePoolResponse) String

func (response DeleteVirtualNodePoolResponse) String() string

type 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
}

DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation

See also

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

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

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

DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation

func (DeleteWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWorkRequestResponse) String

func (response DeleteWorkRequestResponse) String() string

type DeleteWorkloadMappingRequest

type DeleteWorkloadMappingRequest struct {

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

	// The OCID of the workloadMapping.
	WorkloadMappingId *string `mandatory:"true" contributesTo:"path" name:"workloadMappingId"`

	// 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
}

DeleteWorkloadMappingRequest wrapper for the DeleteWorkloadMapping operation

See also

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

func (DeleteWorkloadMappingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteWorkloadMappingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteWorkloadMappingRequest) RetryPolicy

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

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

func (DeleteWorkloadMappingRequest) String

func (request DeleteWorkloadMappingRequest) String() string

func (DeleteWorkloadMappingRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DeleteWorkloadMappingResponse

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

DeleteWorkloadMappingResponse wrapper for the DeleteWorkloadMapping operation

func (DeleteWorkloadMappingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWorkloadMappingResponse) String

func (response DeleteWorkloadMappingResponse) String() string

type DisableAddonRequest

type DisableAddonRequest struct {

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

	// The name of the addon.
	AddonName *string `mandatory:"true" contributesTo:"path" name:"addonName"`

	// Whether existing addon resources should be deleted or not. True would remove the underlying resources completely.
	IsRemoveExistingAddOn *bool `mandatory:"true" contributesTo:"query" name:"isRemoveExistingAddOn"`

	// 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
}

DisableAddonRequest wrapper for the DisableAddon operation

See also

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

func (DisableAddonRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DisableAddonRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DisableAddonRequest) RetryPolicy

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

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

func (DisableAddonRequest) String

func (request DisableAddonRequest) String() string

func (DisableAddonRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 DisableAddonResponse

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

DisableAddonResponse wrapper for the DisableAddon operation

func (DisableAddonResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DisableAddonResponse) String

func (response DisableAddonResponse) String() string

type FlannelOverlayClusterPodNetworkOptionDetails

type FlannelOverlayClusterPodNetworkOptionDetails struct {
}

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

func (FlannelOverlayClusterPodNetworkOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (FlannelOverlayClusterPodNetworkOptionDetails) 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

type FlannelOverlayNodePoolPodNetworkOptionDetails struct {
}

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

func (FlannelOverlayNodePoolPodNetworkOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (FlannelOverlayNodePoolPodNetworkOptionDetails) 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 GetAddonRequest

type GetAddonRequest struct {

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

	// The name of the addon.
	AddonName *string `mandatory:"true" contributesTo:"path" name:"addonName"`

	// 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
}

GetAddonRequest wrapper for the GetAddon operation

See also

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

func (GetAddonRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAddonRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAddonRequest) RetryPolicy

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

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

func (GetAddonRequest) String

func (request GetAddonRequest) String() string

func (GetAddonRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetAddonResponse

type GetAddonResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetAddonResponse wrapper for the GetAddon operation

func (GetAddonResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAddonResponse) String

func (response GetAddonResponse) String() string

type 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
}

GetClusterMigrateToNativeVcnStatusRequest wrapper for the GetClusterMigrateToNativeVcnStatus operation

See also

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

func (GetClusterMigrateToNativeVcnStatusRequest) BinaryRequestBody

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

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

func (GetClusterMigrateToNativeVcnStatusRequest) 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

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

GetClusterMigrateToNativeVcnStatusResponse wrapper for the GetClusterMigrateToNativeVcnStatus operation

func (GetClusterMigrateToNativeVcnStatusResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetClusterMigrateToNativeVcnStatusResponse) String

type 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
}

GetClusterOptionsRequest wrapper for the GetClusterOptions operation

See also

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

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

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

GetClusterOptionsResponse wrapper for the GetClusterOptions operation

func (GetClusterOptionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetClusterOptionsResponse) String

func (response GetClusterOptionsResponse) String() string

type 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
}

GetClusterRequest wrapper for the GetCluster operation

See also

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

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

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

GetClusterResponse wrapper for the GetCluster operation

func (GetClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetClusterResponse) String

func (response GetClusterResponse) String() string

type GetCredentialRotationStatusRequest

type GetCredentialRotationStatusRequest 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
}

GetCredentialRotationStatusRequest wrapper for the GetCredentialRotationStatus operation

See also

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

func (GetCredentialRotationStatusRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetCredentialRotationStatusRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetCredentialRotationStatusRequest) RetryPolicy

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

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

func (GetCredentialRotationStatusRequest) String

func (request GetCredentialRotationStatusRequest) String() string

func (GetCredentialRotationStatusRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetCredentialRotationStatusResponse

type GetCredentialRotationStatusResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetCredentialRotationStatusResponse wrapper for the GetCredentialRotationStatus operation

func (GetCredentialRotationStatusResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCredentialRotationStatusResponse) String

func (response GetCredentialRotationStatusResponse) String() string

type 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
}

GetNodePoolOptionsRequest wrapper for the GetNodePoolOptions operation

See also

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

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

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

GetNodePoolOptionsResponse wrapper for the GetNodePoolOptions operation

func (GetNodePoolOptionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNodePoolOptionsResponse) String

func (response GetNodePoolOptionsResponse) String() string

type 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
}

GetNodePoolRequest wrapper for the GetNodePool operation

See also

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

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

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

GetNodePoolResponse wrapper for the GetNodePool operation

func (GetNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNodePoolResponse) String

func (response GetNodePoolResponse) String() string

type GetVirtualNodePoolRequest

type GetVirtualNodePoolRequest struct {

	// The OCID of the virtual node pool.
	VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"`

	// 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
}

GetVirtualNodePoolRequest wrapper for the GetVirtualNodePool operation

See also

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

func (GetVirtualNodePoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetVirtualNodePoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetVirtualNodePoolRequest) RetryPolicy

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

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

func (GetVirtualNodePoolRequest) String

func (request GetVirtualNodePoolRequest) String() string

func (GetVirtualNodePoolRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetVirtualNodePoolResponse

type GetVirtualNodePoolResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetVirtualNodePoolResponse wrapper for the GetVirtualNodePool operation

func (GetVirtualNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetVirtualNodePoolResponse) String

func (response GetVirtualNodePoolResponse) String() string

type GetVirtualNodeRequest

type GetVirtualNodeRequest struct {

	// The OCID of the virtual node pool.
	VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"`

	// The OCID of the virtual node.
	VirtualNodeId *string `mandatory:"true" contributesTo:"path" name:"virtualNodeId"`

	// 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
}

GetVirtualNodeRequest wrapper for the GetVirtualNode operation

See also

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

func (GetVirtualNodeRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetVirtualNodeRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetVirtualNodeRequest) RetryPolicy

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

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

func (GetVirtualNodeRequest) String

func (request GetVirtualNodeRequest) String() string

func (GetVirtualNodeRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetVirtualNodeResponse

type GetVirtualNodeResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetVirtualNodeResponse wrapper for the GetVirtualNode operation

func (GetVirtualNodeResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetVirtualNodeResponse) String

func (response GetVirtualNodeResponse) String() string

type 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
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

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

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type GetWorkloadMappingRequest

type GetWorkloadMappingRequest struct {

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

	// The OCID of the workloadMapping.
	WorkloadMappingId *string `mandatory:"true" contributesTo:"path" name:"workloadMappingId"`

	// 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
}

GetWorkloadMappingRequest wrapper for the GetWorkloadMapping operation

See also

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

func (GetWorkloadMappingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkloadMappingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkloadMappingRequest) RetryPolicy

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

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

func (GetWorkloadMappingRequest) String

func (request GetWorkloadMappingRequest) String() string

func (GetWorkloadMappingRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 GetWorkloadMappingResponse

type GetWorkloadMappingResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetWorkloadMappingResponse wrapper for the GetWorkloadMapping operation

func (GetWorkloadMappingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkloadMappingResponse) String

func (response GetWorkloadMappingResponse) String() string

type ImagePolicyConfig

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

ImagePolicyConfig The properties that define a image verification policy.

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 InitialVirtualNodeLabel

type InitialVirtualNodeLabel struct {

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

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

InitialVirtualNodeLabel The properties that define a key value pair.

func (InitialVirtualNodeLabel) String

func (m InitialVirtualNodeLabel) String() string

func (InitialVirtualNodeLabel) ValidateEnumValue

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

ValidateEnumValue returns an 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 InstallAddonDetails

type InstallAddonDetails struct {

	// The name of the addon.
	AddonName *string `mandatory:"true" json:"addonName"`

	// The version of addon to be installed.
	Version *string `mandatory:"false" json:"version"`

	// Addon configuration details.
	Configurations []AddonConfiguration `mandatory:"false" json:"configurations"`
}

InstallAddonDetails The properties that define to install/enable addon on a cluster

func (InstallAddonDetails) String

func (m InstallAddonDetails) String() string

func (InstallAddonDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 InstallAddonRequest

type InstallAddonRequest struct {

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

	// The details of the addon to be installed.
	InstallAddonDetails `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"`

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

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

InstallAddonRequest wrapper for the InstallAddon operation

See also

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

func (InstallAddonRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (InstallAddonRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (InstallAddonRequest) RetryPolicy

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

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

func (InstallAddonRequest) String

func (request InstallAddonRequest) String() string

func (InstallAddonRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 InstallAddonResponse

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

InstallAddonResponse wrapper for the InstallAddon operation

func (InstallAddonResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (InstallAddonResponse) String

func (response InstallAddonResponse) String() string

type KeyDetails

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

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

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

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

KeyValue The properties that define a key value pair.

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

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

KubernetesNetworkConfig The properties that define the network configuration for Kubernetes.

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 KubernetesVersionsFilters

type KubernetesVersionsFilters struct {

	// The earliest kubernetes version.
	MinimalVersion *string `mandatory:"false" json:"minimalVersion"`

	// The latest kubernetes version.
	MaximumVersion *string `mandatory:"false" json:"maximumVersion"`

	// The exact version of kubernetes that are compatible.
	ExactKubernetesVersions []string `mandatory:"false" json:"exactKubernetesVersions"`
}

KubernetesVersionsFilters The range of kubernetes versions an addon can be configured.

func (KubernetesVersionsFilters) String

func (m KubernetesVersionsFilters) String() string

func (KubernetesVersionsFilters) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListAddonOptionsRequest

type ListAddonOptionsRequest struct {

	// The kubernetes version to fetch the addons.
	KubernetesVersion *string `mandatory:"true" contributesTo:"query" name:"kubernetesVersion"`

	// The name of the addon.
	AddonName *string `mandatory:"false" contributesTo:"query" name:"addonName"`

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

	// 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 ListAddonOptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListAddonOptionsRequest wrapper for the ListAddonOptions operation

See also

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

func (ListAddonOptionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAddonOptionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAddonOptionsRequest) RetryPolicy

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

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

func (ListAddonOptionsRequest) String

func (request ListAddonOptionsRequest) String() string

func (ListAddonOptionsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListAddonOptionsResponse

type ListAddonOptionsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AddonOptionSummary instances
	Items []AddonOptionSummary `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"`
}

ListAddonOptionsResponse wrapper for the ListAddonOptions operation

func (ListAddonOptionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAddonOptionsResponse) String

func (response ListAddonOptionsResponse) String() string

type ListAddonOptionsSortByEnum

type ListAddonOptionsSortByEnum string

ListAddonOptionsSortByEnum Enum with underlying type: string

const (
	ListAddonOptionsSortByName        ListAddonOptionsSortByEnum = "NAME"
	ListAddonOptionsSortByTimeCreated ListAddonOptionsSortByEnum = "TIME_CREATED"
)

Set of constants representing the allowable values for ListAddonOptionsSortByEnum

func GetListAddonOptionsSortByEnumValues

func GetListAddonOptionsSortByEnumValues() []ListAddonOptionsSortByEnum

GetListAddonOptionsSortByEnumValues Enumerates the set of values for ListAddonOptionsSortByEnum

func GetMappingListAddonOptionsSortByEnum

func GetMappingListAddonOptionsSortByEnum(val string) (ListAddonOptionsSortByEnum, bool)

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

type ListAddonOptionsSortOrderEnum

type ListAddonOptionsSortOrderEnum string

ListAddonOptionsSortOrderEnum Enum with underlying type: string

const (
	ListAddonOptionsSortOrderAsc  ListAddonOptionsSortOrderEnum = "ASC"
	ListAddonOptionsSortOrderDesc ListAddonOptionsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAddonOptionsSortOrderEnum

func GetListAddonOptionsSortOrderEnumValues

func GetListAddonOptionsSortOrderEnumValues() []ListAddonOptionsSortOrderEnum

GetListAddonOptionsSortOrderEnumValues Enumerates the set of values for ListAddonOptionsSortOrderEnum

func GetMappingListAddonOptionsSortOrderEnum

func GetMappingListAddonOptionsSortOrderEnum(val string) (ListAddonOptionsSortOrderEnum, bool)

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

type ListAddonsRequest

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

	// 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 ListAddonsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListAddonsRequest wrapper for the ListAddons operation

See also

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

func (ListAddonsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAddonsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAddonsRequest) RetryPolicy

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

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

func (ListAddonsRequest) String

func (request ListAddonsRequest) String() string

func (ListAddonsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListAddonsResponse

type ListAddonsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []AddonSummary instances
	Items []AddonSummary `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"`
}

ListAddonsResponse wrapper for the ListAddons operation

func (ListAddonsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAddonsResponse) String

func (response ListAddonsResponse) String() string

type ListAddonsSortByEnum

type ListAddonsSortByEnum string

ListAddonsSortByEnum Enum with underlying type: string

const (
	ListAddonsSortByName        ListAddonsSortByEnum = "NAME"
	ListAddonsSortByTimeCreated ListAddonsSortByEnum = "TIME_CREATED"
)

Set of constants representing the allowable values for ListAddonsSortByEnum

func GetListAddonsSortByEnumValues

func GetListAddonsSortByEnumValues() []ListAddonsSortByEnum

GetListAddonsSortByEnumValues Enumerates the set of values for ListAddonsSortByEnum

func GetMappingListAddonsSortByEnum

func GetMappingListAddonsSortByEnum(val string) (ListAddonsSortByEnum, bool)

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

type ListAddonsSortOrderEnum

type ListAddonsSortOrderEnum string

ListAddonsSortOrderEnum Enum with underlying type: string

const (
	ListAddonsSortOrderAsc  ListAddonsSortOrderEnum = "ASC"
	ListAddonsSortOrderDesc ListAddonsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAddonsSortOrderEnum

func GetListAddonsSortOrderEnumValues

func GetListAddonsSortOrderEnumValues() []ListAddonsSortOrderEnum

GetListAddonsSortOrderEnumValues Enumerates the set of values for ListAddonsSortOrderEnum

func GetMappingListAddonsSortOrderEnum

func GetMappingListAddonsSortOrderEnum(val string) (ListAddonsSortOrderEnum, bool)

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

type 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. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm)
	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
}

ListClustersRequest wrapper for the ListClusters operation

See also

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

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

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

ListClustersResponse wrapper for the ListClusters operation

func (ListClustersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListClustersResponse) String

func (response ListClustersResponse) String() string

type ListClustersSortByEnum

type ListClustersSortByEnum string

ListClustersSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListClustersSortByEnum

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

type ListClustersSortOrderEnum string

ListClustersSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListClustersSortOrderEnum

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

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. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm)
	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
}

ListNodePoolsRequest wrapper for the ListNodePools operation

See also

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

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

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

ListNodePoolsResponse wrapper for the ListNodePools operation

func (ListNodePoolsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListNodePoolsResponse) String

func (response ListNodePoolsResponse) String() string

type ListNodePoolsSortByEnum

type ListNodePoolsSortByEnum string

ListNodePoolsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListNodePoolsSortByEnum

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

type ListNodePoolsSortOrderEnum string

ListNodePoolsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListNodePoolsSortOrderEnum

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 ListPodShapesRequest

type ListPodShapesRequest struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" 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"`

	// The availability domain of the pod shape.
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// 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 ListPodShapesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListPodShapesRequest wrapper for the ListPodShapes operation

See also

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

func (ListPodShapesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListPodShapesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListPodShapesRequest) RetryPolicy

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

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

func (ListPodShapesRequest) String

func (request ListPodShapesRequest) String() string

func (ListPodShapesRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListPodShapesResponse

type ListPodShapesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []PodShapeSummary instances
	Items []PodShapeSummary `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"`
}

ListPodShapesResponse wrapper for the ListPodShapes operation

func (ListPodShapesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListPodShapesResponse) String

func (response ListPodShapesResponse) String() string

type ListPodShapesSortByEnum

type ListPodShapesSortByEnum string

ListPodShapesSortByEnum Enum with underlying type: string

const (
	ListPodShapesSortById          ListPodShapesSortByEnum = "ID"
	ListPodShapesSortByName        ListPodShapesSortByEnum = "NAME"
	ListPodShapesSortByTimeCreated ListPodShapesSortByEnum = "TIME_CREATED"
)

Set of constants representing the allowable values for ListPodShapesSortByEnum

func GetListPodShapesSortByEnumValues

func GetListPodShapesSortByEnumValues() []ListPodShapesSortByEnum

GetListPodShapesSortByEnumValues Enumerates the set of values for ListPodShapesSortByEnum

func GetMappingListPodShapesSortByEnum

func GetMappingListPodShapesSortByEnum(val string) (ListPodShapesSortByEnum, bool)

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

type ListPodShapesSortOrderEnum

type ListPodShapesSortOrderEnum string

ListPodShapesSortOrderEnum Enum with underlying type: string

const (
	ListPodShapesSortOrderAsc  ListPodShapesSortOrderEnum = "ASC"
	ListPodShapesSortOrderDesc ListPodShapesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListPodShapesSortOrderEnum

func GetListPodShapesSortOrderEnumValues

func GetListPodShapesSortOrderEnumValues() []ListPodShapesSortOrderEnum

GetListPodShapesSortOrderEnumValues Enumerates the set of values for ListPodShapesSortOrderEnum

func GetMappingListPodShapesSortOrderEnum

func GetMappingListPodShapesSortOrderEnum(val string) (ListPodShapesSortOrderEnum, bool)

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

type ListVirtualNodePoolsRequest

type ListVirtualNodePoolsRequest struct {

	// The OCID of the compartment.
	CompartmentId *string `mandatory:"true" 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"`

	// 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 ListVirtualNodePoolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

	// A virtual node pool lifecycle state to filter on. Can have multiple parameters of this name.
	LifecycleState []VirtualNodePoolLifecycleStateEnum `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
}

ListVirtualNodePoolsRequest wrapper for the ListVirtualNodePools operation

See also

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

func (ListVirtualNodePoolsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVirtualNodePoolsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListVirtualNodePoolsRequest) RetryPolicy

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

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

func (ListVirtualNodePoolsRequest) String

func (request ListVirtualNodePoolsRequest) String() string

func (ListVirtualNodePoolsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListVirtualNodePoolsResponse

type ListVirtualNodePoolsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VirtualNodePoolSummary instances
	Items []VirtualNodePoolSummary `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"`
}

ListVirtualNodePoolsResponse wrapper for the ListVirtualNodePools operation

func (ListVirtualNodePoolsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVirtualNodePoolsResponse) String

func (response ListVirtualNodePoolsResponse) String() string

type ListVirtualNodePoolsSortByEnum

type ListVirtualNodePoolsSortByEnum string

ListVirtualNodePoolsSortByEnum Enum with underlying type: string

const (
	ListVirtualNodePoolsSortById          ListVirtualNodePoolsSortByEnum = "ID"
	ListVirtualNodePoolsSortByName        ListVirtualNodePoolsSortByEnum = "NAME"
	ListVirtualNodePoolsSortByTimeCreated ListVirtualNodePoolsSortByEnum = "TIME_CREATED"
)

Set of constants representing the allowable values for ListVirtualNodePoolsSortByEnum

func GetListVirtualNodePoolsSortByEnumValues

func GetListVirtualNodePoolsSortByEnumValues() []ListVirtualNodePoolsSortByEnum

GetListVirtualNodePoolsSortByEnumValues Enumerates the set of values for ListVirtualNodePoolsSortByEnum

func GetMappingListVirtualNodePoolsSortByEnum

func GetMappingListVirtualNodePoolsSortByEnum(val string) (ListVirtualNodePoolsSortByEnum, bool)

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

type ListVirtualNodePoolsSortOrderEnum

type ListVirtualNodePoolsSortOrderEnum string

ListVirtualNodePoolsSortOrderEnum Enum with underlying type: string

const (
	ListVirtualNodePoolsSortOrderAsc  ListVirtualNodePoolsSortOrderEnum = "ASC"
	ListVirtualNodePoolsSortOrderDesc ListVirtualNodePoolsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVirtualNodePoolsSortOrderEnum

func GetListVirtualNodePoolsSortOrderEnumValues

func GetListVirtualNodePoolsSortOrderEnumValues() []ListVirtualNodePoolsSortOrderEnum

GetListVirtualNodePoolsSortOrderEnumValues Enumerates the set of values for ListVirtualNodePoolsSortOrderEnum

func GetMappingListVirtualNodePoolsSortOrderEnum

func GetMappingListVirtualNodePoolsSortOrderEnum(val string) (ListVirtualNodePoolsSortOrderEnum, bool)

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

type ListVirtualNodesRequest

type ListVirtualNodesRequest struct {

	// The OCID of the virtual node pool.
	VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"`

	// 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 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 ListVirtualNodesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListVirtualNodesRequest wrapper for the ListVirtualNodes operation

See also

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

func (ListVirtualNodesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVirtualNodesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListVirtualNodesRequest) RetryPolicy

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

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

func (ListVirtualNodesRequest) String

func (request ListVirtualNodesRequest) String() string

func (ListVirtualNodesRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListVirtualNodesResponse

type ListVirtualNodesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []VirtualNodeSummary instances
	Items []VirtualNodeSummary `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"`
}

ListVirtualNodesResponse wrapper for the ListVirtualNodes operation

func (ListVirtualNodesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVirtualNodesResponse) String

func (response ListVirtualNodesResponse) String() string

type ListVirtualNodesSortByEnum

type ListVirtualNodesSortByEnum string

ListVirtualNodesSortByEnum Enum with underlying type: string

const (
	ListVirtualNodesSortById          ListVirtualNodesSortByEnum = "ID"
	ListVirtualNodesSortByName        ListVirtualNodesSortByEnum = "NAME"
	ListVirtualNodesSortByTimeCreated ListVirtualNodesSortByEnum = "TIME_CREATED"
)

Set of constants representing the allowable values for ListVirtualNodesSortByEnum

func GetListVirtualNodesSortByEnumValues

func GetListVirtualNodesSortByEnumValues() []ListVirtualNodesSortByEnum

GetListVirtualNodesSortByEnumValues Enumerates the set of values for ListVirtualNodesSortByEnum

func GetMappingListVirtualNodesSortByEnum

func GetMappingListVirtualNodesSortByEnum(val string) (ListVirtualNodesSortByEnum, bool)

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

type ListVirtualNodesSortOrderEnum

type ListVirtualNodesSortOrderEnum string

ListVirtualNodesSortOrderEnum Enum with underlying type: string

const (
	ListVirtualNodesSortOrderAsc  ListVirtualNodesSortOrderEnum = "ASC"
	ListVirtualNodesSortOrderDesc ListVirtualNodesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListVirtualNodesSortOrderEnum

func GetListVirtualNodesSortOrderEnumValues

func GetListVirtualNodesSortOrderEnumValues() []ListVirtualNodesSortOrderEnum

GetListVirtualNodesSortOrderEnumValues Enumerates the set of values for ListVirtualNodesSortOrderEnum

func GetMappingListVirtualNodesSortOrderEnum

func GetMappingListVirtualNodesSortOrderEnum(val string) (ListVirtualNodesSortOrderEnum, bool)

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

type 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
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

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

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

	// The 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
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

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

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The 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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

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

type ListWorkRequestsResourceTypeEnum string

ListWorkRequestsResourceTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestsResourceTypeEnum

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

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

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

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

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 ListWorkloadMappingsRequest

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

	// 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 ListWorkloadMappingsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

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

ListWorkloadMappingsRequest wrapper for the ListWorkloadMappings operation

See also

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

func (ListWorkloadMappingsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkloadMappingsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkloadMappingsRequest) RetryPolicy

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

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

func (ListWorkloadMappingsRequest) String

func (request ListWorkloadMappingsRequest) String() string

func (ListWorkloadMappingsRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 ListWorkloadMappingsResponse

type ListWorkloadMappingsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkloadMappingSummary instances
	Items []WorkloadMappingSummary `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"`
}

ListWorkloadMappingsResponse wrapper for the ListWorkloadMappings operation

func (ListWorkloadMappingsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkloadMappingsResponse) String

func (response ListWorkloadMappingsResponse) String() string

type ListWorkloadMappingsSortByEnum

type ListWorkloadMappingsSortByEnum string

ListWorkloadMappingsSortByEnum Enum with underlying type: string

const (
	ListWorkloadMappingsSortByNamespace   ListWorkloadMappingsSortByEnum = "NAMESPACE"
	ListWorkloadMappingsSortByTimecreated ListWorkloadMappingsSortByEnum = "TIMECREATED"
)

Set of constants representing the allowable values for ListWorkloadMappingsSortByEnum

func GetListWorkloadMappingsSortByEnumValues

func GetListWorkloadMappingsSortByEnumValues() []ListWorkloadMappingsSortByEnum

GetListWorkloadMappingsSortByEnumValues Enumerates the set of values for ListWorkloadMappingsSortByEnum

func GetMappingListWorkloadMappingsSortByEnum

func GetMappingListWorkloadMappingsSortByEnum(val string) (ListWorkloadMappingsSortByEnum, bool)

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

type ListWorkloadMappingsSortOrderEnum

type ListWorkloadMappingsSortOrderEnum string

ListWorkloadMappingsSortOrderEnum Enum with underlying type: string

const (
	ListWorkloadMappingsSortOrderAsc  ListWorkloadMappingsSortOrderEnum = "ASC"
	ListWorkloadMappingsSortOrderDesc ListWorkloadMappingsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkloadMappingsSortOrderEnum

func GetListWorkloadMappingsSortOrderEnumValues

func GetListWorkloadMappingsSortOrderEnumValues() []ListWorkloadMappingsSortOrderEnum

GetListWorkloadMappingsSortOrderEnumValues Enumerates the set of values for ListWorkloadMappingsSortOrderEnum

func GetMappingListWorkloadMappingsSortOrderEnum

func GetMappingListWorkloadMappingsSortOrderEnum(val string) (ListWorkloadMappingsSortOrderEnum, bool)

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

type 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. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm)
	LifecycleState NodeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

Node The properties that define a node.

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

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

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

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

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

NodeEvictionNodePoolSettings Node Eviction Details configuration

func (NodeEvictionNodePoolSettings) 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

type NodeLifecycleStateEnum string

NodeLifecycleStateEnum Enum with underlying type: string

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

Set of constants representing the allowable values for NodeLifecycleStateEnum

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

type NodePool struct {

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

	// The state of the nodepool. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm)
	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"`

	NodePoolCyclingDetails *NodePoolCyclingDetails `mandatory:"false" json:"nodePoolCyclingDetails"`
}

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

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 NodePoolCyclingDetails

type NodePoolCyclingDetails struct {

	// Maximum active nodes that would be terminated from nodepool during the cycling nodepool process.
	// OKE supports both integer and percentage input.
	// Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100%
	MaximumUnavailable *string `mandatory:"false" json:"maximumUnavailable"`

	// Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process.
	// OKE supports both integer and percentage input.
	// Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100%
	MaximumSurge *string `mandatory:"false" json:"maximumSurge"`

	// If nodes in the nodepool will be cycled to have new changes.
	IsNodeCyclingEnabled *bool `mandatory:"false" json:"isNodeCyclingEnabled"`
}

NodePoolCyclingDetails Node Pool Cycling Details

func (NodePoolCyclingDetails) String

func (m NodePoolCyclingDetails) String() string

func (NodePoolCyclingDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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

type NodePoolLifecycleStateEnum string

NodePoolLifecycleStateEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for NodePoolLifecycleStateEnum

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

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

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

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

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

NodePoolOptions Options for creating or updating node pools.

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

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

	PreemptibleNodeConfig *PreemptibleNodeConfigDetails `mandatory:"false" json:"preemptibleNodeConfig"`

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

NodePoolPlacementConfigDetails The location where a node pool will place nodes.

func (NodePoolPlacementConfigDetails) 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

type NodePoolPodNetworkOptionDetails interface {
}

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

type NodePoolPodNetworkOptionDetailsCniTypeEnum

type NodePoolPodNetworkOptionDetailsCniTypeEnum string

NodePoolPodNetworkOptionDetailsCniTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for NodePoolPodNetworkOptionDetailsCniTypeEnum

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

type NodePoolSummary struct {

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

	// The state of the nodepool. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm)
	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"`

	NodePoolCyclingDetails *NodePoolCyclingDetails `mandatory:"false" json:"nodePoolCyclingDetails"`
}

NodePoolSummary The properties that define a node pool summary.

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

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

NodeShapeConfig The shape configuration of the nodes.

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

type NodeSourceDetails interface {
}

NodeSourceDetails The details of the node's source.

type NodeSourceOption

type NodeSourceOption interface {

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

NodeSourceOption The source option for the node.

type NodeSourceTypeEnum

type NodeSourceTypeEnum string

NodeSourceTypeEnum Enum with underlying type: string

const (
	NodeSourceTypeImage NodeSourceTypeEnum = "IMAGE"
)

Set of constants representing the allowable values for NodeSourceTypeEnum

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

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

NodeSourceViaImageDetails Details of the image running on the node.

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

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

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

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

type OciVcnIpNativeClusterPodNetworkOptionDetails struct {
}

OciVcnIpNativeClusterPodNetworkOptionDetails Network options specific to using the OCI VCN Native CNI

func (OciVcnIpNativeClusterPodNetworkOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (OciVcnIpNativeClusterPodNetworkOptionDetails) 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

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

OciVcnIpNativeNodePoolPodNetworkOptionDetails Network options specific to using the OCI VCN Native CNI

func (OciVcnIpNativeNodePoolPodNetworkOptionDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (OciVcnIpNativeNodePoolPodNetworkOptionDetails) 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

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

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

func (PersistentVolumeConfigDetails) 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 PlacementConfiguration

type PlacementConfiguration struct {

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

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

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

PlacementConfiguration The information of virtual node placement in the virtual node pool.

func (PlacementConfiguration) String

func (m PlacementConfiguration) String() string

func (PlacementConfiguration) ValidateEnumValue

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

ValidateEnumValue returns an 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 PodConfiguration

type PodConfiguration struct {

	// The regional subnet where pods' VNIC will be placed.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// Shape of the pods.
	Shape *string `mandatory:"true" json:"shape"`

	// List of network security group IDs applied to the Pod VNIC.
	NsgIds []string `mandatory:"false" json:"nsgIds"`
}

PodConfiguration The pod configuration for pods run on virtual nodes of this virtual node pool.

func (PodConfiguration) String

func (m PodConfiguration) String() string

func (PodConfiguration) ValidateEnumValue

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

ValidateEnumValue returns an 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 PodShape

type PodShape struct {

	// The name of the identifying shape.
	Name *string `mandatory:"true" json:"name"`

	// A short description of the VM's processor (CPU).
	ProcessorDescription *string `mandatory:"false" json:"processorDescription"`

	// Options for OCPU shape.
	OcpuOptions []ShapeOcpuOptions `mandatory:"false" json:"ocpuOptions"`

	// ShapeMemoryOptions.
	MemoryOptions []ShapeMemoryOptions `mandatory:"false" json:"memoryOptions"`

	// ShapeNetworkBandwidthOptions.
	NetworkBandwidthOptions []ShapeNetworkBandwidthOptions `mandatory:"false" json:"networkBandwidthOptions"`
}

PodShape Pod shape.

func (PodShape) String

func (m PodShape) String() string

func (PodShape) ValidateEnumValue

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

ValidateEnumValue returns an 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 PodShapeSummary

type PodShapeSummary struct {

	// The name of the identifying shape.
	Name *string `mandatory:"true" json:"name"`

	// A short description of the VM's processor (CPU).
	ProcessorDescription *string `mandatory:"false" json:"processorDescription"`

	// Options for OCPU shape.
	OcpuOptions []ShapeOcpuOptions `mandatory:"false" json:"ocpuOptions"`

	// ShapeMemoryOptions.
	MemoryOptions []ShapeMemoryOptions `mandatory:"false" json:"memoryOptions"`

	// ShapeNetworkBandwidthOptions.
	NetworkBandwidthOptions []ShapeNetworkBandwidthOptions `mandatory:"false" json:"networkBandwidthOptions"`
}

PodShapeSummary Pod shape.

func (PodShapeSummary) String

func (m PodShapeSummary) String() string

func (PodShapeSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 PreemptibleNodeConfigDetails

type PreemptibleNodeConfigDetails struct {
	PreemptionAction PreemptionAction `mandatory:"true" json:"preemptionAction"`
}

PreemptibleNodeConfigDetails Configuration options for preemptible nodes.

func (PreemptibleNodeConfigDetails) String

func (*PreemptibleNodeConfigDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (PreemptibleNodeConfigDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 PreemptionAction

type PreemptionAction interface {
}

PreemptionAction The action to run when the preemptible node is interrupted for eviction.

type PreemptionActionTypeEnum

type PreemptionActionTypeEnum string

PreemptionActionTypeEnum Enum with underlying type: string

const (
	PreemptionActionTypeTerminate PreemptionActionTypeEnum = "TERMINATE"
)

Set of constants representing the allowable values for PreemptionActionTypeEnum

func GetMappingPreemptionActionTypeEnum

func GetMappingPreemptionActionTypeEnum(val string) (PreemptionActionTypeEnum, bool)

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

func GetPreemptionActionTypeEnumValues

func GetPreemptionActionTypeEnumValues() []PreemptionActionTypeEnum

GetPreemptionActionTypeEnumValues Enumerates the set of values for PreemptionActionTypeEnum

type ServiceLbConfigDetails

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

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

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 ShapeMemoryOptions

type ShapeMemoryOptions struct {

	// The minimum amount of memory, in gigabytes.
	MinInGBs *float32 `mandatory:"false" json:"minInGBs"`

	// The maximum amount of memory, in gigabytes.
	MaxInGBs *float32 `mandatory:"false" json:"maxInGBs"`

	// The default amount of memory per OCPU available for this shape, in gigabytes.
	DefaultPerOcpuInGBs *float32 `mandatory:"false" json:"defaultPerOcpuInGBs"`

	// The minimum amount of memory per OCPU available for this shape, in gigabytes.
	MinPerOcpuInGBs *float32 `mandatory:"false" json:"minPerOcpuInGBs"`

	// The maximum amount of memory per OCPU available for this shape, in gigabytes.
	MaxPerOcpuInGBs *float32 `mandatory:"false" json:"maxPerOcpuInGBs"`
}

ShapeMemoryOptions Memory properties.

func (ShapeMemoryOptions) String

func (m ShapeMemoryOptions) String() string

func (ShapeMemoryOptions) ValidateEnumValue

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

ValidateEnumValue returns an 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 ShapeNetworkBandwidthOptions

type ShapeNetworkBandwidthOptions struct {

	// The minimum amount of networking bandwidth, in gigabits per second.
	MinInGbps *float32 `mandatory:"false" json:"minInGbps"`

	// The maximum amount of networking bandwidth, in gigabits per second.
	MaxInGbps *float32 `mandatory:"false" json:"maxInGbps"`

	// The default amount of networking bandwidth per OCPU, in gigabits per second.
	DefaultPerOcpuInGbps *float32 `mandatory:"false" json:"defaultPerOcpuInGbps"`
}

ShapeNetworkBandwidthOptions Properties of network bandwidth.

func (ShapeNetworkBandwidthOptions) String

func (ShapeNetworkBandwidthOptions) ValidateEnumValue

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

ValidateEnumValue returns an 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 ShapeOcpuOptions

type ShapeOcpuOptions struct {

	// The minimum number of OCPUs.
	Min *float32 `mandatory:"false" json:"min"`

	// The maximum number of OCPUs.
	Max *float32 `mandatory:"false" json:"max"`
}

ShapeOcpuOptions Properties of OCPUs.

func (ShapeOcpuOptions) String

func (m ShapeOcpuOptions) String() string

func (ShapeOcpuOptions) ValidateEnumValue

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

ValidateEnumValue returns an 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

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrderEnum

func 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 StartCredentialRotationDetails

type StartCredentialRotationDetails struct {

	// The duration in days(in ISO 8601 notation eg. P5D) after which the old credentials should be retired. Maximum delay duration is 90 days.
	AutoCompletionDelayDuration *string `mandatory:"true" json:"autoCompletionDelayDuration"`
}

StartCredentialRotationDetails Properties that define a request to start credential rotation on a kubernetes cluster.

func (StartCredentialRotationDetails) String

func (StartCredentialRotationDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 StartCredentialRotationRequest

type StartCredentialRotationRequest struct {

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

	// The details for a kubernetes cluster to start credential rotation.
	StartCredentialRotationDetails `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"`

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

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

StartCredentialRotationRequest wrapper for the StartCredentialRotation operation

See also

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

func (StartCredentialRotationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StartCredentialRotationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StartCredentialRotationRequest) RetryPolicy

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

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

func (StartCredentialRotationRequest) String

func (request StartCredentialRotationRequest) String() string

func (StartCredentialRotationRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 StartCredentialRotationResponse

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

StartCredentialRotationResponse wrapper for the StartCredentialRotation operation

func (StartCredentialRotationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StartCredentialRotationResponse) String

func (response StartCredentialRotationResponse) String() string

type Taint

type Taint struct {

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

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

	// The effect of the pair.
	Effect *string `mandatory:"false" json:"effect"`
}

Taint taints

func (Taint) String

func (m Taint) String() string

func (Taint) ValidateEnumValue

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

ValidateEnumValue returns an 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 TerminatePreemptionAction

type TerminatePreemptionAction struct {

	// Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
	IsPreserveBootVolume *bool `mandatory:"false" json:"isPreserveBootVolume"`
}

TerminatePreemptionAction Terminates the preemptible instance when it is interrupted for eviction.

func (TerminatePreemptionAction) MarshalJSON

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

MarshalJSON marshals to json representation

func (TerminatePreemptionAction) String

func (m TerminatePreemptionAction) String() string

func (TerminatePreemptionAction) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateAddonDetails

type UpdateAddonDetails struct {

	// The version of the installed addon.
	Version *string `mandatory:"false" json:"version"`

	// Addon configuration details.
	Configurations []AddonConfiguration `mandatory:"false" json:"configurations"`
}

UpdateAddonDetails The properties that define to update addon details.

func (UpdateAddonDetails) String

func (m UpdateAddonDetails) String() string

func (UpdateAddonDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateAddonRequest

type UpdateAddonRequest struct {

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

	// The name of the addon.
	AddonName *string `mandatory:"true" contributesTo:"path" name:"addonName"`

	// The details of the addon to be updated.
	UpdateAddonDetails `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
}

UpdateAddonRequest wrapper for the UpdateAddon operation

See also

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

func (UpdateAddonRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateAddonRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateAddonRequest) RetryPolicy

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

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

func (UpdateAddonRequest) String

func (request UpdateAddonRequest) String() string

func (UpdateAddonRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateAddonResponse

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

UpdateAddonResponse wrapper for the UpdateAddon operation

func (UpdateAddonResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateAddonResponse) String

func (response UpdateAddonResponse) String() string

type UpdateClusterDetails

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

	// Type of cluster
	Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"`
}

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

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

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

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

func (UpdateClusterEndpointConfigDetails) 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

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
}

UpdateClusterEndpointConfigRequest wrapper for the UpdateClusterEndpointConfig operation

See also

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

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

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

UpdateClusterEndpointConfigResponse wrapper for the UpdateClusterEndpointConfig operation

func (UpdateClusterEndpointConfigResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateClusterEndpointConfigResponse) String

func (response UpdateClusterEndpointConfigResponse) String() string

type UpdateClusterOptionsDetails

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

UpdateClusterOptionsDetails The properties that define extra options updating a cluster.

func (UpdateClusterOptionsDetails) 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

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
}

UpdateClusterRequest wrapper for the UpdateCluster operation

See also

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

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

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

UpdateClusterResponse wrapper for the UpdateCluster operation

func (UpdateClusterResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateClusterResponse) String

func (response UpdateClusterResponse) String() string

type UpdateImagePolicyConfigDetails

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

UpdateImagePolicyConfigDetails The properties that define a image verification policy.

func (UpdateImagePolicyConfigDetails) 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

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

	NodePoolCyclingDetails *NodePoolCyclingDetails `mandatory:"false" json:"nodePoolCyclingDetails"`
}

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

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

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

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

func (UpdateNodePoolNodeConfigDetails) 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

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
}

UpdateNodePoolRequest wrapper for the UpdateNodePool operation

See also

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

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

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

UpdateNodePoolResponse wrapper for the UpdateNodePool operation

func (UpdateNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateNodePoolResponse) String

func (response UpdateNodePoolResponse) String() string

type UpdateNodeShapeConfigDetails

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

UpdateNodeShapeConfigDetails The shape configuration of the nodes.

func (UpdateNodeShapeConfigDetails) 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 UpdateVirtualNodePoolDetails

type UpdateVirtualNodePoolDetails struct {

	// Display name of the virtual node pool. This is a non-unique value.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
	InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"`

	// A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
	Taints []Taint `mandatory:"false" json:"taints"`

	// The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
	Size *int `mandatory:"false" json:"size"`

	// The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
	PlacementConfigurations []PlacementConfiguration `mandatory:"false" json:"placementConfigurations"`

	// List of network security group id's applied to the Virtual Node VNIC.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The pod configuration for pods run on virtual nodes of this virtual node pool.
	PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"`

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

	VirtualNodeTags *VirtualNodeTags `mandatory:"false" json:"virtualNodeTags"`
}

UpdateVirtualNodePoolDetails The properties that define a request to update a virtual node pool.

func (UpdateVirtualNodePoolDetails) String

func (UpdateVirtualNodePoolDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateVirtualNodePoolRequest

type UpdateVirtualNodePoolRequest struct {

	// The OCID of the virtual node pool.
	VirtualNodePoolId *string `mandatory:"true" contributesTo:"path" name:"virtualNodePoolId"`

	// The fields to update in a virtual node pool.
	UpdateVirtualNodePoolDetails `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
}

UpdateVirtualNodePoolRequest wrapper for the UpdateVirtualNodePool operation

See also

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

func (UpdateVirtualNodePoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateVirtualNodePoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateVirtualNodePoolRequest) RetryPolicy

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

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

func (UpdateVirtualNodePoolRequest) String

func (request UpdateVirtualNodePoolRequest) String() string

func (UpdateVirtualNodePoolRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateVirtualNodePoolResponse

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

UpdateVirtualNodePoolResponse wrapper for the UpdateVirtualNodePool operation

func (UpdateVirtualNodePoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateVirtualNodePoolResponse) String

func (response UpdateVirtualNodePoolResponse) String() string

type UpdateWorkloadMappingDetails

type UpdateWorkloadMappingDetails struct {

	// The OCID of the mapped customer compartment.
	MappedCompartmentId *string `mandatory:"false" json:"mappedCompartmentId"`

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

UpdateWorkloadMappingDetails The properties that define a workloadMapping

func (UpdateWorkloadMappingDetails) String

func (UpdateWorkloadMappingDetails) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateWorkloadMappingRequest

type UpdateWorkloadMappingRequest struct {

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

	// The OCID of the workloadMapping.
	WorkloadMappingId *string `mandatory:"true" contributesTo:"path" name:"workloadMappingId"`

	// The details of the workloadMapping to be updated.
	UpdateWorkloadMappingDetails `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
}

UpdateWorkloadMappingRequest wrapper for the UpdateWorkloadMapping operation

See also

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

func (UpdateWorkloadMappingRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateWorkloadMappingRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateWorkloadMappingRequest) RetryPolicy

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

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

func (UpdateWorkloadMappingRequest) String

func (request UpdateWorkloadMappingRequest) String() string

func (UpdateWorkloadMappingRequest) ValidateEnumValue

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

ValidateEnumValue returns an 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 UpdateWorkloadMappingResponse

type UpdateWorkloadMappingResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

UpdateWorkloadMappingResponse wrapper for the UpdateWorkloadMapping operation

func (UpdateWorkloadMappingResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateWorkloadMappingResponse) String

func (response UpdateWorkloadMappingResponse) String() string

type VirtualNode

type VirtualNode struct {

	// The ocid of the virtual node.
	Id *string `mandatory:"true" json:"id"`

	// The name of the virtual node.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The ocid of the virtual node pool this virtual node belongs to.
	VirtualNodePoolId *string `mandatory:"true" json:"virtualNodePoolId"`

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

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

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

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

	// NSG Ids applied to virtual node vnic.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

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

	// An error that may be associated with the virtual node.
	VirtualNodeError *string `mandatory:"false" json:"virtualNodeError"`

	// The state of the Virtual Node.
	LifecycleState VirtualNodeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

	// The time at which the virtual node was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

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

VirtualNode The properties that define a virtual node.

func (VirtualNode) String

func (m VirtualNode) String() string

func (VirtualNode) ValidateEnumValue

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

ValidateEnumValue returns an 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 VirtualNodeLifecycleStateEnum

type VirtualNodeLifecycleStateEnum string

VirtualNodeLifecycleStateEnum Enum with underlying type: string

const (
	VirtualNodeLifecycleStateCreating       VirtualNodeLifecycleStateEnum = "CREATING"
	VirtualNodeLifecycleStateActive         VirtualNodeLifecycleStateEnum = "ACTIVE"
	VirtualNodeLifecycleStateUpdating       VirtualNodeLifecycleStateEnum = "UPDATING"
	VirtualNodeLifecycleStateDeleting       VirtualNodeLifecycleStateEnum = "DELETING"
	VirtualNodeLifecycleStateDeleted        VirtualNodeLifecycleStateEnum = "DELETED"
	VirtualNodeLifecycleStateFailed         VirtualNodeLifecycleStateEnum = "FAILED"
	VirtualNodeLifecycleStateNeedsAttention VirtualNodeLifecycleStateEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for VirtualNodeLifecycleStateEnum

func GetMappingVirtualNodeLifecycleStateEnum

func GetMappingVirtualNodeLifecycleStateEnum(val string) (VirtualNodeLifecycleStateEnum, bool)

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

func GetVirtualNodeLifecycleStateEnumValues

func GetVirtualNodeLifecycleStateEnumValues() []VirtualNodeLifecycleStateEnum

GetVirtualNodeLifecycleStateEnumValues Enumerates the set of values for VirtualNodeLifecycleStateEnum

type VirtualNodePool

type VirtualNodePool struct {

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

	// Compartment of the virtual node pool.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
	ClusterId *string `mandatory:"true" json:"clusterId"`

	// Display name of the virtual node pool. This is a non-unique value.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
	PlacementConfigurations []PlacementConfiguration `mandatory:"true" json:"placementConfigurations"`

	// Initial labels that will be added to the Kubernetes Virtual Node object when it registers. This is the same as virtualNodePool resources.
	InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"`

	// A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
	Taints []Taint `mandatory:"false" json:"taints"`

	// The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
	Size *int `mandatory:"false" json:"size"`

	// List of network security group id's applied to the Virtual Node VNIC.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The pod configuration for pods run on virtual nodes of this virtual node pool.
	PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"`

	// The state of the Virtual Node Pool.
	LifecycleState VirtualNodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

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

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

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

	VirtualNodeTags *VirtualNodeTags `mandatory:"false" json:"virtualNodeTags"`
}

VirtualNodePool A pool of virtual nodes attached to a cluster.

func (VirtualNodePool) String

func (m VirtualNodePool) String() string

func (VirtualNodePool) ValidateEnumValue

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

ValidateEnumValue returns an 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 VirtualNodePoolLifecycleStateEnum

type VirtualNodePoolLifecycleStateEnum string

VirtualNodePoolLifecycleStateEnum Enum with underlying type: string

const (
	VirtualNodePoolLifecycleStateCreating       VirtualNodePoolLifecycleStateEnum = "CREATING"
	VirtualNodePoolLifecycleStateActive         VirtualNodePoolLifecycleStateEnum = "ACTIVE"
	VirtualNodePoolLifecycleStateUpdating       VirtualNodePoolLifecycleStateEnum = "UPDATING"
	VirtualNodePoolLifecycleStateDeleting       VirtualNodePoolLifecycleStateEnum = "DELETING"
	VirtualNodePoolLifecycleStateDeleted        VirtualNodePoolLifecycleStateEnum = "DELETED"
	VirtualNodePoolLifecycleStateFailed         VirtualNodePoolLifecycleStateEnum = "FAILED"
	VirtualNodePoolLifecycleStateNeedsAttention VirtualNodePoolLifecycleStateEnum = "NEEDS_ATTENTION"
)

Set of constants representing the allowable values for VirtualNodePoolLifecycleStateEnum

func GetMappingVirtualNodePoolLifecycleStateEnum

func GetMappingVirtualNodePoolLifecycleStateEnum(val string) (VirtualNodePoolLifecycleStateEnum, bool)

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

func GetVirtualNodePoolLifecycleStateEnumValues

func GetVirtualNodePoolLifecycleStateEnumValues() []VirtualNodePoolLifecycleStateEnum

GetVirtualNodePoolLifecycleStateEnumValues Enumerates the set of values for VirtualNodePoolLifecycleStateEnum

type VirtualNodePoolSummary

type VirtualNodePoolSummary struct {

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

	// Compartment of the virtual node pool.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.
	ClusterId *string `mandatory:"true" json:"clusterId"`

	// Display name of the virtual node pool. This is a non-unique value.
	DisplayName *string `mandatory:"true" json:"displayName"`

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

	// The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations
	PlacementConfigurations []PlacementConfiguration `mandatory:"true" json:"placementConfigurations"`

	// Initial labels that will be added to the Kubernetes Virtual Node object when it registers. This is the same as virtualNodePool resources.
	InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"`

	// A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.
	Taints []Taint `mandatory:"false" json:"taints"`

	// The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.
	Size *int `mandatory:"false" json:"size"`

	// List of network security group id's applied to the Virtual Node VNIC.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

	// The pod configuration for pods run on virtual nodes of this virtual node pool.
	PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"`

	// The state of the Virtual Node Pool.
	LifecycleState VirtualNodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

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

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

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

	VirtualNodeTags *VirtualNodeTags `mandatory:"false" json:"virtualNodeTags"`
}

VirtualNodePoolSummary The properties that define a virtual node pool summary.

func (VirtualNodePoolSummary) String

func (m VirtualNodePoolSummary) String() string

func (VirtualNodePoolSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 VirtualNodeSummary

type VirtualNodeSummary struct {

	// The ocid of the virtual node.
	Id *string `mandatory:"true" json:"id"`

	// The name of the virtual node.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The ocid of the virtual node pool this virtual node belongs to.
	VirtualNodePoolId *string `mandatory:"true" json:"virtualNodePoolId"`

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

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

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

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

	// NSG Ids applied to virtual node vnic.
	NsgIds []string `mandatory:"false" json:"nsgIds"`

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

	// An error that may be associated with the virtual node.
	VirtualNodeError *string `mandatory:"false" json:"virtualNodeError"`

	// The state of the Virtual Node.
	LifecycleState VirtualNodeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

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

	// The time at which the virtual node was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

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

VirtualNodeSummary The properties that define a virtual node summary.

func (VirtualNodeSummary) String

func (m VirtualNodeSummary) String() string

func (VirtualNodeSummary) ValidateEnumValue

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

ValidateEnumValue returns an 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 VirtualNodeTags

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

VirtualNodeTags The tags associated to the virtual nodes in this virtual node pool.

func (VirtualNodeTags) String

func (m VirtualNodeTags) String() string

func (VirtualNodeTags) ValidateEnumValue

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

ValidateEnumValue returns an 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

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

WorkRequest An asynchronous work request.

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

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

WorkRequestError Errors related to a specific work request.

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

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

WorkRequestLogEntry Log entries related to a specific work request.

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

type WorkRequestOperationTypeEnum string

WorkRequestOperationTypeEnum Enum with underlying type: string

const (
	WorkRequestOperationTypeClusterCreate         WorkRequestOperationTypeEnum = "CLUSTER_CREATE"
	WorkRequestOperationTypeClusterUpdate         WorkRequestOperationTypeEnum = "CLUSTER_UPDATE"
	WorkRequestOperationTypeClusterDelete         WorkRequestOperationTypeEnum = "CLUSTER_DELETE"
	WorkRequestOperationTypeCreateNamespace       WorkRequestOperationTypeEnum = "CREATE_NAMESPACE"
	WorkRequestOperationTypeNodepoolCreate        WorkRequestOperationTypeEnum = "NODEPOOL_CREATE"
	WorkRequestOperationTypeNodepoolUpdate        WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE"
	WorkRequestOperationTypeNodepoolDelete        WorkRequestOperationTypeEnum = "NODEPOOL_DELETE"
	WorkRequestOperationTypeNodepoolReconcile     WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE"
	WorkRequestOperationTypeNodepoolCycling       WorkRequestOperationTypeEnum = "NODEPOOL_CYCLING"
	WorkRequestOperationTypeWorkrequestCancel     WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL"
	WorkRequestOperationTypeVirtualnodepoolCreate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_CREATE"
	WorkRequestOperationTypeVirtualnodepoolUpdate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_UPDATE"
	WorkRequestOperationTypeVirtualnodepoolDelete WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_DELETE"
	WorkRequestOperationTypeVirtualnodeDelete     WorkRequestOperationTypeEnum = "VIRTUALNODE_DELETE"
	WorkRequestOperationTypeEnableAddon           WorkRequestOperationTypeEnum = "ENABLE_ADDON"
	WorkRequestOperationTypeUpdateAddon           WorkRequestOperationTypeEnum = "UPDATE_ADDON"
	WorkRequestOperationTypeDisableAddon          WorkRequestOperationTypeEnum = "DISABLE_ADDON"
	WorkRequestOperationTypeReconcileAddon        WorkRequestOperationTypeEnum = "RECONCILE_ADDON"
)

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

const (
	WorkRequestSummaryOperationTypeClusterCreate         WorkRequestOperationTypeEnum = "CLUSTER_CREATE"
	WorkRequestSummaryOperationTypeClusterUpdate         WorkRequestOperationTypeEnum = "CLUSTER_UPDATE"
	WorkRequestSummaryOperationTypeClusterDelete         WorkRequestOperationTypeEnum = "CLUSTER_DELETE"
	WorkRequestSummaryOperationTypeCreateNamespace       WorkRequestOperationTypeEnum = "CREATE_NAMESPACE"
	WorkRequestSummaryOperationTypeNodepoolCreate        WorkRequestOperationTypeEnum = "NODEPOOL_CREATE"
	WorkRequestSummaryOperationTypeNodepoolUpdate        WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE"
	WorkRequestSummaryOperationTypeNodepoolDelete        WorkRequestOperationTypeEnum = "NODEPOOL_DELETE"
	WorkRequestSummaryOperationTypeNodepoolReconcile     WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE"
	WorkRequestSummaryOperationTypeNodepoolCycling       WorkRequestOperationTypeEnum = "NODEPOOL_CYCLING"
	WorkRequestSummaryOperationTypeWorkrequestCancel     WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL"
	WorkRequestSummaryOperationTypeVirtualnodepoolCreate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_CREATE"
	WorkRequestSummaryOperationTypeVirtualnodepoolUpdate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_UPDATE"
	WorkRequestSummaryOperationTypeVirtualnodepoolDelete WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_DELETE"
	WorkRequestSummaryOperationTypeVirtualnodeDelete     WorkRequestOperationTypeEnum = "VIRTUALNODE_DELETE"
	WorkRequestSummaryOperationTypeEnableAddon           WorkRequestOperationTypeEnum = "ENABLE_ADDON"
	WorkRequestSummaryOperationTypeUpdateAddon           WorkRequestOperationTypeEnum = "UPDATE_ADDON"
	WorkRequestSummaryOperationTypeDisableAddon          WorkRequestOperationTypeEnum = "DISABLE_ADDON"
	WorkRequestSummaryOperationTypeReconcileAddon        WorkRequestOperationTypeEnum = "RECONCILE_ADDON"
)

Set of constants representing the allowable values for WorkRequestOperationTypeEnum Deprecated

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

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

WorkRequestResource The properties that define a work request resource.

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

type WorkRequestResourceActionTypeEnum string

WorkRequestResourceActionTypeEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

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

type WorkRequestStatusEnum string

WorkRequestStatusEnum Enum with underlying type: string

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

const (
	WorkRequestSummaryStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
	WorkRequestSummaryStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
	WorkRequestSummaryStatusFailed     WorkRequestStatusEnum = "FAILED"
	WorkRequestSummaryStatusSucceeded  WorkRequestStatusEnum = "SUCCEEDED"
	WorkRequestSummaryStatusCanceling  WorkRequestStatusEnum = "CANCELING"
	WorkRequestSummaryStatusCanceled   WorkRequestStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for WorkRequestStatusEnum Deprecated

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

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

WorkRequestSummary The properties that define a work request summary.

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

type WorkRequestSummaryOperationTypeEnum = WorkRequestOperationTypeEnum

WorkRequestSummaryOperationTypeEnum is an alias to type: WorkRequestOperationTypeEnum Consider using WorkRequestOperationTypeEnum instead Deprecated

type WorkRequestSummaryStatusEnum

type WorkRequestSummaryStatusEnum = WorkRequestStatusEnum

WorkRequestSummaryStatusEnum is an alias to type: WorkRequestStatusEnum Consider using WorkRequestStatusEnum instead Deprecated

type WorkloadMapping

type WorkloadMapping struct {

	// The ocid of the workloadMapping.
	Id *string `mandatory:"true" json:"id"`

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

	// The namespace of the workloadMapping.
	Namespace *string `mandatory:"true" json:"namespace"`

	// The OCID of the mapped customer tenancy.
	MappedTenancyId *string `mandatory:"true" json:"mappedTenancyId"`

	// The OCID of the mapped customer compartment.
	MappedCompartmentId *string `mandatory:"true" json:"mappedCompartmentId"`

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

	// The state of the workloadMapping.
	LifecycleState WorkloadMappingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

WorkloadMapping The properties that define an workloadMapping.

func (WorkloadMapping) String

func (m WorkloadMapping) String() string

func (WorkloadMapping) ValidateEnumValue

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

ValidateEnumValue returns an 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 WorkloadMappingLifecycleStateEnum

type WorkloadMappingLifecycleStateEnum string

WorkloadMappingLifecycleStateEnum Enum with underlying type: string

const (
	WorkloadMappingLifecycleStateCreating WorkloadMappingLifecycleStateEnum = "CREATING"
	WorkloadMappingLifecycleStateActive   WorkloadMappingLifecycleStateEnum = "ACTIVE"
	WorkloadMappingLifecycleStateFailed   WorkloadMappingLifecycleStateEnum = "FAILED"
	WorkloadMappingLifecycleStateDeleting WorkloadMappingLifecycleStateEnum = "DELETING"
	WorkloadMappingLifecycleStateDeleted  WorkloadMappingLifecycleStateEnum = "DELETED"
	WorkloadMappingLifecycleStateUpdating WorkloadMappingLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for WorkloadMappingLifecycleStateEnum

func GetMappingWorkloadMappingLifecycleStateEnum

func GetMappingWorkloadMappingLifecycleStateEnum(val string) (WorkloadMappingLifecycleStateEnum, bool)

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

func GetWorkloadMappingLifecycleStateEnumValues

func GetWorkloadMappingLifecycleStateEnumValues() []WorkloadMappingLifecycleStateEnum

GetWorkloadMappingLifecycleStateEnumValues Enumerates the set of values for WorkloadMappingLifecycleStateEnum

type WorkloadMappingSummary

type WorkloadMappingSummary struct {

	// The ocid of the workloadMapping.
	Id *string `mandatory:"true" json:"id"`

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

	// The namespace of the workloadMapping.
	Namespace *string `mandatory:"true" json:"namespace"`

	// The OCID of the mapped customer tenancy.
	MappedTenancyId *string `mandatory:"true" json:"mappedTenancyId"`

	// The OCID of the mapped customer compartment.
	MappedCompartmentId *string `mandatory:"true" json:"mappedCompartmentId"`

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

	// The state of the workloadMapping.
	LifecycleState WorkloadMappingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

WorkloadMappingSummary The properties that define an workloadMapping summary.

func (WorkloadMappingSummary) String

func (m WorkloadMappingSummary) String() string

func (WorkloadMappingSummary) ValidateEnumValue

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

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL