kubernetes

package
v0.0.0-...-cdc044f Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInClusterConfig

func NewInClusterConfig() (*rest.Config, error)

func NewLocalConfig

func NewLocalConfig() (*rest.Config, error)

Types

type Client

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

func NewClient

func NewClient(c *rest.Config) (*Client, error)

func (*Client) CreateNamespace

func (c *Client) CreateNamespace(name string) (*v1.Namespace, error)

func (*Client) DeleteNamespace

func (c *Client) DeleteNamespace(name string) error

func (*Client) GetNamespace

func (c *Client) GetNamespace(name string) (*v1.Namespace, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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