Documentation ¶
Index ¶
- func Execute()
- func NewCmdAws() *cobra.Command
- func NewCmdCompletion() *cobra.Command
- func NewCmdRoot() *cobra.Command
- type DynamoDBClientable
- type DynamoDBCreateTableAPI
- type DynamoDBDescribeTableAPI
- type S3Clientable
- type S3CreateBucketAPI
- type S3GetBucketEncryption
- type S3GetBucketVersioningAPI
- type S3GetPublicAccessBlockAPI
- type S3GetbucketLocation
- type S3PutBucketEncryptionAPI
- type S3PutBucketVersioningAPI
- type S3PutPublicAccessBlockAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewCmdCompletion ¶
NewCmdCompletion returns the completion command
func NewCmdRoot ¶
Types ¶
type DynamoDBClientable ¶
type DynamoDBClientable interface { CreateTable(ctx context.Context, params *dynamodb.CreateTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.CreateTableOutput, error) DescribeTable(ctx context.Context, params *dynamodb.DescribeTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeTableOutput, error) }
type DynamoDBCreateTableAPI ¶
type DynamoDBCreateTableAPI interface { CreateTable(ctx context.Context, params *dynamodb.CreateTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.CreateTableOutput, error) }
type DynamoDBDescribeTableAPI ¶
type DynamoDBDescribeTableAPI interface { DescribeTable(ctx context.Context, params *dynamodb.DescribeTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeTableOutput, error) }
type S3Clientable ¶
type S3Clientable interface { CreateBucket(ctx context.Context, params *s3.CreateBucketInput, optFns ...func(*s3.Options)) (*s3.CreateBucketOutput, error) PutPublicAccessBlock(ctx context.Context, params *s3.PutPublicAccessBlockInput, optFns ...func(*s3.Options)) (*s3.PutPublicAccessBlockOutput, error) PutBucketEncryption(ctx context.Context, params *s3.PutBucketEncryptionInput, optFns ...func(*s3.Options)) (*s3.PutBucketEncryptionOutput, error) PutBucketVersioning(ctx context.Context, params *s3.PutBucketVersioningInput, optFns ...func(*s3.Options)) (*s3.PutBucketVersioningOutput, error) GetBucketLocation(ctx context.Context, params *s3.GetBucketLocationInput, optFns ...func(*s3.Options)) (*s3.GetBucketLocationOutput, error) GetPublicAccessBlock(ctx context.Context, params *s3.GetPublicAccessBlockInput, optFns ...func(*s3.Options)) (*s3.GetPublicAccessBlockOutput, error) GetBucketEncryption(ctx context.Context, params *s3.GetBucketEncryptionInput, optFns ...func(*s3.Options)) (*s3.GetBucketEncryptionOutput, error) GetBucketVersioning(ctx context.Context, params *s3.GetBucketVersioningInput, optFns ...func(*s3.Options)) (*s3.GetBucketVersioningOutput, error) }
type S3CreateBucketAPI ¶
type S3CreateBucketAPI interface { CreateBucket(ctx context.Context, params *s3.CreateBucketInput, optFns ...func(*s3.Options)) (*s3.CreateBucketOutput, error) }
type S3GetBucketEncryption ¶
type S3GetBucketEncryption interface { GetBucketEncryption(ctx context.Context, params *s3.GetBucketEncryptionInput, optFns ...func(*s3.Options)) (*s3.GetBucketEncryptionOutput, error) }
type S3GetBucketVersioningAPI ¶
type S3GetBucketVersioningAPI interface { GetBucketVersioning(ctx context.Context, params *s3.GetBucketVersioningInput, optFns ...func(*s3.Options)) (*s3.GetBucketVersioningOutput, error) }
type S3GetPublicAccessBlockAPI ¶
type S3GetPublicAccessBlockAPI interface { GetPublicAccessBlock(ctx context.Context, params *s3.GetPublicAccessBlockInput, optFns ...func(*s3.Options)) (*s3.GetPublicAccessBlockOutput, error) }
type S3GetbucketLocation ¶
type S3GetbucketLocation interface { GetBucketLocation(ctx context.Context, params *s3.GetBucketLocationInput, optFns ...func(*s3.Options)) (*s3.GetBucketLocationOutput, error) }
type S3PutBucketEncryptionAPI ¶
type S3PutBucketEncryptionAPI interface { PutBucketEncryption(ctx context.Context, params *s3.PutBucketEncryptionInput, optFns ...func(*s3.Options)) (*s3.PutBucketEncryptionOutput, error) }
type S3PutBucketVersioningAPI ¶
type S3PutBucketVersioningAPI interface { PutBucketVersioning(ctx context.Context, params *s3.PutBucketVersioningInput, optFns ...func(*s3.Options)) (*s3.PutBucketVersioningOutput, error) }
type S3PutPublicAccessBlockAPI ¶
type S3PutPublicAccessBlockAPI interface { PutPublicAccessBlock(ctx context.Context, params *s3.PutPublicAccessBlockInput, optFns ...func(*s3.Options)) (*s3.PutPublicAccessBlockOutput, error) }
Click to show internal directories.
Click to hide internal directories.