client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sClientBuilder

type K8sClientBuilder interface {
	GetConfig() *rest.Config
	GetClientset() (kubernetes.Interface, error)
	GetExtClientset() (clientset.Interface, error)
	GetRestClient(*schema.GroupVersion, bool) (rest.Interface, error)
}

func NewK8sClientBuilder

func NewK8sClientBuilder() (K8sClientBuilder, error)

type K8sClientBuilderImpl

type K8sClientBuilderImpl struct {
	K8sClientBuilder
	// contains filtered or unexported fields
}

func (*K8sClientBuilderImpl) GetClientset

func (s *K8sClientBuilderImpl) GetClientset() (kubernetes.Interface, error)

func (*K8sClientBuilderImpl) GetConfig

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

func (*K8sClientBuilderImpl) GetExtClientset

func (s *K8sClientBuilderImpl) GetExtClientset() (clientset.Interface, error)

func (*K8sClientBuilderImpl) GetRestClient

func (s *K8sClientBuilderImpl) GetRestClient(gv *schema.GroupVersion, unversion bool) (rest.Interface, error)

Jump to

Keyboard shortcuts

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