container

package
v1.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 11 Imported by: 7

Documentation

Index

Constants

View Source
const SysAttributePrefix = "__NEOFS__"

SysAttributePrefix is a prefix of key to system attribute.

View Source
const (
	// SysAttributeSubnet is a string ID of container's storage subnet.
	SysAttributeSubnet = SysAttributePrefix + "SUBNET"
)

Variables

This section is empty.

Functions

func AttributesToGRPC added in v1.25.0

func AttributesToGRPC(xs []*Attribute) (res []*container.Container_Attribute)

func UsedSpaceAnnouncementsToGRPCMessage added in v1.25.0

func UsedSpaceAnnouncementsToGRPCMessage(
	ids []*UsedSpaceAnnouncement,
) (res []*container.AnnounceUsedSpaceRequest_Body_Announcement)

Types

type AnnounceUsedSpaceRequest added in v1.23.0

type AnnounceUsedSpaceRequest struct {
	session.RequestHeaders
	// contains filtered or unexported fields
}

func (*AnnounceUsedSpaceRequest) FromGRPCMessage added in v1.25.0

func (r *AnnounceUsedSpaceRequest) FromGRPCMessage(m grpc.Message) error

func (*AnnounceUsedSpaceRequest) GetBody added in v1.23.0

func (*AnnounceUsedSpaceRequest) SetBody added in v1.23.0

func (*AnnounceUsedSpaceRequest) ToGRPCMessage added in v1.25.0

func (r *AnnounceUsedSpaceRequest) ToGRPCMessage() grpc.Message

type AnnounceUsedSpaceRequestBody added in v1.23.0

type AnnounceUsedSpaceRequestBody struct {
	// contains filtered or unexported fields
}

func (*AnnounceUsedSpaceRequestBody) FromGRPCMessage added in v1.25.0

func (r *AnnounceUsedSpaceRequestBody) FromGRPCMessage(m grpc.Message) error

func (*AnnounceUsedSpaceRequestBody) GetAnnouncements added in v1.23.0

func (r *AnnounceUsedSpaceRequestBody) GetAnnouncements() []*UsedSpaceAnnouncement

func (*AnnounceUsedSpaceRequestBody) SetAnnouncements added in v1.23.0

func (r *AnnounceUsedSpaceRequestBody) SetAnnouncements(v []*UsedSpaceAnnouncement)

func (*AnnounceUsedSpaceRequestBody) StableMarshal added in v1.23.0

func (r *AnnounceUsedSpaceRequestBody) StableMarshal(buf []byte) ([]byte, error)

func (*AnnounceUsedSpaceRequestBody) StableSize added in v1.23.0

func (r *AnnounceUsedSpaceRequestBody) StableSize() (size int)

func (*AnnounceUsedSpaceRequestBody) ToGRPCMessage added in v1.25.0

func (r *AnnounceUsedSpaceRequestBody) ToGRPCMessage() grpc.Message

func (*AnnounceUsedSpaceRequestBody) Unmarshal added in v1.25.0

func (r *AnnounceUsedSpaceRequestBody) Unmarshal(data []byte) error

type AnnounceUsedSpaceResponse added in v1.23.0

type AnnounceUsedSpaceResponse struct {
	session.ResponseHeaders
	// contains filtered or unexported fields
}

func (*AnnounceUsedSpaceResponse) FromGRPCMessage added in v1.25.0

func (r *AnnounceUsedSpaceResponse) FromGRPCMessage(m grpc.Message) error

func (*AnnounceUsedSpaceResponse) GetBody added in v1.23.0

func (*AnnounceUsedSpaceResponse) SetBody added in v1.23.0

func (*AnnounceUsedSpaceResponse) ToGRPCMessage added in v1.25.0

func (r *AnnounceUsedSpaceResponse) ToGRPCMessage() grpc.Message

type AnnounceUsedSpaceResponseBody added in v1.23.0

type AnnounceUsedSpaceResponseBody struct{}

func (*AnnounceUsedSpaceResponseBody) FromGRPCMessage added in v1.25.0

func (r *AnnounceUsedSpaceResponseBody) FromGRPCMessage(m grpc.Message) error

func (*AnnounceUsedSpaceResponseBody) StableMarshal added in v1.23.0

func (r *AnnounceUsedSpaceResponseBody) StableMarshal(buf []byte) ([]byte, error)

func (*AnnounceUsedSpaceResponseBody) StableSize added in v1.23.0

