k8sclienttest

package
v7.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	// contains filtered or unexported fields
}

func NewClients

func NewClients(config ClientsConfig) *Clients

func NewEmpty

func NewEmpty() *Clients

func (*Clients) CRDClient

func (c *Clients) CRDClient() k8scrdclient.Interface

func (*Clients) CtrlClient

func (c *Clients) CtrlClient() client.Client

func (*Clients) DynClient

func (c *Clients) DynClient() dynamic.Interface

func (*Clients) ExtClient

func (c *Clients) ExtClient() apiextensionsclient.Interface

func (*Clients) K8sClient

func (c *Clients) K8sClient() kubernetes.Interface

func (*Clients) RESTClient

func (c *Clients) RESTClient() rest.Interface

func (*Clients) RESTConfig

func (c *Clients) RESTConfig() *rest.Config

func (*Clients) Scheme

func (c *Clients) Scheme() *runtime.Scheme

type ClientsConfig

type ClientsConfig struct {
	CRDClient  k8scrdclient.Interface
	CtrlClient client.Client
	DynClient  dynamic.Interface
	ExtClient  apiextensionsclient.Interface
	K8sClient  kubernetes.Interface
	RestClient rest.Interface
	RestConfig *rest.Config
}

Jump to

Keyboard shortcuts

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