Documentation ¶
Index ¶
- func ConnectContainerToNetwork(containerID string, networkID string)
- func CreateNetwork(networkName string) (networkID string)
- func CreateNewContainer(image string) (container.ContainerCreateCreatedBody, error)
- func GetAllContainerState()
- func GetContainerIPAddress(containerID string)
- func GetContainerState(containerID string)
- func InspectNetwork(networkName string)
- func ListAllContainers()
- func ListAllImages()
- func LogsSpecificContainer(container string)
- func PullImage(image string)
- func RemoveNetwork(networkID string)
- func StopAllContainers()
- func StopContainer(containerID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectContainerToNetwork ¶
connect container to network
func CreateNetwork ¶
func CreateNewContainer ¶
func CreateNewContainer(image string) (container.ContainerCreateCreatedBody, error)
func GetAllContainerState ¶
func GetAllContainerState()
func GetContainerIPAddress ¶
func GetContainerIPAddress(containerID string)
get IP address of a container
func GetContainerState ¶
func GetContainerState(containerID string)
func InspectNetwork ¶
func InspectNetwork(networkName string)
func ListAllContainers ¶
func ListAllContainers()
func ListAllImages ¶
func ListAllImages()
func LogsSpecificContainer ¶
func LogsSpecificContainer(container string)
func RemoveNetwork ¶
func RemoveNetwork(networkID string)
func StopAllContainers ¶
func StopAllContainers()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.