package eks
import "github.com/aws/aws-sdk-go-v2/service/eks"
Package eks provides the API client, operations, and parameter types for Amazon Elastic Kubernetes Service.
Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain your own Kubernetes control plane. Kubernetes is an open-source system for automating the deployment, scaling, and management of containerized applications. Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use all the existing plugins and tooling from the Kubernetes community. Applications running on Amazon EKS are fully compatible with applications running on any standard Kubernetes environment, whether running in on-premises data centers or public clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS without any code modification required.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- type AddonActiveWaiter
- func NewAddonActiveWaiter(client DescribeAddonAPIClient, optFns ...func(*AddonActiveWaiterOptions)) *AddonActiveWaiter
- func (w *AddonActiveWaiter) Wait(ctx context.Context, params *DescribeAddonInput, maxWaitDur time.Duration, optFns ...func(*AddonActiveWaiterOptions)) error
- func (w *AddonActiveWaiter) WaitForOutput(ctx context.Context, params *DescribeAddonInput, maxWaitDur time.Duration, optFns ...func(*AddonActiveWaiterOptions)) (*DescribeAddonOutput, error)
- type AddonActiveWaiterOptions
- type AddonDeletedWaiter
- func NewAddonDeletedWaiter(client DescribeAddonAPIClient, optFns ...func(*AddonDeletedWaiterOptions)) *AddonDeletedWaiter
- func (w *AddonDeletedWaiter) Wait(ctx context.Context, params *DescribeAddonInput, maxWaitDur time.Duration, optFns ...func(*AddonDeletedWaiterOptions)) error
- func (w *AddonDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeAddonInput, maxWaitDur time.Duration, optFns ...func(*AddonDeletedWaiterOptions)) (*DescribeAddonOutput, error)
- type AddonDeletedWaiterOptions
- type AssociateEncryptionConfigInput
- type AssociateEncryptionConfigOutput
- type AssociateIdentityProviderConfigInput
- type AssociateIdentityProviderConfigOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) AssociateEncryptionConfig(ctx context.Context, params *AssociateEncryptionConfigInput, optFns ...func(*Options)) (*AssociateEncryptionConfigOutput, error)
- func (c *Client) AssociateIdentityProviderConfig(ctx context.Context, params *AssociateIdentityProviderConfigInput, optFns ...func(*Options)) (*AssociateIdentityProviderConfigOutput, error)
- func (c *Client) CreateAddon(ctx context.Context, params *CreateAddonInput, optFns ...func(*Options)) (*CreateAddonOutput, error)
- func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
- func (c *Client) CreateFargateProfile(ctx context.Context, params *CreateFargateProfileInput, optFns ...func(*Options)) (*CreateFargateProfileOutput, error)
- func (c *Client) CreateNodegroup(ctx context.Context, params *CreateNodegroupInput, optFns ...func(*Options)) (*CreateNodegroupOutput, error)
- func (c *Client) DeleteAddon(ctx context.Context, params *DeleteAddonInput, optFns ...func(*Options)) (*DeleteAddonOutput, error)
- func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error)
- func (c *Client) DeleteFargateProfile(ctx context.Context, params *DeleteFargateProfileInput, optFns ...func(*Options)) (*DeleteFargateProfileOutput, error)
- func (c *Client) DeleteNodegroup(ctx context.Context, params *DeleteNodegroupInput, optFns ...func(*Options)) (*DeleteNodegroupOutput, error)
- func (c *Client) DeregisterCluster(ctx context.Context, params *DeregisterClusterInput, optFns ...func(*Options)) (*DeregisterClusterOutput, error)
- func (c *Client) DescribeAddon(ctx context.Context, params *DescribeAddonInput, optFns ...func(*Options)) (*DescribeAddonOutput, error)
- func (c *Client) DescribeAddonConfiguration(ctx context.Context, params *DescribeAddonConfigurationInput, optFns ...func(*Options)) (*DescribeAddonConfigurationOutput, error)
- func (c *Client) DescribeAddonVersions(ctx context.Context, params *DescribeAddonVersionsInput, optFns ...func(*Options)) (*DescribeAddonVersionsOutput, error)
- func (c *Client) DescribeCluster(ctx context.Context, params *DescribeClusterInput, optFns ...func(*Options)) (*DescribeClusterOutput, error)
- func (c *Client) DescribeFargateProfile(ctx context.Context, params *DescribeFargateProfileInput, optFns ...func(*Options)) (*DescribeFargateProfileOutput, error)
- func (c *Client) DescribeIdentityProviderConfig(ctx context.Context, params *DescribeIdentityProviderConfigInput, optFns ...func(*Options)) (*DescribeIdentityProviderConfigOutput, error)
- func (c *Client) DescribeNodegroup(ctx context.Context, params *DescribeNodegroupInput, optFns ...func(*Options)) (*DescribeNodegroupOutput, error)
- func (c *Client) DescribeUpdate(ctx context.Context, params *DescribeUpdateInput, optFns ...func(*Options)) (*DescribeUpdateOutput, error)
- func (c *Client) DisassociateIdentityProviderConfig(ctx context.Context, params *DisassociateIdentityProviderConfigInput, optFns ...func(*Options)) (*DisassociateIdentityProviderConfigOutput, error)
- func (c *Client) ListAddons(ctx context.Context, params *ListAddonsInput, optFns ...func(*Options)) (*ListAddonsOutput, error)
- func (c *Client) ListClusters(ctx context.Context, params *ListClustersInput, optFns ...func(*Options)) (*ListClustersOutput, error)
- func (c *Client) ListFargateProfiles(ctx context.Context, params *ListFargateProfilesInput, optFns ...func(*Options)) (*ListFargateProfilesOutput, error)
- func (c *Client) ListIdentityProviderConfigs(ctx context.Context, params *ListIdentityProviderConfigsInput, optFns ...func(*Options)) (*ListIdentityProviderConfigsOutput, error)
- func (c *Client) ListNodegroups(ctx context.Context, params *ListNodegroupsInput, optFns ...func(*Options)) (*ListNodegroupsOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
- func (c *Client) ListUpdates(ctx context.Context, params *ListUpdatesInput, optFns ...func(*Options)) (*ListUpdatesOutput, error)
- func (c *Client) RegisterCluster(ctx context.Context, params *RegisterClusterInput, optFns ...func(*Options)) (*RegisterClusterOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateAddon(ctx context.Context, params *UpdateAddonInput, optFns ...func(*Options)) (*UpdateAddonOutput, error)
- func (c *Client) UpdateClusterConfig(ctx context.Context, params *UpdateClusterConfigInput, optFns ...func(*Options)) (*UpdateClusterConfigOutput, error)
- func (c *Client) UpdateClusterVersion(ctx context.Context, params *UpdateClusterVersionInput, optFns ...func(*Options)) (*UpdateClusterVersionOutput, error)
- func (c *Client) UpdateNodegroupConfig(ctx context.Context, params *UpdateNodegroupConfigInput, optFns ...func(*Options)) (*UpdateNodegroupConfigOutput, error)
- func (c *Client) UpdateNodegroupVersion(ctx context.Context, params *UpdateNodegroupVersionInput, optFns ...func(*Options)) (*UpdateNodegroupVersionOutput, error)
- type ClusterActiveWaiter
- func NewClusterActiveWaiter(client DescribeClusterAPIClient, optFns ...func(*ClusterActiveWaiterOptions)) *ClusterActiveWaiter
- func (w *ClusterActiveWaiter) Wait(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterActiveWaiterOptions)) error
- func (w *ClusterActiveWaiter) WaitForOutput(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterActiveWaiterOptions)) (*DescribeClusterOutput, error)
- type ClusterActiveWaiterOptions
- type ClusterDeletedWaiter
- func NewClusterDeletedWaiter(client DescribeClusterAPIClient, optFns ...func(*ClusterDeletedWaiterOptions)) *ClusterDeletedWaiter
- func (w *ClusterDeletedWaiter) Wait(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterDeletedWaiterOptions)) error
- func (w *ClusterDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterDeletedWaiterOptions)) (*DescribeClusterOutput, error)
- type ClusterDeletedWaiterOptions
- type CreateAddonInput
- type CreateAddonOutput
- type CreateClusterInput
- type CreateClusterOutput
- type CreateFargateProfileInput
- type CreateFargateProfileOutput
- type CreateNodegroupInput
- type CreateNodegroupOutput
- type DeleteAddonInput
- type DeleteAddonOutput
- type DeleteClusterInput
- type DeleteClusterOutput
- type DeleteFargateProfileInput
- type DeleteFargateProfileOutput
- type DeleteNodegroupInput
- type DeleteNodegroupOutput
- type DeregisterClusterInput
- type DeregisterClusterOutput
- type DescribeAddonAPIClient
- type DescribeAddonConfigurationInput
- type DescribeAddonConfigurationOutput
- type DescribeAddonInput
- type DescribeAddonOutput
- type DescribeAddonVersionsAPIClient
- type DescribeAddonVersionsInput
- type DescribeAddonVersionsOutput
- type DescribeAddonVersionsPaginator
- func NewDescribeAddonVersionsPaginator(client DescribeAddonVersionsAPIClient, params *DescribeAddonVersionsInput, optFns ...func(*DescribeAddonVersionsPaginatorOptions)) *DescribeAddonVersionsPaginator
- func (p *DescribeAddonVersionsPaginator) HasMorePages() bool
- func (p *DescribeAddonVersionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeAddonVersionsOutput, error)
- type DescribeAddonVersionsPaginatorOptions
- type DescribeClusterAPIClient
- type DescribeClusterInput
- type DescribeClusterOutput
- type DescribeFargateProfileAPIClient
- type DescribeFargateProfileInput
- type DescribeFargateProfileOutput
- type DescribeIdentityProviderConfigInput
- type DescribeIdentityProviderConfigOutput
- type DescribeNodegroupAPIClient
- type DescribeNodegroupInput
- type DescribeNodegroupOutput
- type DescribeUpdateInput
- type DescribeUpdateOutput
- type DisassociateIdentityProviderConfigInput
- type DisassociateIdentityProviderConfigOutput
- type EndpointParameters
- func (p EndpointParameters) ValidateRequired() error
- func (p EndpointParameters) WithDefaults() EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type FargateProfileActiveWaiter
- func NewFargateProfileActiveWaiter(client DescribeFargateProfileAPIClient, optFns ...func(*FargateProfileActiveWaiterOptions)) *FargateProfileActiveWaiter
- func (w *FargateProfileActiveWaiter) Wait(ctx context.Context, params *DescribeFargateProfileInput, maxWaitDur time.Duration, optFns ...func(*FargateProfileActiveWaiterOptions)) error
- func (w *FargateProfileActiveWaiter) WaitForOutput(ctx context.Context, params *DescribeFargateProfileInput, maxWaitDur time.Duration, optFns ...func(*FargateProfileActiveWaiterOptions)) (*DescribeFargateProfileOutput, error)
- type FargateProfileActiveWaiterOptions
- type FargateProfileDeletedWaiter
- func NewFargateProfileDeletedWaiter(client DescribeFargateProfileAPIClient, optFns ...func(*FargateProfileDeletedWaiterOptions)) *FargateProfileDeletedWaiter
- func (w *FargateProfileDeletedWaiter) Wait(ctx context.Context, params *DescribeFargateProfileInput, maxWaitDur time.Duration, optFns ...func(*FargateProfileDeletedWaiterOptions)) error
- func (w *FargateProfileDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeFargateProfileInput, maxWaitDur time.Duration, optFns ...func(*FargateProfileDeletedWaiterOptions)) (*DescribeFargateProfileOutput, error)
- type FargateProfileDeletedWaiterOptions
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListAddonsAPIClient
- type ListAddonsInput
- type ListAddonsOutput
- type ListAddonsPaginator
- func NewListAddonsPaginator(client ListAddonsAPIClient, params *ListAddonsInput, optFns ...func(*ListAddonsPaginatorOptions)) *ListAddonsPaginator
- func (p *ListAddonsPaginator) HasMorePages() bool
- func (p *ListAddonsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAddonsOutput, error)
- type ListAddonsPaginatorOptions
- type ListClustersAPIClient
- type ListClustersInput
- type ListClustersOutput
- type ListClustersPaginator
- func NewListClustersPaginator(client ListClustersAPIClient, params *ListClustersInput, optFns ...func(*ListClustersPaginatorOptions)) *ListClustersPaginator
- func (p *ListClustersPaginator) HasMorePages() bool
- func (p *ListClustersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListClustersOutput, error)
- type ListClustersPaginatorOptions
- type ListFargateProfilesAPIClient
- type ListFargateProfilesInput
- type ListFargateProfilesOutput
- type ListFargateProfilesPaginator
- func NewListFargateProfilesPaginator(client ListFargateProfilesAPIClient, params *ListFargateProfilesInput, optFns ...func(*ListFargateProfilesPaginatorOptions)) *ListFargateProfilesPaginator
- func (p *ListFargateProfilesPaginator) HasMorePages() bool
- func (p *ListFargateProfilesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFargateProfilesOutput, error)
- type ListFargateProfilesPaginatorOptions
- type ListIdentityProviderConfigsAPIClient
- type ListIdentityProviderConfigsInput
- type ListIdentityProviderConfigsOutput
- type ListIdentityProviderConfigsPaginator
- func NewListIdentityProviderConfigsPaginator(client ListIdentityProviderConfigsAPIClient, params *ListIdentityProviderConfigsInput, optFns ...func(*ListIdentityProviderConfigsPaginatorOptions)) *ListIdentityProviderConfigsPaginator
- func (p *ListIdentityProviderConfigsPaginator) HasMorePages() bool
- func (p *ListIdentityProviderConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListIdentityProviderConfigsOutput, error)
- type ListIdentityProviderConfigsPaginatorOptions
- type ListNodegroupsAPIClient
- type ListNodegroupsInput
- type ListNodegroupsOutput
- type ListNodegroupsPaginator
- func NewListNodegroupsPaginator(client ListNodegroupsAPIClient, params *ListNodegroupsInput, optFns ...func(*ListNodegroupsPaginatorOptions)) *ListNodegroupsPaginator
- func (p *ListNodegroupsPaginator) HasMorePages() bool
- func (p *ListNodegroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListNodegroupsOutput, error)
- type ListNodegroupsPaginatorOptions
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListUpdatesAPIClient
- type ListUpdatesInput
- type ListUpdatesOutput
- type ListUpdatesPaginator
- func NewListUpdatesPaginator(client ListUpdatesAPIClient, params *ListUpdatesInput, optFns ...func(*ListUpdatesPaginatorOptions)) *ListUpdatesPaginator
- func (p *ListUpdatesPaginator) HasMorePages() bool
- func (p *ListUpdatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListUpdatesOutput, error)
- type ListUpdatesPaginatorOptions
- type NodegroupActiveWaiter
- func NewNodegroupActiveWaiter(client DescribeNodegroupAPIClient, optFns ...func(*NodegroupActiveWaiterOptions)) *NodegroupActiveWaiter
- func (w *NodegroupActiveWaiter) Wait(ctx context.Context, params *DescribeNodegroupInput, maxWaitDur time.Duration, optFns ...func(*NodegroupActiveWaiterOptions)) error
- func (w *NodegroupActiveWaiter) WaitForOutput(ctx context.Context, params *DescribeNodegroupInput, maxWaitDur time.Duration, optFns ...func(*NodegroupActiveWaiterOptions)) (*DescribeNodegroupOutput, error)
- type NodegroupActiveWaiterOptions
- type NodegroupDeletedWaiter
- func NewNodegroupDeletedWaiter(client DescribeNodegroupAPIClient, optFns ...func(*NodegroupDeletedWaiterOptions)) *NodegroupDeletedWaiter
- func (w *NodegroupDeletedWaiter) Wait(ctx context.Context, params *DescribeNodegroupInput, maxWaitDur time.Duration, optFns ...func(*NodegroupDeletedWaiterOptions)) error
- func (w *NodegroupDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeNodegroupInput, maxWaitDur time.Duration, optFns ...func(*NodegroupDeletedWaiterOptions)) (*DescribeNodegroupOutput, error)
- type NodegroupDeletedWaiterOptions
- type Options
- type RegisterClusterInput
- type RegisterClusterOutput
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAddonInput
- type UpdateAddonOutput
- type UpdateClusterConfigInput
- type UpdateClusterConfigOutput
- type UpdateClusterVersionInput
- type UpdateClusterVersionOutput
- type UpdateNodegroupConfigInput
- type UpdateNodegroupConfigOutput
- type UpdateNodegroupVersionInput
- type UpdateNodegroupVersionOutput
Constants ¶
const ServiceAPIVersion = "2017-11-01"
const ServiceID = "EKS"
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint. To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
Types ¶
type AddonActiveWaiter ¶
type AddonActiveWaiter struct {
// contains filtered or unexported fields
}
AddonActiveWaiter defines the waiters for AddonActive
func NewAddonActiveWaiter ¶
func NewAddonActiveWaiter(client DescribeAddonAPIClient, optFns ...func(*AddonActiveWaiterOptions)) *AddonActiveWaiter
NewAddonActiveWaiter constructs a AddonActiveWaiter.
func (*AddonActiveWaiter) Wait ¶
func (w *AddonActiveWaiter) Wait(ctx context.Context, params *DescribeAddonInput, maxWaitDur time.Duration, optFns ...func(*AddonActiveWaiterOptions)) error
Wait calls the waiter function for AddonActive waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*AddonActiveWaiter) WaitForOutput ¶
func (w *AddonActiveWaiter) WaitForOutput(ctx context.Context, params *DescribeAddonInput, maxWaitDur time.Duration, optFns ...func(*AddonActiveWaiterOptions)) (*DescribeAddonOutput, error)
WaitForOutput calls the waiter function for AddonActive waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type AddonActiveWaiterOptions ¶
type AddonActiveWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // AddonActiveWaiter will use default minimum delay of 10 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, AddonActiveWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeAddonInput, *DescribeAddonOutput, error) (bool, error) }
AddonActiveWaiterOptions are waiter options for AddonActiveWaiter
type AddonDeletedWaiter ¶
type AddonDeletedWaiter struct {
// contains filtered or unexported fields
}
AddonDeletedWaiter defines the waiters for AddonDeleted
func NewAddonDeletedWaiter ¶
func NewAddonDeletedWaiter(client DescribeAddonAPIClient, optFns ...func(*AddonDeletedWaiterOptions)) *AddonDeletedWaiter
NewAddonDeletedWaiter constructs a AddonDeletedWaiter.
func (*AddonDeletedWaiter) Wait ¶
func (w *AddonDeletedWaiter) Wait(ctx context.Context, params *DescribeAddonInput, maxWaitDur time.Duration, optFns ...func(*AddonDeletedWaiterOptions)) error
Wait calls the waiter function for AddonDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*AddonDeletedWaiter) WaitForOutput ¶
func (w *AddonDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeAddonInput, maxWaitDur time.Duration, optFns ...func(*AddonDeletedWaiterOptions)) (*DescribeAddonOutput, error)
WaitForOutput calls the waiter function for AddonDeleted waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type AddonDeletedWaiterOptions ¶
type AddonDeletedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // AddonDeletedWaiter will use default minimum delay of 10 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, AddonDeletedWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeAddonInput, *DescribeAddonOutput, error) (bool, error) }
AddonDeletedWaiterOptions are waiter options for AddonDeletedWaiter
type AssociateEncryptionConfigInput ¶
type AssociateEncryptionConfigInput struct { // The name of the cluster that you are associating with encryption configuration. // // This member is required. ClusterName *string // The configuration you are using for encryption. // // This member is required. EncryptionConfig []types.EncryptionConfig // The client request token you are using with the encryption configuration. ClientRequestToken *string // contains filtered or unexported fields }
type AssociateEncryptionConfigOutput ¶
type AssociateEncryptionConfigOutput struct { // An object representing an asynchronous update. Update *types.Update // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AssociateIdentityProviderConfigInput ¶
type AssociateIdentityProviderConfigInput struct { // The name of the cluster to associate the configuration to. // // This member is required. ClusterName *string // An object representing an OpenID Connect (OIDC) identity provider configuration. // // This member is required. Oidc *types.OidcIdentityProviderConfigRequest // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // The metadata to apply to the configuration to assist with categorization and // organization. Each tag consists of a key and an optional value. You define both. Tags map[string]string // contains filtered or unexported fields }
type AssociateIdentityProviderConfigOutput ¶
type AssociateIdentityProviderConfigOutput struct { // The tags for the resource. Tags map[string]string // An object representing an asynchronous update. Update *types.Update // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for Amazon Elastic Kubernetes Service.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateEncryptionConfig ¶
func (c *Client) AssociateEncryptionConfig(ctx context.Context, params *AssociateEncryptionConfigInput, optFns ...func(*Options)) (*AssociateEncryptionConfigOutput, error)
Associate encryption configuration to an existing cluster. You can use this API to enable encryption on existing clusters which do not have encryption already enabled. This allows you to implement a defense-in-depth security strategy without migrating applications to new Amazon EKS clusters.
func (*Client) AssociateIdentityProviderConfig ¶
func (c *Client) AssociateIdentityProviderConfig(ctx context.Context, params *AssociateIdentityProviderConfigInput, optFns ...func(*Options)) (*AssociateIdentityProviderConfigOutput, error)
Associate an identity provider configuration to a cluster. If you want to authenticate identities using an identity provider, you can create an identity provider configuration and associate it to your cluster. After configuring authentication to your cluster you can create Kubernetes roles and clusterroles to assign permissions to the roles, and then bind the roles to the identities using Kubernetes rolebindings and clusterrolebindings . For more information see Using RBAC Authorization (https://kubernetes.io/docs/reference/access-authn-authz/rbac/) in the Kubernetes documentation.
func (*Client) CreateAddon ¶
func (c *Client) CreateAddon(ctx context.Context, params *CreateAddonInput, optFns ...func(*Options)) (*CreateAddonOutput, error)
Creates an Amazon EKS add-on. Amazon EKS add-ons help to automate the provisioning and lifecycle management of common operational software for Amazon EKS clusters. For more information, see Amazon EKS add-ons (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) in the Amazon EKS User Guide.
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(ctx context.Context, params *CreateClusterInput, optFns ...func(*Options)) (*CreateClusterOutput, error)
Creates an Amazon EKS control plane. The Amazon EKS control plane consists of control plane instances that run the Kubernetes software, such as etcd and the API server. The control plane runs in an account managed by Amazon Web Services, and the Kubernetes API is exposed by the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is single tenant and unique. It runs on its own set of Amazon EC2 instances. The cluster control plane is provisioned across multiple Availability Zones and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC subnets to provide connectivity from the control plane instances to the nodes (for example, to support kubectl exec , logs , and proxy data flows). Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane over the Kubernetes API server endpoint and a certificate file that is created for your cluster. In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster, you must configure your Kubernetes tooling to communicate with the API server and launch nodes into your cluster. For more information, see Managing Cluster Authentication (https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html) and Launching Amazon EKS nodes (https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html) in the Amazon EKS User Guide.
func (*Client) CreateFargateProfile ¶
func (c *Client) CreateFargateProfile(ctx context.Context, params *CreateFargateProfileInput, optFns ...func(*Options)) (*CreateFargateProfileOutput, error)
Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate profile in a cluster to be able to run pods on Fargate. The Fargate profile allows an administrator to declare which pods run on Fargate and specify which pods run on which Fargate profile. This declaration is done through the profile’s selectors. Each profile can have up to five selectors that contain a namespace and labels. A namespace is required for every selector. The label field consists of multiple optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is run on Fargate. When you create a Fargate profile, you must specify a pod execution role to use with the pods that are scheduled with the profile. This role is added to the cluster's Kubernetes Role Based Access Control (https://kubernetes.io/docs/admin/authorization/rbac/) (RBAC) for authorization so that the kubelet that is running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can appear in your cluster as a node. The pod execution role also provides IAM permissions to the Fargate infrastructure to allow read access to Amazon ECR image repositories. 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. Fargate profiles are immutable. However, you can create a new updated profile to replace an existing profile and then delete the original after the updated profile has finished creating. If any Fargate profiles in a cluster are in the DELETING status, you must wait for that Fargate profile to finish deleting before you can create any other profiles in that cluster. For more information, see Fargate Profile (https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html) in the Amazon EKS User Guide.
func (*Client) CreateNodegroup ¶
func (c *Client) CreateNodegroup(ctx context.Context, params *CreateNodegroupInput, optFns ...func(*Options)) (*CreateNodegroupOutput, error)
Creates a managed node group for an Amazon EKS cluster. You can only create a node group for your cluster that is equal to the current Kubernetes version for the cluster. All node groups are created with the latest AMI release version for the respective minor Kubernetes version of the cluster, unless you deploy a custom AMI using a launch template. For more information about using launch templates, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) . An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that are managed by Amazon Web Services for an Amazon EKS cluster. For more information, see Managed node groups (https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html) in the Amazon EKS User Guide. Windows AMI types are only supported for commercial Regions that support Windows Amazon EKS.
func (*Client) DeleteAddon ¶
func (c *Client) DeleteAddon(ctx context.Context, params *DeleteAddonInput, optFns ...func(*Options)) (*DeleteAddonOutput, error)
Delete an Amazon EKS add-on. When you remove the add-on, it will also be deleted from the cluster. You can always manually start an add-on on the cluster using the Kubernetes API.
func (*Client) DeleteCluster ¶
func (c *Client) DeleteCluster(ctx context.Context, params *DeleteClusterInput, optFns ...func(*Options)) (*DeleteClusterOutput, error)
Deletes the Amazon EKS cluster control plane. If you have active services in your cluster that are associated with a load balancer, you must delete those services before deleting the cluster so that the load balancers are deleted properly. Otherwise, you can have orphaned resources in your VPC that prevent you from being able to delete the VPC. For more information, see Deleting a Cluster (https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html) in the Amazon EKS User Guide. If you have managed node groups or Fargate profiles attached to the cluster, you must delete them first. For more information, see DeleteNodegroup and DeleteFargateProfile .
func (*Client) DeleteFargateProfile ¶
func (c *Client) DeleteFargateProfile(ctx context.Context, params *DeleteFargateProfileInput, optFns ...func(*Options)) (*DeleteFargateProfileOutput, error)
Deletes an Fargate profile. When you delete a Fargate profile, any pods running on Fargate that were created with the profile are deleted. If those pods match another Fargate profile, then they are scheduled on Fargate with that profile. If they no longer match any Fargate profiles, then they are not scheduled on Fargate and they may remain in a pending state. Only one Fargate profile in a cluster can be in the DELETING status at a time. You must wait for a Fargate profile to finish deleting before you can delete any other profiles in that cluster.
func (*Client) DeleteNodegroup ¶
func (c *Client) DeleteNodegroup(ctx context.Context, params *DeleteNodegroupInput, optFns ...func(*Options)) (*DeleteNodegroupOutput, error)
Deletes an Amazon EKS node group for a cluster.
func (*Client) DeregisterCluster ¶
func (c *Client) DeregisterCluster(ctx context.Context, params *DeregisterClusterInput, optFns ...func(*Options)) (*DeregisterClusterOutput, error)
Deregisters a connected cluster to remove it from the Amazon EKS control plane.
func (*Client) DescribeAddon ¶
func (c *Client) DescribeAddon(ctx context.Context, params *DescribeAddonInput, optFns ...func(*Options)) (*DescribeAddonOutput, error)
Describes an Amazon EKS add-on.
func (*Client) DescribeAddonConfiguration ¶
func (c *Client) DescribeAddonConfiguration(ctx context.Context, params *DescribeAddonConfigurationInput, optFns ...func(*Options)) (*DescribeAddonConfigurationOutput, error)
Returns configuration options.
func (*Client) DescribeAddonVersions ¶
func (c *Client) DescribeAddonVersions(ctx context.Context, params *DescribeAddonVersionsInput, optFns ...func(*Options)) (*DescribeAddonVersionsOutput, error)
Describes the versions for an add-on. Information such as the Kubernetes versions that you can use the add-on with, the owner , publisher , and the type of the add-on are returned.
func (*Client) DescribeCluster ¶
func (c *Client) DescribeCluster(ctx context.Context, params *DescribeClusterInput, optFns ...func(*Options)) (*DescribeClusterOutput, error)
Returns descriptive information about an Amazon EKS cluster. The API server endpoint and certificate authority data returned by this operation are required for kubelet and kubectl to communicate with your Kubernetes API server. For more information, see Create a kubeconfig for Amazon EKS (https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html) . The API server endpoint and certificate authority data aren't available until the cluster reaches the ACTIVE state.
func (*Client) DescribeFargateProfile ¶
func (c *Client) DescribeFargateProfile(ctx context.Context, params *DescribeFargateProfileInput, optFns ...func(*Options)) (*DescribeFargateProfileOutput, error)
Returns descriptive information about an Fargate profile.
func (*Client) DescribeIdentityProviderConfig ¶
func (c *Client) DescribeIdentityProviderConfig(ctx context.Context, params *DescribeIdentityProviderConfigInput, optFns ...func(*Options)) (*DescribeIdentityProviderConfigOutput, error)
Returns descriptive information about an identity provider configuration.
func (*Client) DescribeNodegroup ¶
func (c *Client) DescribeNodegroup(ctx context.Context, params *DescribeNodegroupInput, optFns ...func(*Options)) (*DescribeNodegroupOutput, error)
Returns descriptive information about an Amazon EKS node group.
func (*Client) DescribeUpdate ¶
func (c *Client) DescribeUpdate(ctx context.Context, params *DescribeUpdateInput, optFns ...func(*Options)) (*DescribeUpdateOutput, error)
Returns descriptive information about an update against your Amazon EKS cluster or associated managed node group or Amazon EKS add-on. When the status of the update is Succeeded , the update is complete. If an update fails, the status is Failed , and an error detail explains the reason for the failure.
func (*Client) DisassociateIdentityProviderConfig ¶
func (c *Client) DisassociateIdentityProviderConfig(ctx context.Context, params *DisassociateIdentityProviderConfigInput, optFns ...func(*Options)) (*DisassociateIdentityProviderConfigOutput, error)
Disassociates an identity provider configuration from a cluster. If you disassociate an identity provider from your cluster, users included in the provider can no longer access the cluster. However, you can still access the cluster with Amazon Web Services IAM users.
func (*Client) ListAddons ¶
func (c *Client) ListAddons(ctx context.Context, params *ListAddonsInput, optFns ...func(*Options)) (*ListAddonsOutput, error)
Lists the available add-ons.
func (*Client) ListClusters ¶
func (c *Client) ListClusters(ctx context.Context, params *ListClustersInput, optFns ...func(*Options)) (*ListClustersOutput, error)
Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Region.
func (*Client) ListFargateProfiles ¶
func (c *Client) ListFargateProfiles(ctx context.Context, params *ListFargateProfilesInput, optFns ...func(*Options)) (*ListFargateProfilesOutput, error)
Lists the Fargate profiles associated with the specified cluster in your Amazon Web Services account in the specified Region.
func (*Client) ListIdentityProviderConfigs ¶
func (c *Client) ListIdentityProviderConfigs(ctx context.Context, params *ListIdentityProviderConfigsInput, optFns ...func(*Options)) (*ListIdentityProviderConfigsOutput, error)
A list of identity provider configurations.
func (*Client) ListNodegroups ¶
func (c *Client) ListNodegroups(ctx context.Context, params *ListNodegroupsInput, optFns ...func(*Options)) (*ListNodegroupsOutput, error)
Lists the Amazon EKS managed node groups associated with the specified cluster in your Amazon Web Services account in the specified Region. Self-managed node groups are not listed.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
List the tags for an Amazon EKS resource.
func (*Client) ListUpdates ¶
func (c *Client) ListUpdates(ctx context.Context, params *ListUpdatesInput, optFns ...func(*Options)) (*ListUpdatesOutput, error)
Lists the updates associated with an Amazon EKS cluster or managed node group in your Amazon Web Services account, in the specified Region.
func (*Client) RegisterCluster ¶
func (c *Client) RegisterCluster(ctx context.Context, params *RegisterClusterInput, optFns ...func(*Options)) (*RegisterClusterOutput, error)
Connects a Kubernetes cluster to the Amazon EKS control plane. Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes. Cluster connection requires two steps. First, send a RegisterClusterRequest to add it to the Amazon EKS control plane. Second, a Manifest (https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml) containing the activationID and activationCode must be applied to the Kubernetes cluster through it's native provider to provide visibility. After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within three days, then the connected cluster will no longer be visible and must be deregistered. See DeregisterCluster .
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Associates the specified tags to a resource with the specified resourceArn . If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well. Tags that you create for Amazon EKS resources do not propagate to any other resources associated with the cluster. For example, if you tag a cluster with this operation, that tag does not automatically propagate to the subnets and nodes associated with the cluster.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Deletes specified tags from a resource.
func (*Client) UpdateAddon ¶
func (c *Client) UpdateAddon(ctx context.Context, params *UpdateAddonInput, optFns ...func(*Options)) (*UpdateAddonOutput, error)
Updates an Amazon EKS add-on.
func (*Client) UpdateClusterConfig ¶
func (c *Client) UpdateClusterConfig(ctx context.Context, params *UpdateClusterConfigInput, optFns ...func(*Options)) (*UpdateClusterConfigOutput, error)
Updates an Amazon EKS cluster configuration. Your cluster continues to function during the update. The response output includes an update ID that you can use to track the status of your cluster update with the DescribeUpdate API operation. You can use this API operation to enable or disable exporting the Kubernetes control plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't exported to CloudWatch Logs. For more information, see Amazon EKS Cluster Control Plane Logs (https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html) in the Amazon EKS User Guide . CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported control plane logs. For more information, see CloudWatch Pricing (http://aws.amazon.com/cloudwatch/pricing/) . You can also use this API operation to enable or disable public and private access to your cluster's Kubernetes API server endpoint. By default, public access is enabled, and private access is disabled. 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 . You can't update the subnets or security group IDs for an existing cluster. Cluster updates are asynchronous, and they should finish within a few minutes. During an update, the cluster status moves to UPDATING (this status transition is eventually consistent). When the update is complete (either Failed or Successful ), the cluster status moves to Active .
func (*Client) UpdateClusterVersion ¶
func (c *Client) UpdateClusterVersion(ctx context.Context, params *UpdateClusterVersionInput, optFns ...func(*Options)) (*UpdateClusterVersionOutput, error)
Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster continues to function during the update. The response output includes an update ID that you can use to track the status of your cluster update with the DescribeUpdate API operation. Cluster updates are asynchronous, and they should finish within a few minutes. During an update, the cluster status moves to UPDATING (this status transition is eventually consistent). When the update is complete (either Failed or Successful ), the cluster status moves to Active . If your cluster has managed node groups attached to it, all of your node groups’ Kubernetes versions must match the cluster’s Kubernetes version in order to update the cluster to a new Kubernetes version.
func (*Client) UpdateNodegroupConfig ¶
func (c *Client) UpdateNodegroupConfig(ctx context.Context, params *UpdateNodegroupConfigInput, optFns ...func(*Options)) (*UpdateNodegroupConfigOutput, error)
Updates an Amazon EKS managed node group configuration. Your node group continues to function during the update. The response output includes an update ID that you can use to track the status of your node group update with the DescribeUpdate API operation. Currently you can update the Kubernetes labels for a node group or the scaling configuration.
func (*Client) UpdateNodegroupVersion ¶
func (c *Client) UpdateNodegroupVersion(ctx context.Context, params *UpdateNodegroupVersionInput, optFns ...func(*Options)) (*UpdateNodegroupVersionOutput, error)
Updates the Kubernetes version or AMI version of an Amazon EKS managed node group. You can update a node group using a launch template only if the node group was originally deployed with a launch template. If you need to update a custom AMI in a node group that was deployed with a launch template, then update your custom AMI, specify the new ID in a new version of the launch template, and then update the node group to the new version of the launch template. If you update without a launch template, then you can update to the latest available AMI version of a node group's current Kubernetes version by not specifying a Kubernetes version in the request. You can update to the latest AMI version of your cluster's current Kubernetes version by specifying your cluster's Kubernetes version in the request. For information about Linux versions, see Amazon EKS optimized Amazon Linux AMI versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) in the Amazon EKS User Guide. For information about Windows versions, see Amazon EKS optimized Windows AMI versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html) in the Amazon EKS User Guide. You cannot roll back a node group to an earlier Kubernetes version or AMI version. When a node in a managed node group is terminated due to a scaling action or update, the pods in that node are drained first. Amazon EKS attempts to drain the nodes gracefully and will fail if it is unable to do so. You can force the update if Amazon EKS is unable to drain the nodes as a result of a pod disruption budget issue.
type ClusterActiveWaiter ¶
type ClusterActiveWaiter struct {
// contains filtered or unexported fields
}
ClusterActiveWaiter defines the waiters for ClusterActive
func NewClusterActiveWaiter ¶
func NewClusterActiveWaiter(client DescribeClusterAPIClient, optFns ...func(*ClusterActiveWaiterOptions)) *ClusterActiveWaiter
NewClusterActiveWaiter constructs a ClusterActiveWaiter.
func (*ClusterActiveWaiter) Wait ¶
func (w *ClusterActiveWaiter) Wait(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterActiveWaiterOptions)) error
Wait calls the waiter function for ClusterActive waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*ClusterActiveWaiter) WaitForOutput ¶
func (w *ClusterActiveWaiter) WaitForOutput(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterActiveWaiterOptions)) (*DescribeClusterOutput, error)
WaitForOutput calls the waiter function for ClusterActive waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type ClusterActiveWaiterOptions ¶
type ClusterActiveWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // ClusterActiveWaiter will use default minimum delay of 30 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, ClusterActiveWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeClusterInput, *DescribeClusterOutput, error) (bool, error) }
ClusterActiveWaiterOptions are waiter options for ClusterActiveWaiter
type ClusterDeletedWaiter ¶
type ClusterDeletedWaiter struct {
// contains filtered or unexported fields
}
ClusterDeletedWaiter defines the waiters for ClusterDeleted
func NewClusterDeletedWaiter ¶
func NewClusterDeletedWaiter(client DescribeClusterAPIClient, optFns ...func(*ClusterDeletedWaiterOptions)) *ClusterDeletedWaiter
NewClusterDeletedWaiter constructs a ClusterDeletedWaiter.
func (*ClusterDeletedWaiter) Wait ¶
func (w *ClusterDeletedWaiter) Wait(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterDeletedWaiterOptions)) error
Wait calls the waiter function for ClusterDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*ClusterDeletedWaiter) WaitForOutput ¶
func (w *ClusterDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeClusterInput, maxWaitDur time.Duration, optFns ...func(*ClusterDeletedWaiterOptions)) (*DescribeClusterOutput, error)
WaitForOutput calls the waiter function for ClusterDeleted waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type ClusterDeletedWaiterOptions ¶
type ClusterDeletedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // ClusterDeletedWaiter will use default minimum delay of 30 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, ClusterDeletedWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeClusterInput, *DescribeClusterOutput, error) (bool, error) }
ClusterDeletedWaiterOptions are waiter options for ClusterDeletedWaiter
type CreateAddonInput ¶
type CreateAddonInput struct { // The name of the add-on. The name must match one of the names that // DescribeAddonVersions (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html) // returns. // // This member is required. AddonName *string // The name of the cluster to create the add-on for. // // This member is required. ClusterName *string // The version of the add-on. The version must match one of the versions returned // by DescribeAddonVersions (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html) // . AddonVersion *string // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. ClientRequestToken *string // The set of configuration values for the add-on that's created. The values that // you provide are validated against the schema in DescribeAddonConfiguration (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonConfiguration.html) // . ConfigurationValues *string // How to resolve field value conflicts for an Amazon EKS add-on. Conflicts are // handled based on the value you choose: // - None – If the self-managed version of the add-on is installed on your // cluster, Amazon EKS doesn't change the value. Creation of the add-on might fail. // // - Overwrite – If the self-managed version of the add-on is installed on your // cluster and the Amazon EKS default value is different than the existing value, // Amazon EKS changes the value to the Amazon EKS default value. // - Preserve – Not supported. You can set this value when updating an add-on // though. For more information, see UpdateAddon (https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html) // . // If you don't currently have the self-managed version of the add-on installed on // your cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values to // default values, regardless of the option that you specify. ResolveConflicts types.ResolveConflicts // The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's // service account. The role must be assigned the IAM permissions required by the // add-on. If you don't specify an existing IAM role, then the add-on uses the // permissions assigned to the node IAM role. For more information, see Amazon EKS // node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) // in the Amazon EKS User Guide. To specify an existing IAM role, you must have an // IAM OpenID Connect (OIDC) provider created for your cluster. For more // information, see Enabling IAM roles for service accounts on your cluster (https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) // in the Amazon EKS User Guide. ServiceAccountRoleArn *string // The metadata to apply to the cluster to assist with categorization and // organization. Each tag consists of a key and an optional value. You define both. Tags map[string]string // contains filtered or unexported fields }
type CreateAddonOutput ¶
type CreateAddonOutput struct { // An Amazon EKS add-on. For more information, see Amazon EKS add-ons (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) // in the Amazon EKS User Guide. Addon *types.Addon // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateClusterInput ¶
type CreateClusterInput struct { // The unique name to give to your cluster. // // This member is required. Name *string // The VPC configuration that's 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. You must specify at least two subnets. You can // specify up to five security groups. However, we recommend that you use a // dedicated security group for your cluster control plane. // // This member is required. ResourcesVpcConfig *types.VpcConfigRequest // The Amazon Resource Name (ARN) of the IAM role that provides permissions for // the Kubernetes control plane to make calls to Amazon Web Services API operations // on your behalf. For more information, see Amazon EKS Service IAM Role (https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html) // in the Amazon EKS User Guide . // // This member is required. RoleArn *string // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // The encryption configuration for the cluster. EncryptionConfig []types.EncryptionConfig // The Kubernetes network configuration for the cluster. KubernetesNetworkConfig *types.KubernetesNetworkConfigRequest // Enable or disable exporting the Kubernetes control plane logs for your cluster // to CloudWatch Logs. By default, cluster control plane logs aren't exported to // CloudWatch Logs. For more information, see Amazon EKS Cluster control plane logs (https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html) // in the Amazon EKS User Guide . CloudWatch Logs ingestion, archive storage, and // data scanning rates apply to exported control plane logs. For more information, // see CloudWatch Pricing (http://aws.amazon.com/cloudwatch/pricing/) . Logging *types.Logging // An object representing the configuration of your local Amazon EKS cluster on an // Amazon Web Services Outpost. Before creating a local cluster on an Outpost, // review Local clusters for Amazon EKS on Amazon Web Services Outposts (https://docs.aws.amazon.com/eks/latest/userguide/eks-outposts-local-cluster-overview.html) // in the Amazon EKS User Guide. This object isn't available for creating Amazon // EKS clusters on the Amazon Web Services cloud. OutpostConfig *types.OutpostConfigRequest // The metadata to apply to the cluster to assist with categorization and // organization. Each tag consists of a key and an optional value. You define both. Tags map[string]string // The desired Kubernetes version for your cluster. If you don't specify a value // here, the default version available in Amazon EKS is used. The default version // might not be the latest version available. Version *string // contains filtered or unexported fields }
type CreateClusterOutput ¶
type CreateClusterOutput struct { // The full description of your new cluster. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateFargateProfileInput ¶
type CreateFargateProfileInput struct { // The name of the Amazon EKS cluster to apply the Fargate profile to. // // This member is required. ClusterName *string // The name of the Fargate profile. // // This member is required. FargateProfileName *string // The Amazon Resource Name (ARN) of the pod execution role to use for pods that // match the selectors in the Fargate profile. The pod execution role allows // Fargate infrastructure to register with your cluster as a node, and it provides // read access to Amazon ECR image repositories. 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. // // This member is required. PodExecutionRoleArn *string // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // The selectors to match for pods to use this Fargate profile. Each selector must // have an associated namespace. Optionally, you can also specify labels for a // namespace. You may specify up to five selectors in a Fargate profile. Selectors []types.FargateProfileSelector // The IDs of subnets to launch your pods into. At this time, pods running on // Fargate are not assigned public IP addresses, so only private subnets (with no // direct route to an Internet Gateway) are accepted for this parameter. Subnets []string // The metadata to apply to the Fargate profile to assist with categorization and // organization. Each tag consists of a key and an optional value. You define both. // 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 // contains filtered or unexported fields }
type CreateFargateProfileOutput ¶
type CreateFargateProfileOutput struct { // The full description of your new Fargate profile. FargateProfile *types.FargateProfile // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateNodegroupInput ¶
type CreateNodegroupInput struct { // The name of the cluster to create the node group in. // // This member is required. ClusterName *string // The Amazon Resource Name (ARN) of the IAM role to associate with your node // group. The Amazon EKS worker node kubelet daemon makes calls to Amazon Web // Services APIs on your behalf. Nodes receive permissions for these API calls // through an IAM instance profile and associated policies. Before you can launch // nodes and register them into a cluster, you must create an IAM role for those // nodes to use when they are launched. For more information, see Amazon EKS node // IAM role (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) // in the Amazon EKS User Guide . If you specify launchTemplate , then don't // specify IamInstanceProfile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html) // in your launch template, or the node group deployment will fail. For more // information about using launch templates with Amazon EKS, see Launch template // support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. // // This member is required. NodeRole *string // The unique name to give your node group. // // This member is required. NodegroupName *string // The subnets to use for the Auto Scaling group that is created for your node // group. If you specify launchTemplate , then don't specify SubnetId (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html) // in your launch template, or the node group deployment will fail. For more // information about using launch templates with Amazon EKS, see Launch template // support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. // // This member is required. Subnets []string // The AMI type for your node group. If you specify launchTemplate , and your // launch template uses a custom AMI, then don't specify amiType , or the node // group deployment will fail. If your launch template uses a Windows custom AMI, // then add eks:kube-proxy-windows to your Windows nodes rolearn in the aws-auth // ConfigMap . For more information about using launch templates with Amazon EKS, // see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. AmiType types.AMITypes // The capacity type for your node group. CapacityType types.CapacityTypes // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // The root device disk size (in GiB) for your node group instances. The default // disk size is 20 GiB for Linux and Bottlerocket. The default disk size is 50 GiB // for Windows. If you specify launchTemplate , then don't specify diskSize , or // the node group deployment will fail. For more information about using launch // templates with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. DiskSize *int32 // Specify the instance types for a node group. If you specify a GPU instance // type, make sure to also specify an applicable GPU AMI type with the amiType // parameter. If you specify launchTemplate , then you can specify zero or one // instance type in your launch template or you can specify 0-20 instance types for // instanceTypes . If however, you specify an instance type in your launch template // and specify any instanceTypes , the node group deployment will fail. If you // don't specify an instance type in a launch template or for instanceTypes , then // t3.medium is used, by default. If you specify Spot for capacityType , then we // recommend specifying multiple values for instanceTypes . For more information, // see Managed node group capacity types (https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html#managed-node-group-capacity-types) // and Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. InstanceTypes []string // The Kubernetes labels to be applied to the nodes in the node group when they // are created. Labels map[string]string // An object representing a node group's launch template specification. If // specified, then do not specify instanceTypes , diskSize , or remoteAccess and // make sure that the launch template meets the requirements in // launchTemplateSpecification . LaunchTemplate *types.LaunchTemplateSpecification // The AMI version of the Amazon EKS optimized AMI to use with your node group. By // default, the latest available AMI version for the node group's current // Kubernetes version is used. For information about Linux versions, see Amazon // EKS optimized Amazon Linux AMI versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) // in the Amazon EKS User Guide. Amazon EKS managed node groups support the // November 2022 and later releases of the Windows AMIs. For information about // Windows versions, see Amazon EKS optimized Windows AMI versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html) // in the Amazon EKS User Guide. If you specify launchTemplate , and your launch // template uses a custom AMI, then don't specify releaseVersion , or the node // group deployment will fail. For more information about using launch templates // with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. ReleaseVersion *string // The remote access configuration to use with your node group. For Linux, the // protocol is SSH. For Windows, the protocol is RDP. If you specify launchTemplate // , then don't specify remoteAccess , or the node group deployment will fail. For // more information about using launch templates with Amazon EKS, see Launch // template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. RemoteAccess *types.RemoteAccessConfig // The scaling configuration details for the Auto Scaling group that is created // for your node group. ScalingConfig *types.NodegroupScalingConfig // The metadata to apply to the node group to assist with categorization and // organization. Each tag consists of a key and an optional value. You define both. // 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 taints to be applied to the nodes in the node group. For more // information, see Node taints on managed node groups (https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html) // . Taints []types.Taint // The node group update configuration. UpdateConfig *types.NodegroupUpdateConfig // The Kubernetes version to use for your managed nodes. By default, the // Kubernetes version of the cluster is used, and this is the only accepted // specified value. If you specify launchTemplate , and your launch template uses a // custom AMI, then don't specify version , or the node group deployment will fail. // For more information about using launch templates with Amazon EKS, see Launch // template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. Version *string // contains filtered or unexported fields }
type CreateNodegroupOutput ¶
type CreateNodegroupOutput struct { // The full description of your new node group. Nodegroup *types.Nodegroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteAddonInput ¶
type DeleteAddonInput struct { // The name of the add-on. The name must match one of the names returned by // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html) // . // // This member is required. AddonName *string // The name of the cluster to delete the add-on from. // // This member is required. ClusterName *string // Specifying this option preserves the add-on software on your cluster but Amazon // EKS stops managing any settings for the add-on. If an IAM account is associated // with the add-on, it isn't removed. Preserve bool // contains filtered or unexported fields }
type DeleteAddonOutput ¶
type DeleteAddonOutput struct { // An Amazon EKS add-on. For more information, see Amazon EKS add-ons (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) // in the Amazon EKS User Guide. Addon *types.Addon // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteClusterInput ¶
type DeleteClusterInput struct { // The name of the cluster to delete. // // This member is required. Name *string // contains filtered or unexported fields }
type DeleteClusterOutput ¶
type DeleteClusterOutput struct { // The full description of the cluster to delete. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFargateProfileInput ¶
type DeleteFargateProfileInput struct { // The name of the Amazon EKS cluster associated with the Fargate profile to // delete. // // This member is required. ClusterName *string // The name of the Fargate profile to delete. // // This member is required. FargateProfileName *string // contains filtered or unexported fields }
type DeleteFargateProfileOutput ¶
type DeleteFargateProfileOutput struct { // The deleted Fargate profile. FargateProfile *types.FargateProfile // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteNodegroupInput ¶
type DeleteNodegroupInput struct { // The name of the Amazon EKS cluster that is associated with your node group. // // This member is required. ClusterName *string // The name of the node group to delete. // // This member is required. NodegroupName *string // contains filtered or unexported fields }
type DeleteNodegroupOutput ¶
type DeleteNodegroupOutput struct { // The full description of your deleted node group. Nodegroup *types.Nodegroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeregisterClusterInput ¶
type DeregisterClusterInput struct { // The name of the connected cluster to deregister. // // This member is required. Name *string // contains filtered or unexported fields }
type DeregisterClusterOutput ¶
type DeregisterClusterOutput struct { // An object representing an Amazon EKS cluster. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAddonAPIClient ¶
type DescribeAddonAPIClient interface { DescribeAddon(context.Context, *DescribeAddonInput, ...func(*Options)) (*DescribeAddonOutput, error) }
DescribeAddonAPIClient is a client that implements the DescribeAddon operation.
type DescribeAddonConfigurationInput ¶
type DescribeAddonConfigurationInput struct { // The name of the add-on. The name must match one of the names that // DescribeAddonVersions (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html) // returns. // // This member is required. AddonName *string // The version of the add-on. The version must match one of the versions returned // by DescribeAddonVersions (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html) // . // // This member is required. AddonVersion *string // contains filtered or unexported fields }
type DescribeAddonConfigurationOutput ¶
type DescribeAddonConfigurationOutput struct { // The name of the add-on. AddonName *string // The version of the add-on. The version must match one of the versions returned // by DescribeAddonVersions (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html) // . AddonVersion *string // A JSON schema that's used to validate the configuration values that you provide // when an addon is created or updated. ConfigurationSchema *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAddonInput ¶
type DescribeAddonInput struct { // The name of the add-on. The name must match one of the names returned by // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html) // . // // This member is required. AddonName *string // The name of the cluster. // // This member is required. ClusterName *string // contains filtered or unexported fields }
type DescribeAddonOutput ¶
type DescribeAddonOutput struct { // An Amazon EKS add-on. For more information, see Amazon EKS add-ons (https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html) // in the Amazon EKS User Guide. Addon *types.Addon // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAddonVersionsAPIClient ¶
type DescribeAddonVersionsAPIClient interface { DescribeAddonVersions(context.Context, *DescribeAddonVersionsInput, ...func(*Options)) (*DescribeAddonVersionsOutput, error) }
DescribeAddonVersionsAPIClient is a client that implements the DescribeAddonVersions operation.
type DescribeAddonVersionsInput ¶
type DescribeAddonVersionsInput struct { // The name of the add-on. The name must match one of the names returned by // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html) // . AddonName *string // The Kubernetes versions that you can use the add-on with. KubernetesVersion *string // The maximum number of results to return. MaxResults *int32 // The nextToken value returned from a previous paginated // DescribeAddonVersionsRequest where maxResults was used and the results exceeded // the value of that parameter. Pagination continues from the end of the previous // results that returned the nextToken value. This token should be treated as an // opaque identifier that is used only to retrieve the next items in a list and not // for other programmatic purposes. NextToken *string // The owner of the add-on. For valid owners , don't specify a value for this // property. Owners []string // The publisher of the add-on. For valid publishers , don't specify a value for // this property. Publishers []string // The type of the add-on. For valid types , don't specify a value for this // property. Types []string // contains filtered or unexported fields }
type DescribeAddonVersionsOutput ¶
type DescribeAddonVersionsOutput struct { // The list of available versions with Kubernetes version compatibility and other // properties. Addons []types.AddonInfo // The nextToken value returned from a previous paginated // DescribeAddonVersionsResponse where maxResults was used and the results // exceeded the value of that parameter. Pagination continues from the end of the // previous results that returned the nextToken value. This token should be // treated as an opaque identifier that is used only to retrieve the next items in // a list and not for other programmatic purposes. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeAddonVersionsPaginator ¶
type DescribeAddonVersionsPaginator struct {
// contains filtered or unexported fields
}
DescribeAddonVersionsPaginator is a paginator for DescribeAddonVersions
func NewDescribeAddonVersionsPaginator ¶
func NewDescribeAddonVersionsPaginator(client DescribeAddonVersionsAPIClient, params *DescribeAddonVersionsInput, optFns ...func(*DescribeAddonVersionsPaginatorOptions)) *DescribeAddonVersionsPaginator
NewDescribeAddonVersionsPaginator returns a new DescribeAddonVersionsPaginator
func (*DescribeAddonVersionsPaginator) HasMorePages ¶
func (p *DescribeAddonVersionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*DescribeAddonVersionsPaginator) NextPage ¶
func (p *DescribeAddonVersionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*DescribeAddonVersionsOutput, error)
NextPage retrieves the next DescribeAddonVersions page.
type DescribeAddonVersionsPaginatorOptions ¶
type DescribeAddonVersionsPaginatorOptions struct { // The maximum number of results to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
DescribeAddonVersionsPaginatorOptions is the paginator options for DescribeAddonVersions
type DescribeClusterAPIClient ¶
type DescribeClusterAPIClient interface { DescribeCluster(context.Context, *DescribeClusterInput, ...func(*Options)) (*DescribeClusterOutput, error) }
DescribeClusterAPIClient is a client that implements the DescribeCluster operation.
type DescribeClusterInput ¶
type DescribeClusterInput struct { // The name of the cluster to describe. // // This member is required. Name *string // contains filtered or unexported fields }
type DescribeClusterOutput ¶
type DescribeClusterOutput struct { // The full description of your specified cluster. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeFargateProfileAPIClient ¶
type DescribeFargateProfileAPIClient interface { DescribeFargateProfile(context.Context, *DescribeFargateProfileInput, ...func(*Options)) (*DescribeFargateProfileOutput, error) }
DescribeFargateProfileAPIClient is a client that implements the DescribeFargateProfile operation.
type DescribeFargateProfileInput ¶
type DescribeFargateProfileInput struct { // The name of the Amazon EKS cluster associated with the Fargate profile. // // This member is required. ClusterName *string // The name of the Fargate profile to describe. // // This member is required. FargateProfileName *string // contains filtered or unexported fields }
type DescribeFargateProfileOutput ¶
type DescribeFargateProfileOutput struct { // The full description of your Fargate profile. FargateProfile *types.FargateProfile // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeIdentityProviderConfigInput ¶
type DescribeIdentityProviderConfigInput struct { // The cluster name that the identity provider configuration is associated to. // // This member is required. ClusterName *string // An object representing an identity provider configuration. // // This member is required. IdentityProviderConfig *types.IdentityProviderConfig // contains filtered or unexported fields }
type DescribeIdentityProviderConfigOutput ¶
type DescribeIdentityProviderConfigOutput struct { // The object that represents an OpenID Connect (OIDC) identity provider // configuration. IdentityProviderConfig *types.IdentityProviderConfigResponse // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeNodegroupAPIClient ¶
type DescribeNodegroupAPIClient interface { DescribeNodegroup(context.Context, *DescribeNodegroupInput, ...func(*Options)) (*DescribeNodegroupOutput, error) }
DescribeNodegroupAPIClient is a client that implements the DescribeNodegroup operation.
type DescribeNodegroupInput ¶
type DescribeNodegroupInput struct { // The name of the Amazon EKS cluster associated with the node group. // // This member is required. ClusterName *string // The name of the node group to describe. // // This member is required. NodegroupName *string // contains filtered or unexported fields }
type DescribeNodegroupOutput ¶
type DescribeNodegroupOutput struct { // The full description of your node group. Nodegroup *types.Nodegroup // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeUpdateInput ¶
type DescribeUpdateInput struct { // The name of the Amazon EKS cluster associated with the update. // // This member is required. Name *string // The ID of the update to describe. // // This member is required. UpdateId *string // The name of the add-on. The name must match one of the names returned by // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html) // . This parameter is required if the update is an add-on update. AddonName *string // The name of the Amazon EKS node group associated with the update. This // parameter is required if the update is a node group update. NodegroupName *string // contains filtered or unexported fields }
type DescribeUpdateOutput ¶
type DescribeUpdateOutput struct { // The full description of the specified update. Update *types.Update // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DisassociateIdentityProviderConfigInput ¶
type DisassociateIdentityProviderConfigInput struct { // The name of the cluster to disassociate an identity provider from. // // This member is required. ClusterName *string // An object representing an identity provider configuration. // // This member is required. IdentityProviderConfig *types.IdentityProviderConfig // A unique, case-sensitive identifier that you provide to ensure the idempotency // of the request. ClientRequestToken *string // contains filtered or unexported fields }
type DisassociateIdentityProviderConfigOutput ¶
type DisassociateIdentityProviderConfigOutput struct { // An object representing an asynchronous update. Update *types.Update // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type EndpointResolverV2 ¶
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶
func NewDefaultEndpointResolverV2() EndpointResolverV2
type FargateProfileActiveWaiter ¶
type FargateProfileActiveWaiter struct {
// contains filtered or unexported fields
}
FargateProfileActiveWaiter defines the waiters for FargateProfileActive
func NewFargateProfileActiveWaiter ¶
func NewFargateProfileActiveWaiter(client DescribeFargateProfileAPIClient, optFns ...func(*FargateProfileActiveWaiterOptions)) *FargateProfileActiveWaiter
NewFargateProfileActiveWaiter constructs a FargateProfileActiveWaiter.
func (*FargateProfileActiveWaiter) Wait ¶
func (w *FargateProfileActiveWaiter) Wait(ctx context.Context, params *DescribeFargateProfileInput, maxWaitDur time.Duration, optFns ...func(*FargateProfileActiveWaiterOptions)) error
Wait calls the waiter function for FargateProfileActive waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*FargateProfileActiveWaiter) WaitForOutput ¶
func (w *FargateProfileActiveWaiter) WaitForOutput(ctx context.Context, params *DescribeFargateProfileInput, maxWaitDur time.Duration, optFns ...func(*FargateProfileActiveWaiterOptions)) (*DescribeFargateProfileOutput, error)
WaitForOutput calls the waiter function for FargateProfileActive waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type FargateProfileActiveWaiterOptions ¶
type FargateProfileActiveWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // FargateProfileActiveWaiter will use default minimum delay of 10 seconds. Note // that MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, FargateProfileActiveWaiter will use default max delay of 120 // seconds. Note that MaxDelay must resolve to value greater than or equal to the // MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeFargateProfileInput, *DescribeFargateProfileOutput, error) (bool, error) }
FargateProfileActiveWaiterOptions are waiter options for FargateProfileActiveWaiter
type FargateProfileDeletedWaiter ¶
type FargateProfileDeletedWaiter struct {
// contains filtered or unexported fields
}
FargateProfileDeletedWaiter defines the waiters for FargateProfileDeleted
func NewFargateProfileDeletedWaiter ¶
func NewFargateProfileDeletedWaiter(client DescribeFargateProfileAPIClient, optFns ...func(*FargateProfileDeletedWaiterOptions)) *FargateProfileDeletedWaiter
NewFargateProfileDeletedWaiter constructs a FargateProfileDeletedWaiter.
func (*FargateProfileDeletedWaiter) Wait ¶
func (w *FargateProfileDeletedWaiter) Wait(ctx context.Context, params *DescribeFargateProfileInput, maxWaitDur time.Duration, optFns ...func(*FargateProfileDeletedWaiterOptions)) error
Wait calls the waiter function for FargateProfileDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*FargateProfileDeletedWaiter) WaitForOutput ¶
func (w *FargateProfileDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeFargateProfileInput, maxWaitDur time.Duration, optFns ...func(*FargateProfileDeletedWaiterOptions)) (*DescribeFargateProfileOutput, error)
WaitForOutput calls the waiter function for FargateProfileDeleted waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type FargateProfileDeletedWaiterOptions ¶
type FargateProfileDeletedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // FargateProfileDeletedWaiter will use default minimum delay of 30 seconds. Note // that MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, FargateProfileDeletedWaiter will use default max delay of 120 // seconds. Note that MaxDelay must resolve to value greater than or equal to the // MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeFargateProfileInput, *DescribeFargateProfileOutput, error) (bool, error) }
FargateProfileDeletedWaiterOptions are waiter options for FargateProfileDeletedWaiter
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error }
type IdempotencyTokenProvider ¶
IdempotencyTokenProvider interface for providing idempotency token
type ListAddonsAPIClient ¶
type ListAddonsAPIClient interface { ListAddons(context.Context, *ListAddonsInput, ...func(*Options)) (*ListAddonsOutput, error) }
ListAddonsAPIClient is a client that implements the ListAddons operation.
type ListAddonsInput ¶
type ListAddonsInput struct { // The name of the cluster. // // This member is required. ClusterName *string // The maximum number of add-on results returned by ListAddonsRequest in paginated // output. When you use this parameter, ListAddonsRequest returns only maxResults // results in a single page along with a nextToken response element. You can see // the remaining results of the initial request by sending another // ListAddonsRequest request with the returned nextToken value. This value can be // between 1 and 100. If you don't use this parameter, ListAddonsRequest returns // up to 100 results and a nextToken value, if applicable. MaxResults *int32 // The nextToken value returned from a previous paginated ListAddonsRequest where // maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. This token should be treated as an opaque identifier that is // used only to retrieve the next items in a list and not for other programmatic // purposes. NextToken *string // contains filtered or unexported fields }
type ListAddonsOutput ¶
type ListAddonsOutput struct { // A list of available add-ons. Addons []string // The nextToken value returned from a previous paginated ListAddonsResponse where // maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. This token should be treated as an opaque identifier that is // used only to retrieve the next items in a list and not for other programmatic // purposes. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAddonsPaginator ¶
type ListAddonsPaginator struct {
// contains filtered or unexported fields
}
ListAddonsPaginator is a paginator for ListAddons
func NewListAddonsPaginator ¶
func NewListAddonsPaginator(client ListAddonsAPIClient, params *ListAddonsInput, optFns ...func(*ListAddonsPaginatorOptions)) *ListAddonsPaginator
NewListAddonsPaginator returns a new ListAddonsPaginator
func (*ListAddonsPaginator) HasMorePages ¶
func (p *ListAddonsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAddonsPaginator) NextPage ¶
func (p *ListAddonsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAddonsOutput, error)
NextPage retrieves the next ListAddons page.
type ListAddonsPaginatorOptions ¶
type ListAddonsPaginatorOptions struct { // The maximum number of add-on results returned by ListAddonsRequest in paginated // output. When you use this parameter, ListAddonsRequest returns only maxResults // results in a single page along with a nextToken response element. You can see // the remaining results of the initial request by sending another // ListAddonsRequest request with the returned nextToken value. This value can be // between 1 and 100. If you don't use this parameter, ListAddonsRequest returns // up to 100 results and a nextToken value, if applicable. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAddonsPaginatorOptions is the paginator options for ListAddons
type ListClustersAPIClient ¶
type ListClustersAPIClient interface { ListClusters(context.Context, *ListClustersInput, ...func(*Options)) (*ListClustersOutput, error) }
ListClustersAPIClient is a client that implements the ListClusters operation.
type ListClustersInput ¶
type ListClustersInput struct { // Indicates whether external clusters are included in the returned list. Use ' all // ' to return connected clusters, or blank to return only Amazon EKS clusters. ' // all ' must be in lowercase otherwise an error occurs. Include []string // The maximum number of cluster results returned by ListClusters in paginated // output. When you use this parameter, ListClusters returns only maxResults // results in a single page along with a nextToken response element. You can see // the remaining results of the initial request by sending another ListClusters // request with the returned nextToken value. This value can be between 1 and 100. // If you don't use this parameter, ListClusters returns up to 100 results and a // nextToken value if applicable. MaxResults *int32 // The nextToken value returned from a previous paginated ListClusters request // where maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. This token should be treated as an opaque identifier that is // used only to retrieve the next items in a list and not for other programmatic // purposes. NextToken *string // contains filtered or unexported fields }
type ListClustersOutput ¶
type ListClustersOutput struct { // A list of all of the clusters for your account in the specified Region. Clusters []string // The nextToken value to include in a future ListClusters request. When the // results of a ListClusters request exceed maxResults , you can use this value to // retrieve the next page of results. This value is null when there are no more // results to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListClustersPaginator ¶
type ListClustersPaginator struct {
// contains filtered or unexported fields
}
ListClustersPaginator is a paginator for ListClusters
func NewListClustersPaginator ¶
func NewListClustersPaginator(client ListClustersAPIClient, params *ListClustersInput, optFns ...func(*ListClustersPaginatorOptions)) *ListClustersPaginator
NewListClustersPaginator returns a new ListClustersPaginator
func (*ListClustersPaginator) HasMorePages ¶
func (p *ListClustersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListClustersPaginator) NextPage ¶
func (p *ListClustersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListClustersOutput, error)
NextPage retrieves the next ListClusters page.
type ListClustersPaginatorOptions ¶
type ListClustersPaginatorOptions struct { // The maximum number of cluster results returned by ListClusters in paginated // output. When you use this parameter, ListClusters returns only maxResults // results in a single page along with a nextToken response element. You can see // the remaining results of the initial request by sending another ListClusters // request with the returned nextToken value. This value can be between 1 and 100. // If you don't use this parameter, ListClusters returns up to 100 results and a // nextToken value if applicable. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListClustersPaginatorOptions is the paginator options for ListClusters
type ListFargateProfilesAPIClient ¶
type ListFargateProfilesAPIClient interface { ListFargateProfiles(context.Context, *ListFargateProfilesInput, ...func(*Options)) (*ListFargateProfilesOutput, error) }
ListFargateProfilesAPIClient is a client that implements the ListFargateProfiles operation.
type ListFargateProfilesInput ¶
type ListFargateProfilesInput struct { // The name of the Amazon EKS cluster that you would like to list Fargate profiles // in. // // This member is required. ClusterName *string // The maximum number of Fargate profile results returned by ListFargateProfiles // in paginated output. When you use this parameter, ListFargateProfiles returns // only maxResults results in a single page along with a nextToken response // element. You can see the remaining results of the initial request by sending // another ListFargateProfiles request with the returned nextToken value. This // value can be between 1 and 100. If you don't use this parameter, // ListFargateProfiles returns up to 100 results and a nextToken value if // applicable. MaxResults *int32 // The nextToken value returned from a previous paginated ListFargateProfiles // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. NextToken *string // contains filtered or unexported fields }
type ListFargateProfilesOutput ¶
type ListFargateProfilesOutput struct { // A list of all of the Fargate profiles associated with the specified cluster. FargateProfileNames []string // The nextToken value to include in a future ListFargateProfiles request. When // the results of a ListFargateProfiles request exceed maxResults , you can use // this value to retrieve the next page of results. This value is null when there // are no more results to return. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFargateProfilesPaginator ¶
type ListFargateProfilesPaginator struct {
// contains filtered or unexported fields
}
ListFargateProfilesPaginator is a paginator for ListFargateProfiles
func NewListFargateProfilesPaginator ¶
func NewListFargateProfilesPaginator(client ListFargateProfilesAPIClient, params *ListFargateProfilesInput, optFns ...func(*ListFargateProfilesPaginatorOptions)) *ListFargateProfilesPaginator
NewListFargateProfilesPaginator returns a new ListFargateProfilesPaginator
func (*ListFargateProfilesPaginator) HasMorePages ¶
func (p *ListFargateProfilesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFargateProfilesPaginator) NextPage ¶
func (p *ListFargateProfilesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFargateProfilesOutput, error)
NextPage retrieves the next ListFargateProfiles page.
type ListFargateProfilesPaginatorOptions ¶
type ListFargateProfilesPaginatorOptions struct { // The maximum number of Fargate profile results returned by ListFargateProfiles // in paginated output. When you use this parameter, ListFargateProfiles returns // only maxResults results in a single page along with a nextToken response // element. You can see the remaining results of the initial request by sending // another ListFargateProfiles request with the returned nextToken value. This // value can be between 1 and 100. If you don't use this parameter, // ListFargateProfiles returns up to 100 results and a nextToken value if // applicable. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListFargateProfilesPaginatorOptions is the paginator options for ListFargateProfiles
type ListIdentityProviderConfigsAPIClient ¶
type ListIdentityProviderConfigsAPIClient interface { ListIdentityProviderConfigs(context.Context, *ListIdentityProviderConfigsInput, ...func(*Options)) (*ListIdentityProviderConfigsOutput, error) }
ListIdentityProviderConfigsAPIClient is a client that implements the ListIdentityProviderConfigs operation.
type ListIdentityProviderConfigsInput ¶
type ListIdentityProviderConfigsInput struct { // The cluster name that you want to list identity provider configurations for. // // This member is required. ClusterName *string // The maximum number of identity provider configurations returned by // ListIdentityProviderConfigs in paginated output. When you use this parameter, // ListIdentityProviderConfigs returns only maxResults results in a single page // along with a nextToken response element. You can see the remaining results of // the initial request by sending another ListIdentityProviderConfigs request with // the returned nextToken value. This value can be between 1 and 100. If you don't // use this parameter, ListIdentityProviderConfigs returns up to 100 results and a // nextToken value, if applicable. MaxResults *int32 // The nextToken value returned from a previous paginated // IdentityProviderConfigsRequest where maxResults was used and the results // exceeded the value of that parameter. Pagination continues from the end of the // previous results that returned the nextToken value. NextToken *string // contains filtered or unexported fields }
type ListIdentityProviderConfigsOutput ¶
type ListIdentityProviderConfigsOutput struct { // The identity provider configurations for the cluster. IdentityProviderConfigs []types.IdentityProviderConfig // The nextToken value returned from a previous paginated // ListIdentityProviderConfigsResponse where maxResults was used and the results // exceeded the value of that parameter. Pagination continues from the end of the // previous results that returned the nextToken value. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListIdentityProviderConfigsPaginator ¶
type ListIdentityProviderConfigsPaginator struct {
// contains filtered or unexported fields
}
ListIdentityProviderConfigsPaginator is a paginator for ListIdentityProviderConfigs
func NewListIdentityProviderConfigsPaginator ¶
func NewListIdentityProviderConfigsPaginator(client ListIdentityProviderConfigsAPIClient, params *ListIdentityProviderConfigsInput, optFns ...func(*ListIdentityProviderConfigsPaginatorOptions)) *ListIdentityProviderConfigsPaginator
NewListIdentityProviderConfigsPaginator returns a new ListIdentityProviderConfigsPaginator
func (*ListIdentityProviderConfigsPaginator) HasMorePages ¶
func (p *ListIdentityProviderConfigsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListIdentityProviderConfigsPaginator) NextPage ¶
func (p *ListIdentityProviderConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListIdentityProviderConfigsOutput, error)
NextPage retrieves the next ListIdentityProviderConfigs page.
type ListIdentityProviderConfigsPaginatorOptions ¶
type ListIdentityProviderConfigsPaginatorOptions struct { // The maximum number of identity provider configurations returned by // ListIdentityProviderConfigs in paginated output. When you use this parameter, // ListIdentityProviderConfigs returns only maxResults results in a single page // along with a nextToken response element. You can see the remaining results of // the initial request by sending another ListIdentityProviderConfigs request with // the returned nextToken value. This value can be between 1 and 100. If you don't // use this parameter, ListIdentityProviderConfigs returns up to 100 results and a // nextToken value, if applicable. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListIdentityProviderConfigsPaginatorOptions is the paginator options for ListIdentityProviderConfigs
type ListNodegroupsAPIClient ¶
type ListNodegroupsAPIClient interface { ListNodegroups(context.Context, *ListNodegroupsInput, ...func(*Options)) (*ListNodegroupsOutput, error) }
ListNodegroupsAPIClient is a client that implements the ListNodegroups operation.
type ListNodegroupsInput ¶
type ListNodegroupsInput struct { // The name of the Amazon EKS cluster that you would like to list node groups in. // // This member is required. ClusterName *string // The maximum number of node group results returned by ListNodegroups in // paginated output. When you use this parameter, ListNodegroups returns only // maxResults results in a single page along with a nextToken response element. // You can see the remaining results of the initial request by sending another // ListNodegroups request with the returned nextToken value. This value can be // between 1 and 100. If you don't use this parameter, ListNodegroups returns up // to 100 results and a nextToken value if applicable. MaxResults *int32 // The nextToken value returned from a previous paginated ListNodegroups request // where maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string // contains filtered or unexported fields }
type ListNodegroupsOutput ¶
type ListNodegroupsOutput struct { // The nextToken value to include in a future ListNodegroups request. When the // results of a ListNodegroups request exceed maxResults , you can use this value // to retrieve the next page of results. This value is null when there are no more // results to return. NextToken *string // A list of all of the node groups associated with the specified cluster. Nodegroups []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListNodegroupsPaginator ¶
type ListNodegroupsPaginator struct {
// contains filtered or unexported fields
}
ListNodegroupsPaginator is a paginator for ListNodegroups
func NewListNodegroupsPaginator ¶
func NewListNodegroupsPaginator(client ListNodegroupsAPIClient, params *ListNodegroupsInput, optFns ...func(*ListNodegroupsPaginatorOptions)) *ListNodegroupsPaginator
NewListNodegroupsPaginator returns a new ListNodegroupsPaginator
func (*ListNodegroupsPaginator) HasMorePages ¶
func (p *ListNodegroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListNodegroupsPaginator) NextPage ¶
func (p *ListNodegroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListNodegroupsOutput, error)
NextPage retrieves the next ListNodegroups page.
type ListNodegroupsPaginatorOptions ¶
type ListNodegroupsPaginatorOptions struct { // The maximum number of node group results returned by ListNodegroups in // paginated output. When you use this parameter, ListNodegroups returns only // maxResults results in a single page along with a nextToken response element. // You can see the remaining results of the initial request by sending another // ListNodegroups request with the returned nextToken value. This value can be // between 1 and 100. If you don't use this parameter, ListNodegroups returns up // to 100 results and a nextToken value if applicable. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListNodegroupsPaginatorOptions is the paginator options for ListNodegroups
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) that identifies the resource for which to list // the tags. Currently, the supported resources are Amazon EKS clusters and managed // node groups. // // This member is required. ResourceArn *string // contains filtered or unexported fields }
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // The tags for the resource. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListUpdatesAPIClient ¶
type ListUpdatesAPIClient interface { ListUpdates(context.Context, *ListUpdatesInput, ...func(*Options)) (*ListUpdatesOutput, error) }
ListUpdatesAPIClient is a client that implements the ListUpdates operation.
type ListUpdatesInput ¶
type ListUpdatesInput struct { // The name of the Amazon EKS cluster to list updates for. // // This member is required. Name *string // The names of the installed add-ons that have available updates. AddonName *string // The maximum number of update results returned by ListUpdates in paginated // output. When you use this parameter, ListUpdates returns only maxResults // results in a single page along with a nextToken response element. You can see // the remaining results of the initial request by sending another ListUpdates // request with the returned nextToken value. This value can be between 1 and 100. // If you don't use this parameter, ListUpdates returns up to 100 results and a // nextToken value if applicable. MaxResults *int32 // The nextToken value returned from a previous paginated ListUpdates request // where maxResults was used and the results exceeded the value of that parameter. // Pagination continues from the end of the previous results that returned the // nextToken value. NextToken *string // The name of the Amazon EKS managed node group to list updates for. NodegroupName *string // contains filtered or unexported fields }
type ListUpdatesOutput ¶
type ListUpdatesOutput struct { // The nextToken value to include in a future ListUpdates request. When the // results of a ListUpdates request exceed maxResults , you can use this value to // retrieve the next page of results. This value is null when there are no more // results to return. NextToken *string // A list of all the updates for the specified cluster and Region. UpdateIds []string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListUpdatesPaginator ¶
type ListUpdatesPaginator struct {
// contains filtered or unexported fields
}
ListUpdatesPaginator is a paginator for ListUpdates
func NewListUpdatesPaginator ¶
func NewListUpdatesPaginator(client ListUpdatesAPIClient, params *ListUpdatesInput, optFns ...func(*ListUpdatesPaginatorOptions)) *ListUpdatesPaginator
NewListUpdatesPaginator returns a new ListUpdatesPaginator
func (*ListUpdatesPaginator) HasMorePages ¶
func (p *ListUpdatesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListUpdatesPaginator) NextPage ¶
func (p *ListUpdatesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListUpdatesOutput, error)
NextPage retrieves the next ListUpdates page.
type ListUpdatesPaginatorOptions ¶
type ListUpdatesPaginatorOptions struct { // The maximum number of update results returned by ListUpdates in paginated // output. When you use this parameter, ListUpdates returns only maxResults // results in a single page along with a nextToken response element. You can see // the remaining results of the initial request by sending another ListUpdates // request with the returned nextToken value. This value can be between 1 and 100. // If you don't use this parameter, ListUpdates returns up to 100 results and a // nextToken value if applicable. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListUpdatesPaginatorOptions is the paginator options for ListUpdates
type NodegroupActiveWaiter ¶
type NodegroupActiveWaiter struct {
// contains filtered or unexported fields
}
NodegroupActiveWaiter defines the waiters for NodegroupActive
func NewNodegroupActiveWaiter ¶
func NewNodegroupActiveWaiter(client DescribeNodegroupAPIClient, optFns ...func(*NodegroupActiveWaiterOptions)) *NodegroupActiveWaiter
NewNodegroupActiveWaiter constructs a NodegroupActiveWaiter.
func (*NodegroupActiveWaiter) Wait ¶
func (w *NodegroupActiveWaiter) Wait(ctx context.Context, params *DescribeNodegroupInput, maxWaitDur time.Duration, optFns ...func(*NodegroupActiveWaiterOptions)) error
Wait calls the waiter function for NodegroupActive waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*NodegroupActiveWaiter) WaitForOutput ¶
func (w *NodegroupActiveWaiter) WaitForOutput(ctx context.Context, params *DescribeNodegroupInput, maxWaitDur time.Duration, optFns ...func(*NodegroupActiveWaiterOptions)) (*DescribeNodegroupOutput, error)
WaitForOutput calls the waiter function for NodegroupActive waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type NodegroupActiveWaiterOptions ¶
type NodegroupActiveWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // NodegroupActiveWaiter will use default minimum delay of 30 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, NodegroupActiveWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeNodegroupInput, *DescribeNodegroupOutput, error) (bool, error) }
NodegroupActiveWaiterOptions are waiter options for NodegroupActiveWaiter
type NodegroupDeletedWaiter ¶
type NodegroupDeletedWaiter struct {
// contains filtered or unexported fields
}
NodegroupDeletedWaiter defines the waiters for NodegroupDeleted
func NewNodegroupDeletedWaiter ¶
func NewNodegroupDeletedWaiter(client DescribeNodegroupAPIClient, optFns ...func(*NodegroupDeletedWaiterOptions)) *NodegroupDeletedWaiter
NewNodegroupDeletedWaiter constructs a NodegroupDeletedWaiter.
func (*NodegroupDeletedWaiter) Wait ¶
func (w *NodegroupDeletedWaiter) Wait(ctx context.Context, params *DescribeNodegroupInput, maxWaitDur time.Duration, optFns ...func(*NodegroupDeletedWaiterOptions)) error
Wait calls the waiter function for NodegroupDeleted waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*NodegroupDeletedWaiter) WaitForOutput ¶
func (w *NodegroupDeletedWaiter) WaitForOutput(ctx context.Context, params *DescribeNodegroupInput, maxWaitDur time.Duration, optFns ...func(*NodegroupDeletedWaiterOptions)) (*DescribeNodegroupOutput, error)
WaitForOutput calls the waiter function for NodegroupDeleted waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type NodegroupDeletedWaiterOptions ¶
type NodegroupDeletedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // NodegroupDeletedWaiter will use default minimum delay of 30 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or // set to zero, NodegroupDeletedWaiter will use default max delay of 120 seconds. // Note that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *DescribeNodegroupInput, *DescribeNodegroupOutput, error) (bool, error) }
NodegroupDeletedWaiterOptions are waiter options for NodegroupDeletedWaiter
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. To migrate an EndpointResolver implementation that uses a custom // endpoint, set the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service. This should be used over // the deprecated EndpointResolver EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. If specified in an operation call's functional // options with a value that is different than the constructed client's Options, // the Client's Retryer will be wrapped to use the operation's specific // RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. Currently does not support per operation call // overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type RegisterClusterInput ¶
type RegisterClusterInput struct { // The configuration settings required to connect the Kubernetes cluster to the // Amazon EKS control plane. // // This member is required. ConnectorConfig *types.ConnectorConfigRequest // Define a unique name for this cluster for your Region. // // This member is required. Name *string // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // 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 // contains filtered or unexported fields }
type RegisterClusterOutput ¶
type RegisterClusterOutput struct { // An object representing an Amazon EKS cluster. Cluster *types.Cluster // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, // the supported resources are Amazon EKS clusters and managed node groups. // // This member is required. ResourceArn *string // The tags to add to the resource. A tag is an array of key-value pairs. // // This member is required. Tags map[string]string // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the resource from which to delete tags. // Currently, the supported resources are Amazon EKS clusters and managed node // groups. // // This member is required. ResourceArn *string // The keys of the tags to be removed. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateAddonInput ¶
type UpdateAddonInput struct { // The name of the add-on. The name must match one of the names returned by // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html) // . // // This member is required. AddonName *string // The name of the cluster. // // This member is required. ClusterName *string // The version of the add-on. The version must match one of the versions returned // by DescribeAddonVersions (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html) // . AddonVersion *string // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // The set of configuration values for the add-on that's created. The values that // you provide are validated against the schema in DescribeAddonConfiguration (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonConfiguration.html) // . ConfigurationValues *string // How to resolve field value conflicts for an Amazon EKS add-on if you've changed // a value from the Amazon EKS default value. Conflicts are handled based on the // option you choose: // - None – Amazon EKS doesn't change the value. The update might fail. // - Overwrite – Amazon EKS overwrites the changed value back to the Amazon EKS // default value. // - Preserve – Amazon EKS preserves the value. If you choose this option, we // recommend that you test any field and value changes on a non-production cluster // before updating the add-on on your production cluster. ResolveConflicts types.ResolveConflicts // The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's // service account. The role must be assigned the IAM permissions required by the // add-on. If you don't specify an existing IAM role, then the add-on uses the // permissions assigned to the node IAM role. For more information, see Amazon EKS // node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) // in the Amazon EKS User Guide. To specify an existing IAM role, you must have an // IAM OpenID Connect (OIDC) provider created for your cluster. For more // information, see Enabling IAM roles for service accounts on your cluster (https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) // in the Amazon EKS User Guide. ServiceAccountRoleArn *string // contains filtered or unexported fields }
type UpdateAddonOutput ¶
type UpdateAddonOutput struct { // An object representing an asynchronous update. Update *types.Update // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateClusterConfigInput ¶
type UpdateClusterConfigInput struct { // The name of the Amazon EKS cluster to update. // // This member is required. Name *string // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // Enable or disable exporting the Kubernetes control plane logs for your cluster // to CloudWatch Logs. By default, cluster control plane logs aren't exported to // CloudWatch Logs. For more information, see Amazon EKS cluster control plane logs (https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html) // in the Amazon EKS User Guide . CloudWatch Logs ingestion, archive storage, and // data scanning rates apply to exported control plane logs. For more information, // see CloudWatch Pricing (http://aws.amazon.com/cloudwatch/pricing/) . Logging *types.Logging // An object representing the VPC configuration to use for an Amazon EKS cluster. ResourcesVpcConfig *types.VpcConfigRequest // contains filtered or unexported fields }
type UpdateClusterConfigOutput ¶
type UpdateClusterConfigOutput struct { // An object representing an asynchronous update. Update *types.Update // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateClusterVersionInput ¶
type UpdateClusterVersionInput struct { // The name of the Amazon EKS cluster to update. // // This member is required. Name *string // The desired Kubernetes version following a successful update. // // This member is required. Version *string // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // contains filtered or unexported fields }
type UpdateClusterVersionOutput ¶
type UpdateClusterVersionOutput struct { // The full description of the specified update Update *types.Update // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateNodegroupConfigInput ¶
type UpdateNodegroupConfigInput struct { // The name of the Amazon EKS cluster that the managed node group resides in. // // This member is required. ClusterName *string // The name of the managed node group to update. // // This member is required. NodegroupName *string // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // The Kubernetes labels to be applied to the nodes in the node group after the // update. Labels *types.UpdateLabelsPayload // The scaling configuration details for the Auto Scaling group after the update. ScalingConfig *types.NodegroupScalingConfig // The Kubernetes taints to be applied to the nodes in the node group after the // update. For more information, see Node taints on managed node groups (https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html) // . Taints *types.UpdateTaintsPayload // The node group update configuration. UpdateConfig *types.NodegroupUpdateConfig // contains filtered or unexported fields }
type UpdateNodegroupConfigOutput ¶
type UpdateNodegroupConfigOutput struct { // An object representing an asynchronous update. Update *types.Update // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateNodegroupVersionInput ¶
type UpdateNodegroupVersionInput struct { // The name of the Amazon EKS cluster that is associated with the managed node // group to update. // // This member is required. ClusterName *string // The name of the managed node group to update. // // This member is required. NodegroupName *string // Unique, case-sensitive identifier that you provide to ensure the idempotency of // the request. ClientRequestToken *string // Force the update if the existing node group's pods are unable to be drained due // to a pod disruption budget issue. If an update fails because pods could not be // drained, you can force the update after it fails to terminate the old node // whether or not any pods are running on the node. Force bool // An object representing a node group's launch template specification. You can // only update a node group using a launch template if the node group was // originally deployed with a launch template. LaunchTemplate *types.LaunchTemplateSpecification // The AMI version of the Amazon EKS optimized AMI to use for the update. By // default, the latest available AMI version for the node group's Kubernetes // version is used. For information about Linux versions, see Amazon EKS optimized // Amazon Linux AMI versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) // in the Amazon EKS User Guide. Amazon EKS managed node groups support the // November 2022 and later releases of the Windows AMIs. For information about // Windows versions, see Amazon EKS optimized Windows AMI versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-ami-versions-windows.html) // in the Amazon EKS User Guide. If you specify launchTemplate , and your launch // template uses a custom AMI, then don't specify releaseVersion , or the node // group update will fail. For more information about using launch templates with // Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. ReleaseVersion *string // The Kubernetes version to update to. If no version is specified, then the // Kubernetes version of the node group does not change. You can specify the // Kubernetes version of the cluster to update the node group to the latest AMI // version of the cluster's Kubernetes version. If you specify launchTemplate , and // your launch template uses a custom AMI, then don't specify version , or the node // group update will fail. For more information about using launch templates with // Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) // in the Amazon EKS User Guide. Version *string // contains filtered or unexported fields }
type UpdateNodegroupVersionOutput ¶
type UpdateNodegroupVersionOutput struct { // An object representing an asynchronous update. Update *types.Update // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
api_client.go api_op_AssociateEncryptionConfig.go api_op_AssociateIdentityProviderConfig.go api_op_CreateAddon.go api_op_CreateCluster.go api_op_CreateFargateProfile.go api_op_CreateNodegroup.go api_op_DeleteAddon.go api_op_DeleteCluster.go api_op_DeleteFargateProfile.go api_op_DeleteNodegroup.go api_op_DeregisterCluster.go api_op_DescribeAddon.go api_op_DescribeAddonConfiguration.go api_op_DescribeAddonVersions.go api_op_DescribeCluster.go api_op_DescribeFargateProfile.go api_op_DescribeIdentityProviderConfig.go api_op_DescribeNodegroup.go api_op_DescribeUpdate.go api_op_DisassociateIdentityProviderConfig.go api_op_ListAddons.go api_op_ListClusters.go api_op_ListFargateProfiles.go api_op_ListIdentityProviderConfigs.go api_op_ListNodegroups.go api_op_ListTagsForResource.go api_op_ListUpdates.go api_op_RegisterCluster.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateAddon.go api_op_UpdateClusterConfig.go api_op_UpdateClusterVersion.go api_op_UpdateNodegroupConfig.go api_op_UpdateNodegroupVersion.go deserializers.go doc.go endpoints.go go_module_metadata.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.31.0
- Published
- Oct 31, 2023
- Platform
- windows/amd64
- Imports
- 38 packages
- Last checked
- now –
Tools for package owners.