Documentation ¶
Index ¶
- type AWSProvider
- type AutoScalingApi
- type AutoScalingDescriber
- type AutoScalingGroupUpdater
- type AwsAutoScalingApi
- func (a *AwsAutoScalingApi) DescribeAutoScalingGroups(ctx context.Context, params *autoscaling.DescribeAutoScalingGroupsInput, ...) (*autoscaling.DescribeAutoScalingGroupsOutput, error)
- func (a *AwsAutoScalingApi) NewDescribeAutoScalingGroupsPaginator(params *autoscaling.DescribeAutoScalingGroupsInput) DescribeAutoScalingGroupsPager
- func (a *AwsAutoScalingApi) UpdateAutoScalingGroup(ctx context.Context, params *autoscaling.UpdateAutoScalingGroupInput, ...) (*autoscaling.UpdateAutoScalingGroupOutput, error)
- type AwsDynamodbApi
- func (a *AwsDynamodbApi) CreateTable(ctx context.Context, params *dynamodb.CreateTableInput, ...) (*dynamodb.CreateTableOutput, error)
- func (a *AwsDynamodbApi) DeleteItem(ctx context.Context, params *dynamodb.DeleteItemInput, ...) (*dynamodb.DeleteItemOutput, error)
- func (a *AwsDynamodbApi) DescribeTable(ctx context.Context, params *dynamodb.DescribeTableInput, ...) (*dynamodb.DescribeTableOutput, error)
- func (a *AwsDynamodbApi) GetItem(ctx context.Context, params *dynamodb.GetItemInput, ...) (*dynamodb.GetItemOutput, error)
- func (a *AwsDynamodbApi) NewQueryPaginator(params *dynamodb.QueryInput) DynamodbQueryPager
- func (a *AwsDynamodbApi) NewTableExistsWaiter() DynamodbTableExistsWaiter
- func (a *AwsDynamodbApi) PutItem(ctx context.Context, params *dynamodb.PutItemInput, ...) (*dynamodb.PutItemOutput, error)
- type AwsEc2Api
- type AwsEcsApi
- func (a *AwsEcsApi) DescribeServices(ctx context.Context, params *ecs.DescribeServicesInput, ...) (*ecs.DescribeServicesOutput, error)
- func (a *AwsEcsApi) DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, ...) (*ecs.DescribeTasksOutput, error)
- func (a *AwsEcsApi) ListTagsForResource(ctx context.Context, params *ecs.ListTagsForResourceInput, ...) (*ecs.ListTagsForResourceOutput, error)
- func (a *AwsEcsApi) NewListClustersPaginator(params *ecs.ListClustersInput) ListClustersPager
- func (a *AwsEcsApi) NewListServicesPaginator(params *ecs.ListServicesInput) ListServicesPager
- func (a *AwsEcsApi) NewListTasksPaginator(params *ecs.ListTasksInput) ListTasksPager
- func (a *AwsEcsApi) StopTask(ctx context.Context, params *ecs.StopTaskInput, optFns ...func(*ecs.Options)) (*ecs.StopTaskOutput, error)
- func (a *AwsEcsApi) UpdateService(ctx context.Context, params *ecs.UpdateServiceInput, ...) (*ecs.UpdateServiceOutput, error)
- type AwsElbV2Api
- func (a *AwsElbV2Api) DescribeLoadBalancers(ctx context.Context, params *elasticloadbalancingv2.DescribeLoadBalancersInput, ...) (*elasticloadbalancingv2.DescribeLoadBalancersOutput, error)
- func (a *AwsElbV2Api) DescribeTags(ctx context.Context, params *elasticloadbalancingv2.DescribeTagsInput, ...) (*elasticloadbalancingv2.DescribeTagsOutput, error)
- func (a *AwsElbV2Api) NewDescribeLoadBalancersPaginator(params *elasticloadbalancingv2.DescribeLoadBalancersInput, ...) DescribeLoadBalancersPager
- func (a *AwsElbV2Api) SetSubnets(ctx context.Context, params *elasticloadbalancingv2.SetSubnetsInput, ...) (*elasticloadbalancingv2.SetSubnetsOutput, error)
- type DescribeAutoScalingGroupsPager
- type DescribeAutoScalingGroupsPaginator
- type DescribeLoadBalancersPager
- type DescribeLoadBalancersPaginator
- type DynamodbApi
- type DynamodbItemDeleter
- type DynamodbItemGetter
- type DynamodbItemPutter
- type DynamodbQueryPager
- type DynamodbQueryPaginator
- type DynamodbTableCreator
- type DynamodbTableDescriptor
- type DynamodbTableExistsWaiter
- type DynamodbTableExistsWaiterIface
- type Ec2Api
- type Ec2InstanceTerminator
- type Ec2SubnetsDescriptor
- type EcsApi
- type EcsServiceDescriptor
- type EcsServiceUpdater
- type EcsTagsLister
- type EcsTaskDescriptor
- type EcsTaskStopper
- type ElbV2Api
- type ElbV2LoadBalancersDescriptor
- type ElbV2SubnetSetter
- type ElbV2TagDescriptor
- type ListClustersPager
- type ListClustersPaginator
- type ListServicesPager
- type ListServicesPaginator
- type ListTasksPager
- type ListTasksPaginator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSProvider ¶
type AWSProvider interface { NewDynamodbApi() DynamodbApi NewEc2Api() Ec2Api NewEcsApi() EcsApi NewAutoScalingApi() AutoScalingApi NewElbV2Api() ElbV2Api }
func NewProviderFromConfig ¶
func NewProviderFromConfig(cfg *aws.Config) AWSProvider
Creates a new provider from AWS configuration
type AutoScalingApi ¶
type AutoScalingApi interface { AutoScalingDescriber AutoScalingGroupUpdater DescribeAutoScalingGroupsPaginator }
Interfaces
type AutoScalingDescriber ¶
type AutoScalingDescriber interface { DescribeAutoScalingGroups(ctx context.Context, params *autoscaling.DescribeAutoScalingGroupsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingGroupsOutput, error) }
type AutoScalingGroupUpdater ¶
type AutoScalingGroupUpdater interface { UpdateAutoScalingGroup(ctx context.Context, params *autoscaling.UpdateAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.UpdateAutoScalingGroupOutput, error) }
type AwsAutoScalingApi ¶
type AwsAutoScalingApi struct {
// contains filtered or unexported fields
}
Implementation
func (*AwsAutoScalingApi) DescribeAutoScalingGroups ¶
func (a *AwsAutoScalingApi) DescribeAutoScalingGroups(ctx context.Context, params *autoscaling.DescribeAutoScalingGroupsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingGroupsOutput, error)
func (*AwsAutoScalingApi) NewDescribeAutoScalingGroupsPaginator ¶
func (a *AwsAutoScalingApi) NewDescribeAutoScalingGroupsPaginator(params *autoscaling.DescribeAutoScalingGroupsInput) DescribeAutoScalingGroupsPager
func (*AwsAutoScalingApi) UpdateAutoScalingGroup ¶
func (a *AwsAutoScalingApi) UpdateAutoScalingGroup(ctx context.Context, params *autoscaling.UpdateAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.UpdateAutoScalingGroupOutput, error)
type AwsDynamodbApi ¶
type AwsDynamodbApi struct {
// contains filtered or unexported fields
}
Implementation
func (*AwsDynamodbApi) CreateTable ¶
func (a *AwsDynamodbApi) CreateTable(ctx context.Context, params *dynamodb.CreateTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.CreateTableOutput, error)
func (*AwsDynamodbApi) DeleteItem ¶
func (a *AwsDynamodbApi) DeleteItem(ctx context.Context, params *dynamodb.DeleteItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DeleteItemOutput, error)
func (*AwsDynamodbApi) DescribeTable ¶
func (a *AwsDynamodbApi) DescribeTable(ctx context.Context, params *dynamodb.DescribeTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeTableOutput, error)
func (*AwsDynamodbApi) GetItem ¶
func (a *AwsDynamodbApi) GetItem(ctx context.Context, params *dynamodb.GetItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.GetItemOutput, error)
func (*AwsDynamodbApi) NewQueryPaginator ¶
func (a *AwsDynamodbApi) NewQueryPaginator(params *dynamodb.QueryInput) DynamodbQueryPager
func (*AwsDynamodbApi) NewTableExistsWaiter ¶
func (a *AwsDynamodbApi) NewTableExistsWaiter() DynamodbTableExistsWaiter
func (*AwsDynamodbApi) PutItem ¶
func (a *AwsDynamodbApi) PutItem(ctx context.Context, params *dynamodb.PutItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.PutItemOutput, error)
type AwsEc2Api ¶
type AwsEc2Api struct {
// contains filtered or unexported fields
}
Implementation
func (*AwsEc2Api) DescribeSubnets ¶
func (a *AwsEc2Api) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
func (*AwsEc2Api) TerminateInstances ¶
func (a *AwsEc2Api) TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)
type AwsEcsApi ¶
type AwsEcsApi struct {
// contains filtered or unexported fields
}
Implementation
func (*AwsEcsApi) DescribeServices ¶
func (a *AwsEcsApi) DescribeServices(ctx context.Context, params *ecs.DescribeServicesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeServicesOutput, error)
func (*AwsEcsApi) DescribeTasks ¶
func (a *AwsEcsApi) DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)
func (*AwsEcsApi) ListTagsForResource ¶
func (a *AwsEcsApi) ListTagsForResource(ctx context.Context, params *ecs.ListTagsForResourceInput, optFns ...func(*ecs.Options)) (*ecs.ListTagsForResourceOutput, error)
func (*AwsEcsApi) NewListClustersPaginator ¶
func (a *AwsEcsApi) NewListClustersPaginator(params *ecs.ListClustersInput) ListClustersPager
func (*AwsEcsApi) NewListServicesPaginator ¶
func (a *AwsEcsApi) NewListServicesPaginator(params *ecs.ListServicesInput) ListServicesPager
func (*AwsEcsApi) NewListTasksPaginator ¶
func (a *AwsEcsApi) NewListTasksPaginator(params *ecs.ListTasksInput) ListTasksPager
func (*AwsEcsApi) StopTask ¶
func (a *AwsEcsApi) StopTask(ctx context.Context, params *ecs.StopTaskInput, optFns ...func(*ecs.Options)) (*ecs.StopTaskOutput, error)
func (*AwsEcsApi) UpdateService ¶
func (a *AwsEcsApi) UpdateService(ctx context.Context, params *ecs.UpdateServiceInput, optFns ...func(*ecs.Options)) (*ecs.UpdateServiceOutput, error)
type AwsElbV2Api ¶
type AwsElbV2Api struct {
// contains filtered or unexported fields
}
func (*AwsElbV2Api) DescribeLoadBalancers ¶
func (a *AwsElbV2Api) DescribeLoadBalancers(ctx context.Context, params *elasticloadbalancingv2.DescribeLoadBalancersInput, optFn ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeLoadBalancersOutput, error)
func (*AwsElbV2Api) DescribeTags ¶
func (a *AwsElbV2Api) DescribeTags(ctx context.Context, params *elasticloadbalancingv2.DescribeTagsInput, optFn ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeTagsOutput, error)
func (*AwsElbV2Api) NewDescribeLoadBalancersPaginator ¶
func (a *AwsElbV2Api) NewDescribeLoadBalancersPaginator( params *elasticloadbalancingv2.DescribeLoadBalancersInput, optFn ...func(*elasticloadbalancingv2.Options)) DescribeLoadBalancersPager
func (*AwsElbV2Api) SetSubnets ¶
func (a *AwsElbV2Api) SetSubnets(ctx context.Context, params *elasticloadbalancingv2.SetSubnetsInput, optFn ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.SetSubnetsOutput, error)
type DescribeAutoScalingGroupsPager ¶
type DescribeAutoScalingGroupsPager interface { HasMorePages() bool NextPage(context.Context, ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingGroupsOutput, error) }
type DescribeAutoScalingGroupsPaginator ¶
type DescribeAutoScalingGroupsPaginator interface {
NewDescribeAutoScalingGroupsPaginator(params *autoscaling.DescribeAutoScalingGroupsInput) DescribeAutoScalingGroupsPager
}
type DescribeLoadBalancersPager ¶
type DescribeLoadBalancersPager interface { HasMorePages() bool NextPage(context.Context, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeLoadBalancersOutput, error) }
type DescribeLoadBalancersPaginator ¶
type DescribeLoadBalancersPaginator interface { NewDescribeLoadBalancersPaginator( params *elasticloadbalancingv2.DescribeLoadBalancersInput, optFn ...func(*elasticloadbalancingv2.Options)) DescribeLoadBalancersPager }
type DynamodbApi ¶
type DynamodbApi interface { DynamodbItemGetter DynamodbItemPutter DynamodbItemDeleter DynamodbTableDescriptor DynamodbTableCreator DynamodbQueryPaginator DynamodbTableExistsWaiterIface }
Interfaces
type DynamodbItemDeleter ¶
type DynamodbItemDeleter interface { DeleteItem(ctx context.Context, params *dynamodb.DeleteItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DeleteItemOutput, error) }
type DynamodbItemGetter ¶
type DynamodbItemGetter interface { GetItem(ctx context.Context, params *dynamodb.GetItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.GetItemOutput, error) }
type DynamodbItemPutter ¶
type DynamodbItemPutter interface { PutItem(ctx context.Context, params *dynamodb.PutItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.PutItemOutput, error) }
type DynamodbQueryPager ¶
type DynamodbQueryPaginator ¶
type DynamodbQueryPaginator interface {
NewQueryPaginator(params *dynamodb.QueryInput) DynamodbQueryPager
}
type DynamodbTableCreator ¶
type DynamodbTableCreator interface { CreateTable(ctx context.Context, params *dynamodb.CreateTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.CreateTableOutput, error) }
type DynamodbTableDescriptor ¶
type DynamodbTableDescriptor interface { DescribeTable(ctx context.Context, params *dynamodb.DescribeTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeTableOutput, error) }
type DynamodbTableExistsWaiter ¶
type DynamodbTableExistsWaiter interface { Wait(ctx context.Context, params *dynamodb.DescribeTableInput, maxWaitDur time.Duration, optFns ...func(*dynamodb.TableExistsWaiterOptions)) error }
type DynamodbTableExistsWaiterIface ¶
type DynamodbTableExistsWaiterIface interface {
NewTableExistsWaiter() DynamodbTableExistsWaiter
}
type Ec2InstanceTerminator ¶
type Ec2InstanceTerminator interface { TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error) }
type Ec2SubnetsDescriptor ¶
type Ec2SubnetsDescriptor interface { DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error) }
type EcsApi ¶
type EcsApi interface { EcsTagsLister EcsServiceDescriptor EcsServiceUpdater EcsTaskDescriptor EcsTaskStopper ListClustersPaginator ListServicesPaginator ListTasksPaginator }
Interfaces
type EcsServiceDescriptor ¶
type EcsServiceDescriptor interface { DescribeServices(ctx context.Context, params *ecs.DescribeServicesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeServicesOutput, error) }
type EcsServiceUpdater ¶
type EcsServiceUpdater interface { UpdateService(ctx context.Context, params *ecs.UpdateServiceInput, optFns ...func(*ecs.Options)) (*ecs.UpdateServiceOutput, error) }
type EcsTagsLister ¶
type EcsTagsLister interface { ListTagsForResource(ctx context.Context, params *ecs.ListTagsForResourceInput, optFns ...func(*ecs.Options)) (*ecs.ListTagsForResourceOutput, error) }
type EcsTaskDescriptor ¶
type EcsTaskDescriptor interface { DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error) }
type EcsTaskStopper ¶
type EcsTaskStopper interface { StopTask(ctx context.Context, params *ecs.StopTaskInput, optFns ...func(*ecs.Options)) (*ecs.StopTaskOutput, error) }
type ElbV2Api ¶
type ElbV2Api interface { ElbV2TagDescriptor ElbV2LoadBalancersDescriptor ElbV2SubnetSetter DescribeLoadBalancersPaginator }
type ElbV2LoadBalancersDescriptor ¶
type ElbV2LoadBalancersDescriptor interface { DescribeLoadBalancers(context.Context, *elasticloadbalancingv2.DescribeLoadBalancersInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeLoadBalancersOutput, error) }
type ElbV2SubnetSetter ¶
type ElbV2SubnetSetter interface { SetSubnets(context.Context, *elasticloadbalancingv2.SetSubnetsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.SetSubnetsOutput, error) }
type ElbV2TagDescriptor ¶
type ElbV2TagDescriptor interface { DescribeTags(context.Context, *elasticloadbalancingv2.DescribeTagsInput, ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeTagsOutput, error) }
type ListClustersPager ¶
type ListClustersPaginator ¶
type ListClustersPaginator interface {
NewListClustersPaginator(params *ecs.ListClustersInput) ListClustersPager
}
type ListServicesPager ¶
type ListServicesPaginator ¶
type ListServicesPaginator interface {
NewListServicesPaginator(params *ecs.ListServicesInput) ListServicesPager
}
type ListTasksPager ¶
type ListTasksPaginator ¶
type ListTasksPaginator interface {
NewListTasksPaginator(params *ecs.ListTasksInput) ListTasksPager
}
Click to show internal directories.
Click to hide internal directories.