Documentation ¶
Index ¶
- type EcsProvider
- func (p *EcsProvider) DeleteTask(ctx context.Context, workspaceId string) error
- func (p *EcsProvider) ExecuteCommand(ctx context.Context, workspaceId, user, command string, stdin io.Reader, ...) error
- func (p *EcsProvider) FindTask(ctx context.Context, workspaceId string) (*config.ContainerDetails, error)
- func (p *EcsProvider) RunTask(ctx context.Context, workspaceId string, runOptions *driver.RunOptions) error
- func (p *EcsProvider) StartSession(target string, port int) error
- func (p *EcsProvider) StartTask(ctx context.Context, workspaceId string) error
- func (p *EcsProvider) StopTask(ctx context.Context, workspaceId string) error
- func (p *EcsProvider) TargetArchitecture(ctx context.Context, workspaceId string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EcsProvider ¶
type EcsProvider struct { Config *options.Options AwsConfig aws.Config Log log.Logger // contains filtered or unexported fields }
func NewProvider ¶
func (*EcsProvider) DeleteTask ¶
func (p *EcsProvider) DeleteTask(ctx context.Context, workspaceId string) error
func (*EcsProvider) ExecuteCommand ¶
func (*EcsProvider) FindTask ¶
func (p *EcsProvider) FindTask(ctx context.Context, workspaceId string) (*config.ContainerDetails, error)
func (*EcsProvider) RunTask ¶
func (p *EcsProvider) RunTask(ctx context.Context, workspaceId string, runOptions *driver.RunOptions) error
func (*EcsProvider) StartSession ¶
func (p *EcsProvider) StartSession(target string, port int) error
func (*EcsProvider) StartTask ¶
func (p *EcsProvider) StartTask(ctx context.Context, workspaceId string) error
func (*EcsProvider) StopTask ¶
func (p *EcsProvider) StopTask(ctx context.Context, workspaceId string) error
func (*EcsProvider) TargetArchitecture ¶
Click to show internal directories.
Click to hide internal directories.