Documentation
¶
Overview ¶
Package wilco provides the WilcoService
Index ¶
- Variables
- func RegisterPowerMenuServiceServer(s *grpc.Server, srv PowerMenuServiceServer)
- func RegisterWilcoServiceServer(s *grpc.Server, srv WilcoServiceServer)
- type DiagnosticRoutineStatus
- func (DiagnosticRoutineStatus) Descriptor() protoreflect.EnumDescriptor
- func (x DiagnosticRoutineStatus) Enum() *DiagnosticRoutineStatus
- func (DiagnosticRoutineStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x DiagnosticRoutineStatus) Number() protoreflect.EnumNumber
- func (x DiagnosticRoutineStatus) String() string
- func (DiagnosticRoutineStatus) Type() protoreflect.EnumType
- type ExecuteRoutineRequest
- func (*ExecuteRoutineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteRoutineRequest) GetRequest() []byte
- func (*ExecuteRoutineRequest) ProtoMessage()
- func (x *ExecuteRoutineRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteRoutineRequest) Reset()
- func (x *ExecuteRoutineRequest) String() string
- type ExecuteRoutineResponse
- func (*ExecuteRoutineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteRoutineResponse) GetStatus() DiagnosticRoutineStatus
- func (*ExecuteRoutineResponse) ProtoMessage()
- func (x *ExecuteRoutineResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteRoutineResponse) Reset()
- func (x *ExecuteRoutineResponse) String() string
- type GetConfigurationDataResponse
- func (*GetConfigurationDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigurationDataResponse) GetJsonConfigurationData() string
- func (*GetConfigurationDataResponse) ProtoMessage()
- func (x *GetConfigurationDataResponse) ProtoReflect() protoreflect.Message
- func (x *GetConfigurationDataResponse) Reset()
- func (x *GetConfigurationDataResponse) String() string
- type GetStatusResponse
- func (*GetStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatusResponse) GetWilcoDtcPid() uint64
- func (x *GetStatusResponse) GetWilcoDtcSupportdPid() uint64
- func (*GetStatusResponse) ProtoMessage()
- func (x *GetStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetStatusResponse) Reset()
- func (x *GetStatusResponse) String() string
- type IsPowerMenuPresentResponse
- func (*IsPowerMenuPresentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsPowerMenuPresentResponse) GetIsMenuPresent() bool
- func (*IsPowerMenuPresentResponse) ProtoMessage()
- func (x *IsPowerMenuPresentResponse) ProtoReflect() protoreflect.Message
- func (x *IsPowerMenuPresentResponse) Reset()
- func (x *IsPowerMenuPresentResponse) String() string
- type PowerMenuServiceClient
- type PowerMenuServiceServer
- type RestartVMRequest
- func (*RestartVMRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestartVMRequest) GetStartProcesses() bool
- func (x *RestartVMRequest) GetTestDbusConfig() bool
- func (*RestartVMRequest) ProtoMessage()
- func (x *RestartVMRequest) ProtoReflect() protoreflect.Message
- func (x *RestartVMRequest) Reset()
- func (x *RestartVMRequest) String() string
- type SendMessageToUiRequest
- func (*SendMessageToUiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageToUiRequest) GetJsonMessage() string
- func (*SendMessageToUiRequest) ProtoMessage()
- func (x *SendMessageToUiRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageToUiRequest) Reset()
- func (x *SendMessageToUiRequest) String() string
- type SendMessageToUiResponse
- func (*SendMessageToUiResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageToUiResponse) GetResponseJsonMessage() string
- func (*SendMessageToUiResponse) ProtoMessage()
- func (x *SendMessageToUiResponse) ProtoReflect() protoreflect.Message
- func (x *SendMessageToUiResponse) Reset()
- func (x *SendMessageToUiResponse) String() string
- type StartDPSLListenerRequest
- func (*StartDPSLListenerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartDPSLListenerRequest) GetHandleMessageFromUiResponse() string
- func (*StartDPSLListenerRequest) ProtoMessage()
- func (x *StartDPSLListenerRequest) ProtoReflect() protoreflect.Message
- func (x *StartDPSLListenerRequest) Reset()
- func (x *StartDPSLListenerRequest) String() string
- type UnimplementedPowerMenuServiceServer
- func (*UnimplementedPowerMenuServiceServer) CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedPowerMenuServiceServer) IsPowerMenuPresent(context.Context, *empty.Empty) (*IsPowerMenuPresentResponse, error)
- func (*UnimplementedPowerMenuServiceServer) NewChrome(context.Context, *empty.Empty) (*empty.Empty, error)
- type UnimplementedWilcoServiceServer
- func (*UnimplementedWilcoServiceServer) ExecuteRoutine(context.Context, *ExecuteRoutineRequest) (*ExecuteRoutineResponse, error)
- func (*UnimplementedWilcoServiceServer) GetConfigurationData(context.Context, *empty.Empty) (*GetConfigurationDataResponse, error)
- func (*UnimplementedWilcoServiceServer) GetStatus(context.Context, *empty.Empty) (*GetStatusResponse, error)
- func (*UnimplementedWilcoServiceServer) RestartVM(context.Context, *RestartVMRequest) (*empty.Empty, error)
- func (*UnimplementedWilcoServiceServer) SendMessageToUi(context.Context, *SendMessageToUiRequest) (*SendMessageToUiResponse, error)
- func (*UnimplementedWilcoServiceServer) StartDPSLListener(context.Context, *StartDPSLListenerRequest) (*empty.Empty, error)
- func (*UnimplementedWilcoServiceServer) StopDPSLListener(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWilcoServiceServer) TestGetAvailableRoutines(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWilcoServiceServer) TestGetStatefulPartitionAvailableCapacity(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWilcoServiceServer) TestPerformWebRequest(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWilcoServiceServer) TestRoutineCancellation(context.Context, *ExecuteRoutineRequest) (*empty.Empty, error)
- func (*UnimplementedWilcoServiceServer) WaitForHandleConfigurationDataChanged(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWilcoServiceServer) WaitForHandleMessageFromUi(context.Context, *empty.Empty) (*WaitForHandleMessageFromUiResponse, error)
- type WaitForHandleMessageFromUiResponse
- func (*WaitForHandleMessageFromUiResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForHandleMessageFromUiResponse) GetJsonMessage() string
- func (*WaitForHandleMessageFromUiResponse) ProtoMessage()
- func (x *WaitForHandleMessageFromUiResponse) ProtoReflect() protoreflect.Message
- func (x *WaitForHandleMessageFromUiResponse) Reset()
- func (x *WaitForHandleMessageFromUiResponse) String() string
- type WilcoServiceClient
- type WilcoServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( DiagnosticRoutineStatus_name = map[int32]string{ 0: "ROUTINE_STATUS_PASSED", 1: "ROUTINE_STATUS_FAILED", 2: "ROUTINE_STATUS_ERROR", 3: "ROUTINE_STATUS_CANCELLED", } DiagnosticRoutineStatus_value = map[string]int32{ "ROUTINE_STATUS_PASSED": 0, "ROUTINE_STATUS_FAILED": 1, "ROUTINE_STATUS_ERROR": 2, "ROUTINE_STATUS_CANCELLED": 3, } )
Enum value maps for DiagnosticRoutineStatus.
var File_wilco_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterPowerMenuServiceServer ¶
func RegisterPowerMenuServiceServer(s *grpc.Server, srv PowerMenuServiceServer)
func RegisterWilcoServiceServer ¶
func RegisterWilcoServiceServer(s *grpc.Server, srv WilcoServiceServer)
Types ¶
type DiagnosticRoutineStatus ¶
type DiagnosticRoutineStatus int32
const ( DiagnosticRoutineStatus_ROUTINE_STATUS_PASSED DiagnosticRoutineStatus = 0 DiagnosticRoutineStatus_ROUTINE_STATUS_FAILED DiagnosticRoutineStatus = 1 DiagnosticRoutineStatus_ROUTINE_STATUS_ERROR DiagnosticRoutineStatus = 2 DiagnosticRoutineStatus_ROUTINE_STATUS_CANCELLED DiagnosticRoutineStatus = 3 )
func (DiagnosticRoutineStatus) Descriptor ¶
func (DiagnosticRoutineStatus) Descriptor() protoreflect.EnumDescriptor
func (DiagnosticRoutineStatus) Enum ¶
func (x DiagnosticRoutineStatus) Enum() *DiagnosticRoutineStatus
func (DiagnosticRoutineStatus) EnumDescriptor
deprecated
func (DiagnosticRoutineStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use DiagnosticRoutineStatus.Descriptor instead.
func (DiagnosticRoutineStatus) Number ¶
func (x DiagnosticRoutineStatus) Number() protoreflect.EnumNumber
func (DiagnosticRoutineStatus) String ¶
func (x DiagnosticRoutineStatus) String() string
func (DiagnosticRoutineStatus) Type ¶
func (DiagnosticRoutineStatus) Type() protoreflect.EnumType
type ExecuteRoutineRequest ¶
type ExecuteRoutineRequest struct { // TODO(vsavu): replace with RunRoutineRequest from wilco_dtc_supportd.proto Request []byte `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*ExecuteRoutineRequest) Descriptor
deprecated
func (*ExecuteRoutineRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteRoutineRequest.ProtoReflect.Descriptor instead.
func (*ExecuteRoutineRequest) GetRequest ¶
func (x *ExecuteRoutineRequest) GetRequest() []byte
func (*ExecuteRoutineRequest) ProtoMessage ¶
func (*ExecuteRoutineRequest) ProtoMessage()
func (*ExecuteRoutineRequest) ProtoReflect ¶
func (x *ExecuteRoutineRequest) ProtoReflect() protoreflect.Message
func (*ExecuteRoutineRequest) Reset ¶
func (x *ExecuteRoutineRequest) Reset()
func (*ExecuteRoutineRequest) String ¶
func (x *ExecuteRoutineRequest) String() string
type ExecuteRoutineResponse ¶
type ExecuteRoutineResponse struct { Status DiagnosticRoutineStatus `protobuf:"varint,1,opt,name=status,proto3,enum=tast.cros.wilco.DiagnosticRoutineStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ExecuteRoutineResponse) Descriptor
deprecated
func (*ExecuteRoutineResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteRoutineResponse.ProtoReflect.Descriptor instead.
func (*ExecuteRoutineResponse) GetStatus ¶
func (x *ExecuteRoutineResponse) GetStatus() DiagnosticRoutineStatus
func (*ExecuteRoutineResponse) ProtoMessage ¶
func (*ExecuteRoutineResponse) ProtoMessage()
func (*ExecuteRoutineResponse) ProtoReflect ¶
func (x *ExecuteRoutineResponse) ProtoReflect() protoreflect.Message
func (*ExecuteRoutineResponse) Reset ¶
func (x *ExecuteRoutineResponse) Reset()
func (*ExecuteRoutineResponse) String ¶
func (x *ExecuteRoutineResponse) String() string
type GetConfigurationDataResponse ¶
type GetConfigurationDataResponse struct { JsonConfigurationData string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetConfigurationDataResponse) Descriptor
deprecated
func (*GetConfigurationDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigurationDataResponse.ProtoReflect.Descriptor instead.
func (*GetConfigurationDataResponse) GetJsonConfigurationData ¶
func (x *GetConfigurationDataResponse) GetJsonConfigurationData() string
func (*GetConfigurationDataResponse) ProtoMessage ¶
func (*GetConfigurationDataResponse) ProtoMessage()
func (*GetConfigurationDataResponse) ProtoReflect ¶
func (x *GetConfigurationDataResponse) ProtoReflect() protoreflect.Message
func (*GetConfigurationDataResponse) Reset ¶
func (x *GetConfigurationDataResponse) Reset()
func (*GetConfigurationDataResponse) String ¶
func (x *GetConfigurationDataResponse) String() string
type GetStatusResponse ¶
type GetStatusResponse struct { WilcoDtcSupportdPid uint64 `protobuf:"varint,1,opt,name=wilco_dtc_supportd_pid,json=wilcoDtcSupportdPid,proto3" json:"wilco_dtc_supportd_pid,omitempty"` // 0 means not running WilcoDtcPid uint64 `protobuf:"varint,2,opt,name=wilco_dtc_pid,json=wilcoDtcPid,proto3" json:"wilco_dtc_pid,omitempty"` // 0 means not running // contains filtered or unexported fields }
func (*GetStatusResponse) Descriptor
deprecated
func (*GetStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.
func (*GetStatusResponse) GetWilcoDtcPid ¶
func (x *GetStatusResponse) GetWilcoDtcPid() uint64
func (*GetStatusResponse) GetWilcoDtcSupportdPid ¶
func (x *GetStatusResponse) GetWilcoDtcSupportdPid() uint64
func (*GetStatusResponse) ProtoMessage ¶
func (*GetStatusResponse) ProtoMessage()
func (*GetStatusResponse) ProtoReflect ¶
func (x *GetStatusResponse) ProtoReflect() protoreflect.Message
func (*GetStatusResponse) Reset ¶
func (x *GetStatusResponse) Reset()
func (*GetStatusResponse) String ¶
func (x *GetStatusResponse) String() string
type IsPowerMenuPresentResponse ¶
type IsPowerMenuPresentResponse struct { IsMenuPresent bool `protobuf:"varint,1,opt,name=is_menu_present,json=isMenuPresent,proto3" json:"is_menu_present,omitempty"` // contains filtered or unexported fields }
func (*IsPowerMenuPresentResponse) Descriptor
deprecated
func (*IsPowerMenuPresentResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsPowerMenuPresentResponse.ProtoReflect.Descriptor instead.
func (*IsPowerMenuPresentResponse) GetIsMenuPresent ¶
func (x *IsPowerMenuPresentResponse) GetIsMenuPresent() bool
func (*IsPowerMenuPresentResponse) ProtoMessage ¶
func (*IsPowerMenuPresentResponse) ProtoMessage()
func (*IsPowerMenuPresentResponse) ProtoReflect ¶
func (x *IsPowerMenuPresentResponse) ProtoReflect() protoreflect.Message
func (*IsPowerMenuPresentResponse) Reset ¶
func (x *IsPowerMenuPresentResponse) Reset()
func (*IsPowerMenuPresentResponse) String ¶
func (x *IsPowerMenuPresentResponse) String() string
type PowerMenuServiceClient ¶
type PowerMenuServiceClient interface { // New logs into a Chrome session as a fake user. Close must be called later // to clean up the associated resources. NewChrome(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // Close releases the resources obtained by New. CloseChrome(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // IsPowerMenuPresent returns a bool indicating the presence of the power menu IsPowerMenuPresent(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*IsPowerMenuPresentResponse, error) }
PowerMenuServiceClient is the client API for PowerMenuService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPowerMenuServiceClient ¶
func NewPowerMenuServiceClient(cc grpc.ClientConnInterface) PowerMenuServiceClient
type PowerMenuServiceServer ¶
type PowerMenuServiceServer interface { // New logs into a Chrome session as a fake user. Close must be called later // to clean up the associated resources. NewChrome(context.Context, *empty.Empty) (*empty.Empty, error) // Close releases the resources obtained by New. CloseChrome(context.Context, *empty.Empty) (*empty.Empty, error) // IsPowerMenuPresent returns a bool indicating the presence of the power menu IsPowerMenuPresent(context.Context, *empty.Empty) (*IsPowerMenuPresentResponse, error) }
PowerMenuServiceServer is the server API for PowerMenuService service.
type RestartVMRequest ¶
type RestartVMRequest struct { StartProcesses bool `protobuf:"varint,1,opt,name=start_processes,json=startProcesses,proto3" json:"start_processes,omitempty"` TestDbusConfig bool `protobuf:"varint,2,opt,name=test_dbus_config,json=testDbusConfig,proto3" json:"test_dbus_config,omitempty"` // contains filtered or unexported fields }
func (*RestartVMRequest) Descriptor
deprecated
func (*RestartVMRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartVMRequest.ProtoReflect.Descriptor instead.
func (*RestartVMRequest) GetStartProcesses ¶
func (x *RestartVMRequest) GetStartProcesses() bool
func (*RestartVMRequest) GetTestDbusConfig ¶
func (x *RestartVMRequest) GetTestDbusConfig() bool
func (*RestartVMRequest) ProtoMessage ¶
func (*RestartVMRequest) ProtoMessage()
func (*RestartVMRequest) ProtoReflect ¶
func (x *RestartVMRequest) ProtoReflect() protoreflect.Message
func (*RestartVMRequest) Reset ¶
func (x *RestartVMRequest) Reset()
func (*RestartVMRequest) String ¶
func (x *RestartVMRequest) String() string
type SendMessageToUiRequest ¶
type SendMessageToUiRequest struct { JsonMessage string `protobuf:"bytes,1,opt,name=json_message,json=jsonMessage,proto3" json:"json_message,omitempty"` // contains filtered or unexported fields }
func (*SendMessageToUiRequest) Descriptor
deprecated
func (*SendMessageToUiRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageToUiRequest.ProtoReflect.Descriptor instead.
func (*SendMessageToUiRequest) GetJsonMessage ¶
func (x *SendMessageToUiRequest) GetJsonMessage() string
func (*SendMessageToUiRequest) ProtoMessage ¶
func (*SendMessageToUiRequest) ProtoMessage()
func (*SendMessageToUiRequest) ProtoReflect ¶
func (x *SendMessageToUiRequest) ProtoReflect() protoreflect.Message
func (*SendMessageToUiRequest) Reset ¶
func (x *SendMessageToUiRequest) Reset()
func (*SendMessageToUiRequest) String ¶
func (x *SendMessageToUiRequest) String() string
type SendMessageToUiResponse ¶
type SendMessageToUiResponse struct { ResponseJsonMessage string `protobuf:"bytes,1,opt,name=response_json_message,json=responseJsonMessage,proto3" json:"response_json_message,omitempty"` // contains filtered or unexported fields }
func (*SendMessageToUiResponse) Descriptor
deprecated
func (*SendMessageToUiResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageToUiResponse.ProtoReflect.Descriptor instead.
func (*SendMessageToUiResponse) GetResponseJsonMessage ¶
func (x *SendMessageToUiResponse) GetResponseJsonMessage() string
func (*SendMessageToUiResponse) ProtoMessage ¶
func (*SendMessageToUiResponse) ProtoMessage()
func (*SendMessageToUiResponse) ProtoReflect ¶
func (x *SendMessageToUiResponse) ProtoReflect() protoreflect.Message
func (*SendMessageToUiResponse) Reset ¶
func (x *SendMessageToUiResponse) Reset()
func (*SendMessageToUiResponse) String ¶
func (x *SendMessageToUiResponse) String() string
type StartDPSLListenerRequest ¶
type StartDPSLListenerRequest struct { HandleMessageFromUiResponse string `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StartDPSLListenerRequest) Descriptor
deprecated
func (*StartDPSLListenerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartDPSLListenerRequest.ProtoReflect.Descriptor instead.
func (*StartDPSLListenerRequest) GetHandleMessageFromUiResponse ¶
func (x *StartDPSLListenerRequest) GetHandleMessageFromUiResponse() string
func (*StartDPSLListenerRequest) ProtoMessage ¶
func (*StartDPSLListenerRequest) ProtoMessage()
func (*StartDPSLListenerRequest) ProtoReflect ¶
func (x *StartDPSLListenerRequest) ProtoReflect() protoreflect.Message
func (*StartDPSLListenerRequest) Reset ¶
func (x *StartDPSLListenerRequest) Reset()
func (*StartDPSLListenerRequest) String ¶
func (x *StartDPSLListenerRequest) String() string
type UnimplementedPowerMenuServiceServer ¶
type UnimplementedPowerMenuServiceServer struct { }
UnimplementedPowerMenuServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPowerMenuServiceServer) CloseChrome ¶
func (*UnimplementedPowerMenuServiceServer) IsPowerMenuPresent ¶
func (*UnimplementedPowerMenuServiceServer) IsPowerMenuPresent(context.Context, *empty.Empty) (*IsPowerMenuPresentResponse, error)
type UnimplementedWilcoServiceServer ¶
type UnimplementedWilcoServiceServer struct { }
UnimplementedWilcoServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedWilcoServiceServer) ExecuteRoutine ¶
func (*UnimplementedWilcoServiceServer) ExecuteRoutine(context.Context, *ExecuteRoutineRequest) (*ExecuteRoutineResponse, error)
func (*UnimplementedWilcoServiceServer) GetConfigurationData ¶
func (*UnimplementedWilcoServiceServer) GetConfigurationData(context.Context, *empty.Empty) (*GetConfigurationDataResponse, error)
func (*UnimplementedWilcoServiceServer) GetStatus ¶
func (*UnimplementedWilcoServiceServer) GetStatus(context.Context, *empty.Empty) (*GetStatusResponse, error)
func (*UnimplementedWilcoServiceServer) RestartVM ¶
func (*UnimplementedWilcoServiceServer) RestartVM(context.Context, *RestartVMRequest) (*empty.Empty, error)
func (*UnimplementedWilcoServiceServer) SendMessageToUi ¶
func (*UnimplementedWilcoServiceServer) SendMessageToUi(context.Context, *SendMessageToUiRequest) (*SendMessageToUiResponse, error)
func (*UnimplementedWilcoServiceServer) StartDPSLListener ¶
func (*UnimplementedWilcoServiceServer) StartDPSLListener(context.Context, *StartDPSLListenerRequest) (*empty.Empty, error)
func (*UnimplementedWilcoServiceServer) StopDPSLListener ¶
func (*UnimplementedWilcoServiceServer) TestGetAvailableRoutines ¶
func (*UnimplementedWilcoServiceServer) TestGetStatefulPartitionAvailableCapacity ¶
func (*UnimplementedWilcoServiceServer) TestPerformWebRequest ¶
func (*UnimplementedWilcoServiceServer) TestRoutineCancellation ¶
func (*UnimplementedWilcoServiceServer) TestRoutineCancellation(context.Context, *ExecuteRoutineRequest) (*empty.Empty, error)
func (*UnimplementedWilcoServiceServer) WaitForHandleConfigurationDataChanged ¶
func (*UnimplementedWilcoServiceServer) WaitForHandleMessageFromUi ¶
func (*UnimplementedWilcoServiceServer) WaitForHandleMessageFromUi(context.Context, *empty.Empty) (*WaitForHandleMessageFromUiResponse, error)
type WaitForHandleMessageFromUiResponse ¶
type WaitForHandleMessageFromUiResponse struct { JsonMessage string `protobuf:"bytes,1,opt,name=json_message,json=jsonMessage,proto3" json:"json_message,omitempty"` // contains filtered or unexported fields }
func (*WaitForHandleMessageFromUiResponse) Descriptor
deprecated
func (*WaitForHandleMessageFromUiResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForHandleMessageFromUiResponse.ProtoReflect.Descriptor instead.
func (*WaitForHandleMessageFromUiResponse) GetJsonMessage ¶
func (x *WaitForHandleMessageFromUiResponse) GetJsonMessage() string
func (*WaitForHandleMessageFromUiResponse) ProtoMessage ¶
func (*WaitForHandleMessageFromUiResponse) ProtoMessage()
func (*WaitForHandleMessageFromUiResponse) ProtoReflect ¶
func (x *WaitForHandleMessageFromUiResponse) ProtoReflect() protoreflect.Message
func (*WaitForHandleMessageFromUiResponse) Reset ¶
func (x *WaitForHandleMessageFromUiResponse) Reset()
func (*WaitForHandleMessageFromUiResponse) String ¶
func (x *WaitForHandleMessageFromUiResponse) String() string
type WilcoServiceClient ¶
type WilcoServiceClient interface { // GetStatus checks if services are running GetStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetStatusResponse, error) RestartVM(ctx context.Context, in *RestartVMRequest, opts ...grpc.CallOption) (*empty.Empty, error) // GetConfigurationData performs the grpc request from inside the VM GetConfigurationData(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetConfigurationDataResponse, error) // SendMessageToUi performs the grpc request from inside the VM SendMessageToUi(ctx context.Context, in *SendMessageToUiRequest, opts ...grpc.CallOption) (*SendMessageToUiResponse, error) TestPerformWebRequest(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) ExecuteRoutine(ctx context.Context, in *ExecuteRoutineRequest, opts ...grpc.CallOption) (*ExecuteRoutineResponse, error) TestRoutineCancellation(ctx context.Context, in *ExecuteRoutineRequest, opts ...grpc.CallOption) (*empty.Empty, error) TestGetAvailableRoutines(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) TestGetStatefulPartitionAvailableCapacity(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) StartDPSLListener(ctx context.Context, in *StartDPSLListenerRequest, opts ...grpc.CallOption) (*empty.Empty, error) StopDPSLListener(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) WaitForHandleConfigurationDataChanged(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) WaitForHandleMessageFromUi(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*WaitForHandleMessageFromUiResponse, error) }
WilcoServiceClient is the client API for WilcoService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWilcoServiceClient ¶
func NewWilcoServiceClient(cc grpc.ClientConnInterface) WilcoServiceClient
type WilcoServiceServer ¶
type WilcoServiceServer interface { // GetStatus checks if services are running GetStatus(context.Context, *empty.Empty) (*GetStatusResponse, error) RestartVM(context.Context, *RestartVMRequest) (*empty.Empty, error) // GetConfigurationData performs the grpc request from inside the VM GetConfigurationData(context.Context, *empty.Empty) (*GetConfigurationDataResponse, error) // SendMessageToUi performs the grpc request from inside the VM SendMessageToUi(context.Context, *SendMessageToUiRequest) (*SendMessageToUiResponse, error) TestPerformWebRequest(context.Context, *empty.Empty) (*empty.Empty, error) ExecuteRoutine(context.Context, *ExecuteRoutineRequest) (*ExecuteRoutineResponse, error) TestRoutineCancellation(context.Context, *ExecuteRoutineRequest) (*empty.Empty, error) TestGetAvailableRoutines(context.Context, *empty.Empty) (*empty.Empty, error) TestGetStatefulPartitionAvailableCapacity(context.Context, *empty.Empty) (*empty.Empty, error) StartDPSLListener(context.Context, *StartDPSLListenerRequest) (*empty.Empty, error) StopDPSLListener(context.Context, *empty.Empty) (*empty.Empty, error) WaitForHandleConfigurationDataChanged(context.Context, *empty.Empty) (*empty.Empty, error) WaitForHandleMessageFromUi(context.Context, *empty.Empty) (*WaitForHandleMessageFromUiResponse, error) }
WilcoServiceServer is the server API for WilcoService service.