crtclient

package
v0.0.0-...-c65a67c Latest Latest
Warning

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

Go to latest
Published: May 11, 2015 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Config object parsed from a json styled config
	V interface{}
}

type ContainerEpContext

type ContainerEpContext struct {
	NewContName    string
	NewAttachUUID  string
	CurrContName   string
	CurrAttachUUID string
	InterfaceId    string
	IpAddress      string
	SubnetLen      uint
	DefaultGw      string
}

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)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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