kube

package
v0.0.0-...-4eaa2e5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kube

type Kube interface {
	BuildClient() (*kubernetes.Clientset, error)
	BuildConfig() (*rest.Config, error)
	EnsureNamespaceExists(ctx context.Context, cs *kubernetes.Clientset) error
}

func New

func New(o *Options) Kube

type Options

type Options struct {
	ContextName      string
	Namespace        string
	PathToKubeConfig string
	InCluster        bool
	DryRun           bool
}

Jump to

Keyboard shortcuts

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