Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Params ¶
type Params struct { Bucket string `json:"Bucket"` Key string `json:"Key"` Endpoint string `json:"Endpoint"` Region string `json:"Region"` Compress bool `json:"Compress"` }
func DecodeSpec ¶
func DecodeSpec(spec model.PublisherSpec) (Params, error)
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
func NewPublisher ¶
func NewPublisher(params PublisherParams) *Publisher
func (*Publisher) IsInstalled ¶
IsInstalled returns true if the S3 client is installed.
func (*Publisher) PublishResult ¶
type PublisherParams ¶
type PublisherParams struct { LocalDir string ClientProvider *s3helper.ClientProvider }
Click to show internal directories.
Click to hide internal directories.