kubernetes

package
v0.0.0-...-54d0854 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const EnvVarKubeconfig = "KUBECONFIG"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientBuilder

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

func NewClientBuilder

func NewClientBuilder() *ClientBuilder

func (*ClientBuilder) Build

func (cb *ClientBuilder) Build(ctx context.Context, validate bool) (kubernetes.Interface, error)

func (*ClientBuilder) WithFile

func (cb *ClientBuilder) WithFile(filePath string) *ClientBuilder

func (*ClientBuilder) WithLogger

func (cb *ClientBuilder) WithLogger(logger *zap.SugaredLogger) *ClientBuilder

func (*ClientBuilder) WithString

func (cb *ClientBuilder) WithString(kubeconfig string) *ClientBuilder

Jump to

Keyboard shortcuts

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