Documentation
¶
Index ¶
- Variables
- func Execute()
- func GetLogs(operation *GetLogsOperation)
- type CertificateDestroyOperation
- type CertificateImportOperation
- type CertificateInfoOperation
- type CertificateRequestOperation
- type CertificateValidateOperation
- type Empty
- type GetLogsOperation
- func (o *GetLogsOperation) AddEndTime(rawEndTime string)
- func (o *GetLogsOperation) AddStartTime(rawStartTime string)
- func (o *GetLogsOperation) AddTasks(tasks []string)
- func (o *GetLogsOperation) GetStreamColor(logStreamName string) int
- func (o *GetLogsOperation) SeenEvent(eventId string) bool
- func (o *GetLogsOperation) Validate()
- type LbAliasOperation
- type LbCreateOperation
- func (o *LbCreateOperation) SetCertificateArns(certificateDomainNames []string)
- func (o *LbCreateOperation) SetPorts(inputPorts []string)
- func (o *LbCreateOperation) SetSecurityGroupIds(securityGroupIds []string)
- func (o *LbCreateOperation) SetSubnetIds(subnetIds []string)
- func (o *LbCreateOperation) SetTypeFromPorts()
- type LbInfoOperation
- type LoadBalancerDestroyOperation
- type Port
- type ScaleServiceOperation
- type ServiceCreateOperation
- func (o *ServiceCreateOperation) SetEnvVars(inputEnvVars []string)
- func (o *ServiceCreateOperation) SetLoadBalancer(lb string)
- func (o *ServiceCreateOperation) SetPort(inputPort string)
- func (o *ServiceCreateOperation) SetRules(inputRules []string)
- func (o *ServiceCreateOperation) SetSecurityGroupIds(securityGroupIds []string)
- func (o *ServiceCreateOperation) Validate()
- type ServiceDeployOperation
- type ServiceDestroyOperation
- type ServiceEnvListOperation
- type ServiceEnvSetOperation
- type ServiceEnvUnsetOperation
- type ServiceInfoOperation
- type ServiceProcessListOperation
- type ServiceRestartOperation
- type ServiceUpdateOperation
- type TaskInfoOperation
- type TaskProcessListOperation
- type TaskRunOperation
- type TaskStopOperation
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidCpuAndMemoryCombination = fmt.Errorf(`Invalid CPU and Memory settings
CPU (CPU Units) Memory (MiB)
--------------- ------------
256 512, 1024, or 2048
512 1024 through 4096 in 1GiB increments
1024 2048 through 8192 in 1GiB increments
2048 4096 through 16384 in 1GiB increments
4096 8192 through 30720 in 1GiB increments
`)
Functions ¶
func GetLogs ¶
func GetLogs(operation *GetLogsOperation)
Types ¶
type CertificateDestroyOperation ¶
type CertificateDestroyOperation struct {
DomainName string
}
type CertificateImportOperation ¶
type CertificateImportOperation struct {
CertificateFile string
PrivateKeyFile string
CertificateChainFile string
}
func (*CertificateImportOperation) Validate ¶
func (o *CertificateImportOperation) Validate()
type CertificateInfoOperation ¶
type CertificateInfoOperation struct {
DomainName string
}
type CertificateRequestOperation ¶
func (*CertificateRequestOperation) Validate ¶
func (o *CertificateRequestOperation) Validate()
type CertificateValidateOperation ¶
type CertificateValidateOperation struct {
DomainName string
}
func (*CertificateValidateOperation) Validate ¶
func (o *CertificateValidateOperation) Validate()
type GetLogsOperation ¶
type GetLogsOperation struct {
LogGroupName string
Namespace string
EndTime time.Time
Filter string
Follow bool
LogStreamColors map[string]int
LogStreamNames []string
StartTime time.Time
EventCache *lru.Cache
}
func (*GetLogsOperation) AddEndTime ¶
func (o *GetLogsOperation) AddEndTime(rawEndTime string)
func (*GetLogsOperation) AddStartTime ¶
func (o *GetLogsOperation) AddStartTime(rawStartTime string)
func (*GetLogsOperation) AddTasks ¶
func (o *GetLogsOperation) AddTasks(tasks []string)
func (*GetLogsOperation) GetStreamColor ¶
func (o *GetLogsOperation) GetStreamColor(logStreamName string) int
func (*GetLogsOperation) SeenEvent ¶
func (o *GetLogsOperation) SeenEvent(eventId string) bool
func (*GetLogsOperation) Validate ¶
func (o *GetLogsOperation) Validate()
type LbAliasOperation ¶
type LbCreateOperation ¶
type LbCreateOperation struct {
LoadBalancerName string
CertificateArns []string
Ports []Port
Type string
SecurityGroupIds []string
SubnetIds []string
}
func (*LbCreateOperation) SetCertificateArns ¶
func (o *LbCreateOperation) SetCertificateArns(certificateDomainNames []string)
func (*LbCreateOperation) SetPorts ¶
func (o *LbCreateOperation) SetPorts(inputPorts []string)
func (*LbCreateOperation) SetSecurityGroupIds ¶ added in v0.2.0
func (o *LbCreateOperation) SetSecurityGroupIds(securityGroupIds []string)
func (*LbCreateOperation) SetSubnetIds ¶ added in v0.2.0
func (o *LbCreateOperation) SetSubnetIds(subnetIds []string)
func (*LbCreateOperation) SetTypeFromPorts ¶
func (o *LbCreateOperation) SetTypeFromPorts()
type LbInfoOperation ¶
type LbInfoOperation struct {
LoadBalancerName string
}
type LoadBalancerDestroyOperation ¶
type LoadBalancerDestroyOperation struct {
LoadBalancerName string
}
type ScaleServiceOperation ¶
func (*ScaleServiceOperation) SetScale ¶
func (o *ScaleServiceOperation) SetScale(scaleExpression string)
type ServiceCreateOperation ¶
type ServiceCreateOperation struct {
Cpu string
EnvVars []ECS.EnvVar
Image string
LoadBalancerArn string
LoadBalancerName string
Memory string
Num int64
Port Port
Rules []ELBV2.Rule
SecurityGroupIds []string
ServiceName string
SubnetIds []string
TaskRole string
}
func (*ServiceCreateOperation) SetEnvVars ¶
func (o *ServiceCreateOperation) SetEnvVars(inputEnvVars []string)
func (*ServiceCreateOperation) SetLoadBalancer ¶
func (o *ServiceCreateOperation) SetLoadBalancer(lb string)
func (*ServiceCreateOperation) SetPort ¶
func (o *ServiceCreateOperation) SetPort(inputPort string)
func (*ServiceCreateOperation) SetRules ¶
func (o *ServiceCreateOperation) SetRules(inputRules []string)
func (*ServiceCreateOperation) SetSecurityGroupIds ¶ added in v0.2.0
func (o *ServiceCreateOperation) SetSecurityGroupIds(securityGroupIds []string)
func (*ServiceCreateOperation) Validate ¶
func (o *ServiceCreateOperation) Validate()
type ServiceDeployOperation ¶
type ServiceDestroyOperation ¶
type ServiceDestroyOperation struct {
ServiceName string
}
type ServiceEnvListOperation ¶
type ServiceEnvListOperation struct {
ServiceName string
}
type ServiceEnvSetOperation ¶
func (*ServiceEnvSetOperation) SetEnvVars ¶
func (o *ServiceEnvSetOperation) SetEnvVars(inputEnvVars []string)
func (*ServiceEnvSetOperation) Validate ¶
func (o *ServiceEnvSetOperation) Validate()
type ServiceEnvUnsetOperation ¶
func (*ServiceEnvUnsetOperation) SetKeys ¶
func (o *ServiceEnvUnsetOperation) SetKeys(keys []string)
func (*ServiceEnvUnsetOperation) Validate ¶
func (o *ServiceEnvUnsetOperation) Validate()
type ServiceInfoOperation ¶
type ServiceInfoOperation struct {
ServiceName string
}
type ServiceProcessListOperation ¶
type ServiceProcessListOperation struct {
ServiceName string
}
type ServiceRestartOperation ¶
type ServiceRestartOperation struct {
ServiceName string
}
type ServiceUpdateOperation ¶
type ServiceUpdateOperation struct {
ServiceName string
Cpu string
Memory string
Service ECS.Service
}
func (*ServiceUpdateOperation) Validate ¶
func (o *ServiceUpdateOperation) Validate()
type TaskInfoOperation ¶
type TaskProcessListOperation ¶
type TaskProcessListOperation struct {
TaskName string
}
type TaskRunOperation ¶
type TaskRunOperation struct {
Cpu string
EnvVars []ECS.EnvVar
Image string
Memory string
Num int64
SecurityGroupIds []string
SubnetIds []string
TaskName string
TaskRole string
}
func (*TaskRunOperation) SetEnvVars ¶
func (o *TaskRunOperation) SetEnvVars(inputEnvVars []string)
func (*TaskRunOperation) Validate ¶
func (o *TaskRunOperation) Validate()
type TaskStopOperation ¶
Source Files
¶
- certificate.go
- certificate_destroy.go
- certificate_import.go
- certificate_info.go
- certificate_list.go
- certificate_request.go
- certificate_validate.go
- lb.go
- lb_alias.go
- lb_create.go
- lb_destroy.go
- lb_info.go
- lb_list.go
- logs.go
- root.go
- service.go
- service_create.go
- service_deploy.go
- service_destroy.go
- service_env.go
- service_env_list.go
- service_env_set.go
- service_env_unset.go
- service_info.go
- service_list.go
- service_logs.go
- service_ps.go
- service_restart.go
- service_scale.go
- service_update.go
- task.go
- task_info.go
- task_list.go
- task_logs.go
- task_ps.go
- task_run.go
- task_stop.go
Click to show internal directories.
Click to hide internal directories.