Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_lock_grpc_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Lock ¶
type Lock struct { // List of objects to lock. Must not be empty or carry empty IDs. // All members must be of the `REGULAR` type. Members []*grpc.ObjectID `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
Lock objects protects a list of objects from being deleted. The lifetime of a lock object is limited similar to regular objects in `__SYSTEM__EXPIRATION_EPOCH` (`__NEOFS__EXPIRATION_EPOCH` is deprecated) attribute. Lock object MUST have expiration epoch. It is impossible to delete a lock object via ObjectService.Delete RPC call.
func (*Lock) Descriptor
deprecated
func (*Lock) GetMembers ¶
func (*Lock) ProtoMessage ¶
func (*Lock) ProtoMessage()
func (*Lock) ProtoReflect ¶
func (x *Lock) ProtoReflect() protoreflect.Message
func (*Lock) SetMembers ¶
SetMembers sets `members` field.
Click to show internal directories.
Click to hide internal directories.