client

package
v0.0.0-...-52cadad Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	Config *rest.Config
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory(cfg *rest.Config, impersonate bool) (*Factory, error)

func (*Factory) AdminClient

func (p *Factory) AdminClient(ctx *types2.APIRequest, s *types2.APISchema, namespace string) (dynamic.ResourceInterface, error)

func (*Factory) AdminClientForWatch

func (p *Factory) AdminClientForWatch(ctx *types2.APIRequest, s *types2.APISchema, namespace string) (dynamic.ResourceInterface, error)

func (*Factory) AdminDynamicClient

func (p *Factory) AdminDynamicClient() dynamic.Interface

func (*Factory) AdminK8sInterface

func (p *Factory) AdminK8sInterface() (kubernetes.Interface, error)

func (*Factory) Client

func (p *Factory) Client(ctx *types2.APIRequest, s *types2.APISchema, namespace string) (dynamic.ResourceInterface, error)

func (*Factory) ClientForWatch

func (p *Factory) ClientForWatch(ctx *types2.APIRequest, s *types2.APISchema, namespace string) (dynamic.ResourceInterface, error)

func (*Factory) DynamicClient

func (p *Factory) DynamicClient(ctx *types2.APIRequest) (dynamic.Interface, error)

func (*Factory) IsImpersonating

func (p *Factory) IsImpersonating() bool

func (*Factory) K8sInterface

func (p *Factory) K8sInterface(ctx *types2.APIRequest) (kubernetes.Interface, error)

func (*Factory) MetadataClient

func (p *Factory) MetadataClient() metadata.Interface

func (*Factory) TableAdminClient

func (p *Factory) TableAdminClient(ctx *types2.APIRequest, s *types2.APISchema, namespace string) (dynamic.ResourceInterface, error)

func (*Factory) TableAdminClientForWatch

func (p *Factory) TableAdminClientForWatch(ctx *types2.APIRequest, s *types2.APISchema, namespace string) (dynamic.ResourceInterface, error)

func (*Factory) TableClient

func (p *Factory) TableClient(ctx *types2.APIRequest, s *types2.APISchema, namespace string) (dynamic.ResourceInterface, error)

func (*Factory) TableClientForWatch

func (p *Factory) TableClientForWatch(ctx *types2.APIRequest, s *types2.APISchema, namespace string) (dynamic.ResourceInterface, error)

Jump to

Keyboard shortcuts

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