func (r *AnnounceUsedSpaceResponseBody) StableSize() (size int)

func (*AnnounceUsedSpaceResponseBody) ToGRPCMessage added in v1.25.0

func (r *AnnounceUsedSpaceResponseBody) ToGRPCMessage() grpc.Message

func (*AnnounceUsedSpaceResponseBody) Unmarshal added in v1.25.0

func (r *AnnounceUsedSpaceResponseBody) Unmarshal([]byte) error

type Attribute

type Attribute struct {
	// contains filtered or unexported fields
}

func AttributesFromGRPC added in v1.25.0

func AttributesFromGRPC(xs []*container.Container_Attribute) (res []*Attribute, err error)

func (*Attribute) FromGRPCMessage added in v1.25.0

func (a *Attribute) FromGRPCMessage(m grpc.Message) error

func (*Attribute) GetKey

func (a *Attribute) GetKey() string

func (*Attribute) GetValue

func (a *Attribute) GetValue() string

func (*Attribute) MarshalJSON

func (a *Attribute) MarshalJSON() ([]byte, error)

func (*Attribute) SetKey

func (a *Attribute) SetKey(v string)

func (*Attribute) SetValue

func (a *Attribute) SetValue(v string)

func (*Attribute) StableMarshal

func (a *Attribute) StableMarshal(buf []byte) ([]byte, error)

func (*Attribute) StableSize

func (a *Attribute) StableSize() (size int)

func (*Attribute) ToGRPCMessage added in v1.25.0

func (a *Attribute) ToGRPCMessage() grpc.Message

func (*Attribute) Unmarshal

func (a *Attribute) Unmarshal(data []byte) error

func (*Attribute) UnmarshalJSON

func (a *Attribute) UnmarshalJSON(data []byte) error

type Container

type Container struct {
	// contains filtered or unexported fields
}

func (*Container) FromGRPCMessage added in v1.25.0

func (c *Container) FromGRPCMessage(m grpc.Message) error

func (*Container) GetAttributes

func (c *Container) GetAttributes() []*Attribute

func (*Container) GetBasicACL

func (c *Container) GetBasicACL() uint32

func (*Container) GetNonce

func (c *Container) GetNonce() []byte

func (*Container) GetOwnerID

func (c *Container) GetOwnerID() *refs.OwnerID

func (*Container) GetPlacementPolicy

func (c *Container) GetPlacementPolicy() *netmap.PlacementPolicy

func (*Container) GetVersion

func (c *Container) GetVersion() *refs.Version

func (*Container) MarshalJSON

func (c *Container) MarshalJSON() ([]byte, error)

func (*Container) SetAttributes

func (c *Container) SetAttributes(v []*Attribute)

func (*Container) SetBasicACL

func (c *Container) SetBasicACL(v uint32)

func (*Container) SetNonce

func (c *Container) SetNonce(v []byte)

func (*Container) SetOwnerID

func (c *Container) SetOwnerID(v *refs.OwnerID)

func (*Container) SetPlacementPolicy

func (c *Container) SetPlacementPolicy(v *netmap.PlacementPolicy)

func (*Container) SetVersion

func (c *Container) SetVersion(v *refs.Version)

func (*Container) StableMarshal

func (c *Container) StableMarshal(buf []byte) ([]byte, error)

func (*Container) StableSize

func (c *Container) StableSize() (size int)

func (*Container) ToGRPCMessage added in v1.25.0

func (c *Container) ToGRPCMessage() grpc.Message

func (*Container) Unmarshal

func (c *Container) Unmarshal(data []byte) error

func (*Container) UnmarshalJSON

func (c *Container) UnmarshalJSON(data []byte) error

type DeleteRequest

type DeleteRequest struct {
	session.RequestHeaders
	// contains filtered or unexported fields
}

func (*DeleteRequest) FromGRPCMessage added in v1.25.0

func (r *DeleteRequest) FromGRPCMessage(m grpc.Message) error

func (*DeleteRequest) GetBody

func (r *DeleteRequest) GetBody() *DeleteRequestBody

func (*DeleteRequest) SetBody

func (r *DeleteRequest) SetBody(v *DeleteRequestBody)

func (*DeleteRequest) ToGRPCMessage added in v1.25.0

func (r *DeleteRequest) ToGRPCMessage() grpc.Message

type DeleteRequestBody

type DeleteRequestBody struct {
	// contains filtered or unexported fields
}

