Documentation
¶
Index ¶
- Variables
- func ContainerList(cli *client.Client)
- func CreaftContainer(cli *client.Client, image string, name string, cmd []string)
- func Error(types string, format string, a ...any)
- func GetAllLogs(cli *client.Client)
- func GetLogs(cli *client.Client, containerID string)
- func NewClient() *client.Client
- func Print(types string, format string, a ...any)
- func PullImage(cli *client.Client, imagename string)
- func RemoveContainer(cli *client.Client, containerID string)
- func StartContainer(cli *client.Client, containerID string)
- func StopContainer(cli *client.Client, containerID string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ERROR = "\033[31m✘\033[0m"
View Source
var INFO = "\033[32m✔\033[0m"
Functions ¶
func ContainerList ¶
func CreaftContainer ¶ added in v0.2.2
func GetAllLogs ¶ added in v0.2.1
func RemoveContainer ¶
func StartContainer ¶
func StopContainer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.