types

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 143

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AMITypes

type AMITypes string
const (
	AMITypesAl2_x86_64     AMITypes = "AL2_x86_64"
	AMITypesAl2_x86_64_gpu AMITypes = "AL2_x86_64_GPU"
)

Enum values for AMITypes

type AutoScalingGroup

type AutoScalingGroup struct {

	// The name of the Auto Scaling group associated with an Amazon EKS managed node
	// group.
	Name *string
}

An Auto Scaling group that is associated with an Amazon EKS managed node group.

type BadRequestException

type BadRequestException struct {
	Message *string
}

This exception is thrown if the request contains a semantic error. The precise meaning will depend on the API, and will be documented in the error message.

func (*BadRequestException) Error

func (e *BadRequestException) Error() string

func (*BadRequestException) ErrorCode

func (e *BadRequestException) ErrorCode() string

func (*BadRequestException) ErrorFault

func (e *BadRequestException) ErrorFault() smithy.ErrorFault

func (*BadRequestException) ErrorMessage

func (e *BadRequestException) ErrorMessage() string

type Certificate

type Certificate struct {

	// The Base64-encoded certificate data required to communicate with your cluster.
	// Add this to the certificate-authority-data section of the kubeconfig file for
	// your cluster.
	Data *string
}

An object representing the certificate-authority-data for your cluster.

type ClientException

type ClientException struct {
	Message *string

	ClusterName   *string
	NodegroupName *string
}

These errors are usually caused by a client action. Actions can include using an action or resource on behalf of a user that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.

func (*ClientException) Error

func (e *ClientException) Error() string

func (*ClientException) ErrorCode

func (e *ClientException) ErrorCode() string

func (*ClientException) ErrorFault

func (e *ClientException) ErrorFault() smithy.ErrorFault

func (*ClientException) ErrorMessage

func (e *ClientException) ErrorMessage() string

type Cluster

type Cluster struct {

	// The Amazon Resource Name (ARN) of the cluster.
	Arn *string

	// The certificate-authority-data for your cluster.
	CertificateAuthority *Certificate

	// Unique, case-sensitive identifier that you provide to ensure the idempotency of
	// the request.
	ClientRequestToken *string

	// The Unix epoch timestamp in seconds for when the cluster was created.
	CreatedAt *time.Time

	// The encryption configuration for the cluster.
	EncryptionConfig []*EncryptionConfig

	// The endpoint for your Kubernetes API server.
	Endpoint *string

	// The identity provider information for the cluster.
	Identity *Identity

	// The logging configuration for your cluster.
	Logging *Logging

	// The name of the cluster.
	Name *string

	// The platform version of your Amazon EKS cluster. For more information, see
	// Platform Versions
	// (https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html) in the
	// Amazon EKS User Guide .
	PlatformVersion *string

	// The VPC configuration used by the cluster control plane. Amazon EKS VPC
	// resources have specific requirements to work properly with Kubernetes. For more
	// information, see Cluster VPC Considerations
	// (https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html) and Cluster
	// Security Group Considerations
	// (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) in the
	// Amazon EKS User Guide.
	ResourcesVpcConfig *VpcConfigResponse

	// The Amazon Resource Name (ARN) of the IAM role that provides permissions for the
	// Kubernetes control plane to make calls to AWS API operations on your behalf.
	RoleArn *string

	// The current status of the cluster.
	Status ClusterStatus

	// The metadata that you apply to the cluster to assist with categorization and
	// organization. Each tag consists of a key and an optional value, both of which
	// you define. Cluster tags do not propagate to any other resources associated with
	// the cluster.
	Tags map[string]*string

	// The Kubernetes server version for the cluster.
	Version *string
}

An object representing an Amazon EKS cluster.

type ClusterStatus

type ClusterStatus string
const (
	ClusterStatusCreating ClusterStatus = "CREATING"
	ClusterStatusActive   ClusterStatus = "ACTIVE"
	ClusterStatusDeleting ClusterStatus = "DELETING"
	ClusterStatusFailed   ClusterStatus = "FAILED"
	ClusterStatusUpdating ClusterStatus = "UPDATING"
)

