kubectl

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 7 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 Logs added in v1.1.0

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

func PortForward added in v1.2.0

func PortForward(opts Options, ctx context.Context, target string, externalPort, internalPort int) error

func RolloutStatus

func RolloutStatus(ctx context.Context, opts Options, kind, name string) error

func WaitForCondition

func WaitForCondition(opts Options, 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