Documentation ¶
Index ¶
- func CreateDockerNetwork(client *command.MachineClient, name string) error
- func ExecuteDockerCmd(client *command.MachineClient, stdin io.Reader, stdout, stderr io.Writer, ...) error
- func GetTraefikRouteLabel(domain, containerPort string) []string
- func IsContainerExist(client *command.MachineClient, name string) bool
- func IsNetworkExist(client *command.MachineClient, name string) bool
- func LocalImageSize(name string) (int, error)
- func MachineWithDocker(drsCli *command.Cli, machine string) (*command.MachineClient, error)
- func RemoveContainer(client *command.MachineClient, name string, force bool) error
- func RemoveUnusedImages(client *command.MachineClient) error
- func RenameContainer(client *command.MachineClient, name, newName string) error
- func RunContainer(client *command.MachineClient, image, name string, ...) error
- func SendDockerImage(client *command.MachineClient, image string) error
- func StartContainer(client *command.MachineClient, name string) error
- func StopContainer(client *command.MachineClient, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDockerNetwork ¶
func CreateDockerNetwork(client *command.MachineClient, name string) error
func ExecuteDockerCmd ¶
func GetTraefikRouteLabel ¶
func IsContainerExist ¶
func IsContainerExist(client *command.MachineClient, name string) bool
func IsNetworkExist ¶
func IsNetworkExist(client *command.MachineClient, name string) bool
func LocalImageSize ¶
func MachineWithDocker ¶
MachineWithDocker initialize the machine client and verify that all necessary components are installed
func RemoveContainer ¶
func RemoveContainer( client *command.MachineClient, name string, force bool, ) error
func RemoveUnusedImages ¶
func RemoveUnusedImages( client *command.MachineClient, ) error
func RenameContainer ¶
func RenameContainer( client *command.MachineClient, name, newName string, ) error
func RunContainer ¶
func SendDockerImage ¶
func SendDockerImage(client *command.MachineClient, image string) error
func StartContainer ¶
func StartContainer( client *command.MachineClient, name string, ) error
func StopContainer ¶
func StopContainer( client *command.MachineClient, name string, ) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.