mount_pb

package
v0.0.0-...-0b345dd Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mount_proto protoreflect.FileDescriptor
View Source
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.

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

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.

Jump to

Keyboard shortcuts

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