Documentation
¶
Overview ¶
Package generator generates a command given an ECS service or a workload.
Package generator generates a command given an ECS service or a workload.
Package generator generates a command given an ECS service or a workload.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECSServiceCommandGenerator ¶
ECSServiceCommandGenerator generates task run command given an ECS service.
func (ECSServiceCommandGenerator) Generate ¶
func (g ECSServiceCommandGenerator) Generate() (*GenerateCommandOpts, error)
Generate generates a task run command.
type GenerateCommandOpts ¶
type GenerateCommandOpts struct {
// contains filtered or unexported fields
}
GenerateCommandOpts contains information to generate a task run command.
func (GenerateCommandOpts) String ¶
func (o GenerateCommandOpts) String() string
String stringifies a GenerateCommandOpts.
type ServiceCommandGenerator ¶
type ServiceCommandGenerator struct {
App string
Env string
Service string
ECSInformationGetter ecsInformationGetter
}
ServiceCommandGenerator generates task run command given a Copilot service.
func (ServiceCommandGenerator) Generate ¶
func (g ServiceCommandGenerator) Generate() (*GenerateCommandOpts, error)
Generate generates a task run command.
Click to show internal directories.
Click to hide internal directories.