kubectl

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(opts Options, arg interface{}) error

func Delete

func Delete(opts Options, arg interface{}) error

func DeleteAllOf

func DeleteAllOf(opts Options, kind string) error

func DeleteByName

func DeleteByName(opts Options, kind, name string, ignoreNotFound bool) error

func DumpClusterInfo

func DumpClusterInfo(opts ClusterInfoOptions) error

func Exec

func Exec(opts Options, pod string, args ...string) (string, error)

Exec executes a command against a Cassandra pod and the cassandra container in particular. This does not currently handle pipes.

func Get

func Get(opts Options, args ...string) (string, error)

func LogOutput

func LogOutput(enabled bool)

func RolloutStatus

func RolloutStatus(opts Options, kind, name string) error

func WaitForCondition

func WaitForCondition(condition string, args ...string) error

Types

type ClusterInfoOptions

type ClusterInfoOptions struct {
	Options

	Namespaces []string

	OutputDirectory string
}

type Options

type Options struct {
	Namespace  string
	Context    string
	ServerSide bool
}

Jump to

Keyboard shortcuts

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