func (*DeleteRequestBody) FromGRPCMessage added in v1.25.0

func (r *DeleteRequestBody) FromGRPCMessage(m grpc.Message) error

func (*DeleteRequestBody) GetContainerID

func (r *DeleteRequestBody) GetContainerID() *refs.ContainerID

func (*DeleteRequestBody) GetSignature

func (r *DeleteRequestBody) GetSignature() *refs.Signature

func (*DeleteRequestBody) SetContainerID

func (r *DeleteRequestBody) SetContainerID(v *refs.ContainerID)

func (*DeleteRequestBody) SetSignature

func (r *DeleteRequestBody) SetSignature(v *refs.Signature)

func (*DeleteRequestBody) StableMarshal

func (r *DeleteRequestBody) StableMarshal(buf []byte) ([]byte, error)

func (*DeleteRequestBody) StableSize

func (r *DeleteRequestBody) StableSize() (size int)

func (*DeleteRequestBody) ToGRPCMessage added in v1.25.0

func (r *DeleteRequestBody) ToGRPCMessage() grpc.Message

func (*DeleteRequestBody) Unmarshal added in v1.25.0

func (r *DeleteRequestBody) Unmarshal(data []byte) error

type DeleteResponse

type DeleteResponse struct {
	session.ResponseHeaders
	// contains filtered or unexported fields
}

func (*DeleteResponse) FromGRPCMessage added in v1.25.0

func (r *DeleteResponse) FromGRPCMessage(m grpc.Message) error

func (*DeleteResponse) GetBody

func (r *DeleteResponse) GetBody() *DeleteResponseBody

func (*DeleteResponse) SetBody

func (r *DeleteResponse) SetBody(v *DeleteResponseBody)

func (*DeleteResponse) ToGRPCMessage added in v1.25.0

func (r *DeleteResponse) ToGRPCMessage() grpc.Message

type DeleteResponseBody

type DeleteResponseBody struct{}

func (*DeleteResponseBody) FromGRPCMessage added in v1.25.0

func (r *DeleteResponseBody) FromGRPCMessage(m grpc.Message) error

func (*DeleteResponseBody) StableMarshal

func (r *DeleteResponseBody) StableMarshal(buf []byte) ([]byte, error)

func (*DeleteResponseBody) StableSize

func (r *DeleteResponseBody) StableSize() (size int)

func (*DeleteResponseBody) ToGRPCMessage added in v1.25.0

func (r *DeleteResponseBody) ToGRPCMessage() grpc.Message

func (*DeleteResponseBody) Unmarshal added in v1.25.0

func (r *DeleteResponseBody) Unmarshal([]byte) error

type GetExtendedACLRequest

type GetExtendedACLRequest struct {
	session.RequestHeaders
	// contains filtered or unexported fields
}

func (*GetExtendedACLRequest) FromGRPCMessage added in v1.25.0

func (r *GetExtendedACLRequest) FromGRPCMessage(m grpc.Message) error

func (*GetExtendedACLRequest) GetBody

func (*GetExtendedACLRequest) SetBody

func (*GetExtendedACLRequest) ToGRPCMessage added in v1.25.0

func (r *GetExtendedACLRequest) ToGRPCMessage() grpc.Message

type GetExtendedACLRequestBody

type GetExtendedACLRequestBody struct {
	// contains filtered or unexported fields
}

func (*GetExtendedACLRequestBody) FromGRPCMessage added in v1.25.0

func (r *GetExtendedACLRequestBody) FromGRPCMessage(m grpc.Message) error

func (*GetExtendedACLRequestBody) GetContainerID

func (r *GetExtendedACLRequestBody) GetContainerID() *refs.ContainerID

func (*GetExtendedACLRequestBody) SetContainerID

func (r *GetExtendedACLRequestBody) SetContainerID(v *refs.ContainerID)

func (*GetExtendedACLRequestBody) StableMarshal

func (r *GetExtendedACLRequestBody) StableMarshal(buf []byte) ([]byte, error)

func (*GetExtendedACLRequestBody) StableSize

func (r *GetExtendedACLRequestBody) StableSize() (size int)

func (*GetExtendedACLRequestBody) ToGRPCMessage added in v1.25.0

func (r *GetExtendedACLRequestBody) ToGRPCMessage() grpc.Message

func (*GetExtendedACLRequestBody) Unmarshal added in v1.25.0

