Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAwsComputeDiscovery ¶ added in v1.3.13
func NewAwsComputeDiscovery(client *Client, cloudServiceID string) discovery.Discoverer
NewAwsComputeDiscovery constructs a new awsS3Discovery initializing the s3-virtualMachineAPI and isDiscovering with true
func NewAwsStorageDiscovery ¶
func NewAwsStorageDiscovery(client *Client, cloudServiceID string) discovery.Discoverer
NewAwsStorageDiscovery constructs a new awsS3Discovery initializing the s3-api and isDiscovering with true
Types ¶
type BucketPolicy ¶
type BucketPolicy struct {
ID string `json:"id"`
Version string `json:"Version"`
Statement []Statement `json:"Statement"`
}
BucketPolicy matches the returned bucket policy in JSON from AWS
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client holds configurations across all services within AWS
type EC2API ¶
type EC2API interface {
DescribeInstances(ctx context.Context,
params *ec2.DescribeInstancesInput,
optFns ...func(options *ec2.Options)) (*ec2.DescribeInstancesOutput, error)
DescribeVolumes(ctx context.Context,
params *ec2.DescribeVolumesInput,
optFns ...func(options *ec2.Options)) (*ec2.DescribeVolumesOutput, error)
DescribeNetworkInterfaces(ctx context.Context,
params *ec2.DescribeNetworkInterfacesInput,
optFns ...func(options *ec2.