Enum values for ClusterStatus

type EncryptionConfig

type EncryptionConfig struct {

	// AWS Key Management Service (AWS KMS) customer master key (CMK). Either the ARN
	// or the alias can be used.
	Provider *Provider

	// Specifies the resources to be encrypted. The only supported value is "secrets".
	Resources []*string
}

The encryption configuration for the cluster.

type ErrorCode

type ErrorCode string
const (
	ErrorCodeSubnet_not_found            ErrorCode = "SubnetNotFound"
	ErrorCodeSecurity_group_not_found    ErrorCode = "SecurityGroupNotFound"
	ErrorCodeEni_limit_reached           ErrorCode = "EniLimitReached"
	ErrorCodeIp_not_available            ErrorCode = "IpNotAvailable"
	ErrorCodeAccess_denied               ErrorCode = "AccessDenied"
	ErrorCodeOperation_not_permitted     ErrorCode = "OperationNotPermitted"
	ErrorCodeVpc_id_not_found            ErrorCode = "VpcIdNotFound"
	ErrorCodeUnknown                     ErrorCode = "Unknown"
	ErrorCodeNode_creation_failure       ErrorCode = "NodeCreationFailure"
	ErrorCodePod_eviction_failure        ErrorCode = "PodEvictionFailure"
	ErrorCodeInsufficient_free_addresses ErrorCode = "InsufficientFreeAddresses"
)

Enum values for ErrorCode

type ErrorDetail

type ErrorDetail struct {

	// A brief description of the error.
	//
	//     * SubnetNotFound: We couldn't find one of
	// the subnets associated with the cluster.
	//
	//     * SecurityGroupNotFound: We
	// couldn't find one of the security groups associated with the cluster.
	//
	//     *
	// EniLimitReached: You have reached the elastic network interface limit for your
	// account.
	//
	//     * IpNotAvailable: A subnet associated with the cluster doesn't
	// have any free IP addresses.
	//
	//     * AccessDenied: You don't have permissions to
	// perform the specified operation.
	//
	//     * OperationNotPermitted: The service role
	// associated with the cluster doesn't have the required access permissions for
	// Amazon EKS.
	//
	//     * VpcIdNotFound: We couldn't find the VPC associated with the
	// cluster.
	ErrorCode ErrorCode

	// A more complete description of the error.
	ErrorMessage *string

	// An optional field that contains the resource IDs associated with the error.
	ResourceIds []*string
}

An object representing an error when an asynchronous operation fails.

type FargateProfile

type FargateProfile struct {

	// The name of the Amazon EKS cluster that the Fargate profile belongs to.
	ClusterName *string

	// The Unix epoch timestamp in seconds for when the Fargate profile was created.
	CreatedAt *time.Time

	// The full Amazon Resource Name (ARN) of the Fargate profile.
	FargateProfileArn *string

	// The name of the Fargate profile.
	FargateProfileName *string

	// The Amazon Resource Name (ARN) of the pod execution role to use for pods that
	// match the selectors in the Fargate profile. For more information, see Pod
	// Execution Role
	// (https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html) in
	// the Amazon EKS User Guide.
	PodExecutionRoleArn *string

	// The selectors to match for pods to use this Fargate profile.
	Selectors []*FargateProfileSelector

	// The current status of the Fargate profile.
	Status FargateProfileStatus

	// The IDs of subnets to launch pods into.
	Subnets []*string

	// The metadata applied to the Fargate profile to assist with categorization and
	// organization. Each tag consists of a key and an optional value, both of which
	// you define. Fargate profile tags do not propagate to any other resources
	// associated with the Fargate profile, such as the pods that are scheduled with
	// it.
	Tags map[string]*string
}

An object representing an AWS Fargate profile.

type FargateProfileSelector

type FargateProfileSelector struct {

	// The Kubernetes labels that the selector should match. A pod must contain all of
	// the labels that are specified in the selector for it to be considered a match.
	Labels map[string]*string

	// The Kubernetes namespace that the selector should match.
	Namespace *string
}