func (r *GetExtendedACLRequestBody) Unmarshal(data []byte) error

type GetExtendedACLResponse

type GetExtendedACLResponse struct {
	session.ResponseHeaders
	// contains filtered or unexported fields
}

func (*GetExtendedACLResponse) FromGRPCMessage added in v1.25.0

func (r *GetExtendedACLResponse) FromGRPCMessage(m grpc.Message) error

func (*GetExtendedACLResponse) GetBody

func (*GetExtendedACLResponse) SetBody

func (*GetExtendedACLResponse) ToGRPCMessage added in v1.25.0

func (r *GetExtendedACLResponse) ToGRPCMessage() grpc.Message

type GetExtendedACLResponseBody

type GetExtendedACLResponseBody struct {
	// contains filtered or unexported fields
}

func (*GetExtendedACLResponseBody) FromGRPCMessage added in v1.25.0

func (r *GetExtendedACLResponseBody) FromGRPCMessage(m grpc.Message) error

func (*GetExtendedACLResponseBody) GetEACL

func (r *GetExtendedACLResponseBody) GetEACL() *acl.Table

func (*GetExtendedACLResponseBody) GetSignature

func (r *GetExtendedACLResponseBody) GetSignature() *refs.Signature

func (*GetExtendedACLResponseBody) SetEACL

func (r *GetExtendedACLResponseBody) SetEACL(v *acl.Table)

func (*GetExtendedACLResponseBody) SetSignature

func (r *GetExtendedACLResponseBody) SetSignature(v *refs.Signature)

func (*GetExtendedACLResponseBody) StableMarshal

func (r *GetExtendedACLResponseBody) StableMarshal(buf []byte) ([]byte, error)

func (*GetExtendedACLResponseBody) StableSize

func (r *GetExtendedACLResponseBody) StableSize() (size int)

func (*GetExtendedACLResponseBody) ToGRPCMessage added in v1.25.0

func (r *GetExtendedACLResponseBody) ToGRPCMessage() grpc.Message

func (*GetExtendedACLResponseBody) Unmarshal added in v1.25.0

func (r *GetExtendedACLResponseBody) Unmarshal(data []byte) error

type GetRequest

type GetRequest struct {
	session.RequestHeaders
	// contains filtered or unexported fields
}

func (*GetRequest) FromGRPCMessage added in v1.25.0

func (r *GetRequest) FromGRPCMessage(m grpc.Message) error

func (*GetRequest) GetBody

func (r *GetRequest) GetBody() *GetRequestBody

func (*GetRequest) SetBody

func (r *GetRequest) SetBody(v *GetRequestBody)

func (*GetRequest) ToGRPCMessage added in v1.25.0

func (r *GetRequest) ToGRPCMessage() grpc.Message

type GetRequestBody

type GetRequestBody struct {
	// contains filtered or unexported fields
}

func (*GetRequestBody) FromGRPCMessage added in v1.25.0

func (r *GetRequestBody) FromGRPCMessage(m grpc.Message) error

func (*GetRequestBody) GetContainerID

func (r *GetRequestBody) GetContainerID() *refs.ContainerID

func (*GetRequestBody) SetContainerID

func (r *GetRequestBody) SetContainerID(v *refs.ContainerID)

func (*GetRequestBody) StableMarshal

func (r *GetRequestBody) StableMarshal(buf []byte) ([]byte, error)

func (*GetRequestBody) StableSize

func (r *GetRequestBody) StableSize() (size int)

func (*GetRequestBody) ToGRPCMessage added in v1.25.0

func (r *GetRequestBody) ToGRPCMessage() grpc.Message

func (*GetRequestBody) Unmarshal added in v1.25.0

func (r *GetRequestBody) Unmarshal(data []byte) error

type GetResponse

type GetResponse struct {
	session.ResponseHeaders
	// contains filtered or unexported fields
}

func (*GetResponse) FromGRPCMessage added in v1.25.0

func (r *GetResponse) FromGRPCMessage(m grpc.Message) error

func (*GetResponse) GetBody

func (r *GetResponse) GetBody() *GetResponseBody

func (*GetResponse) SetBody

func (r *GetResponse) SetBody(v *GetResponseBody)

func (*GetResponse) ToGRPCMessage added in v1.25.0

func (r *GetResponse) ToGRPCMessage() grpc.Message

type GetResponseBody

type GetResponseBody struct {
	// contains filtered or unexported fields
}

