eks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (Client) GetAddonsList

func (c Client) GetAddonsList(ctx context.Context, clusterName *string) ([]string, error)

func (Client) UpdateAddon

func (c Client) UpdateAddon(ctx context.Context, clusterName *string, addonName *string) (err error)

func (Client) UpdateNodegroupVersion

func (c Client) UpdateNodegroupVersion(ctx context.Context, clusterName *string, nodegroupName *string, maxWaitDur int) error

type Interface

type Interface interface {
	// UpdateNodegroupVersion checks if a nodegroup is in an updatable state and
	// triggers an update if it is, then waits for the update to complete
	UpdateNodegroupVersion(ctx context.Context, clusterName *string, nodegroupName *string, maxWaitDur int) error

	// UpdateAddon updates the addon of a cluster to the latest version
	UpdateAddon(ctx context.Context, clusterName *string, addonName *string) error

	// GetAddonsList returns a list of addons in a cluster
	GetAddonsList(ctx context.Context, clusterName *string) ([]string, error)
}

func NewFromConfig

func NewFromConfig(cfg aws.Config) (Interface, error)

Jump to

Keyboard shortcuts

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