Documentation
¶
Overview ¶
Package mount provides the MountService for mounting filesystems inside VMs.
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: proto/nerdbox/services/mount/v1/mount.proto
Index ¶
- Variables
- func RegisterTTRPCMountService(srv *ttrpc.Server, svc TTRPCMountService)
- type MountAllRequest
- type MountAllResponse
- type MountSpec
- func (*MountSpec) Descriptor() ([]byte, []int)deprecated
- func (x *MountSpec) GetOptions() []string
- func (x *MountSpec) GetSource() string
- func (x *MountSpec) GetTarget() string
- func (x *MountSpec) GetType() string
- func (*MountSpec) ProtoMessage()
- func (x *MountSpec) ProtoReflect() protoreflect.Message
- func (x *MountSpec) Reset()
- func (x *MountSpec) String() string
- type TTRPCMountService
- type UnmountAllRequest
- type UnmountAllResponse
- type UnmountRequest
- type UnmountResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_nerdbox_services_mount_v1_mount_proto protoreflect.FileDescriptor
Functions ¶
func RegisterTTRPCMountService ¶
func RegisterTTRPCMountService(srv *ttrpc.Server, svc TTRPCMountService)
Types ¶
type MountAllRequest ¶
type MountAllRequest struct {
Mounts []*MountSpec `protobuf:"bytes,1,rep,name=mounts,proto3" json:"mounts,omitempty"`
// contains filtered or unexported fields
}
func (*MountAllRequest) Descriptor
deprecated
func (*MountAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use MountAllRequest.ProtoReflect.Descriptor instead.
func (*MountAllRequest) GetMounts ¶
func (x *MountAllRequest) GetMounts() []*MountSpec
func (*MountAllRequest) ProtoMessage ¶
func (*MountAllRequest) ProtoMessage()
func (*MountAllRequest) ProtoReflect ¶
func (x *MountAllRequest) ProtoReflect() protoreflect.Message
func (*MountAllRequest) Reset ¶
func (x *MountAllRequest) Reset()
func (*MountAllRequest) String ¶
func (x *MountAllRequest) String() string
type MountAllResponse ¶
type MountAllResponse struct {
// contains filtered or unexported fields
}
func (*MountAllResponse) Descriptor
deprecated
func (*MountAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use MountAllResponse.ProtoReflect.Descriptor instead.
func (*MountAllResponse) ProtoMessage ¶
func (*MountAllResponse) ProtoMessage()
func (*MountAllResponse) ProtoReflect ¶
func (x *MountAllResponse) ProtoReflect() protoreflect.Message
func (*MountAllResponse) Reset ¶
func (x *MountAllResponse) Reset()
func (*MountAllResponse) String ¶
func (x *MountAllResponse) String() string
type MountSpec ¶
type MountSpec struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // in-VM path or virtiofs tag
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // in-VM path
Options []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*MountSpec) Descriptor
deprecated
func (*MountSpec) GetOptions ¶
func (*MountSpec) ProtoMessage ¶
func (*MountSpec) ProtoMessage()
func (*MountSpec) ProtoReflect ¶
func (x *MountSpec) ProtoReflect() protoreflect.Message
type TTRPCMountService ¶
type TTRPCMountService interface {
MountAll(context.Context, *MountAllRequest) (*MountAllResponse, error)
Unmount(context.Context, *UnmountRequest) (*UnmountResponse, error)
UnmountAll(context.Context, *UnmountAllRequest) (*UnmountAllResponse, error)
}
func NewTTRPCMountClient ¶
func NewTTRPCMountClient(client *ttrpc.Client) TTRPCMountService
type UnmountAllRequest ¶
type UnmountAllRequest struct {
// contains filtered or unexported fields
}
func (*UnmountAllRequest) Descriptor
deprecated
func (*UnmountAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnmountAllRequest.ProtoReflect.Descriptor instead.
func (*UnmountAllRequest) ProtoMessage ¶
func (*UnmountAllRequest) ProtoMessage()
func (*UnmountAllRequest) ProtoReflect ¶
func (x *UnmountAllRequest) ProtoReflect() protoreflect.Message
func (*UnmountAllRequest) Reset ¶
func (x *UnmountAllRequest) Reset()
func (*UnmountAllRequest) String ¶
func (x *UnmountAllRequest) String() string
type UnmountAllResponse ¶
type UnmountAllResponse struct {
// contains filtered or unexported fields
}
func (*UnmountAllResponse) Descriptor
deprecated
func (*UnmountAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnmountAllResponse.ProtoReflect.Descriptor instead.
func (*UnmountAllResponse) ProtoMessage ¶
func (*UnmountAllResponse) ProtoMessage()
func (*UnmountAllResponse) ProtoReflect ¶
func (x *UnmountAllResponse) ProtoReflect() protoreflect.Message
func (*UnmountAllResponse) Reset ¶
func (x *UnmountAllResponse) Reset()
func (*UnmountAllResponse) String ¶
func (x *UnmountAllResponse) String() string
type UnmountRequest ¶
type UnmountRequest struct {
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // in-VM path
// contains filtered or unexported fields
}
func (*UnmountRequest) Descriptor
deprecated
func (*UnmountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnmountRequest.ProtoReflect.Descriptor instead.
func (*UnmountRequest) GetTarget ¶
func (x *UnmountRequest) GetTarget() string
func (*UnmountRequest) ProtoMessage ¶
func (*UnmountRequest) ProtoMessage()
func (*UnmountRequest) ProtoReflect ¶
func (x *UnmountRequest) ProtoReflect() protoreflect.Message
func (*UnmountRequest) Reset ¶
func (x *UnmountRequest) Reset()
func (*UnmountRequest) String ¶
func (x *UnmountRequest) String() string
type UnmountResponse ¶
type UnmountResponse struct {
// contains filtered or unexported fields
}
func (*UnmountResponse) Descriptor
deprecated
func (*UnmountResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnmountResponse.ProtoReflect.Descriptor instead.
func (*UnmountResponse) ProtoMessage ¶
func (*UnmountResponse) ProtoMessage()
func (*UnmountResponse) ProtoReflect ¶
func (x *UnmountResponse) ProtoReflect() protoreflect.Message
func (*UnmountResponse) Reset ¶
func (x *UnmountResponse) Reset()
func (*UnmountResponse) String ¶
func (x *UnmountResponse) String() string
Click to show internal directories.
Click to hide internal directories.