Documentation ¶
Index ¶
- Variables
- func RegisterBucketServiceServer(s grpc.ServiceRegistrar, srv BucketServiceServer)
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetHidden() bool
- func (x *Bucket) GetName() string
- func (x *Bucket) GetNamespace() string
- func (x *Bucket) GetUuid() string
- func (x *Bucket) GetXCreated() *timestamp.Timestamp
- func (x *Bucket) GetXUpdated() *timestamp.Timestamp
- func (x *Bucket) GetXVersion() int64
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type BucketServiceClient
- type BucketServiceServer
- type BucketService_ListClient
- type BucketService_ListServer
- type CountBucketsRequest
- func (*CountBucketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CountBucketsRequest) GetNamespace() string
- func (*CountBucketsRequest) ProtoMessage()
- func (x *CountBucketsRequest) ProtoReflect() protoreflect.Message
- func (x *CountBucketsRequest) Reset()
- func (x *CountBucketsRequest) String() string
- type CountBucketsResponse
- func (*CountBucketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountBucketsResponse) GetCount() uint32
- func (*CountBucketsResponse) ProtoMessage()
- func (x *CountBucketsResponse) ProtoReflect() protoreflect.Message
- func (x *CountBucketsResponse) Reset()
- func (x *CountBucketsResponse) String() string
- type CreateBucketRequest
- func (*CreateBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBucketRequest) GetHidden() bool
- func (x *CreateBucketRequest) GetName() string
- func (x *CreateBucketRequest) GetNamespace() string
- func (*CreateBucketRequest) ProtoMessage()
- func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBucketRequest) Reset()
- func (x *CreateBucketRequest) String() string
- type CreateBucketResponse
- func (*CreateBucketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBucketResponse) GetBucket() *Bucket
- func (*CreateBucketResponse) ProtoMessage()
- func (x *CreateBucketResponse) ProtoReflect() protoreflect.Message
- func (x *CreateBucketResponse) Reset()
- func (x *CreateBucketResponse) String() string
- type DeleteBucketByUUIDRequest
- func (*DeleteBucketByUUIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBucketByUUIDRequest) GetNamespace() string
- func (x *DeleteBucketByUUIDRequest) GetUuid() string
- func (*DeleteBucketByUUIDRequest) ProtoMessage()
- func (x *DeleteBucketByUUIDRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketByUUIDRequest) Reset()
- func (x *DeleteBucketByUUIDRequest) String() string
- type DeleteBucketByUUIDResponse
- func (*DeleteBucketByUUIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBucketByUUIDResponse) GetBucket() *Bucket
- func (*DeleteBucketByUUIDResponse) ProtoMessage()
- func (x *DeleteBucketByUUIDResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketByUUIDResponse) Reset()
- func (x *DeleteBucketByUUIDResponse) String() string
- type DeleteBucketRequest
- func (*DeleteBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBucketRequest) GetName() string
- func (x *DeleteBucketRequest) GetNamespace() string
- func (*DeleteBucketRequest) ProtoMessage()
- func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketRequest) Reset()
- func (x *DeleteBucketRequest) String() string
- type DeleteBucketResponse
- func (*DeleteBucketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBucketResponse) GetBucket() *Bucket
- func (*DeleteBucketResponse) ProtoMessage()
- func (x *DeleteBucketResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketResponse) Reset()
- func (x *DeleteBucketResponse) String() string
- type EnsureBucketRequest
- func (*EnsureBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnsureBucketRequest) GetHidden() bool
- func (x *EnsureBucketRequest) GetName() string
- func (x *EnsureBucketRequest) GetNamespace() string
- func (*EnsureBucketRequest) ProtoMessage()
- func (x *EnsureBucketRequest) ProtoReflect() protoreflect.Message
- func (x *EnsureBucketRequest) Reset()
- func (x *EnsureBucketRequest) String() string
- type EnsureBucketResponse
- func (*EnsureBucketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnsureBucketResponse) GetBucket() *Bucket
- func (*EnsureBucketResponse) ProtoMessage()
- func (x *EnsureBucketResponse) ProtoReflect() protoreflect.Message
- func (x *EnsureBucketResponse) Reset()
- func (x *EnsureBucketResponse) String() string
- type GetBucketByUUIDRequest
- func (*GetBucketByUUIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBucketByUUIDRequest) GetNamespace() string
- func (x *GetBucketByUUIDRequest) GetUseCache() bool
- func (x *GetBucketByUUIDRequest) GetUuid() string
- func (*GetBucketByUUIDRequest) ProtoMessage()
- func (x *GetBucketByUUIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetBucketByUUIDRequest) Reset()
- func (x *GetBucketByUUIDRequest) String() string
- type GetBucketByUUIDResponse
- func (*GetBucketByUUIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBucketByUUIDResponse) GetBucket() *Bucket
- func (*GetBucketByUUIDResponse) ProtoMessage()
- func (x *GetBucketByUUIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetBucketByUUIDResponse) Reset()
- func (x *GetBucketByUUIDResponse) String() string
- type GetBucketRequest
- func (*GetBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBucketRequest) GetName() string
- func (x *GetBucketRequest) GetNamespace() string
- func (x *GetBucketRequest) GetUseCache() bool
- func (*GetBucketRequest) ProtoMessage()
- func (x *GetBucketRequest) ProtoReflect() protoreflect.Message
- func (x *GetBucketRequest) Reset()
- func (x *GetBucketRequest) String() string
- type GetBucketResponse
- type ListBucketsRequest
- func (*ListBucketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBucketsRequest) GetLimit() uint32
- func (x *ListBucketsRequest) GetNamespace() string
- func (x *ListBucketsRequest) GetSkip() uint32
- func (*ListBucketsRequest) ProtoMessage()
- func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBucketsRequest) Reset()
- func (x *ListBucketsRequest) String() string
- type ListBucketsResponse
- func (*ListBucketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBucketsResponse) GetBucket() *Bucket
- func (*ListBucketsResponse) ProtoMessage()
- func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBucketsResponse) Reset()
- func (x *ListBucketsResponse) String() string
- type UnimplementedBucketServiceServer
- func (UnimplementedBucketServiceServer) Count(context.Context, *CountBucketsRequest) (*CountBucketsResponse, error)
- func (UnimplementedBucketServiceServer) Create(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error)
- func (UnimplementedBucketServiceServer) Delete(context.Context, *DeleteBucketRequest) (*DeleteBucketResponse, error)
- func (UnimplementedBucketServiceServer) DeleteByUUID(context.Context, *DeleteBucketByUUIDRequest) (*DeleteBucketByUUIDResponse, error)
- func (UnimplementedBucketServiceServer) Ensure(context.Context, *EnsureBucketRequest) (*EnsureBucketResponse, error)
- func (UnimplementedBucketServiceServer) Get(context.Context, *GetBucketRequest) (*GetBucketResponse, error)
- func (UnimplementedBucketServiceServer) GetByUUID(context.Context, *GetBucketByUUIDRequest) (*GetBucketByUUIDResponse, error)
- func (UnimplementedBucketServiceServer) List(*ListBucketsRequest, BucketService_ListServer) error
- func (UnimplementedBucketServiceServer) Update(context.Context, *UpdateBucketRequest) (*UpdateBucketResponse, error)
- type UnsafeBucketServiceServer
- type UpdateBucketRequest
- func (*UpdateBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBucketRequest) GetHidden() bool
- func (x *UpdateBucketRequest) GetName() string
- func (x *UpdateBucketRequest) GetNamespace() string
- func (x *UpdateBucketRequest) GetUuid() string
- func (*UpdateBucketRequest) ProtoMessage()
- func (x *UpdateBucketRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBucketRequest) Reset()
- func (x *UpdateBucketRequest) String() string
- type UpdateBucketResponse
- func (*UpdateBucketResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBucketResponse) GetBucket() *Bucket
- func (*UpdateBucketResponse) ProtoMessage()
- func (x *UpdateBucketResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateBucketResponse) Reset()
- func (x *UpdateBucketResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var BucketService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "native_storage_bucket.BucketService", HandlerType: (*BucketServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _BucketService_Create_Handler, }, { MethodName: "Ensure", Handler: _BucketService_Ensure_Handler, }, { MethodName: "Get", Handler: _BucketService_Get_Handler, }, { MethodName: "GetByUUID", Handler: _BucketService_GetByUUID_Handler, }, { MethodName: "Count", Handler: _BucketService_Count_Handler, }, { MethodName: "Update", Handler: _BucketService_Update_Handler, }, { MethodName: "Delete", Handler: _BucketService_Delete_Handler, }, { MethodName: "DeleteByUUID", Handler: _BucketService_DeleteByUUID_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "List", Handler: _BucketService_List_Handler, ServerStreams: true, }, }, Metadata: "bucket.proto", }
BucketService_ServiceDesc is the grpc.ServiceDesc for BucketService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_bucket_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBucketServiceServer ¶
func RegisterBucketServiceServer(s grpc.ServiceRegistrar, srv BucketServiceServer)
Types ¶
type Bucket ¶
type Bucket struct { // Namespace where the bucket is located Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // Unique identifier of the bucket Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // Unique name of the bucket Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Inidicates that the bucket should be hidden to the user by default (for example this bucket stores internal information that may be not interesting for user). Hidden bool `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"` // When file was creted XCreated *timestamp.Timestamp `protobuf:"bytes,100,opt,name=_created,json=Created,proto3" json:"_created,omitempty"` // When file was updated last time XUpdated *timestamp.Timestamp `protobuf:"bytes,101,opt,name=_updated,json=Updated,proto3" json:"_updated,omitempty"` // Version of the file. Automatically increases on every update to the file binary data or file information XVersion int64 `protobuf:"varint,102,opt,name=_version,json=Version,proto3" json:"_version,omitempty"` // contains filtered or unexported fields }
Bucket is a place to store multiple files. It is a logical grouping of files.
func (*Bucket) Descriptor
deprecated
func (*Bucket) GetNamespace ¶
func (*Bucket) GetXCreated ¶
func (*Bucket) GetXUpdated ¶
func (*Bucket) GetXVersion ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
type BucketServiceClient ¶
type BucketServiceClient interface { Create(ctx context.Context, in *CreateBucketRequest, opts ...grpc.CallOption) (*CreateBucketResponse, error) Ensure(ctx context.Context, in *EnsureBucketRequest, opts ...grpc.CallOption) (*EnsureBucketResponse, error) Get(ctx context.Context, in *GetBucketRequest, opts ...grpc.CallOption) (*GetBucketResponse, error) GetByUUID(ctx context.Context, in *GetBucketByUUIDRequest, opts ...grpc.CallOption) (*GetBucketByUUIDResponse, error) List(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (BucketService_ListClient, error) Count(ctx context.Context, in *CountBucketsRequest, opts ...grpc.CallOption) (*CountBucketsResponse, error) Update(ctx context.Context, in *UpdateBucketRequest, opts ...grpc.CallOption) (*UpdateBucketResponse, error) Delete(ctx context.Context, in *DeleteBucketRequest, opts ...grpc.CallOption) (*DeleteBucketResponse, error) DeleteByUUID(ctx context.Context, in *DeleteBucketByUUIDRequest, opts ...grpc.CallOption) (*DeleteBucketByUUIDResponse, error) }
BucketServiceClient is the client API for BucketService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBucketServiceClient ¶
func NewBucketServiceClient(cc grpc.ClientConnInterface) BucketServiceClient
type BucketServiceServer ¶
type BucketServiceServer interface { Create(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error) Ensure(context.Context, *EnsureBucketRequest) (*EnsureBucketResponse, error) Get(context.Context, *GetBucketRequest) (*GetBucketResponse, error) GetByUUID(context.Context, *GetBucketByUUIDRequest) (*GetBucketByUUIDResponse, error) List(*ListBucketsRequest, BucketService_ListServer) error Count(context.Context, *CountBucketsRequest) (*CountBucketsResponse, error) Update(context.Context, *UpdateBucketRequest) (*UpdateBucketResponse, error) Delete(context.Context, *DeleteBucketRequest) (*DeleteBucketResponse, error) DeleteByUUID(context.Context, *DeleteBucketByUUIDRequest) (*DeleteBucketByUUIDResponse, error) // contains filtered or unexported methods }
BucketServiceServer is the server API for BucketService service. All implementations must embed UnimplementedBucketServiceServer for forward compatibility
type BucketService_ListClient ¶
type BucketService_ListClient interface { Recv() (*ListBucketsResponse, error) grpc.ClientStream }
type BucketService_ListServer ¶
type BucketService_ListServer interface { Send(*ListBucketsResponse) error grpc.ServerStream }
type CountBucketsRequest ¶
type CountBucketsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*CountBucketsRequest) Descriptor
deprecated
func (*CountBucketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountBucketsRequest.ProtoReflect.Descriptor instead.
func (*CountBucketsRequest) GetNamespace ¶
func (x *CountBucketsRequest) GetNamespace() string
func (*CountBucketsRequest) ProtoMessage ¶
func (*CountBucketsRequest) ProtoMessage()
func (*CountBucketsRequest) ProtoReflect ¶
func (x *CountBucketsRequest) ProtoReflect() protoreflect.Message
func (*CountBucketsRequest) Reset ¶
func (x *CountBucketsRequest) Reset()
func (*CountBucketsRequest) String ¶
func (x *CountBucketsRequest) String() string
type CountBucketsResponse ¶
type CountBucketsResponse struct { Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*CountBucketsResponse) Descriptor
deprecated
func (*CountBucketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountBucketsResponse.ProtoReflect.Descriptor instead.
func (*CountBucketsResponse) GetCount ¶
func (x *CountBucketsResponse) GetCount() uint32
func (*CountBucketsResponse) ProtoMessage ¶
func (*CountBucketsResponse) ProtoMessage()
func (*CountBucketsResponse) ProtoReflect ¶
func (x *CountBucketsResponse) ProtoReflect() protoreflect.Message
func (*CountBucketsResponse) Reset ¶
func (x *CountBucketsResponse) Reset()
func (*CountBucketsResponse) String ¶
func (x *CountBucketsResponse) String() string
type CreateBucketRequest ¶
type CreateBucketRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Hidden bool `protobuf:"varint,3,opt,name=hidden,proto3" json:"hidden,omitempty"` // contains filtered or unexported fields }
func (*CreateBucketRequest) Descriptor
deprecated
func (*CreateBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBucketRequest.ProtoReflect.Descriptor instead.
func (*CreateBucketRequest) GetHidden ¶
func (x *CreateBucketRequest) GetHidden() bool
func (*CreateBucketRequest) GetName ¶
func (x *CreateBucketRequest) GetName() string
func (*CreateBucketRequest) GetNamespace ¶
func (x *CreateBucketRequest) GetNamespace() string
func (*CreateBucketRequest) ProtoMessage ¶
func (*CreateBucketRequest) ProtoMessage()
func (*CreateBucketRequest) ProtoReflect ¶
func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message
func (*CreateBucketRequest) Reset ¶
func (x *CreateBucketRequest) Reset()
func (*CreateBucketRequest) String ¶
func (x *CreateBucketRequest) String() string
type CreateBucketResponse ¶
type CreateBucketResponse struct { Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*CreateBucketResponse) Descriptor
deprecated
func (*CreateBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateBucketResponse.ProtoReflect.Descriptor instead.
func (*CreateBucketResponse) GetBucket ¶
func (x *CreateBucketResponse) GetBucket() *Bucket
func (*CreateBucketResponse) ProtoMessage ¶
func (*CreateBucketResponse) ProtoMessage()
func (*CreateBucketResponse) ProtoReflect ¶
func (x *CreateBucketResponse) ProtoReflect() protoreflect.Message
func (*CreateBucketResponse) Reset ¶
func (x *CreateBucketResponse) Reset()
func (*CreateBucketResponse) String ¶
func (x *CreateBucketResponse) String() string
type DeleteBucketByUUIDRequest ¶
type DeleteBucketByUUIDRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*DeleteBucketByUUIDRequest) Descriptor
deprecated
func (*DeleteBucketByUUIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketByUUIDRequest.ProtoReflect.Descriptor instead.
func (*DeleteBucketByUUIDRequest) GetNamespace ¶
func (x *DeleteBucketByUUIDRequest) GetNamespace() string
func (*DeleteBucketByUUIDRequest) GetUuid ¶
func (x *DeleteBucketByUUIDRequest) GetUuid() string
func (*DeleteBucketByUUIDRequest) ProtoMessage ¶
func (*DeleteBucketByUUIDRequest) ProtoMessage()
func (*DeleteBucketByUUIDRequest) ProtoReflect ¶
func (x *DeleteBucketByUUIDRequest) ProtoReflect() protoreflect.Message
func (*DeleteBucketByUUIDRequest) Reset ¶
func (x *DeleteBucketByUUIDRequest) Reset()
func (*DeleteBucketByUUIDRequest) String ¶
func (x *DeleteBucketByUUIDRequest) String() string
type DeleteBucketByUUIDResponse ¶
type DeleteBucketByUUIDResponse struct { Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*DeleteBucketByUUIDResponse) Descriptor
deprecated
func (*DeleteBucketByUUIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketByUUIDResponse.ProtoReflect.Descriptor instead.
func (*DeleteBucketByUUIDResponse) GetBucket ¶
func (x *DeleteBucketByUUIDResponse) GetBucket() *Bucket
func (*DeleteBucketByUUIDResponse) ProtoMessage ¶
func (*DeleteBucketByUUIDResponse) ProtoMessage()
func (*DeleteBucketByUUIDResponse) ProtoReflect ¶
func (x *DeleteBucketByUUIDResponse) ProtoReflect() protoreflect.Message
func (*DeleteBucketByUUIDResponse) Reset ¶
func (x *DeleteBucketByUUIDResponse) Reset()
func (*DeleteBucketByUUIDResponse) String ¶
func (x *DeleteBucketByUUIDResponse) String() string
type DeleteBucketRequest ¶
type DeleteBucketRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteBucketRequest) Descriptor
deprecated
func (*DeleteBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketRequest.ProtoReflect.Descriptor instead.
func (*DeleteBucketRequest) GetName ¶
func (x *DeleteBucketRequest) GetName() string
func (*DeleteBucketRequest) GetNamespace ¶
func (x *DeleteBucketRequest) GetNamespace() string
func (*DeleteBucketRequest) ProtoMessage ¶
func (*DeleteBucketRequest) ProtoMessage()
func (*DeleteBucketRequest) ProtoReflect ¶
func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message
func (*DeleteBucketRequest) Reset ¶
func (x *DeleteBucketRequest) Reset()
func (*DeleteBucketRequest) String ¶
func (x *DeleteBucketRequest) String() string
type DeleteBucketResponse ¶
type DeleteBucketResponse struct { Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*DeleteBucketResponse) Descriptor
deprecated
func (*DeleteBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketResponse.ProtoReflect.Descriptor instead.
func (*DeleteBucketResponse) GetBucket ¶
func (x *DeleteBucketResponse) GetBucket() *Bucket
func (*DeleteBucketResponse) ProtoMessage ¶
func (*DeleteBucketResponse) ProtoMessage()
func (*DeleteBucketResponse) ProtoReflect ¶
func (x *DeleteBucketResponse) ProtoReflect() protoreflect.Message
func (*DeleteBucketResponse) Reset ¶
func (x *DeleteBucketResponse) Reset()
func (*DeleteBucketResponse) String ¶
func (x *DeleteBucketResponse) String() string
type EnsureBucketRequest ¶
type EnsureBucketRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Hidden bool `protobuf:"varint,3,opt,name=hidden,proto3" json:"hidden,omitempty"` // contains filtered or unexported fields }
func (*EnsureBucketRequest) Descriptor
deprecated
func (*EnsureBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnsureBucketRequest.ProtoReflect.Descriptor instead.
func (*EnsureBucketRequest) GetHidden ¶
func (x *EnsureBucketRequest) GetHidden() bool
func (*EnsureBucketRequest) GetName ¶
func (x *EnsureBucketRequest) GetName() string
func (*EnsureBucketRequest) GetNamespace ¶
func (x *EnsureBucketRequest) GetNamespace() string
func (*EnsureBucketRequest) ProtoMessage ¶
func (*EnsureBucketRequest) ProtoMessage()
func (*EnsureBucketRequest) ProtoReflect ¶
func (x *EnsureBucketRequest) ProtoReflect() protoreflect.Message
func (*EnsureBucketRequest) Reset ¶
func (x *EnsureBucketRequest) Reset()
func (*EnsureBucketRequest) String ¶
func (x *EnsureBucketRequest) String() string
type EnsureBucketResponse ¶
type EnsureBucketResponse struct { Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*EnsureBucketResponse) Descriptor
deprecated
func (*EnsureBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnsureBucketResponse.ProtoReflect.Descriptor instead.
func (*EnsureBucketResponse) GetBucket ¶
func (x *EnsureBucketResponse) GetBucket() *Bucket
func (*EnsureBucketResponse) ProtoMessage ¶
func (*EnsureBucketResponse) ProtoMessage()
func (*EnsureBucketResponse) ProtoReflect ¶
func (x *EnsureBucketResponse) ProtoReflect() protoreflect.Message
func (*EnsureBucketResponse) Reset ¶
func (x *EnsureBucketResponse) Reset()
func (*EnsureBucketResponse) String ¶
func (x *EnsureBucketResponse) String() string
type GetBucketByUUIDRequest ¶
type GetBucketByUUIDRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` UseCache bool `protobuf:"varint,3,opt,name=useCache,proto3" json:"useCache,omitempty"` // contains filtered or unexported fields }
func (*GetBucketByUUIDRequest) Descriptor
deprecated
func (*GetBucketByUUIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBucketByUUIDRequest.ProtoReflect.Descriptor instead.
func (*GetBucketByUUIDRequest) GetNamespace ¶
func (x *GetBucketByUUIDRequest) GetNamespace() string
func (*GetBucketByUUIDRequest) GetUseCache ¶
func (x *GetBucketByUUIDRequest) GetUseCache() bool
func (*GetBucketByUUIDRequest) GetUuid ¶
func (x *GetBucketByUUIDRequest) GetUuid() string
func (*GetBucketByUUIDRequest) ProtoMessage ¶
func (*GetBucketByUUIDRequest) ProtoMessage()
func (*GetBucketByUUIDRequest) ProtoReflect ¶
func (x *GetBucketByUUIDRequest) ProtoReflect() protoreflect.Message
func (*GetBucketByUUIDRequest) Reset ¶
func (x *GetBucketByUUIDRequest) Reset()
func (*GetBucketByUUIDRequest) String ¶
func (x *GetBucketByUUIDRequest) String() string
type GetBucketByUUIDResponse ¶
type GetBucketByUUIDResponse struct { Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*GetBucketByUUIDResponse) Descriptor
deprecated
func (*GetBucketByUUIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBucketByUUIDResponse.ProtoReflect.Descriptor instead.
func (*GetBucketByUUIDResponse) GetBucket ¶
func (x *GetBucketByUUIDResponse) GetBucket() *Bucket
func (*GetBucketByUUIDResponse) ProtoMessage ¶
func (*GetBucketByUUIDResponse) ProtoMessage()
func (*GetBucketByUUIDResponse) ProtoReflect ¶
func (x *GetBucketByUUIDResponse) ProtoReflect() protoreflect.Message
func (*GetBucketByUUIDResponse) Reset ¶
func (x *GetBucketByUUIDResponse) Reset()
func (*GetBucketByUUIDResponse) String ¶
func (x *GetBucketByUUIDResponse) String() string
type GetBucketRequest ¶
type GetBucketRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` UseCache bool `protobuf:"varint,3,opt,name=useCache,proto3" json:"useCache,omitempty"` // contains filtered or unexported fields }
func (*GetBucketRequest) Descriptor
deprecated
func (*GetBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBucketRequest.ProtoReflect.Descriptor instead.
func (*GetBucketRequest) GetName ¶
func (x *GetBucketRequest) GetName() string
func (*GetBucketRequest) GetNamespace ¶
func (x *GetBucketRequest) GetNamespace() string
func (*GetBucketRequest) GetUseCache ¶
func (x *GetBucketRequest) GetUseCache() bool
func (*GetBucketRequest) ProtoMessage ¶
func (*GetBucketRequest) ProtoMessage()
func (*GetBucketRequest) ProtoReflect ¶
func (x *GetBucketRequest) ProtoReflect() protoreflect.Message
func (*GetBucketRequest) Reset ¶
func (x *GetBucketRequest) Reset()
func (*GetBucketRequest) String ¶
func (x *GetBucketRequest) String() string
type GetBucketResponse ¶
type GetBucketResponse struct { Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*GetBucketResponse) Descriptor
deprecated
func (*GetBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBucketResponse.ProtoReflect.Descriptor instead.
func (*GetBucketResponse) GetBucket ¶
func (x *GetBucketResponse) GetBucket() *Bucket
func (*GetBucketResponse) ProtoMessage ¶
func (*GetBucketResponse) ProtoMessage()
func (*GetBucketResponse) ProtoReflect ¶
func (x *GetBucketResponse) ProtoReflect() protoreflect.Message
func (*GetBucketResponse) Reset ¶
func (x *GetBucketResponse) Reset()
func (*GetBucketResponse) String ¶
func (x *GetBucketResponse) String() string
type ListBucketsRequest ¶
type ListBucketsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Skip uint32 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"` Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListBucketsRequest) Descriptor
deprecated
func (*ListBucketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsRequest.ProtoReflect.Descriptor instead.
func (*ListBucketsRequest) GetLimit ¶
func (x *ListBucketsRequest) GetLimit() uint32
func (*ListBucketsRequest) GetNamespace ¶
func (x *ListBucketsRequest) GetNamespace() string
func (*ListBucketsRequest) GetSkip ¶
func (x *ListBucketsRequest) GetSkip() uint32
func (*ListBucketsRequest) ProtoMessage ¶
func (*ListBucketsRequest) ProtoMessage()
func (*ListBucketsRequest) ProtoReflect ¶
func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message
func (*ListBucketsRequest) Reset ¶
func (x *ListBucketsRequest) Reset()
func (*ListBucketsRequest) String ¶
func (x *ListBucketsRequest) String() string
type ListBucketsResponse ¶
type ListBucketsResponse struct { Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*ListBucketsResponse) Descriptor
deprecated
func (*ListBucketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsResponse.ProtoReflect.Descriptor instead.
func (*ListBucketsResponse) GetBucket ¶
func (x *ListBucketsResponse) GetBucket() *Bucket
func (*ListBucketsResponse) ProtoMessage ¶
func (*ListBucketsResponse) ProtoMessage()
func (*ListBucketsResponse) ProtoReflect ¶
func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
func (*ListBucketsResponse) Reset ¶
func (x *ListBucketsResponse) Reset()
func (*ListBucketsResponse) String ¶
func (x *ListBucketsResponse) String() string
type UnimplementedBucketServiceServer ¶
type UnimplementedBucketServiceServer struct { }
UnimplementedBucketServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBucketServiceServer) Count ¶
func (UnimplementedBucketServiceServer) Count(context.Context, *CountBucketsRequest) (*CountBucketsResponse, error)
func (UnimplementedBucketServiceServer) Create ¶
func (UnimplementedBucketServiceServer) Create(context.Context, *CreateBucketRequest) (*CreateBucketResponse, error)
func (UnimplementedBucketServiceServer) Delete ¶
func (UnimplementedBucketServiceServer) Delete(context.Context, *DeleteBucketRequest) (*DeleteBucketResponse, error)
func (UnimplementedBucketServiceServer) DeleteByUUID ¶
func (UnimplementedBucketServiceServer) DeleteByUUID(context.Context, *DeleteBucketByUUIDRequest) (*DeleteBucketByUUIDResponse, error)
func (UnimplementedBucketServiceServer) Ensure ¶
func (UnimplementedBucketServiceServer) Ensure(context.Context, *EnsureBucketRequest) (*EnsureBucketResponse, error)
func (UnimplementedBucketServiceServer) Get ¶
func (UnimplementedBucketServiceServer) Get(context.Context, *GetBucketRequest) (*GetBucketResponse, error)
func (UnimplementedBucketServiceServer) GetByUUID ¶
func (UnimplementedBucketServiceServer) GetByUUID(context.Context, *GetBucketByUUIDRequest) (*GetBucketByUUIDResponse, error)
func (UnimplementedBucketServiceServer) Update ¶
func (UnimplementedBucketServiceServer) Update(context.Context, *UpdateBucketRequest) (*UpdateBucketResponse, error)
type UnsafeBucketServiceServer ¶
type UnsafeBucketServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBucketServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BucketServiceServer will result in compilation errors.
type UpdateBucketRequest ¶
type UpdateBucketRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Hidden bool `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"` // contains filtered or unexported fields }
func (*UpdateBucketRequest) Descriptor
deprecated
func (*UpdateBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBucketRequest.ProtoReflect.Descriptor instead.
func (*UpdateBucketRequest) GetHidden ¶
func (x *UpdateBucketRequest) GetHidden() bool
func (*UpdateBucketRequest) GetName ¶
func (x *UpdateBucketRequest) GetName() string
func (*UpdateBucketRequest) GetNamespace ¶
func (x *UpdateBucketRequest) GetNamespace() string
func (*UpdateBucketRequest) GetUuid ¶
func (x *UpdateBucketRequest) GetUuid() string
func (*UpdateBucketRequest) ProtoMessage ¶
func (*UpdateBucketRequest) ProtoMessage()
func (*UpdateBucketRequest) ProtoReflect ¶
func (x *UpdateBucketRequest) ProtoReflect() protoreflect.Message
func (*UpdateBucketRequest) Reset ¶
func (x *UpdateBucketRequest) Reset()
func (*UpdateBucketRequest) String ¶
func (x *UpdateBucketRequest) String() string
type UpdateBucketResponse ¶
type UpdateBucketResponse struct { Bucket *Bucket `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*UpdateBucketResponse) Descriptor
deprecated
func (*UpdateBucketResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBucketResponse.ProtoReflect.Descriptor instead.
func (*UpdateBucketResponse) GetBucket ¶
func (x *UpdateBucketResponse) GetBucket() *Bucket
func (*UpdateBucketResponse) ProtoMessage ¶
func (*UpdateBucketResponse) ProtoMessage()
func (*UpdateBucketResponse) ProtoReflect ¶
func (x *UpdateBucketResponse) ProtoReflect() protoreflect.Message
func (*UpdateBucketResponse) Reset ¶
func (x *UpdateBucketResponse) Reset()
func (*UpdateBucketResponse) String ¶
func (x *UpdateBucketResponse) String() string