Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewLinuxCommand ¶
type Config ¶
type ContainerFinder ¶
type ContainerFinder interface { Find(cluster string) ([]Container, error) FindByIdentifier(cluster string, task string, container string) ([]Container, error) }
func NewContainerFinder ¶
func NewContainerFinder(cfg *Config) ContainerFinder
type EC2Client ¶
type EC2Client interface {
DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
}
type EC2Session ¶
type EC2Session interface { Close() error RunPlugin() error RunSSH(input *RunSSHInput) error RunSCP(input *RunSCPInput) error }
func NewEC2Session ¶
func NewEC2Session(cfg *Config, input *ssm.StartSessionInput) (EC2Session, error)
type ECSClient ¶
type ECSClient interface { DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error) ListTasks(ctx context.Context, params *ecs.ListTasksInput, optFns ...func(*ecs.Options)) (*ecs.ListTasksOutput, error) }
type ECSSession ¶
func NewECSSession ¶
func NewECSSession(cfg *Config, input *ecs.ExecuteCommandInput) (ECSSession, error)
type InstanceFinder ¶
type InstanceFinder interface { Find() ([]Instance, error) FindByIdentifier(identifier string) ([]Instance, error) }
func NewInstanceFinder ¶
func NewInstanceFinder(cfg *Config) InstanceFinder
type RunSCPInput ¶
type RunSSHInput ¶
Click to show internal directories.
Click to hide internal directories.