forked from TrueCloudLab/frostfs-api-go
f3bddc2ba5
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
31 lines
721 B
Go
31 lines
721 B
Go
package object
|
|
|
|
const (
|
|
valFalse = "false"
|
|
valTrue = "true"
|
|
)
|
|
|
|
// ReservedFilterPrefix is a reserved prefix for system search filter keys.
|
|
const ReservedFilterPrefix = "$Object:"
|
|
|
|
const (
|
|
// KeyRoot is a reserved search filter key to source objects.
|
|
KeyRoot = ReservedFilterPrefix + "ROOT"
|
|
|
|
// ValRoot is a value of root object filter.
|
|
ValRoot = valTrue
|
|
|
|
// ValNonRoot is a value of non-root object filter.
|
|
ValNonRoot = valFalse
|
|
)
|
|
|
|
const (
|
|
// KeyLeaf is a reserved search filter key to physically stored objects.
|
|
KeyLeaf = ReservedFilterPrefix + "LEAF"
|
|
|
|
// ValLeaf is a value of physically stored object filter.
|
|
ValLeaf = valTrue
|
|
|
|
// ValNonLeaf is a value of virtual object filter.
|
|
ValNonLeaf = valFalse
|
|
)
|