client

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: Apache-2.0 Imports: 4 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 {
	KubeClient kubeclientset.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

Jump to

Keyboard shortcuts

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