client

package
v0.0.0-...-43fc03f Latest Latest
Warning

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

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

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 *types.APIRequest, s *types.APISchema, namespace string, warningHandler rest.WarningHandler) (dynamic.ResourceInterface, error)

func (*Factory) AdminClientForWatch

func (p *Factory) AdminClientForWatch(ctx *types.APIRequest, s *types.APISchema, namespace string, warningHandler rest.WarningHandler) (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 *types.APIRequest, s *types.APISchema, namespace string, warningHandler rest.WarningHandler) (dynamic.ResourceInterface, error)

func (*Factory) ClientForWatch

func (p *Factory) ClientForWatch(ctx *types.APIRequest, s *types.APISchema, namespace string, warningHandler rest.WarningHandler) (dynamic.ResourceInterface, error)

func (*Factory) DynamicClient

func (p *Factory) DynamicClient(ctx *types.APIRequest, warningHandler rest.WarningHandler) (dynamic.Interface, error)

func (*Factory) IsImpersonating

func (p *Factory) IsImpersonating() bool

func (*Factory) K8sInterface

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

func (*Factory) MetadataClient

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

func (*Factory) TableAdminClient

func (p *Factory) TableAdminClient(ctx *types.APIRequest, s *types.APISchema, namespace string, warningHandler rest.WarningHandler) (dynamic.ResourceInterface, error)

func (*Factory) TableAdminClientForWatch

func (p *Factory) TableAdminClientForWatch(ctx *types.APIRequest, s *types.APISchema, namespace string, warningHandler rest.WarningHandler) (dynamic.ResourceInterface, error)

func (*Factory) TableClient

func (p *Factory) TableClient(ctx *types.APIRequest, s *types.APISchema, namespace string, warningHandler rest.WarningHandler) (dynamic.ResourceInterface, error)

func (*Factory) TableClientForWatch

func (p *Factory) TableClientForWatch(ctx *types.APIRequest, s *types.APISchema, namespace string, warningHandler rest.WarningHandler) (dynamic.ResourceInterface, error)

Jump to

Keyboard shortcuts

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