func (*GetResponseBody) FromGRPCMessage added in v1.25.0

func (r *GetResponseBody) FromGRPCMessage(m grpc.Message) error

func (*GetResponseBody) GetContainer

func (r *GetResponseBody) GetContainer() *Container

func (*GetResponseBody) SetContainer

func (r *GetResponseBody) SetContainer(v *Container)

func (*GetResponseBody) StableMarshal

func (r *GetResponseBody) StableMarshal(buf []byte) ([]byte, error)

func (*GetResponseBody) StableSize

func (r *GetResponseBody) StableSize() (size int)

func (*GetResponseBody) ToGRPCMessage added in v1.25.0

func (r *GetResponseBody) ToGRPCMessage() grpc.Message

func (*GetResponseBody) Unmarshal added in v1.25.0

func (r *GetResponseBody) Unmarshal(data []byte) error

type ListRequest

type ListRequest struct {
	session.RequestHeaders
	// contains filtered or unexported fields
}

func (*ListRequest) FromGRPCMessage added in v1.25.0

func (r *ListRequest) FromGRPCMessage(m grpc.Message) error

func (*ListRequest) GetBody

func (r *ListRequest) GetBody() *ListRequestBody

func (*ListRequest) SetBody

func (r *ListRequest) SetBody(v *ListRequestBody)

func (*ListRequest) ToGRPCMessage added in v1.25.0

func (r *ListRequest) ToGRPCMessage() grpc.Message

type ListRequestBody

type ListRequestBody struct {
	// contains filtered or unexported fields
}

func (*ListRequestBody) FromGRPCMessage added in v1.25.0

func (r *ListRequestBody) FromGRPCMessage(m grpc.Message) error

func (*ListRequestBody) GetOwnerID

func (r *ListRequestBody) GetOwnerID() *refs.OwnerID

func (*ListRequestBody) SetOwnerID

func (r *ListRequestBody) SetOwnerID(v *refs.OwnerID)

func (*ListRequestBody) StableMarshal

func (r *ListRequestBody) StableMarshal(buf []byte) ([]byte, error)

func (*ListRequestBody) StableSize

func (r *ListRequestBody) StableSize() (size int)

func (*ListRequestBody) ToGRPCMessage added in v1.25.0

func (r *ListRequestBody) ToGRPCMessage() grpc.Message

func (*ListRequestBody) Unmarshal added in v1.25.0

func (r *ListRequestBody) Unmarshal(data []byte) error

type ListResponse

type ListResponse struct {
	session.ResponseHeaders
	// contains filtered or unexported fields
}

func (*ListResponse) FromGRPCMessage added in v1.25.0

func (r *ListResponse) FromGRPCMessage(m grpc.Message) error

func (*ListResponse) GetBody

func (r *ListResponse) GetBody() *ListResponseBody

func (*ListResponse) SetBody

func (r *ListResponse) SetBody(v *ListResponseBody)

func (*ListResponse) ToGRPCMessage added in v1.25.0

func (r *ListResponse) ToGRPCMessage() grpc.Message

type ListResponseBody

type ListResponseBody struct {
	// contains filtered or unexported fields
}

func (*ListResponseBody) FromGRPCMessage added in v1.25.0

func (r *ListResponseBody) FromGRPCMessage(m grpc.Message) error

func (*ListResponseBody) GetContainerIDs

func (r *ListResponseBody) GetContainerIDs() []*refs.ContainerID

func (*ListResponseBody) SetContainerIDs

func (r *ListResponseBody) SetContainerIDs(v []*refs.ContainerID)

func (*ListResponseBody) StableMarshal

func (r *ListResponseBody) StableMarshal(buf []byte) ([]byte, error)

func (*ListResponseBody) StableSize

func (r *ListResponseBody) StableSize() (size int)

func (*ListResponseBody) ToGRPCMessage added in v1.25.0

func (r *ListResponseBody) ToGRPCMessage() grpc.Message

func (*ListResponseBody) Unmarshal added in v1.25.0

func (r *ListResponseBody) Unmarshal(data []byte) error

type PutRequest

type PutRequest struct {
	session.RequestHeaders
	// contains filtered or unexported fields
}

func (*PutRequest) FromGRPCMessage added in v1.25.0

func (r *PutRequest) FromGRPCMessage(m grpc.Message) error

func (*PutRequest) GetBody

func (r *PutRequest) GetBody() *PutRequestBody

