dockerstack

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 6 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 DeleteServer

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

func GetServerDetail

func GetServerDetail(ctx context.Context, docker *docker.Client, id string) (*entity.GetServerDetailResp, error)

func LaunchServer

func LaunchServer(ctx context.Context, docker *docker.Client, server entity.LaunchServerReq) (*entity.LaunchServerResp, error)

func ListServerDetails

func ListServerDetails(ctx context.Context, docker *docker.Client) (*entity.ListServerDetailsResp, error)

func ListVolumes

func ListVolumes(ctx context.Context, docker *docker.Client) (*entity.ListVolumesResp, error)

func StopServer

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

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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