cnsclient

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNSClient

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

CNSClient specifies a client to connect to Ipam Plugin.

func NewCnsClient

func NewCnsClient(url string) (*CNSClient, error)

NewCnsClient create a new cns client.

func (*CNSClient) GetNetworkConfiguration

func (cnsClient *CNSClient) GetNetworkConfiguration(orchestratorContext []byte) (*cns.GetNetworkContainerResponse, error)

GetNetworkConfiguration Request to get network config.

Jump to

Keyboard shortcuts

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