Documentation
¶
Index ¶
- func ListClusters(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListServices(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListTaskDefinitions(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- func ListTasks(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
- type Client
- func (c *Client) CreateService(input CreateServiceInput) (*CreateServiceResponse, error)
- func (c *Client) DescribeServices(cluster string, services []string) (*DescribeServicesResponse, error)
- func (c *Client) DescribeTasks(cluster string, tasks []string) (*DescribeTasksResponse, error)
- func (c *Client) ExecuteCommand(input ExecuteCommandInput) (*ExecuteCommandResponse, error)
- func (c *Client) ListClusters() ([]Cluster, error)
- func (c *Client) ListServices(cluster string) ([]string, error)
- func (c *Client) ListTaskDefinitions() ([]string, error)
- func (c *Client) ListTasks(cluster string) ([]string, error)
- func (c *Client) RunTask(input RunTaskInput) (*RunTaskResponse, error)
- func (c *Client) StopTask(cluster string, task string, reason string) (*StopTaskResponse, error)
- func (c *Client) UpdateService(input UpdateServiceInput) (*UpdateServiceResponse, error)
- type Cluster
- type CreateService
- func (c *CreateService) Actions() []core.Action
- func (c *CreateService) Cancel(ctx core.ExecutionContext) error
- func (c *CreateService) Cleanup(ctx core.SetupContext) error
- func (c *CreateService) Color() string
- func (c *CreateService) Configuration() []configuration.Field
- func (c *CreateService) Description() string
- func (c *CreateService) Documentation() string
- func (c *CreateService) ExampleOutput() map[string]any
- func (c *CreateService) Execute(ctx core.ExecutionContext) error
- func (c *CreateService) HandleAction(ctx core.ActionContext) error
- func (c *CreateService) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *CreateService) Icon() string
- func (c *CreateService) Label() string
- func (c *CreateService) Name() string
- func (c *CreateService) OutputChannels(configuration any) []core.OutputChannel
- func (c *CreateService) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *CreateService) Setup(ctx core.SetupContext) error
- type CreateServiceConfiguration
- type CreateServiceInput
- type CreateServiceNodeMetadata
- type CreateServiceResponse
- type DescribeService
- func (c *DescribeService) Actions() []core.Action
- func (c *DescribeService) Cancel(ctx core.ExecutionContext) error
- func (c *DescribeService) Cleanup(ctx core.SetupContext) error
- func (c *DescribeService) Color() string
- func (c *DescribeService) Configuration() []configuration.Field
- func (c *DescribeService) Description() string
- func (c *DescribeService) Documentation() string
- func (c *DescribeService) ExampleOutput() map[string]any
- func (c *DescribeService) Execute(ctx core.ExecutionContext) error
- func (c *DescribeService) HandleAction(ctx core.ActionContext) error
- func (c *DescribeService) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *DescribeService) Icon() string
- func (c *DescribeService) Label() string
- func (c *DescribeService) Name() string
- func (c *DescribeService) OutputChannels(configuration any) []core.OutputChannel
- func (c *DescribeService) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *DescribeService) Setup(ctx core.SetupContext) error
- type DescribeServiceConfiguration
- type DescribeServicesResponse
- type DescribeTasksResponse
- type ExecuteCommand
- func (c *ExecuteCommand) Actions() []core.Action
- func (c *ExecuteCommand) Cancel(ctx core.ExecutionContext) error
- func (c *ExecuteCommand) Cleanup(ctx core.SetupContext) error
- func (c *ExecuteCommand) Color() string
- func (c *ExecuteCommand) Configuration() []configuration.Field
- func (c *ExecuteCommand) Description() string
- func (c *ExecuteCommand) Documentation() string
- func (c *ExecuteCommand) ExampleOutput() map[string]any
- func (c *ExecuteCommand) Execute(ctx core.ExecutionContext) error
- func (c *ExecuteCommand) HandleAction(ctx core.ActionContext) error
- func (c *ExecuteCommand) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *ExecuteCommand) Icon() string
- func (c *ExecuteCommand) Label() string
- func (c *ExecuteCommand) Name() string
- func (c *ExecuteCommand) OutputChannels(configuration any) []core.OutputChannel
- func (c *ExecuteCommand) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *ExecuteCommand) Setup(ctx core.SetupContext) error
- type ExecuteCommandConfiguration
- type ExecuteCommandInput
- type ExecuteCommandNodeMetadata
- type ExecuteCommandResponse
- type ExecuteCommandSession
- type Failure
- type RunTask
- func (c *RunTask) Actions() []core.Action
- func (c *RunTask) Cancel(ctx core.ExecutionContext) error
- func (c *RunTask) Cleanup(ctx core.SetupContext) error
- func (c *RunTask) Color() string
- func (c *RunTask) Configuration() []configuration.Field
- func (c *RunTask) Description() string
- func (c *RunTask) Documentation() string
- func (c *RunTask) ExampleOutput() map[string]any
- func (c *RunTask) Execute(ctx core.ExecutionContext) error
- func (c *RunTask) HandleAction(ctx core.ActionContext) error
- func (c *RunTask) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *RunTask) Icon() string
- func (c *RunTask) Label() string
- func (c *RunTask) Name() string
- func (c *RunTask) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
- func (c *RunTask) OutputChannels(configuration any) []core.OutputChannel
- func (c *RunTask) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *RunTask) Setup(ctx core.SetupContext) error
- type RunTaskAwsvpcConfiguration
- type RunTaskCapacityProviderStrategyItem
- type RunTaskConfiguration
- type RunTaskContainerEnvironment
- type RunTaskContainerOverride
- type RunTaskExecutionMetadata
- type RunTaskInput
- type RunTaskNetworkConfiguration
- type RunTaskNodeMetadata
- type RunTaskOverrides
- type RunTaskResponse
- type RunTaskStateChangeDetail
- type Service
- type ServiceDeployment
- type ServiceEvent
- type ServiceMutationConfiguration
- type ServiceMutationInput
- type ServiceTaskSet
- type StopTask
- func (c *StopTask) Actions() []core.Action
- func (c *StopTask) Cancel(ctx core.ExecutionContext) error
- func (c *StopTask) Cleanup(ctx core.SetupContext) error
- func (c *StopTask) Color() string
- func (c *StopTask) Configuration() []configuration.Field
- func (c *StopTask) Description() string
- func (c *StopTask) Documentation() string
- func (c *StopTask) ExampleOutput() map[string]any
- func (c *StopTask) Execute(ctx core.ExecutionContext) error
- func (c *StopTask) HandleAction(ctx core.ActionContext) error
- func (c *StopTask) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *StopTask) Icon() string
- func (c *StopTask) Label() string
- func (c *StopTask) Name() string
- func (c *StopTask) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
- func (c *StopTask) OutputChannels(configuration any) []core.OutputChannel
- func (c *StopTask) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *StopTask) Setup(ctx core.SetupContext) error
- type StopTaskConfiguration
- type StopTaskExecutionMetadata
- type StopTaskNodeMetadata
- type StopTaskResponse
- type StopTaskStateChangeDetail
- type Task
- type UpdateService
- func (c *UpdateService) Actions() []core.Action
- func (c *UpdateService) Cancel(ctx core.ExecutionContext) error
- func (c *UpdateService) Cleanup(ctx core.SetupContext) error
- func (c *UpdateService) Color() string
- func (c *UpdateService) Configuration() []configuration.Field
- func (c *UpdateService) Description() string
- func (c *UpdateService) Documentation() string
- func (c *UpdateService) ExampleOutput() map[string]any
- func (c *UpdateService) Execute(ctx core.ExecutionContext) error
- func (c *UpdateService) HandleAction(ctx core.ActionContext) error
- func (c *UpdateService) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (c *UpdateService) Icon() string
- func (c *UpdateService) Label() string
- func (c *UpdateService) Name() string
- func (c *UpdateService) OutputChannels(configuration any) []core.OutputChannel
- func (c *UpdateService) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (c *UpdateService) Setup(ctx core.SetupContext) error
- type UpdateServiceConfiguration
- type UpdateServiceInput
- type UpdateServiceNodeMetadata
- type UpdateServiceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListClusters ¶
func ListClusters(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListServices ¶
func ListServices(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListTaskDefinitions ¶
func ListTaskDefinitions(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
func ListTasks ¶
func ListTasks(ctx core.ListResourcesContext, resourceType string) ([]core.IntegrationResource, error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(httpCtx core.HTTPContext, credentials *aws.Credentials, region string) *Client
func (*Client) CreateService ¶
func (c *Client) CreateService(input CreateServiceInput) (*CreateServiceResponse, error)
func (*Client) DescribeServices ¶
func (c *Client) DescribeServices(cluster string, services []string) (*DescribeServicesResponse, error)
func (*Client) DescribeTasks ¶
func (c *Client) DescribeTasks(cluster string, tasks []string) (*DescribeTasksResponse, error)
func (*Client) ExecuteCommand ¶
func (c *Client) ExecuteCommand(input ExecuteCommandInput) (*ExecuteCommandResponse, error)
func (*Client) ListClusters ¶
func (*Client) ListTaskDefinitions ¶
func (*Client) RunTask ¶
func (c *Client) RunTask(input RunTaskInput) (*RunTaskResponse, error)
func (*Client) UpdateService ¶
func (c *Client) UpdateService(input UpdateServiceInput) (*UpdateServiceResponse, error)
type CreateService ¶
type CreateService struct{}
func (*CreateService) Actions ¶
func (c *CreateService) Actions() []core.Action
func (*CreateService) Cancel ¶
func (c *CreateService) Cancel(ctx core.ExecutionContext) error
func (*CreateService) Cleanup ¶
func (c *CreateService) Cleanup(ctx core.SetupContext) error
func (*CreateService) Color ¶
func (c *CreateService) Color() string
func (*CreateService) Configuration ¶
func (c *CreateService) Configuration() []configuration.Field
func (*CreateService) Description ¶
func (c *CreateService) Description() string
func (*CreateService) Documentation ¶
func (c *CreateService) Documentation() string
func (*CreateService) ExampleOutput ¶
func (c *CreateService) ExampleOutput() map[string]any
func (*CreateService) Execute ¶
func (c *CreateService) Execute(ctx core.ExecutionContext) error
func (*CreateService) HandleAction ¶
func (c *CreateService) HandleAction(ctx core.ActionContext) error
func (*CreateService) HandleWebhook ¶
func (c *CreateService) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*CreateService) Icon ¶
func (c *CreateService) Icon() string
func (*CreateService) Label ¶
func (c *CreateService) Label() string
func (*CreateService) Name ¶
func (c *CreateService) Name() string
func (*CreateService) OutputChannels ¶
func (c *CreateService) OutputChannels(configuration any) []core.OutputChannel
func (*CreateService) ProcessQueueItem ¶
func (c *CreateService) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*CreateService) Setup ¶
func (c *CreateService) Setup(ctx core.SetupContext) error
type CreateServiceConfiguration ¶
type CreateServiceConfiguration struct {
ServiceMutationConfiguration `mapstructure:",squash"`
ServiceName string `json:"serviceName" mapstructure:"serviceName"`
SchedulingStrategy string `json:"schedulingStrategy" mapstructure:"schedulingStrategy"`
ClientToken string `json:"clientToken" mapstructure:"clientToken"`
}
type CreateServiceInput ¶
type CreateServiceInput struct {
ServiceName string
SchedulingStrategy string
ClientToken string
ServiceMutation ServiceMutationInput
}
type CreateServiceResponse ¶
type CreateServiceResponse struct {
Service Service `json:"service"`
}
type DescribeService ¶
type DescribeService struct{}
func (*DescribeService) Actions ¶
func (c *DescribeService) Actions() []core.Action
func (*DescribeService) Cancel ¶
func (c *DescribeService) Cancel(ctx core.ExecutionContext) error
func (*DescribeService) Cleanup ¶
func (c *DescribeService) Cleanup(ctx core.SetupContext) error
func (*DescribeService) Color ¶
func (c *DescribeService) Color() string
func (*DescribeService) Configuration ¶
func (c *DescribeService) Configuration() []configuration.Field
func (*DescribeService) Description ¶
func (c *DescribeService) Description() string
func (*DescribeService) Documentation ¶
func (c *DescribeService) Documentation() string
func (*DescribeService) ExampleOutput ¶
func (c *DescribeService) ExampleOutput() map[string]any
func (*DescribeService) Execute ¶
func (c *DescribeService) Execute(ctx core.ExecutionContext) error
func (*DescribeService) HandleAction ¶
func (c *DescribeService) HandleAction(ctx core.ActionContext) error
func (*DescribeService) HandleWebhook ¶
func (c *DescribeService) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*DescribeService) Icon ¶
func (c *DescribeService) Icon() string
func (*DescribeService) Label ¶
func (c *DescribeService) Label() string
func (*DescribeService) Name ¶
func (c *DescribeService) Name() string
func (*DescribeService) OutputChannels ¶
func (c *DescribeService) OutputChannels(configuration any) []core.OutputChannel
func (*DescribeService) ProcessQueueItem ¶
func (c *DescribeService) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*DescribeService) Setup ¶
func (c *DescribeService) Setup(ctx core.SetupContext) error
type DescribeTasksResponse ¶
type ExecuteCommand ¶
type ExecuteCommand struct{}
func (*ExecuteCommand) Actions ¶
func (c *ExecuteCommand) Actions() []core.Action
func (*ExecuteCommand) Cancel ¶
func (c *ExecuteCommand) Cancel(ctx core.ExecutionContext) error
func (*ExecuteCommand) Cleanup ¶
func (c *ExecuteCommand) Cleanup(ctx core.SetupContext) error
func (*ExecuteCommand) Color ¶
func (c *ExecuteCommand) Color() string
func (*ExecuteCommand) Configuration ¶
func (c *ExecuteCommand) Configuration() []configuration.Field
func (*ExecuteCommand) Description ¶
func (c *ExecuteCommand) Description() string
func (*ExecuteCommand) Documentation ¶
func (c *ExecuteCommand) Documentation() string
func (*ExecuteCommand) ExampleOutput ¶
func (c *ExecuteCommand) ExampleOutput() map[string]any
func (*ExecuteCommand) Execute ¶
func (c *ExecuteCommand) Execute(ctx core.ExecutionContext) error
func (*ExecuteCommand) HandleAction ¶
func (c *ExecuteCommand) HandleAction(ctx core.ActionContext) error
func (*ExecuteCommand) HandleWebhook ¶
func (c *ExecuteCommand) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*ExecuteCommand) Icon ¶
func (c *ExecuteCommand) Icon() string
func (*ExecuteCommand) Label ¶
func (c *ExecuteCommand) Label() string
func (*ExecuteCommand) Name ¶
func (c *ExecuteCommand) Name() string
func (*ExecuteCommand) OutputChannels ¶
func (c *ExecuteCommand) OutputChannels(configuration any) []core.OutputChannel
func (*ExecuteCommand) ProcessQueueItem ¶
func (c *ExecuteCommand) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*ExecuteCommand) Setup ¶
func (c *ExecuteCommand) Setup(ctx core.SetupContext) error
type ExecuteCommandConfiguration ¶
type ExecuteCommandConfiguration struct {
Region string `json:"region" mapstructure:"region"`
Cluster string `json:"cluster" mapstructure:"cluster"`
Task string `json:"task" mapstructure:"task"`
Container string `json:"container" mapstructure:"container"`
Command string `json:"command" mapstructure:"command"`
Interactive bool `json:"interactive" mapstructure:"interactive"`
}
type ExecuteCommandInput ¶
type ExecuteCommandResponse ¶
type ExecuteCommandSession ¶
type RunTask ¶
type RunTask struct{}
func (*RunTask) Configuration ¶
func (c *RunTask) Configuration() []configuration.Field
func (*RunTask) Description ¶
func (*RunTask) Documentation ¶
func (*RunTask) ExampleOutput ¶
func (*RunTask) HandleAction ¶
func (c *RunTask) HandleAction(ctx core.ActionContext) error
func (*RunTask) HandleWebhook ¶
func (c *RunTask) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*RunTask) OnIntegrationMessage ¶
func (c *RunTask) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
func (*RunTask) OutputChannels ¶
func (c *RunTask) OutputChannels(configuration any) []core.OutputChannel
func (*RunTask) ProcessQueueItem ¶
type RunTaskConfiguration ¶
type RunTaskConfiguration struct {
Region string `json:"region" mapstructure:"region"`
Cluster string `json:"cluster" mapstructure:"cluster"`
TaskDefinition string `json:"taskDefinition" mapstructure:"taskDefinition"`
Count int `json:"count" mapstructure:"count"`
LaunchType string `json:"launchType" mapstructure:"launchType"`
CapacityProvider []RunTaskCapacityProviderStrategyItem `json:"capacityProviderStrategy" mapstructure:"capacityProviderStrategy"`
Group string `json:"group" mapstructure:"group"`
StartedBy string `json:"startedBy" mapstructure:"startedBy"`
PlatformVersion string `json:"platformVersion" mapstructure:"platformVersion"`
EnableExecuteCommand bool `json:"enableExecuteCommand" mapstructure:"enableExecuteCommand"`
NetworkConfiguration RunTaskNetworkConfiguration `json:"networkConfiguration,omitempty" mapstructure:"networkConfiguration"`
Overrides RunTaskOverrides `json:"overrides,omitempty" mapstructure:"overrides"`
TimeoutSeconds int `json:"timeoutSeconds" mapstructure:"timeoutSeconds"`
}
type RunTaskContainerOverride ¶
type RunTaskContainerOverride struct {
Name string `json:"name,omitempty" mapstructure:"name"`
Command []string `json:"command,omitempty" mapstructure:"command"`
Environment []RunTaskContainerEnvironment `json:"environment,omitempty" mapstructure:"environment"`
CPU int `json:"cpu,omitempty" mapstructure:"cpu"`
Memory int `json:"memory,omitempty" mapstructure:"memory"`
MemoryReservation int `json:"memoryReservation,omitempty" mapstructure:"memoryReservation"`
}
func (RunTaskContainerOverride) ToMap ¶
func (o RunTaskContainerOverride) ToMap() map[string]any
type RunTaskExecutionMetadata ¶
type RunTaskExecutionMetadata struct {
Region string `json:"region" mapstructure:"region"`
Cluster string `json:"cluster" mapstructure:"cluster"`
TaskARNs []string `json:"taskArns" mapstructure:"taskArns"`
TimeoutSeconds int `json:"timeoutSeconds" mapstructure:"timeoutSeconds"`
StartedAt string `json:"startedAt" mapstructure:"startedAt"`
DeadlineAt string `json:"deadlineAt" mapstructure:"deadlineAt"`
}
type RunTaskInput ¶
type RunTaskInput struct {
Cluster string
TaskDefinition string
Count int
LaunchType string
CapacityProvider []RunTaskCapacityProviderStrategyItem
Group string
StartedBy string
PlatformVersion string
EnableExecuteCommand bool
NetworkConfiguration RunTaskNetworkConfiguration
Overrides RunTaskOverrides
}
type RunTaskNetworkConfiguration ¶
type RunTaskNetworkConfiguration struct {
AwsvpcConfiguration *RunTaskAwsvpcConfiguration `json:"awsvpcConfiguration,omitempty" mapstructure:"awsvpcConfiguration"`
}
func (RunTaskNetworkConfiguration) ToMap ¶
func (c RunTaskNetworkConfiguration) ToMap() map[string]any
type RunTaskNodeMetadata ¶
type RunTaskOverrides ¶
type RunTaskOverrides struct {
ContainerOverrides []RunTaskContainerOverride `json:"containerOverrides,omitempty" mapstructure:"containerOverrides"`
}
func (RunTaskOverrides) ToMap ¶
func (o RunTaskOverrides) ToMap() map[string]any
type RunTaskResponse ¶
type RunTaskStateChangeDetail ¶
type RunTaskStateChangeDetail struct {
TaskARN string `json:"taskArn" mapstructure:"taskArn"`
}
type Service ¶
type Service struct {
ServiceArn string `json:"serviceArn"`
ServiceName string `json:"serviceName"`
ClusterArn string `json:"clusterArn"`
Status string `json:"status"`
TaskDefinition string `json:"taskDefinition"`
DesiredCount int `json:"desiredCount"`
RunningCount int `json:"runningCount"`
PendingCount int `json:"pendingCount"`
LaunchType string `json:"launchType"`
PlatformVersion string `json:"platformVersion"`
Scheduling string `json:"schedulingStrategy"`
CreatedAt common.FloatTime `json:"createdAt,omitempty"`
Deployments []ServiceDeployment `json:"deployments"`
Events []ServiceEvent `json:"events"`
TaskSets []ServiceTaskSet `json:"taskSets"`
NetworkConfig any `json:"networkConfiguration,omitempty"`
PropagateTags string `json:"propagateTags"`
EnableExec bool `json:"enableExecuteCommand"`
}
type ServiceDeployment ¶
type ServiceDeployment struct {
ID string `json:"id"`
Status string `json:"status"`
TaskDefinition string `json:"taskDefinition"`
DesiredCount int `json:"desiredCount"`
PendingCount int `json:"pendingCount"`
RunningCount int `json:"runningCount"`
CreatedAt common.FloatTime `json:"createdAt,omitempty"`
UpdatedAt common.FloatTime `json:"updatedAt,omitempty"`
}
type ServiceEvent ¶
type ServiceMutationConfiguration ¶
type ServiceMutationConfiguration struct {
Region string `json:"region" mapstructure:"region"`
Cluster string `json:"cluster" mapstructure:"cluster"`
TaskDefinition string `json:"taskDefinition" mapstructure:"taskDefinition"`
DesiredCount *int `json:"desiredCount" mapstructure:"desiredCount"`
LaunchType string `json:"launchType" mapstructure:"launchType"`
CapacityProviderStrategy []RunTaskCapacityProviderStrategyItem `json:"capacityProviderStrategy" mapstructure:"capacityProviderStrategy"`
PlatformVersion string `json:"platformVersion" mapstructure:"platformVersion"`
EnableExecuteCommand *bool `json:"enableExecuteCommand" mapstructure:"enableExecuteCommand"`
NetworkConfiguration RunTaskNetworkConfiguration `json:"networkConfiguration" mapstructure:"networkConfiguration"`
DeploymentConfiguration map[string]any `json:"deploymentConfiguration" mapstructure:"deploymentConfiguration"`
HealthCheckGracePeriodSeconds *int `json:"healthCheckGracePeriodSeconds" mapstructure:"healthCheckGracePeriodSeconds"`
ServiceRegistries []map[string]any `json:"serviceRegistries" mapstructure:"serviceRegistries"`
LoadBalancers []map[string]any `json:"loadBalancers" mapstructure:"loadBalancers"`
PlacementConstraints []map[string]any `json:"placementConstraints" mapstructure:"placementConstraints"`
PlacementStrategy []map[string]any `json:"placementStrategy" mapstructure:"placementStrategy"`
ServiceConnectConfiguration map[string]any `json:"serviceConnectConfiguration" mapstructure:"serviceConnectConfiguration"`
VolumeConfigurations []map[string]any `json:"volumeConfigurations" mapstructure:"volumeConfigurations"`
VpcLatticeConfigurations []map[string]any `json:"vpcLatticeConfigurations" mapstructure:"vpcLatticeConfigurations"`
AvailabilityZoneRebalancing string `json:"availabilityZoneRebalancing" mapstructure:"availabilityZoneRebalancing"`
EnableECSManagedTags *bool `json:"enableECSManagedTags" mapstructure:"enableECSManagedTags"`
PropagateTags string `json:"propagateTags" mapstructure:"propagateTags"`
Tags []common.Tag `json:"tags" mapstructure:"tags"`
ForceNewDeployment *bool `json:"forceNewDeployment" mapstructure:"forceNewDeployment"`
AdditionalCreateOrUpdateArguments map[string]any `json:"additionalCreateOrUpdateArguments" mapstructure:"additionalCreateOrUpdateArguments"`
}
type ServiceMutationInput ¶
type ServiceMutationInput struct {
Cluster string
TaskDefinition string
DesiredCount *int
LaunchType string
CapacityProviderStrategy []RunTaskCapacityProviderStrategyItem
PlatformVersion string
EnableExecuteCommand *bool
NetworkConfiguration RunTaskNetworkConfiguration
DeploymentConfiguration map[string]any
ServiceRegistries []map[string]any
LoadBalancers []map[string]any
PlacementConstraints []map[string]any
PlacementStrategy []map[string]any
ServiceConnectConfiguration map[string]any
VolumeConfigurations []map[string]any
VpcLatticeConfigurations []map[string]any
AvailabilityZoneRebalancing string
HealthCheckGracePeriodSeconds *int
EnableECSManagedTags *bool
PropagateTags string
Tags []common.Tag
ForceNewDeployment *bool
AdditionalCreateOrUpdateArguments map[string]any
}
type ServiceTaskSet ¶
type ServiceTaskSet struct {
ID string `json:"id"`
TaskSetArn string `json:"taskSetArn"`
Status string `json:"status"`
TaskDefinition string `json:"taskDefinition"`
ServiceArn string `json:"serviceArn"`
ClusterArn string `json:"clusterArn"`
LaunchType string `json:"launchType"`
PlatformVersion string `json:"platformVersion"`
ComputedDesiredCount int `json:"computedDesiredCount"`
PendingCount int `json:"pendingCount"`
RunningCount int `json:"runningCount"`
CreatedAt common.FloatTime `json:"createdAt,omitempty"`
UpdatedAt common.FloatTime `json:"updatedAt,omitempty"`
}
type StopTask ¶
type StopTask struct{}
func (*StopTask) Configuration ¶
func (c *StopTask) Configuration() []configuration.Field
func (*StopTask) Description ¶
func (*StopTask) Documentation ¶
func (*StopTask) ExampleOutput ¶
func (*StopTask) HandleAction ¶
func (c *StopTask) HandleAction(ctx core.ActionContext) error
func (*StopTask) HandleWebhook ¶
func (c *StopTask) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*StopTask) OnIntegrationMessage ¶
func (c *StopTask) OnIntegrationMessage(ctx core.IntegrationMessageContext) error
func (*StopTask) OutputChannels ¶
func (c *StopTask) OutputChannels(configuration any) []core.OutputChannel
func (*StopTask) ProcessQueueItem ¶
type StopTaskConfiguration ¶
type StopTaskNodeMetadata ¶
type StopTaskResponse ¶
type StopTaskResponse struct {
Task Task `json:"task"`
}
type Task ¶
type Task struct {
TaskArn string `json:"taskArn"`
ClusterArn string `json:"clusterArn"`
TaskDefinitionArn string `json:"taskDefinitionArn"`
LastStatus string `json:"lastStatus"`
DesiredStatus string `json:"desiredStatus"`
StoppedReason string `json:"stoppedReason"`
LaunchType string `json:"launchType"`
PlatformVersion string `json:"platformVersion"`
Group string `json:"group"`
StartedBy string `json:"startedBy"`
CreatedAt common.FloatTime `json:"createdAt,omitempty"`
}
type UpdateService ¶
type UpdateService struct{}
func (*UpdateService) Actions ¶
func (c *UpdateService) Actions() []core.Action
func (*UpdateService) Cancel ¶
func (c *UpdateService) Cancel(ctx core.ExecutionContext) error
func (*UpdateService) Cleanup ¶
func (c *UpdateService) Cleanup(ctx core.SetupContext) error
func (*UpdateService) Color ¶
func (c *UpdateService) Color() string
func (*UpdateService) Configuration ¶
func (c *UpdateService) Configuration() []configuration.Field
func (*UpdateService) Description ¶
func (c *UpdateService) Description() string
func (*UpdateService) Documentation ¶
func (c *UpdateService) Documentation() string
func (*UpdateService) ExampleOutput ¶
func (c *UpdateService) ExampleOutput() map[string]any
func (*UpdateService) Execute ¶
func (c *UpdateService) Execute(ctx core.ExecutionContext) error
func (*UpdateService) HandleAction ¶
func (c *UpdateService) HandleAction(ctx core.ActionContext) error
func (*UpdateService) HandleWebhook ¶
func (c *UpdateService) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*UpdateService) Icon ¶
func (c *UpdateService) Icon() string
func (*UpdateService) Label ¶
func (c *UpdateService) Label() string
func (*UpdateService) Name ¶
func (c *UpdateService) Name() string
func (*UpdateService) OutputChannels ¶
func (c *UpdateService) OutputChannels(configuration any) []core.OutputChannel
func (*UpdateService) ProcessQueueItem ¶
func (c *UpdateService) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
func (*UpdateService) Setup ¶
func (c *UpdateService) Setup(ctx core.SetupContext) error
type UpdateServiceConfiguration ¶
type UpdateServiceConfiguration struct {
ServiceMutationConfiguration `mapstructure:",squash"`
Service string `json:"service" mapstructure:"service"`
}
type UpdateServiceInput ¶
type UpdateServiceInput struct {
Service string
ServiceMutation ServiceMutationInput
}
type UpdateServiceResponse ¶
type UpdateServiceResponse struct {
Service Service `json:"service"`
}
Click to show internal directories.
Click to hide internal directories.