k8sutil

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientset

func NewClientset(kubeconfigPath string) (*kubernetes.Clientset, error)

func NewClientsetFromConfigFlags

func NewClientsetFromConfigFlags(flags *genericclioptions.ConfigFlags) (*kubernetes.Clientset, error)

func NewClientsetWithProtobuf added in v0.33.0

func NewClientsetWithProtobuf(kubeconfigPath string) (*kubernetes.Clientset, error)

NewClientsetWithProtobuf creates a client to talk to the Kubernetes API server using protobuf encoding.

func NewKubeConfig

func NewKubeConfig(kubeconfigPath string) (*rest.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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