Versions in this module Expand all Collapse all v2 v2.16.0 Sep 14, 2023 v2.15.0 Apr 11, 2023 Changes in this version + const StatusEACLNotFound + const StatusNotFound + const SysAttributeHomomorphicHashing + const SysAttributeHomomorphicHashingNeoFS + const SysAttributeName + const SysAttributeNameNeoFS + const SysAttributePrefix + const SysAttributePrefixNeoFS + const SysAttributeSubnet + const SysAttributeSubnetNeoFS + const SysAttributeZone + const SysAttributeZoneDefault + const SysAttributeZoneNeoFS + func AttributesToGRPC(xs []Attribute) (res []*container.Container_Attribute) + func GlobalizeFail(c *status.Code) + func LocalizeFailStatus(c *status.Code) bool + func UsedSpaceAnnouncementsToGRPCMessage(ids []UsedSpaceAnnouncement) (res []*container.AnnounceUsedSpaceRequest_Body_Announcement) + type AnnounceUsedSpaceRequest struct + func (r *AnnounceUsedSpaceRequest) FromGRPCMessage(m grpc.Message) error + func (r *AnnounceUsedSpaceRequest) GetBody() *AnnounceUsedSpaceRequestBody + func (r *AnnounceUsedSpaceRequest) SetBody(v *AnnounceUsedSpaceRequestBody) + func (r *AnnounceUsedSpaceRequest) ToGRPCMessage() grpc.Message + type AnnounceUsedSpaceRequestBody struct + func (r *AnnounceUsedSpaceRequestBody) FromGRPCMessage(m grpc.Message) error + func (r *AnnounceUsedSpaceRequestBody) GetAnnouncements() []UsedSpaceAnnouncement + func (r *AnnounceUsedSpaceRequestBody) SetAnnouncements(v []UsedSpaceAnnouncement) + func (r *AnnounceUsedSpaceRequestBody) StableMarshal(buf []byte) []byte + func (r *AnnounceUsedSpaceRequestBody) StableSize() (size int) + func (r *AnnounceUsedSpaceRequestBody) ToGRPCMessage() grpc.Message + func (r *AnnounceUsedSpaceRequestBody) Unmarshal(data []byte) error + type AnnounceUsedSpaceResponse struct + func (r *AnnounceUsedSpaceResponse) FromGRPCMessage(m grpc.Message) error + func (r *AnnounceUsedSpaceResponse) GetBody() *AnnounceUsedSpaceResponseBody + func (r *AnnounceUsedSpaceResponse) SetBody(v *AnnounceUsedSpaceResponseBody) + func (r *AnnounceUsedSpaceResponse) ToGRPCMessage() grpc.Message + type AnnounceUsedSpaceResponseBody struct + func (r *AnnounceUsedSpaceResponseBody) FromGRPCMessage(m grpc.Message) error + func (r *AnnounceUsedSpaceResponseBody) StableMarshal(buf []byte) []byte + func (r *AnnounceUsedSpaceResponseBody) StableSize() (size int) + func (r *AnnounceUsedSpaceResponseBody) ToGRPCMessage() grpc.Message + func (r *AnnounceUsedSpaceResponseBody) Unmarshal([]byte) error + type Attribute struct + func AttributesFromGRPC(xs []*container.Container_Attribute) (res []Attribute, err error) + func (a *Attribute) FromGRPCMessage(m grpc.Message) error + func (a *Attribute) GetKey() string + func (a *Attribute) GetValue() string + func (a *Attribute) MarshalJSON() ([]byte, error) + func (a *Attribute) SetKey(v string) + func (a *Attribute) SetValue(v string) + func (a *Attribute) StableMarshal(buf []byte) []byte + func (a *Attribute) StableSize() (size int) + func (a *Attribute) ToGRPCMessage() grpc.Message + func (a *Attribute) Unmarshal(data []byte) error + func (a *Attribute) UnmarshalJSON(data []byte) error + type Container struct + func (c *Container) FromGRPCMessage(m grpc.Message) error + func (c *Container) GetAttributes() []Attribute + func (c *Container) GetBasicACL() uint32 + func (c *Container) GetNonce() []byte + func (c *Container) GetOwnerID() *refs.OwnerID + func (c *Container) GetPlacementPolicy() *netmap.PlacementPolicy + func (c *Container) GetVersion() *refs.Version + func (c *Container) MarshalJSON() ([]byte, error) + func (c *Container) SetAttributes(v []Attribute) + func (c *Container) SetBasicACL(v uint32) + func (c *Container) SetHomomorphicHashingState(enable bool) + func (c *Container) SetNonce(v []byte) + func (c *Container) SetOwnerID(v *refs.OwnerID) + func (c *Container) SetPlacementPolicy(v *netmap.PlacementPolicy) + func (c *Container) SetVersion(v *refs.Version) + func (c *Container) StableMarshal(buf []byte) []byte + func (c *Container) StableSize() (size int) + func (c *Container) ToGRPCMessage() grpc.Message + func (c *Container) Unmarshal(data []byte) error + func (c *Container) UnmarshalJSON(data []byte) error + func (c Container) HomomorphicHashingState() bool + type DeleteRequest struct + func (r *DeleteRequest) FromGRPCMessage(m grpc.Message) error + func (r *DeleteRequest) GetBody() *DeleteRequestBody + func (r *DeleteRequest) SetBody(v *DeleteRequestBody) + func (r *DeleteRequest) ToGRPCMessage() grpc.Message + type DeleteRequestBody struct + func (r *DeleteRequestBody) FromGRPCMessage(m grpc.Message) error + func (r *DeleteRequestBody) GetContainerID() *refs.ContainerID + func (r *DeleteRequestBody) GetSignature() *refs.Signature + func (r *DeleteRequestBody) SetContainerID(v *refs.ContainerID) + func (r *DeleteRequestBody) SetSignature(v *refs.Signature) + func (r *DeleteRequestBody) StableMarshal(buf []byte) []byte + func (r *DeleteRequestBody) StableSize() (size int) + func (r *DeleteRequestBody) ToGRPCMessage() grpc.Message + func (r *DeleteRequestBody) Unmarshal(data []byte) error + type DeleteResponse struct + func (r *DeleteResponse) FromGRPCMessage(m grpc.Message) error + func (r *DeleteResponse) GetBody() *DeleteResponseBody + func (r *DeleteResponse) SetBody(v *DeleteResponseBody) + func (r *DeleteResponse) ToGRPCMessage() grpc.Message + type DeleteResponseBody struct + func (r *DeleteResponseBody) FromGRPCMessage(m grpc.Message) error + func (r *DeleteResponseBody) StableMarshal(buf []byte) []byte + func (r *DeleteResponseBody) StableSize() (size int) + func (r *DeleteResponseBody) ToGRPCMessage() grpc.Message + func (r *DeleteResponseBody) Unmarshal([]byte) error + type GetExtendedACLRequest struct + func (r *GetExtendedACLRequest) FromGRPCMessage(m grpc.Message) error + func (r *GetExtendedACLRequest) GetBody() *GetExtendedACLRequestBody + func (r *GetExtendedACLRequest) SetBody(v *GetExtendedACLRequestBody) + func (r *GetExtendedACLRequest) ToGRPCMessage() grpc.Message + type GetExtendedACLRequestBody struct + func (r *GetExtendedACLRequestBody) FromGRPCMessage(m grpc.Message) error + func (r *GetExtendedACLRequestBody) GetContainerID() *refs.ContainerID + func (r *GetExtendedACLRequestBody) SetContainerID(v *refs.ContainerID) + func (r *GetExtendedACLRequestBody) StableMarshal(buf []byte) []byte + func (r *GetExtendedACLRequestBody) StableSize() (size int) + func (r *GetExtendedACLRequestBody) ToGRPCMessage() grpc.Message + func (r *GetExtendedACLRequestBody) Unmarshal(data []byte) error + type GetExtendedACLResponse struct + func (r *GetExtendedACLResponse) FromGRPCMessage(m grpc.Message) error + func (r *GetExtendedACLResponse) GetBody() *GetExtendedACLResponseBody + func (r *GetExtendedACLResponse) SetBody(v *GetExtendedACLResponseBody) + func (r *GetExtendedACLResponse) ToGRPCMessage() grpc.Message + type GetExtendedACLResponseBody struct + func (r *GetExtendedACLResponseBody) FromGRPCMessage(m grpc.Message) error + func (r *GetExtendedACLResponseBody) GetEACL() *acl.Table + func (r *GetExtendedACLResponseBody) GetSessionToken() *session.Token + func (r *GetExtendedACLResponseBody) GetSignature() *refs.Signature + func (r *GetExtendedACLResponseBody) SetEACL(v *acl.Table) + func (r *GetExtendedACLResponseBody) SetSessionToken(v *session.Token) + func (r *GetExtendedACLResponseBody) SetSignature(v *refs.Signature) + func (r *GetExtendedACLResponseBody) StableMarshal(buf []byte) []byte + func (r *GetExtendedACLResponseBody) StableSize() (size int) + func (r *GetExtendedACLResponseBody) ToGRPCMessage() grpc.Message + func (r *GetExtendedACLResponseBody) Unmarshal(data []byte) error + type GetRequest struct + func (r *GetRequest) FromGRPCMessage(m grpc.Message) error + func (r *GetRequest) GetBody() *GetRequestBody + func (r *GetRequest) SetBody(v *GetRequestBody) + func (r *GetRequest) ToGRPCMessage() grpc.Message + type GetRequestBody struct + func (r *GetRequestBody) FromGRPCMessage(m grpc.Message) error + func (r *GetRequestBody) GetContainerID() *refs.ContainerID + func (r *GetRequestBody) SetContainerID(v *refs.ContainerID) + func (r *GetRequestBody) StableMarshal(buf []byte) []byte + func (r *GetRequestBody) StableSize() (size int) + func (r *GetRequestBody) ToGRPCMessage() grpc.Message + func (r *GetRequestBody) Unmarshal(data []byte) error + type GetResponse struct + func (r *GetResponse) FromGRPCMessage(m grpc.Message) error + func (r *GetResponse) GetBody() *GetResponseBody + func (r *GetResponse) SetBody(v *GetResponseBody) + func (r *GetResponse) ToGRPCMessage() grpc.Message + type GetResponseBody struct + func (r *GetResponseBody) FromGRPCMessage(m grpc.Message) error + func (r *GetResponseBody) GetContainer() *Container + func (r *GetResponseBody) GetSessionToken() *session.Token + func (r *GetResponseBody) GetSignature() *refs.Signature + func (r *GetResponseBody) SetContainer(v *Container) + func (r *GetResponseBody) SetSessionToken(v *session.Token) + func (r *GetResponseBody) SetSignature(v *refs.Signature) + func (r *GetResponseBody) StableMarshal(buf []byte) []byte + func (r *GetResponseBody) StableSize() (size int) + func (r *GetResponseBody) ToGRPCMessage() grpc.Message + func (r *GetResponseBody) Unmarshal(data []byte) error + type ListRequest struct + func (r *ListRequest) FromGRPCMessage(m grpc.Message) error + func (r *ListRequest) GetBody() *ListRequestBody + func (r *ListRequest) SetBody(v *ListRequestBody) + func (r *ListRequest) ToGRPCMessage() grpc.Message + type ListRequestBody struct + func (r *ListRequestBody) FromGRPCMessage(m grpc.Message) error + func (r *ListRequestBody) GetOwnerID() *refs.OwnerID + func (r *ListRequestBody) SetOwnerID(v *refs.OwnerID) + func (r *ListRequestBody) StableMarshal(buf []byte) []byte + func (r *ListRequestBody) StableSize() (size int) + func (r *ListRequestBody) ToGRPCMessage() grpc.Message + func (r *ListRequestBody) Unmarshal(data []byte) error + type ListResponse struct + func (r *ListResponse) FromGRPCMessage(m grpc.Message) error + func (r *ListResponse) GetBody() *ListResponseBody + func (r *ListResponse) SetBody(v *ListResponseBody) + func (r *ListResponse) ToGRPCMessage() grpc.Message + type ListResponseBody struct + func (r *ListResponseBody) FromGRPCMessage(m grpc.Message) error + func (r *ListResponseBody) GetContainerIDs() []refs.ContainerID + func (r *ListResponseBody) SetContainerIDs(v []refs.ContainerID) + func (r *ListResponseBody) StableMarshal(buf []byte) []byte + func (r *ListResponseBody) StableSize() (size int) + func (r *ListResponseBody) ToGRPCMessage() grpc.Message + func (r *ListResponseBody) Unmarshal(data []byte) error + type PutRequest struct + func (r *PutRequest) FromGRPCMessage(m grpc.Message) error + func (r *PutRequest) GetBody() *PutRequestBody + func (r *PutRequest) SetBody(v *PutRequestBody) + func (r *PutRequest) ToGRPCMessage() grpc.Message + type PutRequestBody struct + func (r *PutRequestBody) FromGRPCMessage(m grpc.Message) error + func (r *PutRequestBody) GetContainer() *Container + func (r *PutRequestBody) GetSignature() *refs.Signature + func (r *PutRequestBody) SetContainer(v *Container) + func (r *PutRequestBody) SetSignature(v *refs.Signature) + func (r *PutRequestBody) StableMarshal(buf []byte) []byte + func (r *PutRequestBody) StableSize() (size int) + func (r *PutRequestBody) ToGRPCMessage() grpc.Message + func (r *PutRequestBody) Unmarshal(data []byte) error + type PutResponse struct + func (r *PutResponse) FromGRPCMessage(m grpc.Message) error + func (r *PutResponse) GetBody() *PutResponseBody + func (r *PutResponse) SetBody(v *PutResponseBody) + func (r *PutResponse) ToGRPCMessage() grpc.Message + type PutResponseBody struct + func (r *PutResponseBody) FromGRPCMessage(m grpc.Message) error + func (r *PutResponseBody) GetContainerID() *refs.ContainerID + func (r *PutResponseBody) SetContainerID(v *refs.ContainerID) + func (r *PutResponseBody) StableMarshal(buf []byte) []byte + func (r *PutResponseBody) StableSize() (size int) + func (r *PutResponseBody) ToGRPCMessage() grpc.Message + func (r *PutResponseBody) Unmarshal(data []byte) error + type SetExtendedACLRequest struct + func (r *SetExtendedACLRequest) FromGRPCMessage(m grpc.Message) error + func (r *SetExtendedACLRequest) GetBody() *SetExtendedACLRequestBody + func (r *SetExtendedACLRequest) SetBody(v *SetExtendedACLRequestBody) + func (r *SetExtendedACLRequest) ToGRPCMessage() grpc.Message + type SetExtendedACLRequestBody struct + func (r *SetExtendedACLRequestBody) FromGRPCMessage(m grpc.Message) error + func (r *SetExtendedACLRequestBody) GetEACL() *acl.Table + func (r *SetExtendedACLRequestBody) GetSignature() *refs.Signature + func (r *SetExtendedACLRequestBody) SetEACL(v *acl.Table) + func (r *SetExtendedACLRequestBody) SetSignature(v *refs.Signature) + func (r *SetExtendedACLRequestBody) StableMarshal(buf []byte) []byte + func (r *SetExtendedACLRequestBody) StableSize() (size int) + func (r *SetExtendedACLRequestBody) ToGRPCMessage() grpc.Message + func (r *SetExtendedACLRequestBody) Unmarshal(data []byte) error + type SetExtendedACLResponse struct + func (r *SetExtendedACLResponse) FromGRPCMessage(m grpc.Message) error + func (r *SetExtendedACLResponse) GetBody() *SetExtendedACLResponseBody + func (r *SetExtendedACLResponse) SetBody(v *SetExtendedACLResponseBody) + func (r *SetExtendedACLResponse) ToGRPCMessage() grpc.Message + type SetExtendedACLResponseBody struct + func (r *SetExtendedACLResponseBody) FromGRPCMessage(m grpc.Message) error + func (r *SetExtendedACLResponseBody) StableMarshal(buf []byte) []byte + func (r *SetExtendedACLResponseBody) StableSize() (size int) + func (r *SetExtendedACLResponseBody) ToGRPCMessage() grpc.Message + func (r *SetExtendedACLResponseBody) Unmarshal([]byte) error + type UsedSpaceAnnouncement struct + func UsedSpaceAnnouncementssFromGRPCMessage(asV2 []*container.AnnounceUsedSpaceRequest_Body_Announcement) (res []UsedSpaceAnnouncement, err error) + func (a *UsedSpaceAnnouncement) FromGRPCMessage(m grpc.Message) error + func (a *UsedSpaceAnnouncement) GetContainerID() *refs.ContainerID + func (a *UsedSpaceAnnouncement) GetEpoch() uint64 + func (a *UsedSpaceAnnouncement) GetUsedSpace() uint64 + func (a *UsedSpaceAnnouncement) SetContainerID(v *refs.ContainerID) + func (a *UsedSpaceAnnouncement) SetEpoch(v uint64) + func (a *UsedSpaceAnnouncement) SetUsedSpace(v uint64) + func (a *UsedSpaceAnnouncement) StableMarshal(buf []byte) []byte + func (a *UsedSpaceAnnouncement) StableSize() (size int) + func (a *UsedSpaceAnnouncement) ToGRPCMessage() grpc.Message + func (a *UsedSpaceAnnouncement) Unmarshal(data []byte) error