Documentation ¶
Index ¶
- type Client
- func (c Client) GetAddonsList(ctx context.Context, clusterName *string) ([]string, error)
- func (c Client) UpdateAddon(ctx context.Context, clusterName *string, addonName *string) (err error)
- func (c Client) UpdateNodegroupVersion(ctx context.Context, clusterName *string, nodegroupName *string, ...) error
- type Interface
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 (Client) UpdateAddon ¶
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) }
Click to show internal directories.
Click to hide internal directories.