client

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

type Clientset interface {
	GetConfig() *rest.Config
	GetClient() (*kubernetes.Clientset, error)
	GetExtClient() (*apiextensionsclient.Clientset, error)
	GetRestClient(*schema.GroupVersion, bool) (*rest.RESTClient, error)
}

Clientset todo

func GetK8sClient

func GetK8sClient() (Clientset, error)

GetK8sClient todo

type ClientsetImpl

type ClientsetImpl struct {
	Clientset
	Config *rest.Config
}

ClientsetImpl todo

func (*ClientsetImpl) GetClient

func (s *ClientsetImpl) GetClient() (*kubernetes.Clientset, error)

GetClient todo

func (*ClientsetImpl) GetConfig

func (s *ClientsetImpl) GetConfig() *rest.Config

GetConfig todo

func (*ClientsetImpl) GetExtClient

func (s *ClientsetImpl) GetExtClient() (*apiextensionsclient.Clientset, error)

GetExtClient todo

func (*ClientsetImpl) GetRestClient

func (s *ClientsetImpl) GetRestClient(groupVersion *schema.GroupVersion, unversion bool) (*rest.RESTClient, error)

GetRestClient todo

type NamespaceRESTClient

type NamespaceRESTClient struct {
	rest.Interface
	RESTClient rest.Interface
	Namespace  string
}

NamespaceRESTClient todo

func (*NamespaceRESTClient) Delete

func (s *NamespaceRESTClient) Delete() *rest.Request

Delete todo

func (*NamespaceRESTClient) Get

func (s *NamespaceRESTClient) Get() *rest.Request

Get todo

func (*NamespaceRESTClient) Patch

Patch todo

func (*NamespaceRESTClient) Post

func (s *NamespaceRESTClient) Post() *rest.Request

Post todo

func (*NamespaceRESTClient) Put

func (s *NamespaceRESTClient) Put() *rest.Request

Put todo

Jump to

Keyboard shortcuts

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