aws

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CloudProviderName cloud.ProviderName = "aws"

CloudProviderName is the name of this cloud provider.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloud

type Cloud struct {
	// contains filtered or unexported fields
}

func (*Cloud) AttachRolePolicy added in v0.0.16

func (c *Cloud) AttachRolePolicy(ctx context.Context, roleName, policyARN string) error

func (*Cloud) Compute added in v0.0.10

func (c *Cloud) Compute() cloud.Compute

func (*Cloud) CreateBucket added in v0.0.10

func (c *Cloud) CreateBucket(ctx context.Context, bucket string) (*cloud.Bucket, error)

func (*Cloud) DescribeInstances added in v0.0.16

func (c *Cloud) DescribeInstances(ctx context.Context, filters ...*cloud.Filter) ([]*cloud.Instance, error)

func (*Cloud) DescribeRegions

func (c *Cloud) DescribeRegions(ctx context.Context) ([]*cloud.Region, error)

func (*Cloud) DescribeSubnets

func (c *Cloud) DescribeSubnets(ctx context.Context, vpcID string) ([]*cloud.Subnet, error)

func (*Cloud) DescribeVPCs

func (c *Cloud) DescribeVPCs(ctx context.Context) ([]*cloud.VPC, error)

func (*Cloud) DescribeZones

func (c *Cloud) DescribeZones(ctx context.Context) ([]*cloud.Zone, error)

func (*Cloud) GetBucket added in v0.0.10

func (c *Cloud) GetBucket(ctx context.Context, bucket string) (*cloud.Bucket, error)

func (*Cloud) GetInstanceProfile added in v0.0.16

func (c *Cloud) GetInstanceProfile(ctx context.Context, profileName string) (*cloud.InstanceProfile, error)

func (*Cloud) IAM added in v0.0.16

func (c *Cloud) IAM() cloud.IAM

func (*Cloud) Name

func (c *Cloud) Name() cloud.ProviderName

func (*Cloud) Session added in v0.0.16

func (c *Cloud) Session(region, profile string) (interface{}, error)

func (*Cloud) Storage added in v0.0.10

func (c *Cloud) Storage() cloud.Storage

Jump to

Keyboard shortcuts

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