crtclient

package
v0.0.0-08-25-2015.19-1... Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2015 License: Apache-2.0 Imports: 0 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	V interface{}
}

Config should be replaced by core.Config FIXME

type ContainerEPContext

type ContainerEPContext struct {
	NewContName    string
	NewAttachUUID  string
	CurrContName   string
	CurrAttachUUID string
	InterfaceID    string
	IPAddress      string
	SubnetLen      uint
	DefaultGw      string
}

ContainerEPContext is used to manage the parameters for all container+endpoint management operations.

type ContainerIf

type ContainerIf interface {
	Init(config *Config) error
	Deinit()
	AttachEndpoint(ctx *ContainerEPContext) error
	DetachEndpoint(ctx *ContainerEPContext) error
	GetContainerID(contName string) string
	GetContainerName(contName string) (string, error)
}

ContainerIf implementations are used to configure and manage container interfaces.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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