clientgo

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 29 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoInitDynamic

func DoInitDynamic() (dynamic.Interface, error)

func GetGVR

func GetGVR(group, version, resource string) schema.GroupVersionResource

func GuessType added in v0.0.8

func GuessType(obj interface{})

func InitClient

func InitClient() *kubernetes.Clientset

func InitClientDiscovery added in v0.0.2

func InitClientDiscovery() *discovery.DiscoveryClient

func InitClientDynamic

func InitClientDynamic() (dynamic.Interface, error)

func InitClientMetrics added in v0.0.9

func InitClientMetrics() (*versioned.Clientset, error)

func InitRestClient

func InitRestClient() (*rest.Config, error, *corev1client.CoreV1Client)

func InstallYaml added in v0.0.8

func InstallYaml(dataRaw []byte) error

func InstallYamlFilename added in v0.0.8

func InstallYamlFilename(clientSet *kubernetes.Clientset, dynamicClient dynamic.Interface, ns string, filename string) error

func RestConfig added in v0.0.4

func RestConfig() *rest.Config

func UnInstallYaml added in v0.0.8

func UnInstallYaml(dataRaw []byte) error

func UninstallYaml added in v0.0.8

func UninstallYaml(clientSet *kubernetes.Clientset, dynamicClient dynamic.Interface, ns string, filename string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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