awsapis

package module
v0.0.0-...-78ba6d8 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: AGPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

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 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 (*AwsAutoScalingApi) NewDescribeAutoScalingGroupsPaginator

func (a *AwsAutoScalingApi) NewDescribeAutoScalingGroupsPaginator(params *autoscaling.DescribeAutoScalingGroupsInput) DescribeAutoScalingGroupsPager

func (*AwsAutoScalingApi) UpdateAutoScalingGroup

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) NewDescribeLoadBalancersPaginator

func (a *AwsElbV2Api) NewDescribeLoadBalancersPaginator(
	params *elasticloadbalancingv2.DescribeLoadBalancersInput,
	optFn ...func(*elasticloadbalancingv2.Options)) DescribeLoadBalancersPager

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 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 DynamodbQueryPager interface {
	HasMorePages() bool
	NextPage(context.Context, ...func(*dynamodb.Options)) (*dynamodb.QueryOutput, error)
}

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 Ec2Api

type Ec2Api interface {
	Ec2SubnetsDescriptor
	Ec2InstanceTerminator
}

Interfaces

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 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 ListClustersPager

type ListClustersPager interface {
	HasMorePages() bool
	NextPage(context.Context, ...func(*ecs.Options)) (*ecs.ListClustersOutput, error)
}

type ListClustersPaginator

type ListClustersPaginator interface {
	NewListClustersPaginator(params *ecs.ListClustersInput) ListClustersPager
}

type ListServicesPager

type ListServicesPager interface {
	HasMorePages() bool
	NextPage(context.Context, ...func(*ecs.Options)) (*ecs.ListServicesOutput, error)
}

type ListServicesPaginator

type ListServicesPaginator interface {
	NewListServicesPaginator(params *ecs.ListServicesInput) ListServicesPager
}

type ListTasksPager

type ListTasksPager interface {
	HasMorePages() bool
	NextPage(context.Context, ...func(*ecs.Options)) (*ecs.ListTasksOutput, error)
}

type ListTasksPaginator

type ListTasksPaginator interface {
	NewListTasksPaginator(params *ecs.ListTasksInput) ListTasksPager
}

Jump to

Keyboard shortcuts

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