Documentation
¶
Index ¶
- func CleanupInstanceDirectory(ctx context.Context, instanceId string) error
- func InitComposeInstance(ctx context.Context, instanceId string, templatePath string) (string, error)
- func LoadComposeProject(ctx context.Context, config *DockerAdapterConfig, instanceId string, ...) (*types.Project, error)
- func RemoveComposeProject(ctx context.Context, instanceId string) error
- func StartComposeProject(ctx context.Context, instancePath string, timeout int) error
- func StopComposeProject(ctx context.Context, instanceId string) error
- func TransformComposeProject(ctx context.Context, project *types.Project, config *DockerAdapterConfig, ...) error
- func WriteComposeProject(ctx context.Context, instancePath string, project *types.Project) error
- type DockerAdapter
- type DockerAdapterConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitComposeInstance ¶
func LoadComposeProject ¶
func StartComposeProject ¶
func TransformComposeProject ¶
Types ¶
type DockerAdapter ¶
type DockerAdapter struct{}
func (*DockerAdapter) DestroyInstance ¶
func (d *DockerAdapter) DestroyInstance(ctx context.Context, task instancer.InstanceTask) error
func (*DockerAdapter) Name ¶
func (d *DockerAdapter) Name() string
func (*DockerAdapter) StartInstance ¶
func (d *DockerAdapter) StartInstance(ctx context.Context, task instancer.InstanceTask) error
Click to show internal directories.
Click to hide internal directories.