Help us shape the future of Go! Take the 2026 Go Developer Survey

kops

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChannelsApply

func ChannelsApply(ctx context.Context, file, dryFile string, opaQuery *opa.OPA) error

func ClusterApply

func ClusterApply(ctx context.Context, file, dryFile string, forceUpdate, preview bool, opaQuery *opa.OPA) error

func ClusterEdit

func ClusterEdit(ctx context.Context, args []string) error

func ClusterEditIG

func ClusterEditIG(ctx context.Context, args []string) error

func CopyFile added in v0.0.2

func CopyFile(src, dest string) error

func ReadClusterFile

func ReadClusterFile(path string) (*types.Cluster, error)

Types

type ObjectState

type ObjectState struct {
	UpdateRequired bool
	DiffText       string
}

ObjectState represents the results of running `kops edit cluster` or `kops edit ig`

type State

type State struct {
	Cluster        ObjectState
	InstanceGroups map[string]ObjectState
}

State represents the results of running `kops edit cluster` and `kops edit ig` across multiple resources

Jump to

Keyboard shortcuts

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