operator

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRD

func CRD() *rest.RESTClient

get the current kubernetes client

func InitCRDOperatorRestClient

func InitCRDOperatorRestClient(groupname, groupversion string, schemeAddFunc func(s *runtime.Scheme) error) (err error)

initialize the custom resource definition rest client, based on the generated kubernetes client

if no kuberntes client was generated before, it will be generated first

func InitK8sOperatorClient

func InitK8sOperatorClient() (err error)

initialize the kubernetes client

func K8S

func K8S() *kubernetes.Clientset

get the current kubernetes client

Types

This section is empty.

Jump to

Keyboard shortcuts

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