Documentation ¶
Index ¶
Constants ¶
View Source
const ( AdminEnvironmentNamespace = "" OrderDirectionAsc OrderDirection = 0 OrderDirectionDesc OrderDirection = 1 // use 0 instead of -1 because it's used for cap to make slice in storage lister. QueryUnlimited = 0 )
Variables ¶
View Source
var ( ErrConcurrentTransaction = errors.New("storage: concurrent transaction in progress") ErrKeyAlreadyExists = errors.New("storage: key already exists") ErrKeyNotFound = errors.New("storage: key not found") ErrIteratorDone = errors.New("storage: iterator is done") ErrInvalidCursor = errors.New("storage: cursor is invalid") ErrBucketNotExist = errors.New("storage: bucket doesn't exist") ErrObjectNotExist = errors.New("storage: object doesn't exist") ErrEmptyName = errors.New("storage: name is empty") ErrInvalidName = errors.New("storage: invalid name") )
Functions ¶
This section is empty.
Types ¶
type Key ¶
type MultiError ¶
type MultiError []error
MultiError is returned by batch operations when there are errors with particular elements. Errors will be in a one-to-one correspondence with the input elements; successful elements will have a nil entry.
func (MultiError) Error ¶
func (m MultiError) Error() string
type ObjectStorageClient ¶
type Order ¶
type Order struct { Property string Direction OrderDirection }
func NewOrder ¶
func NewOrder(property string, direction OrderDirection) *Order
type OrderDirection ¶
type OrderDirection int
type Reader ¶
type Reader interface { io.ReadCloser }
type Transaction ¶
type Writer ¶
type Writer interface { io.WriteCloser }
Directories ¶
Path | Synopsis |
---|---|
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
v2
|
|
mysql
nolint:lll
|
nolint:lll |
mysql/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
postgres/mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.