Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerEPContext ¶
type ContainerEPContext struct { NewContName string NewAttachUUID string CurrContName string CurrAttachUUID string InterfaceID string IPAddress string SubnetLen uint Gateway string }
ContainerEPContext is used to manage the parameters for all container+endpoint management operations.
type ContainerIf ¶
type ContainerIf interface { Init(config *core.Config) error Deinit() AttachEndpoint(ctx *ContainerEPContext) error DetachEndpoint(ctx *ContainerEPContext) error GetContainerID(contName string) string GetContainerName(contName string) (string, error) ExecContainer(contName string, cmdString ...string) ([]byte, error) }
ContainerIf implementations are used to configure and manage container interfaces.
Click to show internal directories.
Click to hide internal directories.