kubernetes

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 6

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
	RestClient rest.Interface
	Config     *rest.Config
}

func NewClient

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

func (*Client) GetClient

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

func (*Client) GetConfig added in v0.2.1

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

func (*Client) GetRestClient added in v0.2.1

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

Jump to

Keyboard shortcuts

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