Documentation ¶
Index ¶
- func CreateImage(ctx context.Context, docker *docker.Client, serverId, imageName string) error
- func DeleteServerAndImage(ctx context.Context, docker *docker.Client, serverId string) error
- func FindDockerImageByOstackImageID(ctx context.Context, docker *docker.Client, imageId string) (string, error)
- func GetManagedContainers(ctx context.Context, docker *docker.Client) ([]types.Container, error)
- func GetManagedImages(ctx context.Context, docker *docker.Client) ([]image.Summary, error)
- func LaunchContainer(ctx context.Context, docker *docker.Client, imageID, userData, nameTag string) (string, error)
- func StopContainer(ctx context.Context, docker *docker.Client, serverId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateImage ¶
func DeleteServerAndImage ¶
func GetManagedContainers ¶
func GetManagedImages ¶
func LaunchContainer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.