cluster

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(client client.Client, discoveryClient discovery.DiscoveryInterface, eventRecorder record.EventRecorder) cluster.Client

Types

type Client

type Client struct {
	client.Client
	// contains filtered or unexported fields
}

func (*Client) DiscoveryClient

func (c *Client) DiscoveryClient() discovery.DiscoveryInterface

func (*Client) EventRecorder

func (c *Client) EventRecorder() record.EventRecorder

type ClientFactory

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

func NewClientFactory

func NewClientFactory(name string, config *rest.Config, schemeBuilder manifests.SchemeBuilder) (*ClientFactory, error)

func (*ClientFactory) Get

func (f *ClientFactory) Get(clientConfig cluster.ClientConfiguration, impersonationConfig cluster.ImpersonationConfiguration) (cluster.Client, error)

Jump to

Keyboard shortcuts

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