package
1.0.0-rc.12
Repository: https://github.com/nspcc-dev/neofs-sdk-go.git
Documentation: pkg.go.dev
# Functions
CalculatePayloadChecksum calculates and returns checksum of object payload bytes.
New creates and initializes blank [Object].
NewAttribute creates and initializes new [Attribute].
NewAttributeFromV2 wraps v2 [object.Attribute] message to [Attribute].
NewFromV2 wraps v2 [object.Object] message to [Object].
NewRange creates and initializes blank [Range].
NewRangeFromV2 wraps v2 [object.Range] message to [Range].
NewSearchFilters constructs empty filter group.
NewSearchFiltersFromV2 converts slice of [v2object.SearchFilter] to [SearchFilters].
NewSplitID returns UUID representation of splitID attribute.
NewSplitIDFromV2 returns parsed UUID from bytes.
NewSplitInfo creates and initializes blank [SplitInfo].
NewSplitInfoError is a constructor for [SplitInfoError].
NewSplitInfoFromV2 wraps v2 [object.SplitInfo] message to [SplitInfo].
NewTombstone creates and initializes blank [Tombstone].
NewTombstoneFromV2 wraps v2 [tombstone.Tombstone] message to [Tombstone].
SearchMatchFromV2 converts v2 [v2object.MatchType] to [SearchMatchType] enum value.
TypeFromV2 converts v2 [object.Type] to [Type].
# Constants
AttributeContentType is an attribute key that is commonly used to denote MIME Content Type of object's payload.
AttributeExpirationEpoch is a key to an object attribute that determines after what epoch the object becomes expired.
AttributeFileName is an attribute key that is commonly used to denote file name to be associated with the object on saving.
AttributeFilePath is an attribute key that is commonly used to denote full path to be associated with the object on saving.
AttributeName is an attribute key that is commonly used to denote human-friendly name.
AttributeTimestamp is an attribute key that is commonly used to denote user-defined local time of object creation in Unix Timestamp format.
Various header filters.
Various header filters.
Various header filters.
Various header filters.
Various header filters.
Various header filters.
Various header filters.
Various header filters.
Various header filters.
FilterPhysical filters indivisible objects that are intended to be stored on the physical devices of the system.
FilterRoot filters objects that are root: objects of TypeRegular type with user data that are not system-specific.
Various header filters.
Various header filters.
Various header filters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaxHeaderLen is a maximum allowed length of binary object header to be created via NeoFS API protocol.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
RequiredFields contains the minimum set of object data that must be set by the NeoFS user at the stage of creation.
SearchFilter describes a single filter record.
SplitID is a UUIDv4 used as attribute in split objects.
SplitInfoError is a special error that means that the original object is a large one (split into a number of smaller objects).
# Type aliases
Attribute represents v2-compatible object attribute.
Link is a payload of helper objects that contain the full list of the split chain of the big NeoFS objects.
Lock represents record with locked objects.
MeasuredObject groups object ID and its size length.
Object represents in-memory structure of the NeoFS object.
Range represents v2 [object.Range] object payload range.
SearchFilters is type to describe a group of filters.
SearchMatchType indicates match operation on specified header.
SplitInfo is an SDK representation of [object.SplitInfo].
Tombstone represents v2-compatible tombstone structure.
Type is an enumerator for possible object types.