Documentation
¶
Index ¶
- type AWSClient
- func (c *AWSClient) Config() *config.AWS
- func (c *AWSClient) CreateSecret(secretName string, secretContent string, KmsKeyId *string) (*secretsmanager.CreateSecretOutput, error)
- func (c *AWSClient) FetchFromS3(filename string) ([]byte, error)
- func (c *AWSClient) FetchSecret(secretName string) (*secretsmanager.GetSecretValueOutput, error)
- func (c *AWSClient) GetSignedS3URL(filename string, expire time.Duration) (*string, error)
- func (c *AWSClient) Session() *session.Session
- func (c *AWSClient) UpdateSecret(secretName string, secretContent string, KmsKeyId *string) (*secretsmanager.UpdateSecretOutput, error)
- func (c *AWSClient) UploadToS3(filename string, data []byte) (*s3manager.UploadOutput, error)
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSClient ¶
type AWSClient struct {
// contains filtered or unexported fields
}
func (*AWSClient) CreateSecret ¶
func (c *AWSClient) CreateSecret(secretName string, secretContent string, KmsKeyId *string) (*secretsmanager.CreateSecretOutput, error)
func (*AWSClient) FetchSecret ¶
func (c *AWSClient) FetchSecret(secretName string) (*secretsmanager.GetSecretValueOutput, error)
func (*AWSClient) GetSignedS3URL ¶
func (*AWSClient) UpdateSecret ¶
func (c *AWSClient) UpdateSecret(secretName string, secretContent string, KmsKeyId *string) (*secretsmanager.UpdateSecretOutput, error)
func (*AWSClient) UploadToS3 ¶
Click to show internal directories.
Click to hide internal directories.