client

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegistry

func NewRegistry(c *rest.Config) error

NewRegistry creates clientset by client-go

Types

type GenericClientset

type GenericClientset struct {
	DiscoveryClient  discovery.DiscoveryInterface
	KubeClient       kubeclientset.Interface
	KruiseGameClient kruiseclientset.Interface
}

GenericClientset defines a generic client

func GetGenericClient

func GetGenericClient() *GenericClientset

GetGenericClient returns default clientset

func GetGenericClientWithName

func GetGenericClientWithName(name string) *GenericClientset

GetGenericClientWithName returns clientset with given name as user-agent

Directories

Path Synopsis
clientset
versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
versioned/typed/apis/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
versioned/typed/apis/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
informers
listers
This package has the automatically generated clientset.
This package has the automatically generated clientset.
fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.

Jump to

Keyboard shortcuts

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