Documentation
¶
Index ¶
- func DownloadObject(sess session.Session, bucketName, key string) string
- func GetAllRegions() []string
- func GetBuckEncryption(sess session.Session, bucketName string) *s3.ServerSideEncryptionConfiguration
- func GetBuckLifecycle(sess session.Session, bucketName string) *s3.GetBucketLifecycleConfigurationOutput
- func GetInfoAboutBucket(sess session.Session, bucketName string, delimiter string, prefix string) *s3.ListObjectsV2Output
- func GetMessageFromQueue(sess session.Session, queueUrl string) (*sqs.ReceiveMessageOutput, error)
- func GetPreSignedUrl(sess session.Session, bucketName, key string) string
- func GetSecGrps(sess session.Session) []*ec2.SecurityGroup
- func GetSingleAMI(sess session.Session, amiId string) *ec2.Image
- func GetSingleInstance(sess session.Session, insId string) *ec2.DescribeInstancesOutput
- func GetSingleSecGrp(sess session.Session, sgId string) *ec2.DescribeSecurityGroupsOutput
- func GetSingleSnapshot(sess session.Session, sId string) *ec2.Snapshot
- func GetSingleSubnet(sess session.Session, sId string) *ec2.Subnet
- func GetSingleVPC(sess session.Session, vpcId string) *ec2.Vpc
- func GetSingleVolume(sess session.Session, vId string) *ec2.Volume
- func PutObjects(sess session.Session)
- type BucketInfo
- type BucketResp
- type EBSResp
- type EC2Resp
- type IAMUSerGroupPolicyResponse
- type IAMUSerGroupResp
- type IAMUSerPolicyResponse
- type IAMUSerResp
- type IamRolePolicyResponse
- type IamRoleResp
- type ImageResp
- type LambdaResp
- type S3Object
- type SQSResp
- type Snapshot
- type SubnetResp
- type VpcResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllRegions ¶
func GetAllRegions() []string
func GetBuckEncryption ¶
func GetBuckEncryption(sess session.Session, bucketName string) *s3.ServerSideEncryptionConfiguration
func GetBuckLifecycle ¶
func GetBuckLifecycle(sess session.Session, bucketName string) *s3.GetBucketLifecycleConfigurationOutput
func GetInfoAboutBucket ¶
func GetMessageFromQueue ¶
func GetSecGrps ¶
func GetSecGrps(sess session.Session) []*ec2.SecurityGroup
func GetSingleInstance ¶
func GetSingleInstance(sess session.Session, insId string) *ec2.DescribeInstancesOutput
func GetSingleSecGrp ¶
func GetSingleSecGrp(sess session.Session, sgId string) *ec2.DescribeSecurityGroupsOutput
func PutObjects ¶
Types ¶
type BucketInfo ¶
type BucketInfo struct { EncryptionConfiguration *s3.ServerSideEncryptionConfiguration LifeCycleRules []*s3.LifecycleRule }
type BucketResp ¶
func ListBuckets ¶
func ListBuckets(sess session.Session) ([]BucketResp, error)
type EBSResp ¶
type EC2Resp ¶
type IAMUSerGroupPolicyResponse ¶
func GetPoliciesOfGrp ¶
func GetPoliciesOfGrp(sess session.Session, grpName string) []IAMUSerGroupPolicyResponse
type IAMUSerGroupResp ¶
func GetUserGroups ¶
func GetUserGroups(sess session.Session) []IAMUSerGroupResp
type IAMUSerPolicyResponse ¶
func GetPoliciesOfUser ¶
func GetPoliciesOfUser(sess session.Session, usrName string) []IAMUSerPolicyResponse
If a user belong to a Group then we can't see the user's attached policy here, their policies are governed on the top of the group
type IAMUSerResp ¶
func GetGroupUsers ¶
func GetGroupUsers(sess session.Session, grpName string) []IAMUSerResp
func GetUsers ¶
func GetUsers(sess session.Session) []IAMUSerResp
type IamRolePolicyResponse ¶
func GetPoliciesOfRoles ¶
func GetPoliciesOfRoles(sess session.Session, roleName string) []IamRolePolicyResponse
type IamRoleResp ¶
func GetIamRoles ¶
func GetIamRoles(sess session.Session) []IamRoleResp
type ImageResp ¶
type LambdaResp ¶
type LambdaResp struct { FunctionName string Description string Role string FunctionArn string CodeSize string LastModified string }
func GetAllLambdaFunctions ¶
func GetAllLambdaFunctions(sess session.Session) ([]LambdaResp, error)
type SQSResp ¶
type Snapshot ¶
type Snapshot struct { SnapshotId string OwnerId string VolumeId string VolumeSize string StartTime string State string }
func GetSnapshots ¶
Snapshots are region specific Localstack does have default snapshots, so we can see some of the snapshots that we never created
type SubnetResp ¶
type SubnetResp struct { SubnetId string OwnerId string CidrBlock string AvailabilityZone string State string }
func GetSubnets ¶
func GetSubnets(sess session.Session, vpcId string) []SubnetResp
Click to show internal directories.
Click to hide internal directories.