Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAWSKeys ¶
WithAWSKeys enables explicitly setting the AWS access key, secret key and region
Types ¶
type Catalog ¶
type Catalog struct {
// contains filtered or unexported fields
}
Catalog manages the AWS S3 template catalog
func NewCatalog ¶
NewCatalog creates a new AWS Catalog object given a required S3 bucket name and optional configurations. If no configurations to set AWS keys are provided then environment variables will be used to obtain AWS credentials.
func (Catalog) GetTemplatePath ¶
GetTemplatePath looks for a target string performing a simple substring check against all S3 keys. If the input includes a wildcard (*) it is removed.
func (Catalog) GetTemplatesPath ¶
GetTemplatesPath returns all templates from S3
Click to show internal directories.
Click to hide internal directories.