Documentation ¶
Index ¶
- func ConnectContainerToNetwork(network string, name string, dd libdocker.Interface) error
- func CreateContainer(opts *dockertypes.ContainerCreateConfig, dd libdocker.Interface) (*dockercontainer.ContainerCreateCreatedBody, error)
- func FindEnvVar(env []string, name string) string
- func GetImageVersion(image string, dd libdocker.Interface) (string, error)
- func InspectContainer(name string, dd libdocker.Interface) (*dockertypes.ContainerJSON, error)
- func InspectNetwork(name string, dd libdocker.Interface) (dockertypes.NetworkResource, error)
- func ListContainers(opts dockertypes.ContainerListOptions, dd libdocker.Interface) ([]dockertypes.Container, error)
- func NewControllerContainer(van *types.RouterSpec, dd libdocker.Interface) (*dockertypes.ContainerCreateConfig, error)
- func NewProxyContainer(svcDef types.ServiceInterface, qdrConfig string, mapToHost bool, ...) (*dockertypes.ContainerCreateConfig, error)
- func NewTransportContainer(van *types.RouterSpec, dd libdocker.Interface) (*dockertypes.ContainerCreateConfig, error)
- func NewTransportNetwork(name string, dd libdocker.Interface) (dockertypes.NetworkCreateResponse, error)
- func RemoveContainer(name string, dd libdocker.Interface) error
- func RemoveNetwork(name string, dd libdocker.Interface) error
- func RestartContainer(name string, dd libdocker.Interface) error
- func RestartControllerContainer(dd libdocker.Interface) error
- func RestartTransportContainer(dd libdocker.Interface) error
- func SetEnvVar(current []string, name string, value string) []string
- func StartContainer(name string, dd libdocker.Interface) error
- func StopContainer(name string, dd libdocker.Interface) error
- func WaitContainer(name string, dd libdocker.Interface) error
- func WaitForContainerStatus(name string, status string, timeout time.Duration, interval time.Duration, ...) (*dockertypes.ContainerJSON, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContainer ¶
func CreateContainer(opts *dockertypes.ContainerCreateConfig, dd libdocker.Interface) (*dockercontainer.ContainerCreateCreatedBody, error)
func FindEnvVar ¶
func InspectContainer ¶
func InspectContainer(name string, dd libdocker.Interface) (*dockertypes.ContainerJSON, error)
func InspectNetwork ¶
func InspectNetwork(name string, dd libdocker.Interface) (dockertypes.NetworkResource, error)
func ListContainers ¶
func ListContainers(opts dockertypes.ContainerListOptions, dd libdocker.Interface) ([]dockertypes.Container, error)
func NewControllerContainer ¶
func NewControllerContainer(van *types.RouterSpec, dd libdocker.Interface) (*dockertypes.ContainerCreateConfig, error)
TODO: unify the two news
func NewProxyContainer ¶
func NewProxyContainer(svcDef types.ServiceInterface, qdrConfig string, mapToHost bool, dd libdocker.Interface) (*dockertypes.ContainerCreateConfig, error)
func NewTransportContainer ¶
func NewTransportContainer(van *types.RouterSpec, dd libdocker.Interface) (*dockertypes.ContainerCreateConfig, error)
func NewTransportNetwork ¶
func NewTransportNetwork(name string, dd libdocker.Interface) (dockertypes.NetworkCreateResponse, error)
func WaitForContainerStatus ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.