Documentation
¶
Index ¶
Constants ¶
View Source
const ( UserAttributeHeaderPrefix = "X-Attribute-" SystemAttributePrefix = "__NEOFS__" ExpirationDurationAttr = SystemAttributePrefix + "EXPIRATION_DURATION" ExpirationTimestampAttr = SystemAttributePrefix + "EXPIRATION_TIMESTAMP" ExpirationRFC3339Attr = SystemAttributePrefix + "EXPIRATION_RFC3339" )
Variables ¶
This section is empty.
Functions ¶
func GetContainerID ¶
func GetContainerID(ctx context.Context, containerID string, resolver *resolver.ContainerResolver) (*cid.ID, error)
GetContainerID decode container id, if it's not a valid container id then trey to resolve name using provided resolver.
Types ¶
Click to show internal directories.
Click to hide internal directories.