clientfactory

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BURST = 1024

Functions

This section is empty.

Types

type Client

type Client struct {
	ResourceClient dynamic.NamespaceableResourceInterface
	// contains filtered or unexported fields
}

func (*Client) Delete

func (c *Client) Delete(resource edgev1alpha1.EdgeSyncConfigResource, name string) error

func (*Client) Get

func (*Client) IsNamespaced

func (c *Client) IsNamespaced() bool

func (*Client) List

func (*Client) UpdateStatus

type ClientFactory

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

func NewClientFactory

func NewClientFactory(logger klog.Logger, dyClient dynamic.Interface, discoveryClient discovery.DiscoveryInterface) (ClientFactory, error)

func (*ClientFactory) GetAPIGroupResources

func (cf *ClientFactory) GetAPIGroupResources() ([]*restmapper.APIGroupResources, error)

func (*ClientFactory) GetResourceClient

func (cf *ClientFactory) GetResourceClient(group string, kind string) (Client, error)

Jump to

Keyboard shortcuts

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