types

package
v0.0.0-...-29cceae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionConfig

type ConnectionConfig struct {
	TaskSetID    string
	LBName       string
	TGName       string
	TGWeigth     int64
	ListenerPort int64
	Priority     string
	TGHealth     []*elbv2.TargetHealthDescription
}

type DeploymentStatus

type DeploymentStatus struct {
	DeploymentImages      map[string][]string
	DeploymentConnections []ConnectionConfig
	DeploymentTasks       map[string][]*ecs.Task
}

type DeploymentStatusFetcher

type DeploymentStatusFetcher func(cluster, service string, deployments []*ecs.Deployment, loadBalancers []*ecs.LoadBalancer) (*DeploymentStatus, error)

type ServiceScale

type ServiceScale struct {
	Min int64
	Max int64
}

type ServiceStatus

type ServiceStatus struct {
	Ecs    *ecs.Service
	Asg    ServiceScale
	Images []string
}

type TaskSetStatus

type TaskSetStatus struct {
	TaskSetImages      map[string][]string
	TaskSetConnections map[string][]ConnectionConfig
	TaskSetTasks       map[string][]*ecs.Task
}

type TaskSetStatusFetcher

type TaskSetStatusFetcher func(cluster, service string, taskSets []*ecs.TaskSet) (*TaskSetStatus, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL