Documentation ¶
Overview ¶
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: drivemount.proto
Index ¶
- Variables
- func RegisterDriveMounterService(srv *ttrpc.Server, svc DriveMounterService)
- type DriveMounterService
- type MountDriveRequest
- func (*MountDriveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MountDriveRequest) GetDestinationPath() string
- func (x *MountDriveRequest) GetDriveID() string
- func (x *MountDriveRequest) GetFilesytemType() string
- func (x *MountDriveRequest) GetOptions() []string
- func (*MountDriveRequest) ProtoMessage()
- func (x *MountDriveRequest) ProtoReflect() protoreflect.Message
- func (x *MountDriveRequest) Reset()
- func (x *MountDriveRequest) String() string
- type UnmountDriveRequest
- func (*UnmountDriveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnmountDriveRequest) GetDriveID() string
- func (*UnmountDriveRequest) ProtoMessage()
- func (x *UnmountDriveRequest) ProtoReflect() protoreflect.Message
- func (x *UnmountDriveRequest) Reset()
- func (x *UnmountDriveRequest) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_drivemount_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDriveMounterService ¶
func RegisterDriveMounterService(srv *ttrpc.Server, svc DriveMounterService)
Types ¶
type DriveMounterService ¶
type DriveMounterService interface { MountDrive(context.Context, *MountDriveRequest) (*emptypb.Empty, error) UnmountDrive(context.Context, *UnmountDriveRequest) (*emptypb.Empty, error) }
func NewDriveMounterClient ¶
func NewDriveMounterClient(client *ttrpc.Client) DriveMounterService
type MountDriveRequest ¶
type MountDriveRequest struct { DriveID string `protobuf:"bytes,1,opt,name=DriveID,proto3" json:"DriveID,omitempty"` DestinationPath string `protobuf:"bytes,2,opt,name=DestinationPath,proto3" json:"DestinationPath,omitempty"` FilesytemType string `protobuf:"bytes,3,opt,name=FilesytemType,proto3" json:"FilesytemType,omitempty"` Options []string `protobuf:"bytes,4,rep,name=Options,proto3" json:"Options,omitempty"` // contains filtered or unexported fields }
func (*MountDriveRequest) Descriptor
deprecated
func (*MountDriveRequest) Descriptor() ([]byte, []int)
Deprecated: Use MountDriveRequest.ProtoReflect.Descriptor instead.
func (*MountDriveRequest) GetDestinationPath ¶
func (x *MountDriveRequest) GetDestinationPath() string
func (*MountDriveRequest) GetDriveID ¶
func (x *MountDriveRequest) GetDriveID() string
func (*MountDriveRequest) GetFilesytemType ¶
func (x *MountDriveRequest) GetFilesytemType() string
func (*MountDriveRequest) GetOptions ¶
func (x *MountDriveRequest) GetOptions() []string
func (*MountDriveRequest) ProtoMessage ¶
func (*MountDriveRequest) ProtoMessage()
func (*MountDriveRequest) ProtoReflect ¶
func (x *MountDriveRequest) ProtoReflect() protoreflect.Message
func (*MountDriveRequest) Reset ¶
func (x *MountDriveRequest) Reset()
func (*MountDriveRequest) String ¶
func (x *MountDriveRequest) String() string
type UnmountDriveRequest ¶
type UnmountDriveRequest struct { DriveID string `protobuf:"bytes,1,opt,name=DriveID,proto3" json:"DriveID,omitempty"` // contains filtered or unexported fields }
func (*UnmountDriveRequest) Descriptor
deprecated
func (*UnmountDriveRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnmountDriveRequest.ProtoReflect.Descriptor instead.
func (*UnmountDriveRequest) GetDriveID ¶
func (x *UnmountDriveRequest) GetDriveID() string
func (*UnmountDriveRequest) ProtoMessage ¶
func (*UnmountDriveRequest) ProtoMessage()
func (*UnmountDriveRequest) ProtoReflect ¶
func (x *UnmountDriveRequest) ProtoReflect() protoreflect.Message
func (*UnmountDriveRequest) Reset ¶
func (x *UnmountDriveRequest) Reset()
func (*UnmountDriveRequest) String ¶
func (x *UnmountDriveRequest) String() string
Click to show internal directories.
Click to hide internal directories.