An object representing an AWS Fargate profile selector.

type FargateProfileStatus

type FargateProfileStatus string
const (
	FargateProfileStatusCreating      FargateProfileStatus = "CREATING"
	FargateProfileStatusActive        FargateProfileStatus = "ACTIVE"
	FargateProfileStatusDeleting      FargateProfileStatus = "DELETING"
	FargateProfileStatusCreate_failed FargateProfileStatus = "CREATE_FAILED"
	FargateProfileStatusDelete_failed FargateProfileStatus = "DELETE_FAILED"
)

Enum values for FargateProfileStatus

type Identity

type Identity struct {

	// The OpenID Connect (https://openid.net/connect/) identity provider information
	// for the cluster.
	Oidc *OIDC
}

An object representing an identity provider for authentication credentials.

type InvalidParameterException

type InvalidParameterException struct {
	Message *string

	NodegroupName      *string
	FargateProfileName *string
	ClusterName        *string
}

The specified parameter is invalid. Review the available parameters for the API request.

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type InvalidRequestException

type InvalidRequestException struct {
	Message *string

	ClusterName   *string
	NodegroupName *string
}

The request is invalid given the state of the cluster. Check the state of the cluster and the associated operations.

func (*InvalidRequestException) Error

func (e *InvalidRequestException) Error() string

func (*InvalidRequestException) ErrorCode

func (e *InvalidRequestException) ErrorCode() string

func (*InvalidRequestException) ErrorFault

func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault

func (*InvalidRequestException) ErrorMessage

func (e *InvalidRequestException) ErrorMessage() string

type Issue

type Issue struct {

	// A brief description of the error.
	//
	//     * AutoScalingGroupNotFound: We couldn't
	// find the Auto Scaling group associated with the managed node group. You may be
	// able to recreate an Auto Scaling group with the same settings to recover.
	//
	//     *
	// Ec2SecurityGroupNotFound: We couldn't find the cluster security group for the
	// cluster. You must recreate your cluster.
	//
	//     * Ec2SecurityGroupDeletionFailure:
	// We could not delete the remote access security group for your managed node
	// group. Remove any dependencies from the security group.
	//
	//     *
	// Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2 launch template for
	// your managed node group. You may be able to recreate a launch template with the
	// same settings to recover.
	//
	//     * Ec2LaunchTemplateVersionMismatch: The Amazon
	// EC2 launch template version for your managed node group does not match the
	// version that Amazon EKS created. You may be able to revert to the version that
	// Amazon EKS created to recover.
	//
	//     * IamInstanceProfileNotFound: We couldn't
	// find the IAM instance profile for your managed node group. You may be able to
	// recreate an instance profile with the same settings to recover.
	//
	//     *
	// IamNodeRoleNotFound: We couldn't find the IAM role for your managed node group.
	// You may be able to recreate an IAM role with the same settings to recover.
	//
	//
	// * AsgInstanceLaunchFailures: Your Auto Scaling group is experiencing failures
	// while attempting to launch instances.
	//
	//     * NodeCreationFailure: Your launched
	// instances are unable to register with your Amazon EKS cluster. Common causes of
	// this failure are insufficient worker node IAM role
	// (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html)
	// permissions or lack of outbound internet access for the nodes.
	//
	//     *
	// InstanceLimitExceeded: Your AWS account is unable to launch any more instances
	// of the specified instance type. You may be able to request an Amazon EC2
	// instance limit increase to recover.
	//
	//     * InsufficientFreeAddresses: One or
	// more of the subnets associated with your managed node group does not have enough
	// available IP addresses for new nodes.
	//
	//     * AccessDenied: Amazon EKS or one or
	// more of your managed nodes is unable to communicate with your cluster API
	// server.
	//
	//     * InternalFailure: These errors are usually caused by an Amazon EKS
	// server-side issue.
	Code NodegroupIssueCode

	// The error message associated with the issue.
	Message *string

	// The AWS resources that are afflicted by this issue.
	ResourceIds []*string
}

An object representing an issue with an Amazon EKS resource.

