Documentation
¶
Index ¶
- func Errorf(cause error, code ErrorCode, format string, a ...interface{}) error
- func IsAuthError(err error) bool
- func IsNotFoundError(err error) bool
- func IsTimeoutError(err error) bool
- func RegisterFactory(scheme string, factory BlobStoreFactory)
- func SupportedSchemes() []string
- type BlobStore
- type BlobStoreFactory
- type DeleteOptions
- type ErrorCode
- type GetOptions
- type Meta
- type PutOptions
- type Sink
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAuthError ¶
func IsNotFoundError ¶
func IsTimeoutError ¶
func RegisterFactory ¶
func RegisterFactory(scheme string, factory BlobStoreFactory)
func SupportedSchemes ¶
func SupportedSchemes() []string
Types ¶
type BlobStore ¶
type DeleteOptions ¶
type DeleteOptions struct { }
type GetOptions ¶
type GetOptions struct { // Offset is the byte offset to begin at, it may be negative // to specify an offset from the end of the blob. Offset int64 // Length is the maximum number of bytes to return, if <= 0 // then all bytes after Offset are returned. The Length must // be <= 0 if Offset is negative due to the limitations of // HTTP range requests. Length int64 }
type PutOptions ¶
type PutOptions struct { // ContentType of the blob ContentType string }
Click to show internal directories.
Click to hide internal directories.