2023-11-14 09:27:39 +00:00
|
|
|
package native
|
|
|
|
|
|
|
|
const (
|
|
|
|
MethodGetObject = "GetObject"
|
|
|
|
MethodPutObject = "PutObject"
|
|
|
|
MethodHeadObject = "HeadObject"
|
|
|
|
MethodDeleteObject = "DeleteObject"
|
|
|
|
MethodSearchObject = "SearchObject"
|
|
|
|
MethodRangeObject = "RangeObject"
|
|
|
|
MethodHashObject = "HashObject"
|
|
|
|
|
2023-12-18 10:16:18 +00:00
|
|
|
MethodPutContainer = "PutContainer"
|
|
|
|
MethodDeleteContainer = "DeleteContainer"
|
|
|
|
MethodGetContainer = "GetContainer"
|
|
|
|
MethodListContainers = "ListContainers"
|
|
|
|
MethodSetContainerEACL = "SetContainerEACL"
|
|
|
|
MethodGetContainerEACL = "GetContainerEACL"
|
|
|
|
|
2024-01-22 10:47:24 +00:00
|
|
|
ObjectPrefix = "native:object"
|
|
|
|
ContainerPrefix = "native:container"
|
|
|
|
|
2023-11-14 09:27:39 +00:00
|
|
|
ResourceFormatNamespaceObjects = "native:object/%s/*"
|
|
|
|
ResourceFormatNamespaceContainerObjects = "native:object/%s/%s/*"
|
|
|
|
ResourceFormatNamespaceContainerObject = "native:object/%s/%s/%s"
|
|
|
|
|
2023-11-15 09:45:14 +00:00
|
|
|
ResourceFormatRootObjects = "native:object//*"
|
|
|
|
ResourceFormatRootContainerObjects = "native:object//%s/*"
|
|
|
|
ResourceFormatRootContainerObject = "native:object//%s/%s"
|
2023-11-14 09:27:39 +00:00
|
|
|
|
|
|
|
ResourceFormatAllObjects = "native:object/*"
|
|
|
|
|
|
|
|
ResourceFormatNamespaceContainer = "native:container/%s/%s"
|
|
|
|
ResourceFormatNamespaceContainers = "native:container/%s/*"
|
|
|
|
|
2023-11-15 09:45:14 +00:00
|
|
|
ResourceFormatRootContainer = "native:container//%s"
|
|
|
|
ResourceFormatRootContainers = "native:container//*"
|
2023-11-14 09:27:39 +00:00
|
|
|
|
|
|
|
ResourceFormatAllContainers = "native:container/*"
|
|
|
|
|
2023-12-18 10:16:18 +00:00
|
|
|
PropertyKeyActorPublicKey = "$Actor:publicKey"
|
|
|
|
PropertyKeyActorRole = "$Actor:role"
|
|
|
|
|
2023-11-14 09:27:39 +00:00
|
|
|
PropertyKeyObjectVersion = "$Object:version"
|
|
|
|
PropertyKeyObjectID = "$Object:objectID"
|
|
|
|
PropertyKeyObjectContainerID = "$Object:containerID"
|
|
|
|
PropertyKeyObjectOwnerID = "$Object:ownerID"
|
|
|
|
PropertyKeyObjectCreationEpoch = "$Object:creationEpoch"
|
|
|
|
PropertyKeyObjectPayloadLength = "$Object:payloadLength"
|
|
|
|
PropertyKeyObjectPayloadHash = "$Object:payloadHash"
|
|
|
|
PropertyKeyObjectType = "$Object:objectType"
|
|
|
|
PropertyKeyObjectHomomorphicHash = "$Object:homomorphicHash"
|
2023-12-18 10:16:18 +00:00
|
|
|
|
|
|
|
PropertyKeyContainerOwnerID = "$Container:ownerID"
|
|
|
|
|
|
|
|
PropertyValueContainerRoleOwner = "onwer"
|
|
|
|
PropertyValueContainerRoleIR = "ir"
|
|
|
|
PropertyValueContainerRoleContainer = "container"
|
|
|
|
PropertyValueContainerRoleOthers = "others"
|
2023-11-14 09:27:39 +00:00
|
|
|
)
|