kctl

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(config Config, plugin plugins.Plugin, evt Wait) error

Apply adds/updates the plugin in a k3s/k8s cluster

func Delete

func Delete(config Config, plugin plugins.Plugin) error

Delete removes the plugin from the cluster

Types

type CliWait added in v0.1.1

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

CliWait waits when a user is interacting directly with the client CLI.

func (*CliWait) Process added in v0.1.1

func (w *CliWait) Process(config Config, namespace string, labels []string) error

Process runs the wait command for each label

type Config

type Config interface {
	Stdin() io.Reader  // standard input
	Stdout() io.Writer // standard output
	Stderr() io.Writer // standard error
}

Config is a configuration abstraction for kctl

type Wait

type Wait interface {
	Process(config Config, namespace string, labels []string) error
}

Wait processes requests for resource readiness

Jump to

Keyboard shortcuts

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