eksctl

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, name string, kubeconfig string, opt ...Option) error

func Delete

func Delete(ctx context.Context, name string, opt ...Option) error

func Export

func Export(ctx context.Context, name, path string, opt ...Option) error

func Info

func Info(ctx context.Context) (string, *semver.Version, error)

func List

func List(ctx context.Context, opt ...Option) ([]string, error)

Types

type Eksctl

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

func New

func New(options ...Option) *Eksctl

func (*Eksctl) Invoke

func (e *Eksctl) Invoke(ctx context.Context, arg ...string) error

type Option

type Option func(h *Eksctl)

func WithDefaultOutput

func WithDefaultOutput() Option

func WithOutput

func WithOutput(stdout, stderr io.Writer) Option

func WithRegion

func WithRegion(region string) Option

Jump to

Keyboard shortcuts

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