Documentation ¶
Index ¶
- type AWSEC2Client
- func (client AWSEC2Client) DescribeImages(input *ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)
- func (client AWSEC2Client) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
- func (client AWSEC2Client) DescribeSecurityGroups(input *ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error)
- func (client AWSEC2Client) DescribeSnapshots(input *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error)
- func (client AWSEC2Client) DescribeVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)
- type AWSIAMClient
- type AWSKmsClient
- type AWSS3Client
- func (client AWSS3Client) GetBucketAcl(input *s3.GetBucketAclInput) (*s3.GetBucketAclOutput, error)
- func (client AWSS3Client) GetBucketEncryption(input *s3.GetBucketEncryptionInput) (*s3.GetBucketEncryptionOutput, error)
- func (client AWSS3Client) GetBucketLocation(input *s3.GetBucketLocationInput) (*s3.GetBucketLocationOutput, error)
- func (client AWSS3Client) GetBucketLogging(input *s3.GetBucketLoggingInput) (*s3.GetBucketLoggingOutput, error)
- func (client AWSS3Client) GetBucketPolicy(input *s3.GetBucketPolicyInput) (*s3.GetBucketPolicyOutput, error)
- func (client AWSS3Client) ListBuckets(input *s3.ListBucketsInput) (*s3.ListBucketsOutput, error)
- type ClientFactory
- type ClientFactoryAWS
- func (factory *ClientFactoryAWS) GetEc2Client(config csasession.SessionConfig) (EC2Client, error)
- func (factory *ClientFactoryAWS) GetIAMClient(config csasession.SessionConfig) (IAMClient, error)
- func (factory *ClientFactoryAWS) GetKmsClient(config csasession.SessionConfig) (KmsClient, error)
- func (factory *ClientFactoryAWS) GetS3Client(config csasession.SessionConfig) (S3Client, error)
- type EC2Client
- type IAMClient
- type KmsClient
- type S3Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSEC2Client ¶
type AWSEC2Client struct {
// contains filtered or unexported fields
}
func (AWSEC2Client) DescribeImages ¶
func (client AWSEC2Client) DescribeImages(input *ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)
func (AWSEC2Client) DescribeInstances ¶
func (client AWSEC2Client) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
func (AWSEC2Client) DescribeSecurityGroups ¶
func (client AWSEC2Client) DescribeSecurityGroups(input *ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error)
func (AWSEC2Client) DescribeSnapshots ¶
func (client AWSEC2Client) DescribeSnapshots(input *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error)
func (AWSEC2Client) DescribeVolumes ¶
func (client AWSEC2Client) DescribeVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)
type AWSIAMClient ¶
type AWSIAMClient struct {
// contains filtered or unexported fields
}
func (AWSIAMClient) ListAccessKeys ¶
func (client AWSIAMClient) ListAccessKeys(input *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)
func (AWSIAMClient) ListUsers ¶
func (client AWSIAMClient) ListUsers(input *iam.GetAccountAuthorizationDetailsInput) (*iam.GetAccountAuthorizationDetailsOutput, error)
type AWSKmsClient ¶
type AWSKmsClient struct {
// contains filtered or unexported fields
}
func (AWSKmsClient) ListAliases ¶
func (client AWSKmsClient) ListAliases(input *kms.ListAliasesInput) (*kms.ListAliasesOutput, error)
func (AWSKmsClient) ListKeys ¶
func (client AWSKmsClient) ListKeys(input *kms.ListKeysInput) (*kms.ListKeysOutput, error)
type AWSS3Client ¶
type AWSS3Client struct {
// contains filtered or unexported fields
}
func (AWSS3Client) GetBucketAcl ¶
func (client AWSS3Client) GetBucketAcl(input *s3.GetBucketAclInput) (*s3.GetBucketAclOutput, error)
func (AWSS3Client) GetBucketEncryption ¶
func (client AWSS3Client) GetBucketEncryption(input *s3.GetBucketEncryptionInput) (*s3.GetBucketEncryptionOutput, error)
func (AWSS3Client) GetBucketLocation ¶
func (client AWSS3Client) GetBucketLocation(input *s3.GetBucketLocationInput) (*s3.GetBucketLocationOutput, error)
func (AWSS3Client) GetBucketLogging ¶
func (client AWSS3Client) GetBucketLogging(input *s3.GetBucketLoggingInput) (*s3.GetBucketLoggingOutput, error)
func (AWSS3Client) GetBucketPolicy ¶
func (client AWSS3Client) GetBucketPolicy(input *s3.GetBucketPolicyInput) (*s3.GetBucketPolicyOutput, error)
func (AWSS3Client) ListBuckets ¶
func (client AWSS3Client) ListBuckets(input *s3.ListBucketsInput) (*s3.ListBucketsOutput, error)
type ClientFactory ¶
type ClientFactory interface { GetKmsClient(config csasession.SessionConfig) (KmsClient, error) GetEc2Client(config csasession.SessionConfig) (EC2Client, error) GetS3Client(config csasession.SessionConfig) (S3Client, error) GetIAMClient(config csasession.SessionConfig) (IAMClient, error) }
func New ¶
func New(sessionFactory *sessionfactory.SessionFactory) ClientFactory
New creates a new instance of the ClientFactory.
type ClientFactoryAWS ¶
type ClientFactoryAWS struct {
// contains filtered or unexported fields
}
ClientFactory provides methods for creation and management of service clients.
func (*ClientFactoryAWS) GetEc2Client ¶
func (factory *ClientFactoryAWS) GetEc2Client(config csasession.SessionConfig) (EC2Client, error)
GetEc2Client creates a new EC2 client from cached session.
func (*ClientFactoryAWS) GetIAMClient ¶
func (factory *ClientFactoryAWS) GetIAMClient(config csasession.SessionConfig) (IAMClient, error)
GetIAMClient creates a new IAM client from cached session.
func (*ClientFactoryAWS) GetKmsClient ¶
func (factory *ClientFactoryAWS) GetKmsClient(config csasession.SessionConfig) (KmsClient, error)
GetKmsClient creates a new KMS client from cached session.
func (*ClientFactoryAWS) GetS3Client ¶
func (factory *ClientFactoryAWS) GetS3Client(config csasession.SessionConfig) (S3Client, error)
GetS3Client creates a new S3 client from cached session.
type EC2Client ¶
type EC2Client interface { DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) DescribeVolumes(input *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error) DescribeSecurityGroups(input *ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error) DescribeImages(input *ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error) DescribeSnapshots(input *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error) }
type IAMClient ¶
type IAMClient interface { ListUsers(input *iam.GetAccountAuthorizationDetailsInput) (*iam.GetAccountAuthorizationDetailsOutput, error) ListAccessKeys(input *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error) }
type KmsClient ¶
type KmsClient interface { ListKeys(input *kms.ListKeysInput) (*kms.ListKeysOutput, error) ListAliases(input *kms.ListAliasesInput) (*kms.ListAliasesOutput, error) }
type S3Client ¶
type S3Client interface { GetBucketPolicy(input *s3.GetBucketPolicyInput) (*s3.GetBucketPolicyOutput, error) GetBucketEncryption(input *s3.GetBucketEncryptionInput) (*s3.GetBucketEncryptionOutput, error) GetBucketLogging(input *s3.GetBucketLoggingInput) (*s3.GetBucketLoggingOutput, error) GetBucketAcl(input *s3.GetBucketAclInput) (*s3.GetBucketAclOutput, error) ListBuckets(input *s3.ListBucketsInput) (*s3.ListBucketsOutput, error) GetBucketLocation(input *s3.GetBucketLocationInput) (*s3.GetBucketLocationOutput, error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.