Documentation ¶
Index ¶
- func CreateImage(ctx context.Context, docker *docker.Client, serverId, imageName string) error
- func DeleteServer(ctx context.Context, docker *docker.Client, serverId string) error
- func GetServerDetail(ctx context.Context, docker *docker.Client, id string) (*entity.GetServerDetailResp, error)
- func LaunchServer(ctx context.Context, docker *docker.Client, server entity.LaunchServerReq) (*entity.LaunchServerResp, error)
- func ListServerDetails(ctx context.Context, docker *docker.Client) (*entity.ListServerDetailsResp, error)
- func ListVolumes(ctx context.Context, docker *docker.Client) (*entity.ListVolumesResp, error)
- func StopServer(ctx context.Context, docker *docker.Client, serverId string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateImage ¶
func DeleteServer ¶
func GetServerDetail ¶
func LaunchServer ¶
func LaunchServer(ctx context.Context, docker *docker.Client, server entity.LaunchServerReq) (*entity.LaunchServerResp, error)
func ListServerDetails ¶
func ListVolumes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.