controller

package
v1.9.0-rc.9 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildUpstreamClusterState

func BuildUpstreamClusterState(ctx context.Context, name, managedTemplateID string, clusterState *eks.DescribeClusterOutput, nodeGroupStates []*eks.DescribeNodegroupOutput, ec2Service services.EC2ServiceInterface, includeManagedLaunchTemplate bool) (*eksv1.EKSClusterConfigSpec, string, error)

BuildUpstreamClusterState builds the upstream cluster state from the given eks cluster and node group states.

func NodeGroupIssueIsUpdatable added in v1.0.6

func NodeGroupIssueIsUpdatable(code string) bool

NodeGroupIssueIsUpdatable checks to see the node group can be updated with the given issue code.

func StartEC2Service added in v1.9.0

StartEC2Service initializes and returns an instance of the EC2ServiceInterface interface, which provides methods for interacting with the EC2 service in AWS.

func StartEKSService added in v1.9.0

StartEKSService initializes and returns an instance of the EKSServiceInterface interface, which provides methods for interacting with the EKS service in AWS.

Types

type Handler

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

func (*Handler) OnEksConfigChanged

func (h *Handler) OnEksConfigChanged(_ string, config *eksv1.EKSClusterConfig) (*eksv1.EKSClusterConfig, error)

func (*Handler) OnEksConfigRemoved

func (h *Handler) OnEksConfigRemoved(_ string, config *eksv1.EKSClusterConfig) (*eksv1.EKSClusterConfig, error)

Jump to

Keyboard shortcuts

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