kubernetes

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client             kubernetes.Interface
	MetricsClient      versioned.Clientset
	ApiExtensionClient clientset.Clientset
	RestClient         rest.Interface
	Config             *rest.Config
	ServerVersion      *version.Info
}

func NewClient

func NewClient(kubecontext string, kubeconfig string) (*Client, error)

func (*Client) GetApiExtensionClient added in v0.1.1

func (c *Client) GetApiExtensionClient() *clientset.Clientset

func (*Client) GetClient

func (c *Client) GetClient() kubernetes.Interface

func (*Client) GetConfig

func (c *Client) GetConfig() *rest.Config

func (*Client) GetMetricsClient

func (c *Client) GetMetricsClient() versioned.Interface

func (*Client) GetRestClient

func (c *Client) GetRestClient() rest.Interface

Jump to

Keyboard shortcuts

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