docker

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Docker

type Docker struct {
	Client *dockerclient.DockerClient
}

func (*Docker) AttachEndpoint

func (d *Docker) AttachEndpoint(ctx *crtclient.ContainerEpContext) error

performs funtion to configure the network access and policies before the container becomes active

func (*Docker) Deinit

func (d *Docker) Deinit()

func (*Docker) DetachEndpoint

func (d *Docker) DetachEndpoint(ctx *crtclient.ContainerEpContext) error

uninstall the policies and configuration during container attach

func (*Docker) GetContainerId

func (d *Docker) GetContainerId(contName string) string

func (*Docker) GetContainerName

func (d *Docker) GetContainerName(contId string) (string, error)

func (*Docker) Init

func (d *Docker) Init(config *crtclient.Config) error

type DockerConfig

type DockerConfig struct {
	Docker struct {
		Socket string
	}
}

Jump to

Keyboard shortcuts

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