Documentation ¶
Index ¶
- Variables
- func RegisterShareManagerServiceServer(s *grpc.Server, srv ShareManagerServiceServer)
- type FilesystemTrimRequest
- func (*FilesystemTrimRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemTrimRequest) GetEncryptedDevice() bool
- func (*FilesystemTrimRequest) ProtoMessage()
- func (x *FilesystemTrimRequest) ProtoReflect() protoreflect.Message
- func (x *FilesystemTrimRequest) Reset()
- func (x *FilesystemTrimRequest) String() string
- type ShareManagerHealthCheckServer
- type ShareManagerServer
- func (s *ShareManagerServer) FilesystemTrim(ctx context.Context, req *FilesystemTrimRequest) (resp *emptypb.Empty, err error)
- func (s *ShareManagerServer) Mount(ctx context.Context, req *emptypb.Empty) (resp *emptypb.Empty, err error)
- func (s *ShareManagerServer) Unmount(ctx context.Context, req *emptypb.Empty) (resp *emptypb.Empty, err error)
- type ShareManagerServiceClient
- type ShareManagerServiceServer
- type UnimplementedShareManagerServiceServer
- func (*UnimplementedShareManagerServiceServer) FilesystemTrim(context.Context, *FilesystemTrimRequest) (*emptypb.Empty, error)
- func (*UnimplementedShareManagerServiceServer) Mount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (*UnimplementedShareManagerServiceServer) Unmount(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterShareManagerServiceServer ¶
func RegisterShareManagerServiceServer(s *grpc.Server, srv ShareManagerServiceServer)
Types ¶
type FilesystemTrimRequest ¶
type FilesystemTrimRequest struct { EncryptedDevice bool `protobuf:"varint,1,opt,name=encrypted_device,json=encryptedDevice,proto3" json:"encrypted_device,omitempty"` // contains filtered or unexported fields }
func (*FilesystemTrimRequest) Descriptor
deprecated
func (*FilesystemTrimRequest) Descriptor() ([]byte, []int)
Deprecated: Use FilesystemTrimRequest.ProtoReflect.Descriptor instead.
func (*FilesystemTrimRequest) GetEncryptedDevice ¶
func (x *FilesystemTrimRequest) GetEncryptedDevice() bool
func (*FilesystemTrimRequest) ProtoMessage ¶
func (*FilesystemTrimRequest) ProtoMessage()
func (*FilesystemTrimRequest) ProtoReflect ¶ added in v1.6.0
func (x *FilesystemTrimRequest) ProtoReflect() protoreflect.Message
func (*FilesystemTrimRequest) Reset ¶
func (x *FilesystemTrimRequest) Reset()
func (*FilesystemTrimRequest) String ¶
func (x *FilesystemTrimRequest) String() string
type ShareManagerHealthCheckServer ¶
type ShareManagerHealthCheckServer struct {
// contains filtered or unexported fields
}
func NewShareManagerHealthCheckServer ¶
func NewShareManagerHealthCheckServer(srv *ShareManagerServer) *ShareManagerHealthCheckServer
func (*ShareManagerHealthCheckServer) Check ¶
func (s *ShareManagerHealthCheckServer) Check(context.Context, *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error)
func (*ShareManagerHealthCheckServer) Watch ¶
func (s *ShareManagerHealthCheckServer) Watch(req *healthpb.HealthCheckRequest, ws healthpb.Health_WatchServer) error
type ShareManagerServer ¶
type ShareManagerServer struct { // contains filtered or unexported fields }
func NewShareManagerServer ¶
func NewShareManagerServer(manager *server.ShareManager) *ShareManagerServer
func (*ShareManagerServer) FilesystemTrim ¶
func (s *ShareManagerServer) FilesystemTrim(ctx context.Context, req *FilesystemTrimRequest) (resp *emptypb.Empty, err error)
type ShareManagerServiceClient ¶
type ShareManagerServiceClient interface {}
ShareManagerServiceClient is the client API for ShareManagerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewShareManagerServiceClient ¶
func NewShareManagerServiceClient(cc grpc.ClientConnInterface) ShareManagerServiceClient
type ShareManagerServiceServer ¶
type ShareManagerServiceServer interface {}
ShareManagerServiceServer is the server API for ShareManagerService service.
type UnimplementedShareManagerServiceServer ¶
type UnimplementedShareManagerServiceServer struct { }
UnimplementedShareManagerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedShareManagerServiceServer) FilesystemTrim ¶
func (*UnimplementedShareManagerServiceServer) FilesystemTrim(context.Context, *FilesystemTrimRequest) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.