func (*PutRequest) SetBody

func (r *PutRequest) SetBody(v *PutRequestBody)

func (*PutRequest) ToGRPCMessage added in v1.25.0

func (r *PutRequest) ToGRPCMessage() grpc.Message

type PutRequestBody

type PutRequestBody struct {
	// contains filtered or unexported fields
}

func (*PutRequestBody) FromGRPCMessage added in v1.25.0

func (r *PutRequestBody) FromGRPCMessage(m grpc.Message) error

func (*PutRequestBody) GetContainer

func (r *PutRequestBody) GetContainer() *Container

func (*PutRequestBody) GetSignature

func (r *PutRequestBody) GetSignature() *refs.Signature

func (*PutRequestBody) SetContainer

func (r *PutRequestBody) SetContainer(v *Container)

func (*PutRequestBody) SetSignature

func (r *PutRequestBody) SetSignature(v *refs.Signature)

func (*PutRequestBody) StableMarshal

func (r *PutRequestBody) StableMarshal(buf []byte) ([]byte, error)

func (*PutRequestBody) StableSize

func (r *PutRequestBody) StableSize() (size int)

func (*PutRequestBody) ToGRPCMessage added in v1.25.0

func (r *PutRequestBody) ToGRPCMessage() grpc.Message

func (*PutRequestBody) Unmarshal added in v1.25.0

func (r *PutRequestBody) Unmarshal(data []byte) error

type PutResponse

type PutResponse struct {
	session.ResponseHeaders
	// contains filtered or unexported fields
}

func (*PutResponse) FromGRPCMessage added in v1.25.0

func (r *PutResponse) FromGRPCMessage(m grpc.Message) error

func (*PutResponse) GetBody

func (r *PutResponse) GetBody() *PutResponseBody

func (*PutResponse) SetBody

func (r *PutResponse) SetBody(v *PutResponseBody)

func (*PutResponse) ToGRPCMessage added in v1.25.0

func (r *PutResponse) ToGRPCMessage() grpc.Message

type PutResponseBody

type PutResponseBody struct {
	// contains filtered or unexported fields
}

func (*PutResponseBody) FromGRPCMessage added in v1.25.0

func (r *PutResponseBody) FromGRPCMessage(m grpc.Message) error

func (*PutResponseBody) GetContainerID

func (r *PutResponseBody) GetContainerID() *refs.ContainerID

func (*PutResponseBody) SetContainerID

func (r *PutResponseBody) SetContainerID(v *refs.ContainerID)

func (*PutResponseBody) StableMarshal

func (r *PutResponseBody) StableMarshal(buf []byte) ([]byte, error)

func (*PutResponseBody) StableSize

func (r *PutResponseBody) StableSize() (size int)

func (*PutResponseBody) ToGRPCMessage added in v1.25.0

func (r *PutResponseBody) ToGRPCMessage() grpc.Message

func (*PutResponseBody) Unmarshal added in v1.25.0

func (r *PutResponseBody) Unmarshal(data []byte) error

type SetExtendedACLRequest

type SetExtendedACLRequest struct {
	session.RequestHeaders
	// contains filtered or unexported fields
}

func (*SetExtendedACLRequest) FromGRPCMessage added in v1.25.0

func (r *SetExtendedACLRequest) FromGRPCMessage(m grpc.Message) error

func (*SetExtendedACLRequest) GetBody

func (*SetExtendedACLRequest) SetBody

func (*SetExtendedACLRequest) ToGRPCMessage added in v1.25.0

func (r *SetExtendedACLRequest) ToGRPCMessage() grpc.Message

type SetExtendedACLRequestBody

type SetExtendedACLRequestBody struct {
	// contains filtered or unexported fields
}

func (*SetExtendedACLRequestBody) FromGRPCMessage added in v1.25.0

func (r *SetExtendedACLRequestBody) FromGRPCMessage(m grpc.Message) error

func (*SetExtendedACLRequestBody) GetEACL

func (r *SetExtendedACLRequestBody) GetEACL() *acl.Table

func (*SetExtendedACLRequestBody) GetSignature

func (r *SetExtendedACLRequestBody) GetSignature() *refs.Signature

func (*SetExtendedACLRequestBody) SetEACL

func (r *SetExtendedACLRequestBody) SetEACL(v *acl.Table)

func (*SetExtendedACLRequestBody) SetSignature

func (r *SetExtendedACLRequestBody) SetSignature(v *refs.Signature)

