cluster

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT-0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const EksctlTemplate = `` /* 845-byte string literal not displayed */

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

Types

type ClusterOptions

type ClusterOptions struct {
	resource.CommonOptions
	*nodegroup.NodegroupOptions

	DisableNetworkPolicy bool
	Fargate              bool
	HostnameType         string
	IPv6                 bool
	Kubeconfig           string
	NoRoles              bool
	PrefixAssignment     bool
	Private              bool
	VpcCidr              string

	IrsaTemplate *template.TextTemplate
	IrsaRoles    []*resource.Resource
	// contains filtered or unexported fields
}

func (*ClusterOptions) PreCreate

func (o *ClusterOptions) PreCreate() error

func (*ClusterOptions) PreDelete

func (o *ClusterOptions) PreDelete() error

func (*ClusterOptions) SetName

func (o *ClusterOptions) SetName(name string)

type ClusterPrinter

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

func NewPrinter

func NewPrinter(clusters []*types.Cluster, clusterURL string) *ClusterPrinter

func (*ClusterPrinter) PrintJSON

func (p *ClusterPrinter) PrintJSON(writer io.Writer) error

func (*ClusterPrinter) PrintTable

func (p *ClusterPrinter) PrintTable(writer io.Writer) error

func (*ClusterPrinter) PrintYAML

func (p *ClusterPrinter) PrintYAML(writer io.Writer) error

type Getter

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

func NewGetter

func NewGetter(eksClient *aws.EKSClient) *Getter

func (*Getter) Get

func (g *Getter) Get(name string, output printer.Output, options resource.Options) error

func (*Getter) GetAllClusters

func (g *Getter) GetAllClusters() ([]*types.Cluster, error)

func (*Getter) GetClusterByName

func (g *Getter) GetClusterByName(name string) (*types.Cluster, error)

func (*Getter) Init

func (g *Getter) Init()

Jump to

Keyboard shortcuts

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