Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrTypeAssertionFailed = errors.New("type assertion failed") ErrEmptySourceDirectory = errors.New("source directory is empty") )
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct {
*plugin_base.Plugin
Settings *Settings
}
Plugin implements provide the plugin implementation.
func New ¶
func New(e plugin_base.ExecuteFunc, build ...string) *Plugin
type Settings ¶
type Settings struct {
Endpoint string
AccessKey string
SecretKey string
Bucket string
Region string
Source string
Target string
Delete bool
ACL map[string]string
CacheControl map[string]string
ContentType map[string]string
ContentEncoding map[string]string
Metadata map[string]map[string]string
Redirects map[string]string
CloudFrontDistribution string
DryRun bool
PathStyle bool
AllowEmptySource bool
ChecksumCalculation string
Jobs []Job
MaxConcurrency int
}
Settings for the Plugin.
Click to show internal directories.
Click to hide internal directories.