func (*SetExtendedACLRequestBody) StableMarshal

func (r *SetExtendedACLRequestBody) StableMarshal(buf []byte) ([]byte, error)

func (*SetExtendedACLRequestBody) StableSize

func (r *SetExtendedACLRequestBody) StableSize() (size int)

func (*SetExtendedACLRequestBody) ToGRPCMessage added in v1.25.0

func (r *SetExtendedACLRequestBody) ToGRPCMessage() grpc.Message

func (*SetExtendedACLRequestBody) Unmarshal added in v1.25.0

func (r *SetExtendedACLRequestBody) Unmarshal(data []byte) error

type SetExtendedACLResponse

type SetExtendedACLResponse struct {
	session.ResponseHeaders
	// contains filtered or unexported fields
}

func (*SetExtendedACLResponse) FromGRPCMessage added in v1.25.0

func (r *SetExtendedACLResponse) FromGRPCMessage(m grpc.Message) error

func (*SetExtendedACLResponse) GetBody

func (*SetExtendedACLResponse) SetBody

func (*SetExtendedACLResponse) ToGRPCMessage added in v1.25.0

func (r *SetExtendedACLResponse) ToGRPCMessage() grpc.Message

type SetExtendedACLResponseBody

type SetExtendedACLResponseBody struct{}

func (*SetExtendedACLResponseBody) FromGRPCMessage added in v1.25.0

func (r *SetExtendedACLResponseBody) FromGRPCMessage(m grpc.Message) error

func (*SetExtendedACLResponseBody) StableMarshal

func (r *SetExtendedACLResponseBody) StableMarshal(buf []byte) ([]byte, error)

func (*SetExtendedACLResponseBody) StableSize

func (r *SetExtendedACLResponseBody) StableSize() (size int)

func (*SetExtendedACLResponseBody) ToGRPCMessage added in v1.25.0

func (r *SetExtendedACLResponseBody) ToGRPCMessage() grpc.Message

func (*SetExtendedACLResponseBody) Unmarshal added in v1.25.0

func (r *SetExtendedACLResponseBody) Unmarshal([]byte) error

type UsedSpaceAnnouncement added in v1.23.0

type UsedSpaceAnnouncement struct {
	// contains filtered or unexported fields
}

func UsedSpaceAnnouncementssFromGRPCMessage added in v1.25.0

func UsedSpaceAnnouncementssFromGRPCMessage(
	asV2 []*container.AnnounceUsedSpaceRequest_Body_Announcement,
) (res []*UsedSpaceAnnouncement, err error)

func (*UsedSpaceAnnouncement) FromGRPCMessage added in v1.25.0

func (a *UsedSpaceAnnouncement) FromGRPCMessage(m grpc.Message) error

func (*UsedSpaceAnnouncement) GetContainerID added in v1.23.0

func (a *UsedSpaceAnnouncement) GetContainerID() *refs.ContainerID

func (*UsedSpaceAnnouncement) GetEpoch added in v1.23.0

func (a *UsedSpaceAnnouncement) GetEpoch() uint64

func (*UsedSpaceAnnouncement) GetUsedSpace added in v1.23.0

func (a *UsedSpaceAnnouncement) GetUsedSpace() uint64

func (*UsedSpaceAnnouncement) SetContainerID added in v1.23.0

func (a *UsedSpaceAnnouncement) SetContainerID(v *refs.ContainerID)

func (*UsedSpaceAnnouncement) SetEpoch added in v1.23.0

func (a *UsedSpaceAnnouncement) SetEpoch(v uint64)

func (*UsedSpaceAnnouncement) SetUsedSpace added in v1.23.0

func (a *UsedSpaceAnnouncement) SetUsedSpace(v uint64)

func (*UsedSpaceAnnouncement) StableMarshal added in v1.23.0

func (a *UsedSpaceAnnouncement) StableMarshal(buf []byte) ([]byte, error)

func (*UsedSpaceAnnouncement) StableSize added in v1.23.0

func (a *UsedSpaceAnnouncement) StableSize() (size int)

func (*UsedSpaceAnnouncement) ToGRPCMessage added in v1.25.0

func (a *UsedSpaceAnnouncement) ToGRPCMessage() grpc.Message

func (*UsedSpaceAnnouncement) Unmarshal added in v1.23.0

func (a *UsedSpaceAnnouncement) Unmarshal(data []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL