Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) DeleteObject(object *types.DeleteObjectInput) error
- func (c *Client) GetObject(object *types.GetObjectInput) (*types.GetObjectOutput, error)
- func (c *Client) GetObjects(object *types.GetObjectsInput) (*types.GetObjectsOuput, error)
- func (c *Client) PutObject(object *types.PutObjectInput) error
Constants ¶
View Source
const ( // ApplicatonMetaKey is used as a Key for s3 object's metadata and tag ApplicatonMetaKey = "Application" // EnvironmentMetaKey is used as a Key for s3 object's metadata and tag EnvironmentMetaKey = "Environment" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client with AWS services
func (*Client) DeleteObject ¶ added in v0.12.0
func (c *Client) DeleteObject(object *types.DeleteObjectInput) error
func (*Client) GetObject ¶
func (c *Client) GetObject(object *types.GetObjectInput) (*types.GetObjectOutput, error)
GetObject reads secret from S3 bucket http://docs.aws.amazon.com/sdk-for-go/api/service/s3/#S3.GetObject https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject
func (*Client) GetObjects ¶
func (c *Client) GetObjects(object *types.GetObjectsInput) (*types.GetObjectsOuput, error)
GetObjects returns key value map for given pattern
func (*Client) PutObject ¶
func (c *Client) PutObject(object *types.PutObjectInput) error
PutObject copy secret data on S3 bucket https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html
Click to show internal directories.
Click to hide internal directories.