Documentation
¶
Index ¶
- Variables
- func CacheDefault() string
- func CachedAssets(cache, version string) (string, error)
- func CanonicalizeHash(h hash.Hash) string
- func Hash() hash.Hash
- func NewStorageReader(bucket, version string, auth AuthOption) (*storage.Reader, error)
- func NewStorageWriter(bucket, version string, auth AuthOption, force bool) (*storage.Writer, error)
- func ValidateVersion(version string) error
- func VersionArchiveName(version string) string
- type AuthOption
- type Hashes
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotInCache = errors.New("not found in cache")
Functions ¶
func CacheDefault ¶
func CacheDefault() string
func CachedAssets ¶
func CanonicalizeHash ¶
func NewStorageReader ¶
func NewStorageReader(bucket, version string, auth AuthOption) (*storage.Reader, error)
func NewStorageWriter ¶
func ValidateVersion ¶
func VersionArchiveName ¶
Types ¶
type AuthOption ¶
type AuthOption int
const ( AuthNone AuthOption = iota AuthAppDefault NumAuthOptions )
func (*AuthOption) Set ¶
func (a *AuthOption) Set(input string) error
func (*AuthOption) String ¶
func (a *AuthOption) String() string
Click to show internal directories.
Click to hide internal directories.