package external
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
emptypb "google.golang.org/protobuf/types/known/emptypb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type BootScriptsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Scripts map[string][]byte `protobuf:"bytes,1,rep,name=scripts,proto3" json:"scripts,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *BootScriptsResponse) Reset() {
*x = BootScriptsResponse{}
mi := &file_driver_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *BootScriptsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BootScriptsResponse) ProtoMessage() {}
func (x *BootScriptsResponse) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*BootScriptsResponse) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{0}
}
func (x *BootScriptsResponse) GetScripts() map[string][]byte {
if x != nil {
return x.Scripts
}
return nil
}
type SSHAddressResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SSHAddressResponse) Reset() {
*x = SSHAddressResponse{}
mi := &file_driver_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SSHAddressResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SSHAddressResponse) ProtoMessage() {}
func (x *SSHAddressResponse) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SSHAddressResponse) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{1}
}
func (x *SSHAddressResponse) GetAddress() string {
if x != nil {
return x.Address
}
return ""
}
type InfoResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
InfoJson []byte `protobuf:"bytes,1,opt,name=info_json,json=infoJson,proto3" json:"info_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *InfoResponse) Reset() {
*x = InfoResponse{}
mi := &file_driver_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *InfoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InfoResponse) ProtoMessage() {}
func (x *InfoResponse) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*InfoResponse) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{2}
}
func (x *InfoResponse) GetInfoJson() []byte {
if x != nil {
return x.InfoJson
}
return nil
}
type StartResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StartResponse) Reset() {
*x = StartResponse{}
mi := &file_driver_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StartResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StartResponse) ProtoMessage() {}
func (x *StartResponse) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*StartResponse) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{3}
}
func (x *StartResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *StartResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
type SetConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
InstanceConfigJson []byte `protobuf:"bytes,1,opt,name=instance_config_json,json=instanceConfigJson,proto3" json:"instance_config_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetConfigRequest) Reset() {
*x = SetConfigRequest{}
mi := &file_driver_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetConfigRequest) ProtoMessage() {}
func (x *SetConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*SetConfigRequest) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{4}
}
func (x *SetConfigRequest) GetInstanceConfigJson() []byte {
if x != nil {
return x.InstanceConfigJson
}
return nil
}
type ChangeDisplayPasswordRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ChangeDisplayPasswordRequest) Reset() {
*x = ChangeDisplayPasswordRequest{}
mi := &file_driver_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ChangeDisplayPasswordRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangeDisplayPasswordRequest) ProtoMessage() {}
func (x *ChangeDisplayPasswordRequest) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ChangeDisplayPasswordRequest) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{5}
}
func (x *ChangeDisplayPasswordRequest) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
type GetDisplayConnectionResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetDisplayConnectionResponse) Reset() {
*x = GetDisplayConnectionResponse{}
mi := &file_driver_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetDisplayConnectionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDisplayConnectionResponse) ProtoMessage() {}
func (x *GetDisplayConnectionResponse) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*GetDisplayConnectionResponse) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{6}
}
func (x *GetDisplayConnectionResponse) GetConnection() string {
if x != nil {
return x.Connection
}
return ""
}
type CreateSnapshotRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateSnapshotRequest) Reset() {
*x = CreateSnapshotRequest{}
mi := &file_driver_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateSnapshotRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSnapshotRequest) ProtoMessage() {}
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{7}
}
func (x *CreateSnapshotRequest) GetTag() string {
if x != nil {
return x.Tag
}
return ""
}
type ApplySnapshotRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplySnapshotRequest) Reset() {
*x = ApplySnapshotRequest{}
mi := &file_driver_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplySnapshotRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplySnapshotRequest) ProtoMessage() {}
func (x *ApplySnapshotRequest) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ApplySnapshotRequest) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{8}
}
func (x *ApplySnapshotRequest) GetTag() string {
if x != nil {
return x.Tag
}
return ""
}
type DeleteSnapshotRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteSnapshotRequest) Reset() {
*x = DeleteSnapshotRequest{}
mi := &file_driver_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteSnapshotRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteSnapshotRequest) ProtoMessage() {}
func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{9}
}
func (x *DeleteSnapshotRequest) GetTag() string {
if x != nil {
return x.Tag
}
return ""
}
type ListSnapshotsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Snapshots string `protobuf:"bytes,1,opt,name=snapshots,proto3" json:"snapshots,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSnapshotsResponse) Reset() {
*x = ListSnapshotsResponse{}
mi := &file_driver_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSnapshotsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSnapshotsResponse) ProtoMessage() {}
func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ListSnapshotsResponse) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{10}
}
func (x *ListSnapshotsResponse) GetSnapshots() string {
if x != nil {
return x.Snapshots
}
return ""
}
type ForwardGuestAgentResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
ShouldForward bool `protobuf:"varint,1,opt,name=should_forward,json=shouldForward,proto3" json:"should_forward,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ForwardGuestAgentResponse) Reset() {
*x = ForwardGuestAgentResponse{}
mi := &file_driver_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ForwardGuestAgentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ForwardGuestAgentResponse) ProtoMessage() {}
func (x *ForwardGuestAgentResponse) ProtoReflect() protoreflect.Message {
mi := &file_driver_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
func (*ForwardGuestAgentResponse) Descriptor() ([]byte, []int) {
return file_driver_proto_rawDescGZIP(), []int{11}
}
func (x *ForwardGuestAgentResponse) GetShouldForward() bool {
if x != nil {
return x.ShouldForward
}
return false
}
var File_driver_proto protoreflect.FileDescriptor
const file_driver_proto_rawDesc = "" +
"\n" +
"\fdriver.proto\x1a\x1bgoogle/protobuf/empty.proto\"\x8e\x01\n" +
"\x13BootScriptsResponse\x12;\n" +
"\ascripts\x18\x01 \x03(\v2!.BootScriptsResponse.ScriptsEntryR\ascripts\x1a:\n" +
"\fScriptsEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\fR\x05value:\x028\x01\".\n" +
"\x12SSHAddressResponse\x12\x18\n" +
"\aaddress\x18\x01 \x01(\tR\aaddress\"+\n" +
"\fInfoResponse\x12\x1b\n" +
"\tinfo_json\x18\x01 \x01(\fR\binfoJson\"?\n" +
"\rStartResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\"D\n" +
"\x10SetConfigRequest\x120\n" +
"\x14instance_config_json\x18\x01 \x01(\fR\x12instanceConfigJson\":\n" +
"\x1cChangeDisplayPasswordRequest\x12\x1a\n" +
"\bpassword\x18\x01 \x01(\tR\bpassword\">\n" +
"\x1cGetDisplayConnectionResponse\x12\x1e\n" +
"\n" +
"connection\x18\x01 \x01(\tR\n" +
"connection\")\n" +
"\x15CreateSnapshotRequest\x12\x10\n" +
"\x03tag\x18\x01 \x01(\tR\x03tag\"(\n" +
"\x14ApplySnapshotRequest\x12\x10\n" +
"\x03tag\x18\x01 \x01(\tR\x03tag\")\n" +
"\x15DeleteSnapshotRequest\x12\x10\n" +
"\x03tag\x18\x01 \x01(\tR\x03tag\"5\n" +
"\x15ListSnapshotsResponse\x12\x1c\n" +
"\tsnapshots\x18\x01 \x01(\tR\tsnapshots\"B\n" +
"\x19ForwardGuestAgentResponse\x12%\n" +
"\x0eshould_forward\x18\x01 \x01(\bR\rshouldForward2\xf2\t\n" +
"\x06Driver\x12:\n" +
"\bValidate\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x128\n" +
"\x06Create\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12<\n" +
"\n" +
"CreateDisk\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x121\n" +
"\x05Start\x12\x16.google.protobuf.Empty\x1a\x0e.StartResponse0\x01\x126\n" +
"\x04Stop\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x128\n" +
"\x06Delete\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12;\n" +
"\vBootScripts\x12\x16.google.protobuf.Empty\x1a\x14.BootScriptsResponse\x128\n" +
"\x06RunGUI\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x12N\n" +
"\x15ChangeDisplayPassword\x12\x1d.ChangeDisplayPasswordRequest\x1a\x16.google.protobuf.Empty\x12M\n" +
"\x14GetDisplayConnection\x12\x16.google.protobuf.Empty\x1a\x1d.GetDisplayConnectionResponse\x12@\n" +
"\x0eCreateSnapshot\x12\x16.CreateSnapshotRequest\x1a\x16.google.protobuf.Empty\x12>\n" +
"\rApplySnapshot\x12\x15.ApplySnapshotRequest\x1a\x16.google.protobuf.Empty\x12@\n" +
"\x0eDeleteSnapshot\x12\x16.DeleteSnapshotRequest\x1a\x16.google.protobuf.Empty\x12?\n" +
"\rListSnapshots\x12\x16.google.protobuf.Empty\x1a\x16.ListSnapshotsResponse\x12G\n" +
"\x11ForwardGuestAgent\x12\x16.google.protobuf.Empty\x1a\x1a.ForwardGuestAgentResponse\x12@\n" +
"\x0eGuestAgentConn\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\x126\n" +
"\tConfigure\x12\x11.SetConfigRequest\x1a\x16.google.protobuf.Empty\x12-\n" +
"\x04Info\x12\x16.google.protobuf.Empty\x1a\r.InfoResponse\x129\n" +
"\n" +
"SSHAddress\x12\x16.google.protobuf.Empty\x1a\x13.SSHAddressResponse\x12G\n" +
"\x15AdditionalSetupForSSH\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.EmptyB0Z.github.com/lima-vm/lima/v2/pkg/driver/externalb\x06proto3"
var (
file_driver_proto_rawDescOnce sync.Once
file_driver_proto_rawDescData []byte
)
func file_driver_proto_rawDescGZIP() []byte {
file_driver_proto_rawDescOnce.Do(func() {
file_driver_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_driver_proto_rawDesc), len(file_driver_proto_rawDesc)))
})
return file_driver_proto_rawDescData
}
var file_driver_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_driver_proto_goTypes = []any{
(*BootScriptsResponse)(nil),
(*SSHAddressResponse)(nil),
(*InfoResponse)(nil),
(*StartResponse)(nil),
(*SetConfigRequest)(nil),
(*ChangeDisplayPasswordRequest)(nil),
(*GetDisplayConnectionResponse)(nil),
(*CreateSnapshotRequest)(nil),
(*ApplySnapshotRequest)(nil),
(*DeleteSnapshotRequest)(nil),
(*ListSnapshotsResponse)(nil),
(*ForwardGuestAgentResponse)(nil),
nil,
(*emptypb.Empty)(nil),
}
var file_driver_proto_depIdxs = []int32{
12,
13,
13,
13,
13,
13,
13,
13,
13,
5,
13,
7,
8,
9,
13,
13,
13,
4,
13,
13,
13,
13,
13,
13,
3,
13,
13,
0,
13,
13,
6,
13,
13,
13,
10,
11,
13,
13,
2,
1,
13,
21,
1,
1,
1,
0,
}
func init() { file_driver_proto_init() }
func file_driver_proto_init() {
if File_driver_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_driver_proto_rawDesc), len(file_driver_proto_rawDesc)),
NumEnums: 0,
NumMessages: 13,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_driver_proto_goTypes,
DependencyIndexes: file_driver_proto_depIdxs,
MessageInfos: file_driver_proto_msgTypes,
}.Build()
File_driver_proto = out.File
file_driver_proto_goTypes = nil
file_driver_proto_depIdxs = nil
}