k8s

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitScheme

func InitScheme(scheme *runtime.Scheme)

func SetupClientGo

func SetupClientGo(context string) (kubernetes.Interface, error)

Types

type Client

type Client struct {
	ctrl.Client
	CurrentNamespace string
}

func SetupControllerRuntimeClient

func SetupControllerRuntimeClient(overrides ...ClientOverride) *Client

type ClientOverride

type ClientOverride func(*clientcmd.ConfigOverrides)

func WithKubeContext

func WithKubeContext(kubeCtx string) ClientOverride

Jump to

Keyboard shortcuts

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