Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface {
Save(name, location, ct string, size int64, dryRun bool) (*StoredObject, error)
}
Storage is the abstract api to access a generic `storage`
type StoredObject ¶
type StoredObject struct { URL string `yaml:"url" json:"url"` Headers map[string]string `yaml:"headers,omitempty" json:"headers,omitempty"` }
StoredObject is the datamodel for the resulting message
Click to show internal directories.
Click to hide internal directories.