type LogSetup

type LogSetup struct {

	// If a log type is enabled, that log type exports its control plane logs to
	// CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its
	// control plane logs. Each individual log type can be enabled or disabled
	// independently.
	Enabled *bool

	// The available cluster control plane log types.
	Types []LogType
}

An object representing the enabled or disabled Kubernetes control plane logs for your cluster.

type LogType

type LogType string
const (
	LogTypeApi                LogType = "api"
	LogTypeAudit              LogType = "audit"
	LogTypeAuthenticator      LogType = "authenticator"
	LogTypeController_manager LogType = "controllerManager"
	LogTypeScheduler          LogType = "scheduler"
)

Enum values for LogType

type Logging

type Logging struct {

	// The cluster control plane logging configuration for your cluster.
	ClusterLogging []*LogSetup
}

An object representing the logging configuration for resources in your cluster.

type Nodegroup

type Nodegroup struct {

	// The AMI type associated with your node group. GPU instance types should use the
	// AL2_x86_64_GPU AMI type, which uses the Amazon EKS-optimized Linux AMI with GPU
	// support. Non-GPU instances should use the AL2_x86_64 AMI type, which uses the
	// Amazon EKS-optimized Linux AMI.
	AmiType AMITypes

	// The name of the cluster that the managed node group resides in.
	ClusterName *string

	// The Unix epoch timestamp in seconds for when the managed node group was created.
	CreatedAt *time.Time

	// The root device disk size (in GiB) for your node group instances. The default
	// disk size is 20 GiB.
	DiskSize *int32

	// The health status of the node group. If there are issues with your node group's
	// health, they are listed here.
	Health *NodegroupHealth

	// The instance types associated with your node group.
	InstanceTypes []*string

	// The Kubernetes labels applied to the nodes in the node group. Only labels that
	// are applied with the Amazon EKS API are shown here. There may be other
	// Kubernetes labels applied to the nodes in this group.
	Labels map[string]*string

	// The Unix epoch timestamp in seconds for when the managed node group was last
	// modified.
	ModifiedAt *time.Time

	// The IAM role associated with your node group. The Amazon EKS worker node kubelet
	// daemon makes calls to AWS APIs on your behalf. Worker nodes receive permissions
	// for these API calls through an IAM instance profile and associated policies.
	// Before you can launch worker nodes and register them into a cluster, you must
	// create an IAM role for those worker nodes to use when they are launched. For
	// more information, see Amazon EKS Worker Node IAM Role
	// (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html) in
	// the Amazon EKS User Guide .
	NodeRole *string

	// The Amazon Resource Name (ARN) associated with the managed node group.
	NodegroupArn *string

	// The name associated with an Amazon EKS managed node group.
	NodegroupName *string

	// The AMI version of the managed node group. For more information, see Amazon
	// EKS-Optimized Linux AMI Versions
	// (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html)
	// in the Amazon EKS User Guide.
	ReleaseVersion *string

	// The remote access (SSH) configuration that is associated with the node group.
	RemoteAccess *RemoteAccessConfig

	// The resources associated with the node group, such as Auto Scaling groups and
	// security groups for remote access.
	Resources *NodegroupResources

	// The scaling configuration details for the Auto Scaling group that is associated
	// with your node group.
	ScalingConfig *NodegroupScalingConfig

	// The current status of the managed node group.
	Status NodegroupStatus

	// The subnets allowed for the Auto Scaling group that is associated with your node
	// group. These subnets must have the following tag:
	// kubernetes.io/cluster/CLUSTER_NAME, where CLUSTER_NAME is replaced with the name
	// of your cluster.
	Subnets []*string

	// The metadata applied to the node group to assist with categorization and
	// organization. Each tag consists of a key and an optional value, both of which
	// you define. Node group tags do not propagate to any other resources associated
	// with the node group, such as the Amazon EC2 instances or subnets.
	Tags map[string]*string

	// The Kubernetes version of the managed node group.
	Version *string
}

An object representing an Amazon EKS managed node group.

type NodegroupHealth

