Documentation ¶
Index ¶
- type Docker
- func (d *Docker) AttachEndpoint(ctx *crtclient.ContainerEpContext) error
- func (d *Docker) Deinit()
- func (d *Docker) DetachEndpoint(ctx *crtclient.ContainerEpContext) error
- func (d *Docker) GetContainerId(contName string) string
- func (d *Docker) GetContainerName(contId string) (string, error)
- func (d *Docker) Init(config *crtclient.Config) error
- type DockerConfig
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) DetachEndpoint ¶
func (d *Docker) DetachEndpoint(ctx *crtclient.ContainerEpContext) error
uninstall the policies and configuration during container attach
func (*Docker) GetContainerId ¶
type DockerConfig ¶
type DockerConfig struct { Docker struct { Socket string } }
Click to show internal directories.
Click to hide internal directories.