wrapper

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateImage

func CreateImage(ctx context.Context, docker *docker.Client, serverId, imageName string) error

func DeleteServerAndImage

func DeleteServerAndImage(ctx context.Context, docker *docker.Client, serverId string) error

func FindDockerImageByOstackImageID

func FindDockerImageByOstackImageID(ctx context.Context, docker *docker.Client, imageId string) (string, error)

func GetManagedContainers

func GetManagedContainers(ctx context.Context, docker *docker.Client) ([]types.Container, error)

func GetManagedImages

func GetManagedImages(ctx context.Context, docker *docker.Client) ([]image.Summary, error)

func LaunchContainer

func LaunchContainer(ctx context.Context, docker *docker.Client, imageID, userData, nameTag string) (string, error)

func StopContainer

func StopContainer(ctx context.Context, docker *docker.Client, serverId string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL