Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDriverServer(s grpc.ServiceRegistrar, srv DriverServer)
- type ApplySnapshotRequest
- func (*ApplySnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplySnapshotRequest) GetTag() string
- func (*ApplySnapshotRequest) ProtoMessage()
- func (x *ApplySnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *ApplySnapshotRequest) Reset()
- func (x *ApplySnapshotRequest) String() string
- type BootScriptsResponse
- func (*BootScriptsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BootScriptsResponse) GetScripts() map[string][]byte
- func (*BootScriptsResponse) ProtoMessage()
- func (x *BootScriptsResponse) ProtoReflect() protoreflect.Message
- func (x *BootScriptsResponse) Reset()
- func (x *BootScriptsResponse) String() string
- type ChangeDisplayPasswordRequest
- func (*ChangeDisplayPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeDisplayPasswordRequest) GetPassword() string
- func (*ChangeDisplayPasswordRequest) ProtoMessage()
- func (x *ChangeDisplayPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeDisplayPasswordRequest) Reset()
- func (x *ChangeDisplayPasswordRequest) String() string
- type CreateSnapshotRequest
- func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotRequest) GetTag() string
- func (*CreateSnapshotRequest) ProtoMessage()
- func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotRequest) Reset()
- func (x *CreateSnapshotRequest) String() string
- type DeleteSnapshotRequest
- func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSnapshotRequest) GetTag() string
- func (*DeleteSnapshotRequest) ProtoMessage()
- func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSnapshotRequest) Reset()
- func (x *DeleteSnapshotRequest) String() string
- type DriverClient
- type DriverServer
- type Driver_StartClient
- type Driver_StartServer
- type ForwardGuestAgentResponse
- func (*ForwardGuestAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ForwardGuestAgentResponse) GetShouldForward() bool
- func (*ForwardGuestAgentResponse) ProtoMessage()
- func (x *ForwardGuestAgentResponse) ProtoReflect() protoreflect.Message
- func (x *ForwardGuestAgentResponse) Reset()
- func (x *ForwardGuestAgentResponse) String() string
- type GetDisplayConnectionResponse
- func (*GetDisplayConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDisplayConnectionResponse) GetConnection() string
- func (*GetDisplayConnectionResponse) ProtoMessage()
- func (x *GetDisplayConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetDisplayConnectionResponse) Reset()
- func (x *GetDisplayConnectionResponse) String() string
- type InfoResponse
- type ListSnapshotsResponse
- func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSnapshotsResponse) GetSnapshots() string
- func (*ListSnapshotsResponse) ProtoMessage()
- func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSnapshotsResponse) Reset()
- func (x *ListSnapshotsResponse) String() string
- type SSHAddressResponse
- func (*SSHAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SSHAddressResponse) GetAddress() string
- func (*SSHAddressResponse) ProtoMessage()
- func (x *SSHAddressResponse) ProtoReflect() protoreflect.Message
- func (x *SSHAddressResponse) Reset()
- func (x *SSHAddressResponse) String() string
- type SetConfigRequest
- func (*SetConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetConfigRequest) GetInstanceConfigJson() []byte
- func (*SetConfigRequest) ProtoMessage()
- func (x *SetConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SetConfigRequest) Reset()
- func (x *SetConfigRequest) String() string
- type StartResponse
- func (*StartResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartResponse) GetError() string
- func (x *StartResponse) GetSuccess() bool
- func (*StartResponse) ProtoMessage()
- func (x *StartResponse) ProtoReflect() protoreflect.Message
- func (x *StartResponse) Reset()
- func (x *StartResponse) String() string
- type UnimplementedDriverServer
- func (UnimplementedDriverServer) ApplySnapshot(context.Context, *ApplySnapshotRequest) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) BootScripts(context.Context, *emptypb.Empty) (*BootScriptsResponse, error)
- func (UnimplementedDriverServer) ChangeDisplayPassword(context.Context, *ChangeDisplayPasswordRequest) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) Configure(context.Context, *SetConfigRequest) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) Create(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) CreateDisk(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) Delete(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) ForwardGuestAgent(context.Context, *emptypb.Empty) (*ForwardGuestAgentResponse, error)
- func (UnimplementedDriverServer) GetDisplayConnection(context.Context, *emptypb.Empty) (*GetDisplayConnectionResponse, error)
- func (UnimplementedDriverServer) GuestAgentConn(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) Info(context.Context, *emptypb.Empty) (*InfoResponse, error)
- func (UnimplementedDriverServer) ListSnapshots(context.Context, *emptypb.Empty) (*ListSnapshotsResponse, error)
- func (UnimplementedDriverServer) RunGUI(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) SSHAddress(context.Context, *emptypb.Empty) (*SSHAddressResponse, error)
- func (UnimplementedDriverServer) Start(*emptypb.Empty, grpc.ServerStreamingServer[StartResponse]) error
- func (UnimplementedDriverServer) Stop(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedDriverServer) Validate(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- type UnsafeDriverServer
Constants ¶
const ( Driver_Validate_FullMethodName = "/Driver/Validate" Driver_Create_FullMethodName = "/Driver/Create" Driver_CreateDisk_FullMethodName = "/Driver/CreateDisk" Driver_Start_FullMethodName = "/Driver/Start" Driver_Stop_FullMethodName = "/Driver/Stop" Driver_Delete_FullMethodName = "/Driver/Delete" Driver_BootScripts_FullMethodName = "/Driver/BootScripts" Driver_RunGUI_FullMethodName = "/Driver/RunGUI" Driver_ChangeDisplayPassword_FullMethodName = "/Driver/ChangeDisplayPassword" Driver_GetDisplayConnection_FullMethodName = "/Driver/GetDisplayConnection" Driver_CreateSnapshot_FullMethodName = "/Driver/CreateSnapshot" Driver_ApplySnapshot_FullMethodName = "/Driver/ApplySnapshot" Driver_DeleteSnapshot_FullMethodName = "/Driver/DeleteSnapshot" Driver_ListSnapshots_FullMethodName = "/Driver/ListSnapshots" Driver_ForwardGuestAgent_FullMethodName = "/Driver/ForwardGuestAgent" Driver_GuestAgentConn_FullMethodName = "/Driver/GuestAgentConn" Driver_Configure_FullMethodName = "/Driver/Configure" Driver_Info_FullMethodName = "/Driver/Info" Driver_SSHAddress_FullMethodName = "/Driver/SSHAddress" )
Variables ¶
var Driver_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Driver", HandlerType: (*DriverServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Validate", Handler: _Driver_Validate_Handler, }, { MethodName: "Create", Handler: _Driver_Create_Handler, }, { MethodName: "CreateDisk", Handler: _Driver_CreateDisk_Handler, }, { MethodName: "Stop", Handler: _Driver_Stop_Handler, }, { MethodName: "Delete", Handler: _Driver_Delete_Handler, }, { MethodName: "BootScripts", Handler: _Driver_BootScripts_Handler, }, { MethodName: "RunGUI", Handler: _Driver_RunGUI_Handler, }, { MethodName: "ChangeDisplayPassword", Handler: _Driver_ChangeDisplayPassword_Handler, }, { MethodName: "GetDisplayConnection", Handler: _Driver_GetDisplayConnection_Handler, }, { MethodName: "CreateSnapshot", Handler: _Driver_CreateSnapshot_Handler, }, { MethodName: "ApplySnapshot", Handler: _Driver_ApplySnapshot_Handler, }, { MethodName: "DeleteSnapshot", Handler: _Driver_DeleteSnapshot_Handler, }, { MethodName: "ListSnapshots", Handler: _Driver_ListSnapshots_Handler, }, { MethodName: "ForwardGuestAgent", Handler: _Driver_ForwardGuestAgent_Handler, }, { MethodName: "GuestAgentConn", Handler: _Driver_GuestAgentConn_Handler, }, { MethodName: "Configure", Handler: _Driver_Configure_Handler, }, { MethodName: "Info", Handler: _Driver_Info_Handler, }, { MethodName: "SSHAddress", Handler: _Driver_SSHAddress_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Start", Handler: _Driver_Start_Handler, ServerStreams: true, }, }, Metadata: "driver.proto", }
Driver_ServiceDesc is the grpc.ServiceDesc for Driver service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_driver_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDriverServer ¶
func RegisterDriverServer(s grpc.ServiceRegistrar, srv DriverServer)
Types ¶
type ApplySnapshotRequest ¶
type ApplySnapshotRequest struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*ApplySnapshotRequest) Descriptor
deprecated
func (*ApplySnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplySnapshotRequest.ProtoReflect.Descriptor instead.
func (*ApplySnapshotRequest) GetTag ¶
func (x *ApplySnapshotRequest) GetTag() string
func (*ApplySnapshotRequest) ProtoMessage ¶
func (*ApplySnapshotRequest) ProtoMessage()
func (*ApplySnapshotRequest) ProtoReflect ¶
func (x *ApplySnapshotRequest) ProtoReflect() protoreflect.Message
func (*ApplySnapshotRequest) Reset ¶
func (x *ApplySnapshotRequest) Reset()
func (*ApplySnapshotRequest) String ¶
func (x *ApplySnapshotRequest) String() string
type BootScriptsResponse ¶
type BootScriptsResponse struct { Scripts map[string][]byte `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BootScriptsResponse) Descriptor
deprecated
func (*BootScriptsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BootScriptsResponse.ProtoReflect.Descriptor instead.
func (*BootScriptsResponse) GetScripts ¶
func (x *BootScriptsResponse) GetScripts() map[string][]byte
func (*BootScriptsResponse) ProtoMessage ¶
func (*BootScriptsResponse) ProtoMessage()
func (*BootScriptsResponse) ProtoReflect ¶
func (x *BootScriptsResponse) ProtoReflect() protoreflect.Message
func (*BootScriptsResponse) Reset ¶
func (x *BootScriptsResponse) Reset()
func (*BootScriptsResponse) String ¶
func (x *BootScriptsResponse) String() string
type ChangeDisplayPasswordRequest ¶
type ChangeDisplayPasswordRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*ChangeDisplayPasswordRequest) Descriptor
deprecated
func (*ChangeDisplayPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeDisplayPasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangeDisplayPasswordRequest) GetPassword ¶
func (x *ChangeDisplayPasswordRequest) GetPassword() string
func (*ChangeDisplayPasswordRequest) ProtoMessage ¶
func (*ChangeDisplayPasswordRequest) ProtoMessage()
func (*ChangeDisplayPasswordRequest) ProtoReflect ¶
func (x *ChangeDisplayPasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangeDisplayPasswordRequest) Reset ¶
func (x *ChangeDisplayPasswordRequest) Reset()
func (*ChangeDisplayPasswordRequest) String ¶
func (x *ChangeDisplayPasswordRequest) String() string
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*CreateSnapshotRequest) Descriptor
deprecated
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateSnapshotRequest) GetTag ¶
func (x *CreateSnapshotRequest) GetTag() string
func (*CreateSnapshotRequest) ProtoMessage ¶
func (*CreateSnapshotRequest) ProtoMessage()
func (*CreateSnapshotRequest) ProtoReflect ¶
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateSnapshotRequest) Reset ¶
func (x *CreateSnapshotRequest) Reset()
func (*CreateSnapshotRequest) String ¶
func (x *CreateSnapshotRequest) String() string
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*DeleteSnapshotRequest) Descriptor
deprecated
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotRequest) GetTag ¶
func (x *DeleteSnapshotRequest) GetTag() string
func (*DeleteSnapshotRequest) ProtoMessage ¶
func (*DeleteSnapshotRequest) ProtoMessage()
func (*DeleteSnapshotRequest) ProtoReflect ¶
func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotRequest) Reset ¶
func (x *DeleteSnapshotRequest) Reset()
func (*DeleteSnapshotRequest) String ¶
func (x *DeleteSnapshotRequest) String() string
type DriverClient ¶
type DriverClient interface { Validate(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Create(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateDisk(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Start(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[StartResponse], error) Stop(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Delete(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) BootScripts(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BootScriptsResponse, error) RunGUI(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) ChangeDisplayPassword(ctx context.Context, in *ChangeDisplayPasswordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetDisplayConnection(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetDisplayConnectionResponse, error) CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ApplySnapshot(ctx context.Context, in *ApplySnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ListSnapshots(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSnapshotsResponse, error) ForwardGuestAgent(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ForwardGuestAgentResponse, error) GuestAgentConn(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) Configure(ctx context.Context, in *SetConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Info(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*InfoResponse, error) SSHAddress(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*SSHAddressResponse, error) }
DriverClient is the client API for Driver service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDriverClient ¶
func NewDriverClient(cc grpc.ClientConnInterface) DriverClient
type DriverServer ¶
type DriverServer interface { Validate(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Create(context.Context, *emptypb.Empty) (*emptypb.Empty, error) CreateDisk(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Start(*emptypb.Empty, grpc.ServerStreamingServer[StartResponse]) error Stop(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Delete(context.Context, *emptypb.Empty) (*emptypb.Empty, error) BootScripts(context.Context, *emptypb.Empty) (*BootScriptsResponse, error) RunGUI(context.Context, *emptypb.Empty) (*emptypb.Empty, error) ChangeDisplayPassword(context.Context, *ChangeDisplayPasswordRequest) (*emptypb.Empty, error) GetDisplayConnection(context.Context, *emptypb.Empty) (*GetDisplayConnectionResponse, error) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*emptypb.Empty, error) ApplySnapshot(context.Context, *ApplySnapshotRequest) (*emptypb.Empty, error) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*emptypb.Empty, error) ListSnapshots(context.Context, *emptypb.Empty) (*ListSnapshotsResponse, error) ForwardGuestAgent(context.Context, *emptypb.Empty) (*ForwardGuestAgentResponse, error) GuestAgentConn(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Configure(context.Context, *SetConfigRequest) (*emptypb.Empty, error) Info(context.Context, *emptypb.Empty) (*InfoResponse, error) SSHAddress(context.Context, *emptypb.Empty) (*SSHAddressResponse, error) // contains filtered or unexported methods }
DriverServer is the server API for Driver service. All implementations must embed UnimplementedDriverServer for forward compatibility.
type Driver_StartClient ¶
type Driver_StartClient = grpc.ServerStreamingClient[StartResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Driver_StartServer ¶
type Driver_StartServer = grpc.ServerStreamingServer[StartResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ForwardGuestAgentResponse ¶
type ForwardGuestAgentResponse struct { ShouldForward bool `protobuf:"varint,1,opt,name=should_forward,json=shouldForward,proto3" json:"should_forward,omitempty"` // contains filtered or unexported fields }
func (*ForwardGuestAgentResponse) Descriptor
deprecated
func (*ForwardGuestAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForwardGuestAgentResponse.ProtoReflect.Descriptor instead.
func (*ForwardGuestAgentResponse) GetShouldForward ¶
func (x *ForwardGuestAgentResponse) GetShouldForward() bool
func (*ForwardGuestAgentResponse) ProtoMessage ¶
func (*ForwardGuestAgentResponse) ProtoMessage()
func (*ForwardGuestAgentResponse) ProtoReflect ¶
func (x *ForwardGuestAgentResponse) ProtoReflect() protoreflect.Message
func (*ForwardGuestAgentResponse) Reset ¶
func (x *ForwardGuestAgentResponse) Reset()
func (*ForwardGuestAgentResponse) String ¶
func (x *ForwardGuestAgentResponse) String() string
type GetDisplayConnectionResponse ¶
type GetDisplayConnectionResponse struct { Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"` // contains filtered or unexported fields }
func (*GetDisplayConnectionResponse) Descriptor
deprecated
func (*GetDisplayConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDisplayConnectionResponse.ProtoReflect.Descriptor instead.
func (*GetDisplayConnectionResponse) GetConnection ¶
func (x *GetDisplayConnectionResponse) GetConnection() string
func (*GetDisplayConnectionResponse) ProtoMessage ¶
func (*GetDisplayConnectionResponse) ProtoMessage()
func (*GetDisplayConnectionResponse) ProtoReflect ¶
func (x *GetDisplayConnectionResponse) ProtoReflect() protoreflect.Message
func (*GetDisplayConnectionResponse) Reset ¶
func (x *GetDisplayConnectionResponse) Reset()
func (*GetDisplayConnectionResponse) String ¶
func (x *GetDisplayConnectionResponse) String() string
type InfoResponse ¶
type InfoResponse struct { InfoJson []byte `protobuf:"bytes,1,opt,name=info_json,json=infoJson,proto3" json:"info_json,omitempty"` // contains filtered or unexported fields }
func (*InfoResponse) Descriptor
deprecated
func (*InfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use InfoResponse.ProtoReflect.Descriptor instead.
func (*InfoResponse) GetInfoJson ¶
func (x *InfoResponse) GetInfoJson() []byte
func (*InfoResponse) ProtoMessage ¶
func (*InfoResponse) ProtoMessage()
func (*InfoResponse) ProtoReflect ¶
func (x *InfoResponse) ProtoReflect() protoreflect.Message
func (*InfoResponse) Reset ¶
func (x *InfoResponse) Reset()
func (*InfoResponse) String ¶
func (x *InfoResponse) String() string
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { Snapshots string `protobuf:"bytes,1,opt,name=snapshots,proto3" json:"snapshots,omitempty"` // contains filtered or unexported fields }
func (*ListSnapshotsResponse) Descriptor
deprecated
func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSnapshotsResponse.ProtoReflect.Descriptor instead.
func (*ListSnapshotsResponse) GetSnapshots ¶
func (x *ListSnapshotsResponse) GetSnapshots() string
func (*ListSnapshotsResponse) ProtoMessage ¶
func (*ListSnapshotsResponse) ProtoMessage()
func (*ListSnapshotsResponse) ProtoReflect ¶
func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message
func (*ListSnapshotsResponse) Reset ¶
func (x *ListSnapshotsResponse) Reset()
func (*ListSnapshotsResponse) String ¶
func (x *ListSnapshotsResponse) String() string
type SSHAddressResponse ¶
type SSHAddressResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*SSHAddressResponse) Descriptor
deprecated
func (*SSHAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use SSHAddressResponse.ProtoReflect.Descriptor instead.
func (*SSHAddressResponse) GetAddress ¶
func (x *SSHAddressResponse) GetAddress() string
func (*SSHAddressResponse) ProtoMessage ¶
func (*SSHAddressResponse) ProtoMessage()
func (*SSHAddressResponse) ProtoReflect ¶
func (x *SSHAddressResponse) ProtoReflect() protoreflect.Message
func (*SSHAddressResponse) Reset ¶
func (x *SSHAddressResponse) Reset()
func (*SSHAddressResponse) String ¶
func (x *SSHAddressResponse) String() string
type SetConfigRequest ¶
type SetConfigRequest struct { InstanceConfigJson []byte `protobuf:"bytes,1,opt,name=instance_config_json,json=instanceConfigJson,proto3" json:"instance_config_json,omitempty"` // contains filtered or unexported fields }
func (*SetConfigRequest) Descriptor
deprecated
func (*SetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetConfigRequest.ProtoReflect.Descriptor instead.
func (*SetConfigRequest) GetInstanceConfigJson ¶
func (x *SetConfigRequest) GetInstanceConfigJson() []byte
func (*SetConfigRequest) ProtoMessage ¶
func (*SetConfigRequest) ProtoMessage()
func (*SetConfigRequest) ProtoReflect ¶
func (x *SetConfigRequest) ProtoReflect() protoreflect.Message
func (*SetConfigRequest) Reset ¶
func (x *SetConfigRequest) Reset()
func (*SetConfigRequest) String ¶
func (x *SetConfigRequest) String() string
type StartResponse ¶
type StartResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*StartResponse) Descriptor
deprecated
func (*StartResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
func (*StartResponse) GetError ¶
func (x *StartResponse) GetError() string
func (*StartResponse) GetSuccess ¶
func (x *StartResponse) GetSuccess() bool
func (*StartResponse) ProtoMessage ¶
func (*StartResponse) ProtoMessage()
func (*StartResponse) ProtoReflect ¶
func (x *StartResponse) ProtoReflect() protoreflect.Message
func (*StartResponse) Reset ¶
func (x *StartResponse) Reset()
func (*StartResponse) String ¶
func (x *StartResponse) String() string
type UnimplementedDriverServer ¶
type UnimplementedDriverServer struct{}
UnimplementedDriverServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDriverServer) ApplySnapshot ¶
func (UnimplementedDriverServer) ApplySnapshot(context.Context, *ApplySnapshotRequest) (*emptypb.Empty, error)
func (UnimplementedDriverServer) BootScripts ¶
func (UnimplementedDriverServer) BootScripts(context.Context, *emptypb.Empty) (*BootScriptsResponse, error)
func (UnimplementedDriverServer) ChangeDisplayPassword ¶
func (UnimplementedDriverServer) ChangeDisplayPassword(context.Context, *ChangeDisplayPasswordRequest) (*emptypb.Empty, error)
func (UnimplementedDriverServer) Configure ¶
func (UnimplementedDriverServer) Configure(context.Context, *SetConfigRequest) (*emptypb.Empty, error)
func (UnimplementedDriverServer) CreateDisk ¶
func (UnimplementedDriverServer) CreateSnapshot ¶
func (UnimplementedDriverServer) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*emptypb.Empty, error)
func (UnimplementedDriverServer) DeleteSnapshot ¶
func (UnimplementedDriverServer) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*emptypb.Empty, error)
func (UnimplementedDriverServer) ForwardGuestAgent ¶
func (UnimplementedDriverServer) ForwardGuestAgent(context.Context, *emptypb.Empty) (*ForwardGuestAgentResponse, error)
func (UnimplementedDriverServer) GetDisplayConnection ¶
func (UnimplementedDriverServer) GetDisplayConnection(context.Context, *emptypb.Empty) (*GetDisplayConnectionResponse, error)
func (UnimplementedDriverServer) GuestAgentConn ¶
func (UnimplementedDriverServer) Info ¶
func (UnimplementedDriverServer) Info(context.Context, *emptypb.Empty) (*InfoResponse, error)
func (UnimplementedDriverServer) ListSnapshots ¶
func (UnimplementedDriverServer) ListSnapshots(context.Context, *emptypb.Empty) (*ListSnapshotsResponse, error)
func (UnimplementedDriverServer) SSHAddress ¶
func (UnimplementedDriverServer) SSHAddress(context.Context, *emptypb.Empty) (*SSHAddressResponse, error)
func (UnimplementedDriverServer) Start ¶
func (UnimplementedDriverServer) Start(*emptypb.Empty, grpc.ServerStreamingServer[StartResponse]) error
type UnsafeDriverServer ¶
type UnsafeDriverServer interface {
// contains filtered or unexported methods
}
UnsafeDriverServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DriverServer will result in compilation errors.