drivemount

package
v0.0.0-...-73f17ac Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: drivemount.proto

Index

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

Jump to

Keyboard shortcuts

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