type NodegroupHealth struct {

	// Any issues that are associated with the node group.
	Issues []*Issue
}

An object representing the health status of the node group.

type NodegroupIssueCode

type NodegroupIssueCode string
const (
	NodegroupIssueCodeAuto_scaling_group_not_found             NodegroupIssueCode = "AutoScalingGroupNotFound"
	NodegroupIssueCodeAuto_scaling_group_invalid_configuration NodegroupIssueCode = "AutoScalingGroupInvalidConfiguration"
	NodegroupIssueCodeEc2_security_group_not_found             NodegroupIssueCode = "Ec2SecurityGroupNotFound"
	NodegroupIssueCodeEc2_security_group_deletion_failure      NodegroupIssueCode = "Ec2SecurityGroupDeletionFailure"
	NodegroupIssueCodeEc2_launch_template_not_found            NodegroupIssueCode = "Ec2LaunchTemplateNotFound"
	NodegroupIssueCodeEc2_launch_template_version_mismatch     NodegroupIssueCode = "Ec2LaunchTemplateVersionMismatch"
	NodegroupIssueCodeEc2_subnet_not_found                     NodegroupIssueCode = "Ec2SubnetNotFound"
	NodegroupIssueCodeEc2_subnet_invalid_configuration         NodegroupIssueCode = "Ec2SubnetInvalidConfiguration"
	NodegroupIssueCodeIam_instance_profile_not_found           NodegroupIssueCode = "IamInstanceProfileNotFound"
	NodegroupIssueCodeIam_limit_exceeded                       NodegroupIssueCode = "IamLimitExceeded"
	NodegroupIssueCodeIam_node_role_not_found                  NodegroupIssueCode = "IamNodeRoleNotFound"
	NodegroupIssueCodeNode_creation_failure                    NodegroupIssueCode = "NodeCreationFailure"
	NodegroupIssueCodeAsg_instance_launch_failures             NodegroupIssueCode = "AsgInstanceLaunchFailures"
	NodegroupIssueCodeInstance_limit_exceeded                  NodegroupIssueCode = "InstanceLimitExceeded"
	NodegroupIssueCodeInsufficient_free_addresses              NodegroupIssueCode = "InsufficientFreeAddresses"
	NodegroupIssueCodeAccess_denied                            NodegroupIssueCode = "AccessDenied"
	NodegroupIssueCodeInternal_failure                         NodegroupIssueCode = "InternalFailure"
)

Enum values for NodegroupIssueCode

type NodegroupResources

type NodegroupResources struct {

	// The Auto Scaling groups associated with the node group.
	AutoScalingGroups []*AutoScalingGroup

	// The remote access security group associated with the node group. This security
	// group controls SSH access to the worker nodes.
	RemoteAccessSecurityGroup *string
}

An object representing the resources associated with the node group, such as Auto Scaling groups and security groups for remote access.

type NodegroupScalingConfig

type NodegroupScalingConfig struct {

	// The current number of worker nodes that the managed node group should maintain.
	DesiredSize *int32

	// The maximum number of worker nodes that the managed node group can scale out to.
	// Managed node groups can support up to 100 nodes by default.
	MaxSize *int32

	// The minimum number of worker nodes that the managed node group can scale in to.
	// This number must be greater than zero.
	MinSize *int32
}

An object representing the scaling configuration details for the Auto Scaling group that is associated with your node group.

type NodegroupStatus

type NodegroupStatus string
const (
	NodegroupStatusCreating      NodegroupStatus = "CREATING"
	NodegroupStatusActive        NodegroupStatus = "ACTIVE"
	NodegroupStatusUpdating      NodegroupStatus = "UPDATING"
	NodegroupStatusDeleting      NodegroupStatus = "DELETING"
	NodegroupStatusCreate_failed NodegroupStatus = "CREATE_FAILED"
	NodegroupStatusDelete_failed NodegroupStatus = "DELETE_FAILED"
	NodegroupStatusDegraded      NodegroupStatus = "DEGRADED"
)

Enum values for NodegroupStatus

type NotFoundException

