Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEACLNotFound = errors.New("extended ACL table is not set for this container")
ErrEACLNotFound is returned by eACL storage implementations when requested eACL table is not in storage.
View Source
var ErrNotFound = errors.New("container not found")
ErrNotFound is the error returned when container was not found in storage.
Functions ¶
func CheckFormat ¶ added in v0.12.0
CheckFormat conducts an initial check of the v2 container data.
It is expected that if a container fails this test, it will not be inner-ring approved.
Types ¶
type Source ¶ added in v0.12.0
type Source interface { // Get reads the container from the storage by identifier. // It returns the pointer to requested container and any error encountered. // // Get must return exactly one non-nil value. // Get must return ErrNotFound if the container is not in storage. // // Implementations must not retain the container pointer and modify // the container through it. Get(*container.ID) (*container.Container, error) }
Source is an interface that wraps basic container receiving method.
Click to show internal directories.
Click to hide internal directories.