github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/acl/filters.go (about)

     1  package acl
     2  
     3  // ObjectFilterPrefix is a prefix of key to object header value or property.
     4  const ObjectFilterPrefix = "$Object:"
     5  
     6  const (
     7  	// FilterObjectVersion is a filter key to "version" field of the object header.
     8  	FilterObjectVersion = ObjectFilterPrefix + "version"
     9  
    10  	// FilterObjectID is a filter key to "object_id" field of the object.
    11  	FilterObjectID = ObjectFilterPrefix + "objectID"
    12  
    13  	// FilterObjectContainerID is a filter key to "container_id" field of the object header.
    14  	FilterObjectContainerID = ObjectFilterPrefix + "containerID"
    15  
    16  	// FilterObjectOwnerID is a filter key to "owner_id" field of the object header.
    17  	FilterObjectOwnerID = ObjectFilterPrefix + "ownerID"
    18  
    19  	// FilterObjectCreationEpoch is a filter key to "creation_epoch" field of the object header.
    20  	FilterObjectCreationEpoch = ObjectFilterPrefix + "creationEpoch"
    21  
    22  	// FilterObjectPayloadLength is a filter key to "payload_length" field of the object header.
    23  	FilterObjectPayloadLength = ObjectFilterPrefix + "payloadLength"
    24  
    25  	// FilterObjectPayloadHash is a filter key to "payload_hash" field of the object header.
    26  	FilterObjectPayloadHash = ObjectFilterPrefix + "payloadHash"
    27  
    28  	// FilterObjectType is a filter key to "object_type" field of the object header.
    29  	FilterObjectType = ObjectFilterPrefix + "objectType"
    30  
    31  	// FilterObjectHomomorphicHash is a filter key to "homomorphic_hash" field of the object header.
    32  	FilterObjectHomomorphicHash = ObjectFilterPrefix + "homomorphicHash"
    33  )