Documentation ¶
Index ¶
- func InitFlag(cmd *cobra.Command)
- func LoadAWSConfig(ctx context.Context) (aws.Config, error)
- func NewS3BucketClient(ctx context.Context, bucket string) (interfaces.S3Client, error)
- func NewS3Client(ctx context.Context) (interfaces.S3Client, error)
- func NewS3ServiceClient(ctx context.Context) (interfaces.S3Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAWSConfig ¶
LoadAWSConfig returns aws.Config.
func NewS3BucketClient ¶ added in v0.0.3
NewS3BucketClient returns new S3 client that is used for the bucket.
func NewS3Client ¶
func NewS3Client(ctx context.Context) (interfaces.S3Client, error)
NewS3Client returns new S3 client.
func NewS3ServiceClient ¶ added in v0.0.3
func NewS3ServiceClient(ctx context.Context) (interfaces.S3Client, error)
NewS3ServiceClient returns new S3 client that is used for getting s3 service level operation, such as ListBucket https://docs.aws.amazon.com/AmazonS3/latest/API/RESTServiceGET.html
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.