type NotFoundException struct {
	Message *string
}

A service resource associated with the request could not be found. Clients should not retry such requests.

func (*NotFoundException) Error

func (e *NotFoundException) Error() string

func (*NotFoundException) ErrorCode

func (e *NotFoundException) ErrorCode() string

func (*NotFoundException) ErrorFault

func (e *NotFoundException) ErrorFault() smithy.ErrorFault

func (*NotFoundException) ErrorMessage

func (e *NotFoundException) ErrorMessage() string

type OIDC

type OIDC struct {

	// The issuer URL for the OpenID Connect identity provider.
	Issuer *string
}

An object representing the OpenID Connect (https://openid.net/connect/) identity provider information for the cluster.

type Provider

type Provider struct {

	// Amazon Resource Name (ARN) or alias of the customer master key (CMK). The CMK
	// must be symmetric, created in the same region as the cluster, and if the CMK was
	// created in a different account, the user must have access to the CMK. For more
	// information, see Allowing Users in Other Accounts to Use a CMK
	// (https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html)
	// in the AWS Key Management Service Developer Guide.
	KeyArn *string
}

Identifies the AWS Key Management Service (AWS KMS) customer master key (CMK) used to encrypt the secrets.

type RemoteAccessConfig

type RemoteAccessConfig struct {

	// The Amazon EC2 SSH key that provides access for SSH communication with the
	// worker nodes in the managed node group. For more information, see Amazon EC2 Key
	// Pairs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html)
	// in the Amazon Elastic Compute Cloud User Guide for Linux Instances.
	Ec2SshKey *string

	// The security groups that are allowed SSH access (port 22) to the worker nodes.
	// If you specify an Amazon EC2 SSH key but do not specify a source security group
	// when you create a managed node group, then port 22 on the worker nodes is opened
	// to the internet (0.0.0.0/0). For more information, see Security Groups for Your
	// VPC (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html)
	// in the Amazon Virtual Private Cloud User Guide.
	SourceSecurityGroups []*string
}

An object representing the remote access configuration for the managed node group.

type ResourceInUseException

type ResourceInUseException struct {
	Message *string

	NodegroupName *string
	ClusterName   *string
}

The specified resource is in use.

func (*ResourceInUseException) Error

func (e *ResourceInUseException) Error() string

func (*ResourceInUseException) ErrorCode

func (e *ResourceInUseException) ErrorCode() string

func (*ResourceInUseException) ErrorFault

func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault

func (*ResourceInUseException) ErrorMessage

func (e *ResourceInUseException) ErrorMessage() string

type ResourceLimitExceededException

type ResourceLimitExceededException struct {
	Message *string

	NodegroupName *string
	ClusterName   *string
}

You have encountered a service limit on the specified resource.

func (*ResourceLimitExceededException) Error

func (*ResourceLimitExceededException) ErrorCode

func (e *ResourceLimitExceededException) ErrorCode() string

func (*ResourceLimitExceededException) ErrorFault

func (*ResourceLimitExceededException) ErrorMessage

func (e *ResourceLimitExceededException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	FargateProfileName *string
	NodegroupName      *string
	ClusterName        *string
}

The specified resource could not be found. You can view your available clusters with ListClusters. You can view your available managed node groups with ListNodegroups. Amazon EKS clusters and node groups are Region-specific.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type ServerException

type ServerException struct {
	Message *string

	ClusterName   *string
	NodegroupName *string
}

These errors are usually caused by a server-side issue.

func (*ServerException) Error

func (e *ServerException) Error() string

func (*ServerException) ErrorCode

func (e *ServerException) ErrorCode() string

func (*ServerException) ErrorFault

func (e *ServerException) ErrorFault() smithy.ErrorFault

func (*ServerException) ErrorMessage

func (e *ServerException) ErrorMessage() string

type ServiceUnavailableException

type ServiceUnavailableException struct {
	Message *string
}

The service is unavailable. Back off and retry the operation.

func (*ServiceUnavailableException) Error

func (*ServiceUnavailableException) ErrorCode

func (e *ServiceUnavailableException) ErrorCode() string

func (*ServiceUnavailableException) ErrorFault

func (*ServiceUnavailableException) ErrorMessage

func (e *ServiceUnavailableException) ErrorMessage() string

type UnsupportedAvailabilityZoneException

type UnsupportedAvailabilityZoneException struct {
	Message *string

	ClusterName   *string
	NodegroupName *string
	ValidZones    []*string
}

At least one of your specified cluster subnets is in an Availability Zone that does not support Amazon EKS. The exception output specifies the supported Availability Zones for your account, from which you can choose subnets for your cluster.

func (*UnsupportedAvailabilityZoneException) Error

func (*UnsupportedAvailabilityZoneException) ErrorCode

func (*UnsupportedAvailabilityZoneException) ErrorFault

func (*UnsupportedAvailabilityZoneException) ErrorMessage

func (e *UnsupportedAvailabilityZoneException) ErrorMessage() string

type Update

type Update struct {

	// The Unix epoch timestamp in seconds for when the update was created.
	CreatedAt *time.Time

	// Any errors associated with a Failed update.
	Errors []*ErrorDetail

	// A UUID that is used to track the update.
	Id *string

	// A key-value map that contains the parameters associated with the update.
	Params []*UpdateParam

	// The current status of the update.
	Status UpdateStatus

	// The type of the update.
	Type UpdateType
}

An object representing an asynchronous update.

type UpdateLabelsPayload

type UpdateLabelsPayload struct {

	// Kubernetes labels to be added or updated.
	AddOrUpdateLabels map[string]*string

	// Kubernetes labels to be removed.
	RemoveLabels []*string
}

An object representing a Kubernetes label change for a managed node group.

type UpdateParam

type UpdateParam struct {

	// The keys associated with an update request.
	Type UpdateParamType

	// The value of the keys submitted as part of an update request.
	Value *string
}

An object representing the details of an update request.

type UpdateParamType

type UpdateParamType string
const (
	UpdateParamTypeVersion                 UpdateParamType = "Version"
	UpdateParamTypePlatform_version        UpdateParamType = "PlatformVersion"
	UpdateParamTypeEndpoint_private_access UpdateParamType = "EndpointPrivateAccess"
	UpdateParamTypeEndpoint_public_access  UpdateParamType = "EndpointPublicAccess"
	UpdateParamTypeCluster_logging         UpdateParamType = "ClusterLogging"
	UpdateParamTypeDesired_size            UpdateParamType = "DesiredSize"
	UpdateParamTypeLabels_to_add           UpdateParamType = "LabelsToAdd"
	UpdateParamTypeLabels_to_remove        UpdateParamType = "LabelsToRemove"
	UpdateParamTypeMax_size                UpdateParamType = "MaxSize"
	UpdateParamTypeMin_size                UpdateParamType = "MinSize"
	UpdateParamTypeRelease_version         UpdateParamType = "ReleaseVersion"
	UpdateParamTypePublic_access_cidrs     UpdateParamType = "PublicAccessCidrs"
)

Enum values for UpdateParamType

type UpdateStatus

type UpdateStatus string
const (
	UpdateStatusIn_progress UpdateStatus = "InProgress"
	UpdateStatusFailed      UpdateStatus = "Failed"
	UpdateStatusCancelled   UpdateStatus = "Cancelled"
	UpdateStatusSuccessful  UpdateStatus = "Successful"
)

Enum values for UpdateStatus

type UpdateType

type UpdateType string
const (
	UpdateTypeVersion_update         UpdateType = "VersionUpdate"
	UpdateTypeEndpoint_access_update UpdateType = "EndpointAccessUpdate"
	UpdateTypeLogging_update         UpdateType = "LoggingUpdate"
	UpdateTypeConfig_update          UpdateType = "ConfigUpdate"
)

Enum values for UpdateType

type VpcConfigRequest

type VpcConfigRequest struct {

	// Set this value to true to enable private access for your cluster's Kubernetes
	// API server endpoint. If you enable private access, Kubernetes API requests from
	// within your cluster's VPC use the private VPC endpoint. The default value for
	// this parameter is false, which disables private access for your Kubernetes API
	// server. If you disable private access and you have worker nodes or AWS Fargate
	// pods in the cluster, then ensure that publicAccessCidrs includes the necessary
	// CIDR blocks for communication with the worker nodes or Fargate pods. For more
	// information, see Amazon EKS Cluster Endpoint Access Control
	// (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) in the
	// Amazon EKS User Guide .
	EndpointPrivateAccess *bool

	// Set this value to false to disable public access to your cluster's Kubernetes
	// API server endpoint. If you disable public access, your cluster's Kubernetes API
	// server can only receive requests from within the cluster VPC. The default value
	// for this parameter is true, which enables public access for your Kubernetes API
	// server. For more information, see Amazon EKS Cluster Endpoint Access Control
	// (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) in the
	// Amazon EKS User Guide .
	EndpointPublicAccess *bool

	// The CIDR blocks that are allowed access to your cluster's public Kubernetes API
	// server endpoint. Communication to the endpoint from addresses outside of the
	// CIDR blocks that you specify is denied. The default value is 0.0.0.0/0. If
	// you've disabled private endpoint access and you have worker nodes or AWS Fargate
	// pods in the cluster, then ensure that you specify the necessary CIDR blocks. For
	// more information, see Amazon EKS Cluster Endpoint Access Control
	// (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) in the
	// Amazon EKS User Guide .
	PublicAccessCidrs []*string

	// Specify one or more security groups for the cross-account elastic network
	// interfaces that Amazon EKS creates to use to allow communication between your
	// worker nodes and the Kubernetes control plane. If you don't specify a security
	// group, the default security group for your VPC is used.
	SecurityGroupIds []*string

	// Specify subnets for your Amazon EKS worker nodes. Amazon EKS creates
	// cross-account elastic network interfaces in these subnets to allow communication
	// between your worker nodes and the Kubernetes control plane.
	SubnetIds []*string
}

An object representing the VPC configuration to use for an Amazon EKS cluster.

type VpcConfigResponse

type VpcConfigResponse struct {

	// The cluster security group that was created by Amazon EKS for the cluster.
	// Managed node groups use this security group for control-plane-to-data-plane
	// communication.
	ClusterSecurityGroupId *string

	// This parameter indicates whether the Amazon EKS private API server endpoint is
	// enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes
	// API requests that originate from within your cluster's VPC use the private VPC
	// endpoint instead of traversing the internet. If this value is disabled and you
	// have worker nodes or AWS Fargate pods in the cluster, then ensure that
	// publicAccessCidrs includes the necessary CIDR blocks for communication with the
	// worker nodes or Fargate pods. For more information, see Amazon EKS Cluster
	// Endpoint Access Control
	// (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) in the
	// Amazon EKS User Guide .
	EndpointPrivateAccess *bool

	// This parameter indicates whether the Amazon EKS public API server endpoint is
	// enabled. If the Amazon EKS public API server endpoint is disabled, your
	// cluster's Kubernetes API server can only receive requests that originate from
	// within the cluster VPC.
	EndpointPublicAccess *bool

	// The CIDR blocks that are allowed access to your cluster's public Kubernetes API
	// server endpoint. Communication to the endpoint from addresses outside of the
	// listed CIDR blocks is denied. The default value is 0.0.0.0/0. If you've disabled
	// private endpoint access and you have worker nodes or AWS Fargate pods in the
	// cluster, then ensure that the necessary CIDR blocks are listed. For more
	// information, see Amazon EKS Cluster Endpoint Access Control
	// (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) in the
	// Amazon EKS User Guide .
	PublicAccessCidrs []*string

	// The security groups associated with the cross-account elastic network interfaces
	// that are used to allow communication between your worker nodes and the
	// Kubernetes control plane.
	SecurityGroupIds []*string

	// The subnets associated with your cluster.
	SubnetIds []*string

	// The VPC associated with your cluster.
	VpcId *string
}

An object representing an Amazon EKS cluster VPC configuration response.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL