crtclient

package
Version: v0.0.0 Latest Latest
Warning

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

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

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.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL