Documentation
¶
Index ¶
- type AwsClient
- type Cluster
- type ClusterList
- type EcsRepository
- func (r *EcsRepository) DescribeServicesByInput(query *ecs.DescribeServicesInput) ([]Service, error)
- func (r *EcsRepository) GetRegion() ptypes.AwsRegion
- func (r *EcsRepository) ListClustersAll() ([]Cluster, error)
- func (r *EcsRepository) ListClustersByInput(query *ecs.ListClustersInput) ([]Cluster, error)
- func (r *EcsRepository) ListServicesAll() ([]Service, error)
- func (r *EcsRepository) ListServicesByCluster(cluster Cluster) ([]Service, error)
- func (r *EcsRepository) ListServicesByInput(query *ecs.ListServicesInput) ([]Service, error)
- type Service
- type ServiceList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { service.AbstractResource types.Cluster }
func (Cluster) GetTagValue ¶
type ClusterList ¶
type ClusterList struct {
Items []Cluster
}
type EcsRepository ¶
type EcsRepository struct {
// contains filtered or unexported fields
}
func NewEcsRepository ¶
func NewEcsRepository(ctx context.Context, client AwsClient) *EcsRepository
func (*EcsRepository) DescribeServicesByInput ¶
func (r *EcsRepository) DescribeServicesByInput(query *ecs.DescribeServicesInput) ([]Service, error)
func (*EcsRepository) GetRegion ¶
func (r *EcsRepository) GetRegion() ptypes.AwsRegion
func (*EcsRepository) ListClustersAll ¶
func (r *EcsRepository) ListClustersAll() ([]Cluster, error)
func (*EcsRepository) ListClustersByInput ¶
func (r *EcsRepository) ListClustersByInput(query *ecs.ListClustersInput) ([]Cluster, error)
func (*EcsRepository) ListServicesAll ¶
func (r *EcsRepository) ListServicesAll() ([]Service, error)
func (*EcsRepository) ListServicesByCluster ¶
func (r *EcsRepository) ListServicesByCluster(cluster Cluster) ([]Service, error)
func (*EcsRepository) ListServicesByInput ¶
func (r *EcsRepository) ListServicesByInput(query *ecs.ListServicesInput) ([]Service, error)
type Service ¶
type Service struct { service.AbstractResource types.Service }
func (Service) GetTagValue ¶
type ServiceList ¶
type ServiceList struct {
Items []Service
}
Click to show internal directories.
Click to hide internal directories.