kops

package
v0.0.0-...-1dd5257 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

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

Wrapper for interacting with a kops cluster

func NewWrapper

func NewWrapper(region, kopsClusterName string) (*Wrapper, error)

NewWrapper constructs a kops wrapper for a given EKS cluster config and kops cluster

func (*Wrapper) UseVPC

func (k *Wrapper) UseVPC(ctx context.Context, ec2API awsapi.EC2, spec *api.ClusterConfig) error

UseVPC finds VPC and subnets that give kops cluster uses and add those to EKS cluster config

Jump to

Keyboard shortcuts

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