client

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 22 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 {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(masterUrl string, kubeconfigPath string, namespace string) (*Client, error)

func (*Client) CreateNetworkAttachmentDefinition added in v0.1.4

func (self *Client) CreateNetworkAttachmentDefinition(name string, config string) (*net.NetworkAttachmentDefinition, error)

func (*Client) DeleteNetworkAttachmentDefinition added in v0.1.4

func (self *Client) DeleteNetworkAttachmentDefinition(name string) error

func (*Client) GetNetworkAttachmentDefinition added in v0.1.4

func (self *Client) GetNetworkAttachmentDefinition(name string) (*net.NetworkAttachmentDefinition, error)

func (*Client) Install

func (self *Client) Install(runtime string, sourceRegistryHost string, wait bool) error

func (*Client) ListNetworkAttachmentDefinitions added in v0.1.4

func (self *Client) ListNetworkAttachmentDefinitions() (*net.NetworkAttachmentDefinitionList, error)

func (*Client) ListPodsForNetworkAttachmentDefinition added in v0.1.4

func (self *Client) ListPodsForNetworkAttachmentDefinition(name string) ([]*core.Pod, error)

func (*Client) Uninstall

func (self *Client) Uninstall()

Jump to

Keyboard shortcuts

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