Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerInstance ¶
type ContainerInstance struct { ID *string `json:"id"` Account *string `json:"account"` Time *string `json:"time"` Region *string `json:"region"` Resources []string `json:"resources"` Detail *InstanceDetail `json: "detail"` }
ContainerInstance defines the structure of the container instance json received from the event stream
func (ContainerInstance) GetVersion ¶
func (instance ContainerInstance) GetVersion(instanceJSON string) (int64, error)
GetVersion retrieces the version of the the container instance represented by the instanceJSON string
type ContainerOverrides ¶
type ContainerOverrides struct { Command []string `json:"command,omitempty"` Environment []*Environment `json: "environment,omitempty"` Name *string `json: "name"` }
type Environment ¶
type InstanceDetail ¶
type InstanceDetail struct { AgentConnected *bool `json:"agentConnected"` AgentUpdateStatus string `json:"agentUpdateStatus,omitempty"` Attributes []*Attribute `json:"attributes,omitempty"` ClusterARN *string `json:"clusterArn"` ContainerInstanceARN *string `json:"containerInstanceArn"` EC2InstanceID string `json:"ec2InstanceId,omitempty"` RegisteredResources []*Resource `json:"registeredResources"` RemainingResources []*Resource `json:"remainingResources"` Status *string `json:"status"` Version *int64 `json:"version"` VersionInfo *VersionInfo `json:"versionInfo"` UpdatedAt *string `json:"updatedAt"` }
func (*InstanceDetail) String ¶
func (instanceDetail *InstanceDetail) String() string
type NetworkBinding ¶
type OutOfRangeEntityVersion ¶
type OutOfRangeEntityVersion struct {
// contains filtered or unexported fields
}
func NewOutOfRangeEntityVersion ¶
func NewOutOfRangeEntityVersion(err error) OutOfRangeEntityVersion
type Overrides ¶
type Overrides struct { ContainerOverrides []*ContainerOverrides `json:"containerOverrides"` TaskRoleArn string `json:"taskRoleArn,omitempty"` }
type Task ¶
type Task struct { ID *string `json:"id"` Account *string `json:"account"` Time *string `json:"time"` Region *string `json:"region"` Resources []string `json:"resources"` Detail *TaskDetail `json: "detail"` }
Task defines the structure of the task json received from the event stream
type TaskDetail ¶
type TaskDetail struct { ClusterARN *string `json:"clusterArn"` ContainerInstanceARN *string `json:"containerInstanceArn"` Containers []*Container `json:"containers"` CreatedAt *string `json:"createdAt"` DesiredStatus *string `json:"desiredStatus"` LastStatus *string `json:"lastStatus"` Overrides *Overrides `json:"overrides"` StartedAt string `json:"startedAt,omitempty"` StartedBy string `json:"startedBy,omitempty"` StoppedAt string `json:"stoppedAt,omitempty"` StoppedReason string `json:"stoppedReason,omitempty"` TaskARN *string `json:"taskArn"` TaskDefinitionARN *string `json:"taskDefinitionArn"` UpdatedAt *string `json:"updatedAt"` Version *int64 `json:"version"` }
func (*TaskDetail) String ¶
func (taskDetail *TaskDetail) String() string
type UnsupportedFilterCombination ¶
type UnsupportedFilterCombination struct {
// contains filtered or unexported fields
}
func NewUnsupportedFilterCombination ¶
func NewUnsupportedFilterCombination(err error) UnsupportedFilterCombination
type VersionInfo ¶
Click to show internal directories.
Click to hide internal directories.