Documentation ¶
Index ¶
- Variables
- func RegisterSeaweedMountServer(s grpc.ServiceRegistrar, srv SeaweedMountServer)
- type ConfigureRequest
- func (*ConfigureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureRequest) GetCollectionCapacity() int64
- func (*ConfigureRequest) ProtoMessage()
- func (x *ConfigureRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureRequest) Reset()
- func (x *ConfigureRequest) String() string
- type ConfigureResponse
- type SeaweedMountClient
- type SeaweedMountServer
- type UnimplementedSeaweedMountServer
- type UnsafeSeaweedMountServer
Constants ¶
This section is empty.
Variables ¶
var File_mount_proto protoreflect.FileDescriptor
var SeaweedMount_ServiceDesc = grpc.ServiceDesc{ ServiceName: "messaging_pb.SeaweedMount", HandlerType: (*SeaweedMountServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Configure", Handler: _SeaweedMount_Configure_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mount.proto", }
SeaweedMount_ServiceDesc is the grpc.ServiceDesc for SeaweedMount service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSeaweedMountServer ¶
func RegisterSeaweedMountServer(s grpc.ServiceRegistrar, srv SeaweedMountServer)
Types ¶
type ConfigureRequest ¶
type ConfigureRequest struct { CollectionCapacity int64 `protobuf:"varint,1,opt,name=collection_capacity,json=collectionCapacity,proto3" json:"collection_capacity,omitempty"` // contains filtered or unexported fields }
func (*ConfigureRequest) Descriptor
deprecated
func (*ConfigureRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureRequest.ProtoReflect.Descriptor instead.
func (*ConfigureRequest) GetCollectionCapacity ¶
func (x *ConfigureRequest) GetCollectionCapacity() int64
func (*ConfigureRequest) ProtoMessage ¶
func (*ConfigureRequest) ProtoMessage()
func (*ConfigureRequest) ProtoReflect ¶
func (x *ConfigureRequest) ProtoReflect() protoreflect.Message
func (*ConfigureRequest) Reset ¶
func (x *ConfigureRequest) Reset()
func (*ConfigureRequest) String ¶
func (x *ConfigureRequest) String() string
type ConfigureResponse ¶
type ConfigureResponse struct {
// contains filtered or unexported fields
}
func (*ConfigureResponse) Descriptor
deprecated
func (*ConfigureResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureResponse.ProtoReflect.Descriptor instead.
func (*ConfigureResponse) ProtoMessage ¶
func (*ConfigureResponse) ProtoMessage()
func (*ConfigureResponse) ProtoReflect ¶
func (x *ConfigureResponse) ProtoReflect() protoreflect.Message
func (*ConfigureResponse) Reset ¶
func (x *ConfigureResponse) Reset()
func (*ConfigureResponse) String ¶
func (x *ConfigureResponse) String() string
type SeaweedMountClient ¶
type SeaweedMountClient interface {
Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*ConfigureResponse, error)
}
SeaweedMountClient is the client API for SeaweedMount 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 NewSeaweedMountClient ¶
func NewSeaweedMountClient(cc grpc.ClientConnInterface) SeaweedMountClient
type SeaweedMountServer ¶
type SeaweedMountServer interface { Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error) // contains filtered or unexported methods }
SeaweedMountServer is the server API for SeaweedMount service. All implementations must embed UnimplementedSeaweedMountServer for forward compatibility
type UnimplementedSeaweedMountServer ¶
type UnimplementedSeaweedMountServer struct { }
UnimplementedSeaweedMountServer must be embedded to have forward compatible implementations.
func (UnimplementedSeaweedMountServer) Configure ¶
func (UnimplementedSeaweedMountServer) Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error)
type UnsafeSeaweedMountServer ¶
type UnsafeSeaweedMountServer interface {
// contains filtered or unexported methods
}
UnsafeSeaweedMountServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SeaweedMountServer will result in compilation errors.