cluster

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KubeconfigPath

func KubeconfigPath(clusterName string) string

Types

type Create

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

func NewCreate

func NewCreate(aws aws.Config, logger logr.Logger) Create

func (*Create) Run

func (c *Create) Run(ctx context.Context, test TestResources) error

type Delete

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

func NewDelete

func NewDelete(aws aws.Config, logger logr.Logger) Delete

func (*Delete) Run

func (c *Delete) Run(ctx context.Context, cluster DeleteInput) error

type DeleteInput

type DeleteInput struct {
	ClusterName   string `yaml:"clusterName"`
	ClusterRegion string `yaml:"clusterRegion"`
}

type NetworkConfig

type NetworkConfig struct {
	VpcCidr           string `yaml:"vpcCidr"`
	PublicSubnetCidr  string `yaml:"publicSubnetCidr"`
	PrivateSubnetCidr string `yaml:"privateSubnetCidr"`
	PodCidr           string `yaml:"podCidr"`
}

type TestResources

type TestResources struct {
	ClusterName       string        `yaml:"clusterName"`
	ClusterRegion     string        `yaml:"clusterRegion"`
	ClusterNetwork    NetworkConfig `yaml:"clusterNetwork"`
	HybridNetwork     NetworkConfig `yaml:"hybridNetwork"`
	KubernetesVersion string        `yaml:"kubernetesVersion"`
	Cni               string        `yaml:"cni"`
}

Jump to

Keyboard shortcuts

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