clients

package
v0.0.0-01-21-2016.10-2... Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NWClient

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

NWClient defines informatio needed for the k8s api client

func NewNWClient

func NewNWClient() *NWClient

NewNWClient creates an instance of the network driver client

func (*NWClient) AddPod

func (c *NWClient) AddPod(podInfo interface{}) (*cniapi.RspAddPod, error)

AddPod adds a pod to contiv using the cni api

func (*NWClient) DelPod

func (c *NWClient) DelPod(podInfo interface{}) error

DelPod deletes a pod from contiv using the cni api

Jump to

Keyboard shortcuts

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