Documentation
¶
Index ¶
- Variables
- func ContainerCreate(ctx context.Context, cli *client.Client, imageName string, username string) (string, string, int)
- func ContainerRemove(ctx context.Context, cli *client.Client, containerName string, username string) int
- func ContainerStart(ctx context.Context, cli *client.Client, containerName string, username string) (string, string, int)
- func ContainerStop(ctx context.Context, cli *client.Client, containerName string, username string) int
- func ImageInfo(ctx context.Context, cli *client.Client) []string
- func MakeSSHKeyPair() (string, string, int)
- func OwnedContainerInfo(ctx context.Context, username string) (map[string]string, int)
Constants ¶
This section is empty.
Variables ¶
View Source
var ImageArray []string
Functions ¶
func ContainerCreate ¶
func ContainerCreate(ctx context.Context, cli *client.Client, imageName string, username string) (string, string, int)
Create a new container
func ContainerRemove ¶
func ContainerRemove(ctx context.Context, cli *client.Client, containerName string, username string) int
Stop the container
func ContainerStart ¶
func ContainerStart(ctx context.Context, cli *client.Client, containerName string, username string) (string, string, int)
Start the container if already created
func ContainerStop ¶
func ContainerStop(ctx context.Context, cli *client.Client, containerName string, username string) int
Stop the container
func ImageInfo ¶
Gives images available on the server (the information is available on "system_details" collection)
func MakeSSHKeyPair ¶
Creating private-public key pairs to be used by the client to ssh into registered container
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.