k8s

package
v0.0.0-...-83892ef Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDynamicClient

func CreateDynamicClient(kubeConfigFile, apiServer string) (dynamic.Interface, error)

func CreateKubeClient

func CreateKubeClient(kubeConfigFile, apiServer string) (*kubernetes.Clientset, error)

func ObjectToUnstructured

func ObjectToUnstructured(obj any) *unstructured.Unstructured

objectToUnstructured: 对象转换为 *unstructured.Unstructured

func ProcessResource

func ProcessResource(arg string) schema.GroupVersionResource

Types

This section is empty.

Jump to

Keyboard shortcuts

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