Documentation
¶
Index ¶
- Variables
- type AndroidParams
- type AppBundleManager
- type AppBundleMetaData
- type AppParameterRequest
- func (*AppParameterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AppParameterRequest) GetApp() *AppParams
- func (x *AppParameterRequest) GetDeviceID() string
- func (x *AppParameterRequest) GetIdentifier() string
- func (x *AppParameterRequest) GetName() string
- func (x *AppParameterRequest) GetPlatform() string
- func (x *AppParameterRequest) GetVersion() string
- func (x *AppParameterRequest) GetWeb() *WebParams
- func (*AppParameterRequest) ProtoMessage()
- func (x *AppParameterRequest) ProtoReflect() protoreflect.Message
- func (x *AppParameterRequest) Reset()
- func (x *AppParameterRequest) String() string
- type AppParams
- func (*AppParams) Descriptor() ([]byte, []int)deprecated
- func (x *AppParams) GetAdditional() string
- func (x *AppParams) GetAndroid() *AndroidParams
- func (x *AppParams) GetAppID() int32
- func (x *AppParams) GetAppPath() string
- func (x *AppParams) GetExecutable() *ExecutableParams
- func (x *AppParams) GetHash() string
- func (x *AppParams) GetSize() int64
- func (*AppParams) ProtoMessage()
- func (x *AppParams) ProtoReflect() protoreflect.Message
- func (x *AppParams) Reset()
- func (x *AppParams) String() string
- type BoolResponse
- func (*BoolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BoolResponse) GetErrorCode() int32
- func (x *BoolResponse) GetErrorMessage() string
- func (x *BoolResponse) GetValue() bool
- func (*BoolResponse) ProtoMessage()
- func (x *BoolResponse) ProtoReflect() protoreflect.Message
- func (x *BoolResponse) Reset()
- func (x *BoolResponse) String() string
- type ConnectionHandler
- type DeviceRequest
- type DeviceResponse
- func (*DeviceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceResponse) GetDeviceID() string
- func (x *DeviceResponse) GetDeviceIP() string
- func (x *DeviceResponse) GetDeviceModel() string
- func (x *DeviceResponse) GetDeviceOS() string
- func (x *DeviceResponse) GetDeviceOSInfos() string
- func (x *DeviceResponse) GetDeviceOSVersion() string
- func (x *DeviceResponse) GetDeviceParameter() string
- func (x *DeviceResponse) GetDeviceType() int32
- func (x *DeviceResponse) GetManager() string
- func (x *DeviceResponse) GetName() string
- func (x *DeviceResponse) GetPlatformType() int32
- func (x *DeviceResponse) GetProjectDir() string
- func (x *DeviceResponse) GetState() DeviceState
- func (x *DeviceResponse) GetTargetVersion() string
- func (*DeviceResponse) ProtoMessage()
- func (x *DeviceResponse) ProtoReflect() protoreflect.Message
- func (x *DeviceResponse) Reset()
- func (x *DeviceResponse) String() string
- type DeviceState
- func (DeviceState) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceState) Enum() *DeviceState
- func (DeviceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceState) Number() protoreflect.EnumNumber
- func (x DeviceState) String() string
- func (DeviceState) Type() protoreflect.EnumType
- type DeviceStatusRequest
- func (*DeviceStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceStatusRequest) GetDeviceId() string
- func (*DeviceStatusRequest) ProtoMessage()
- func (x *DeviceStatusRequest) ProtoReflect() protoreflect.Message
- func (x *DeviceStatusRequest) Reset()
- func (x *DeviceStatusRequest) String() string
- type DevicesResponse
- type ErrorResponse
- func (*ErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorResponse) GetErrorCode() int32
- func (x *ErrorResponse) GetErrorMessage() string
- func (*ErrorResponse) ProtoMessage()
- func (x *ErrorResponse) ProtoReflect() protoreflect.Message
- func (x *ErrorResponse) Reset()
- func (x *ErrorResponse) String() string
- type ExecutableParams
- type ExecuteRequest
- func (*ExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteRequest) GetData() string
- func (x *ExecuteRequest) GetDeviceID() string
- func (*ExecuteRequest) ProtoMessage()
- func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteRequest) Reset()
- func (x *ExecuteRequest) String() string
- type FeatureRequest
- func (*FeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureRequest) GetDeviceID() string
- func (x *FeatureRequest) GetFeature() string
- func (*FeatureRequest) ProtoMessage()
- func (x *FeatureRequest) ProtoReflect() protoreflect.Message
- func (x *FeatureRequest) Reset()
- func (x *FeatureRequest) String() string
- type RPCClient
- func (rpc *RPCClient) ConnectionTimeout(deviceId string) time.Duration
- func (rpc *RPCClient) Execute(deviceId string, data string)
- func (rpc *RPCClient) GetDevices() (map[string][]device.Device, error)
- func (rpc *RPCClient) GetScreenshot(deviceId string) ([]byte, int, int, error)
- func (rpc *RPCClient) HasFeature(deviceId string, feature string) bool
- func (rpc *RPCClient) InstallApp(deviceId string, parameter *app.Parameter) error
- func (rpc *RPCClient) IsAppInstalled(deviceId string, parameter *app.Parameter) (bool, error)
- func (rpc *RPCClient) IsAppUploaded(parameter *app.Parameter) (bool, error)
- func (rpc *RPCClient) IsConnected(deviceId string) bool
- func (rpc *RPCClient) Ping() error
- func (rpc *RPCClient) RunNativeScript(deviceId string, script []byte)
- func (rpc *RPCClient) SendAction(deviceId string, script []byte)
- func (rpc *RPCClient) StartApp(deviceId string, parameter *app.Parameter, sessionId string, nodeUrl string) error
- func (rpc *RPCClient) StartDevice(deviceId string) error
- func (rpc *RPCClient) StartRecording(deviceId string, path string) error
- func (rpc *RPCClient) StopApp(deviceId string, parameter *app.Parameter) error
- func (rpc *RPCClient) StopDevice(deviceId string) error
- func (rpc *RPCClient) StopRecording(deviceId string) error
- func (rpc *RPCClient) UninstallApp(deviceId string, parameter *app.Parameter) error
- func (rpc *RPCClient) UploadApp(ctx context.Context, parameter *app.Parameter) error
- type RPCDevice
- func (d *RPCDevice) ConnectionTimeout() time.Duration
- func (d *RPCDevice) DeviceID() string
- func (d *RPCDevice) DeviceIP() net.IP
- func (d *RPCDevice) DeviceName() string
- func (d *RPCDevice) DeviceOSName() string
- func (d *RPCDevice) DeviceOSVersion() string
- func (d *RPCDevice) DeviceParameter() map[string]string
- func (d *RPCDevice) DeviceState() device.State
- func (d *RPCDevice) DeviceType() int
- func (d *RPCDevice) Execute(string)
- func (d *RPCDevice) GetScreenshot() ([]byte, int, int, error)
- func (d *RPCDevice) HasFeature(string) bool
- func (d *RPCDevice) InstallApp(*app.Parameter) error
- func (d *RPCDevice) IsAppConnected() bool
- func (d *RPCDevice) IsAppInstalled(*app.Parameter) (bool, error)
- func (d *RPCDevice) PlatformType() int
- func (d *RPCDevice) RunNativeScript(data []byte)
- func (d *RPCDevice) StartApp(*app.Parameter, string, string) error
- func (d *RPCDevice) StartRecording(string) error
- func (d *RPCDevice) StopApp(*app.Parameter) error
- func (d *RPCDevice) StopRecording() error
- func (d *RPCDevice) TargetVersion() string
- func (d *RPCDevice) UninstallApp(*app.Parameter) error
- type RPCNode
- func (s *RPCNode) ConnectionTimeout(req *DeviceRequest, resp *TimeoutResponse) error
- func (s *RPCNode) DeviceStatus(req *DeviceStatusRequest, resp *DeviceResponse) error
- func (s *RPCNode) Execute(req *ExecuteRequest, resp *Void) error
- func (s *RPCNode) GetDevices(req *Void, resp *DevicesResponse) error
- func (s *RPCNode) GetScreenshotData(req *ScreenShotDataRequest, resp *ScreenShotDataResponse) error
- func (s *RPCNode) HasFeature(req *FeatureRequest, resp *BoolResponse) error
- func (s *RPCNode) InstallApp(req *AppParameterRequest, resp *BoolResponse) error
- func (s *RPCNode) IsAppInstalled(req *AppParameterRequest, resp *BoolResponse) error
- func (s *RPCNode) IsAppUploaded(req *AppParameterRequest, resp *BoolResponse) error
- func (s *RPCNode) IsConnected(req *DeviceRequest, resp *BoolResponse) error
- func (s *RPCNode) Ping(args *Void, reply *Void) error
- func (s *RPCNode) RunNativeScript(req *ExecuteRequest, resp *Void) error
- func (s *RPCNode) SendAction(req *ExecuteRequest, resp *Void) error
- func (s *RPCNode) StartApp(req *StartAppRequest, resp *BoolResponse) error
- func (s *RPCNode) StartDevice(req *DeviceRequest, resp *ErrorResponse) error
- func (s *RPCNode) StopApp(req *AppParameterRequest, resp *BoolResponse) error
- func (s *RPCNode) StopDevice(req *DeviceRequest, resp *ErrorResponse) error
- func (s *RPCNode) TakeScreenshot(req *DeviceRequest, resp *ScreenShotResponse) error
- func (s *RPCNode) UninstallApp(req *AppParameterRequest, resp *BoolResponse) error
- func (s *RPCNode) UploadApp(req *UploadAppRequest, resp *BoolResponse) error
- func (s *RPCNode) UploadAppProgress(req *UploadAppProgressRequest, resp *UploadAppProgressResponse) error
- type ReconnectHandler
- type RegisterNodeRequest
- func (*RegisterNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterNodeRequest) GetEnvironmentVariables() string
- func (x *RegisterNodeRequest) GetHostname() string
- func (x *RegisterNodeRequest) GetIdentifier() string
- func (x *RegisterNodeRequest) GetManagers() []string
- func (x *RegisterNodeRequest) GetOperationSystem() string
- func (x *RegisterNodeRequest) GetPort() int32
- func (*RegisterNodeRequest) ProtoMessage()
- func (x *RegisterNodeRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterNodeRequest) Reset()
- func (x *RegisterNodeRequest) String() string
- type RemoteActionHandler
- type ScreenShotDataRequest
- func (*ScreenShotDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScreenShotDataRequest) GetEnd() int32
- func (x *ScreenShotDataRequest) GetHash() string
- func (x *ScreenShotDataRequest) GetStart() int32
- func (*ScreenShotDataRequest) ProtoMessage()
- func (x *ScreenShotDataRequest) ProtoReflect() protoreflect.Message
- func (x *ScreenShotDataRequest) Reset()
- func (x *ScreenShotDataRequest) String() string
- type ScreenShotDataResponse
- func (*ScreenShotDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ScreenShotDataResponse) GetData() []byte
- func (*ScreenShotDataResponse) ProtoMessage()
- func (x *ScreenShotDataResponse) ProtoReflect() protoreflect.Message
- func (x *ScreenShotDataResponse) Reset()
- func (x *ScreenShotDataResponse) String() string
- type ScreenShotResponse
- func (*ScreenShotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ScreenShotResponse) GetHash() string
- func (x *ScreenShotResponse) GetHeight() int32
- func (x *ScreenShotResponse) GetSize() int32
- func (x *ScreenShotResponse) GetWidth() int32
- func (*ScreenShotResponse) ProtoMessage()
- func (x *ScreenShotResponse) ProtoReflect() protoreflect.Message
- func (x *ScreenShotResponse) Reset()
- func (x *ScreenShotResponse) String() string
- type StartAppRequest
- func (*StartAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartAppRequest) GetApp() *AppParameterRequest
- func (x *StartAppRequest) GetHostIP() string
- func (x *StartAppRequest) GetSessionID() string
- func (*StartAppRequest) ProtoMessage()
- func (x *StartAppRequest) ProtoReflect() protoreflect.Message
- func (x *StartAppRequest) Reset()
- func (x *StartAppRequest) String() string
- type TimeoutResponse
- type UploadAppProgressRequest
- func (*UploadAppProgressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadAppProgressRequest) GetAppID() int32
- func (*UploadAppProgressRequest) ProtoMessage()
- func (x *UploadAppProgressRequest) ProtoReflect() protoreflect.Message
- func (x *UploadAppProgressRequest) Reset()
- func (x *UploadAppProgressRequest) String() string
- type UploadAppProgressResponse
- func (*UploadAppProgressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadAppProgressResponse) GetAppID() int32
- func (x *UploadAppProgressResponse) GetDataReceived() int64
- func (*UploadAppProgressResponse) ProtoMessage()
- func (x *UploadAppProgressResponse) ProtoReflect() protoreflect.Message
- func (x *UploadAppProgressResponse) Reset()
- func (x *UploadAppProgressResponse) String() string
- type UploadAppRequest
- func (*UploadAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadAppRequest) GetAppID() int32
- func (x *UploadAppRequest) GetHash() string
- func (x *UploadAppRequest) GetIdentifier() string
- func (x *UploadAppRequest) GetName() string
- func (x *UploadAppRequest) GetSize() int64
- func (x *UploadAppRequest) GetURL() string
- func (*UploadAppRequest) ProtoMessage()
- func (x *UploadAppRequest) ProtoReflect() protoreflect.Message
- func (x *UploadAppRequest) Reset()
- func (x *UploadAppRequest) String() string
- type UploadProgress
- type Void
- type WebParams
Constants ¶
This section is empty.
Variables ¶
var ( DeviceState_name = map[int32]string{ 0: "None", 1: "Unknown", 2: "Shutdown", 3: "RemoteDisconnected", 4: "Booted", 5: "Locked", } DeviceState_value = map[string]int32{ "None": 0, "Unknown": 1, "Shutdown": 2, "RemoteDisconnected": 3, "Booted": 4, "Locked": 5, } )
Enum value maps for DeviceState.
var (
ErrAppNotFound = fmt.Errorf("AppBundleMetaData not found")
)
var File_node_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AndroidParams ¶
type AndroidParams struct {
LaunchActivity string `protobuf:"bytes,1,opt,name=LaunchActivity,proto3" json:"LaunchActivity,omitempty"`
// contains filtered or unexported fields
}
func (*AndroidParams) Descriptor
deprecated
func (*AndroidParams) Descriptor() ([]byte, []int)
Deprecated: Use AndroidParams.ProtoReflect.Descriptor instead.
func (*AndroidParams) GetLaunchActivity ¶
func (x *AndroidParams) GetLaunchActivity() string
func (*AndroidParams) ProtoMessage ¶
func (*AndroidParams) ProtoMessage()
func (*AndroidParams) ProtoReflect ¶
func (x *AndroidParams) ProtoReflect() protoreflect.Message
func (*AndroidParams) Reset ¶
func (x *AndroidParams) Reset()
func (*AndroidParams) String ¶
func (x *AndroidParams) String() string
type AppBundleManager ¶
type AppBundleManager struct {
// contains filtered or unexported fields
}
func NewAppBundleManager ¶
func NewAppBundleManager(dataDir string) (*AppBundleManager, error)
func (*AppBundleManager) GetAppParameter ¶
func (dm *AppBundleManager) GetAppParameter(hash string) (*AppBundleMetaData, error)
func (*AppBundleManager) StoreData ¶
func (dm *AppBundleManager) StoreData(appData []byte, metadata *AppBundleMetaData) error
type AppBundleMetaData ¶
type AppParameterRequest ¶
type AppParameterRequest struct {
DeviceID string `protobuf:"bytes,1,opt,name=DeviceID,proto3" json:"DeviceID,omitempty"`
Platform string `protobuf:"bytes,2,opt,name=Platform,proto3" json:"Platform,omitempty"`
Identifier string `protobuf:"bytes,3,opt,name=Identifier,proto3" json:"Identifier,omitempty"`
Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
Version string `protobuf:"bytes,5,opt,name=Version,proto3" json:"Version,omitempty"`
App *AppParams `protobuf:"bytes,6,opt,name=App,proto3,oneof" json:"App,omitempty"`
Web *WebParams `protobuf:"bytes,7,opt,name=Web,proto3,oneof" json:"Web,omitempty"`
// contains filtered or unexported fields
}
func (*AppParameterRequest) Descriptor
deprecated
func (*AppParameterRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppParameterRequest.ProtoReflect.Descriptor instead.
func (*AppParameterRequest) GetApp ¶
func (x *AppParameterRequest) GetApp() *AppParams
func (*AppParameterRequest) GetDeviceID ¶
func (x *AppParameterRequest) GetDeviceID() string
func (*AppParameterRequest) GetIdentifier ¶
func (x *AppParameterRequest) GetIdentifier() string
func (*AppParameterRequest) GetName ¶
func (x *AppParameterRequest) GetName() string
func (*AppParameterRequest) GetPlatform ¶
func (x *AppParameterRequest) GetPlatform() string
func (*AppParameterRequest) GetVersion ¶
func (x *AppParameterRequest) GetVersion() string
func (*AppParameterRequest) GetWeb ¶
func (x *AppParameterRequest) GetWeb() *WebParams
func (*AppParameterRequest) ProtoMessage ¶
func (*AppParameterRequest) ProtoMessage()
func (*AppParameterRequest) ProtoReflect ¶
func (x *AppParameterRequest) ProtoReflect() protoreflect.Message
func (*AppParameterRequest) Reset ¶
func (x *AppParameterRequest) Reset()
func (*AppParameterRequest) String ¶
func (x *AppParameterRequest) String() string
type AppParams ¶
type AppParams struct {
AppID int32 `protobuf:"varint,1,opt,name=AppID,proto3" json:"AppID,omitempty"`
AppPath string `protobuf:"bytes,2,opt,name=AppPath,proto3" json:"AppPath,omitempty"`
Additional string `protobuf:"bytes,3,opt,name=Additional,proto3" json:"Additional,omitempty"`
Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
Size int64 `protobuf:"varint,5,opt,name=Size,proto3" json:"Size,omitempty"`
Android *AndroidParams `protobuf:"bytes,6,opt,name=Android,proto3,oneof" json:"Android,omitempty"`
Executable *ExecutableParams `protobuf:"bytes,7,opt,name=Executable,proto3,oneof" json:"Executable,omitempty"`
// contains filtered or unexported fields
}
func (*AppParams) Descriptor
deprecated
func (*AppParams) GetAdditional ¶
func (*AppParams) GetAndroid ¶
func (x *AppParams) GetAndroid() *AndroidParams
func (*AppParams) GetAppPath ¶
func (*AppParams) GetExecutable ¶
func (x *AppParams) GetExecutable() *ExecutableParams
func (*AppParams) ProtoMessage ¶
func (*AppParams) ProtoMessage()
func (*AppParams) ProtoReflect ¶
func (x *AppParams) ProtoReflect() protoreflect.Message
type BoolResponse ¶
type BoolResponse struct {
Value bool `protobuf:"varint,1,opt,name=Value,proto3" json:"Value,omitempty"`
ErrorCode int32 `protobuf:"varint,2,opt,name=ErrorCode,proto3" json:"ErrorCode,omitempty"`
ErrorMessage string `protobuf:"bytes,3,opt,name=ErrorMessage,proto3" json:"ErrorMessage,omitempty"`
// contains filtered or unexported fields
}
func (*BoolResponse) Descriptor
deprecated
func (*BoolResponse) Descriptor() ([]byte, []int)
Deprecated: Use BoolResponse.ProtoReflect.Descriptor instead.
func (*BoolResponse) GetErrorCode ¶
func (x *BoolResponse) GetErrorCode() int32
func (*BoolResponse) GetErrorMessage ¶
func (x *BoolResponse) GetErrorMessage() string
func (*BoolResponse) GetValue ¶
func (x *BoolResponse) GetValue() bool
func (*BoolResponse) ProtoMessage ¶
func (*BoolResponse) ProtoMessage()
func (*BoolResponse) ProtoReflect ¶
func (x *BoolResponse) ProtoReflect() protoreflect.Message
func (*BoolResponse) Reset ¶
func (x *BoolResponse) Reset()
func (*BoolResponse) String ¶
func (x *BoolResponse) String() string
type ConnectionHandler ¶
type ConnectionHandler interface {
PingReceived()
}
type DeviceRequest ¶
type DeviceRequest struct {
DeviceID string `protobuf:"bytes,1,opt,name=DeviceID,proto3" json:"DeviceID,omitempty"`
// contains filtered or unexported fields
}
func (*DeviceRequest) Descriptor
deprecated
func (*DeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceRequest.ProtoReflect.Descriptor instead.
func (*DeviceRequest) GetDeviceID ¶
func (x *DeviceRequest) GetDeviceID() string
func (*DeviceRequest) ProtoMessage ¶
func (*DeviceRequest) ProtoMessage()
func (*DeviceRequest) ProtoReflect ¶
func (x *DeviceRequest) ProtoReflect() protoreflect.Message
func (*DeviceRequest) Reset ¶
func (x *DeviceRequest) Reset()
func (*DeviceRequest) String ¶
func (x *DeviceRequest) String() string
type DeviceResponse ¶
type DeviceResponse struct {
Manager string `protobuf:"bytes,1,opt,name=Manager,proto3" json:"Manager,omitempty"`
DeviceID string `protobuf:"bytes,2,opt,name=DeviceID,proto3" json:"DeviceID,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
DeviceOS string `protobuf:"bytes,4,opt,name=DeviceOS,proto3" json:"DeviceOS,omitempty"`
DeviceOSVersion string `protobuf:"bytes,5,opt,name=DeviceOSVersion,proto3" json:"DeviceOSVersion,omitempty"`
DeviceOSInfos string `protobuf:"bytes,6,opt,name=DeviceOSInfos,proto3" json:"DeviceOSInfos,omitempty"`
ProjectDir string `protobuf:"bytes,7,opt,name=ProjectDir,proto3" json:"ProjectDir,omitempty"`
DeviceIP string `protobuf:"bytes,8,opt,name=DeviceIP,proto3" json:"DeviceIP,omitempty"`
DeviceModel string `protobuf:"bytes,9,opt,name=DeviceModel,proto3" json:"DeviceModel,omitempty"`
State DeviceState `protobuf:"varint,10,opt,name=State,proto3,enum=node.DeviceState" json:"State,omitempty"`
TargetVersion string `protobuf:"bytes,11,opt,name=TargetVersion,proto3" json:"TargetVersion,omitempty"`
DeviceType int32 `protobuf:"varint,12,opt,name=DeviceType,proto3" json:"DeviceType,omitempty"`
DeviceParameter string `protobuf:"bytes,13,opt,name=DeviceParameter,proto3" json:"DeviceParameter,omitempty"`
PlatformType int32 `protobuf:"varint,14,opt,name=PlatformType,proto3" json:"PlatformType,omitempty"`
// contains filtered or unexported fields
}
func (*DeviceResponse) Descriptor
deprecated
func (*DeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceResponse.ProtoReflect.Descriptor instead.
func (*DeviceResponse) GetDeviceID ¶
func (x *DeviceResponse) GetDeviceID() string
func (*DeviceResponse) GetDeviceIP ¶
func (x *DeviceResponse) GetDeviceIP() string
func (*DeviceResponse) GetDeviceModel ¶
func (x *DeviceResponse) GetDeviceModel() string
func (*DeviceResponse) GetDeviceOS ¶
func (x *DeviceResponse) GetDeviceOS() string
func (*DeviceResponse) GetDeviceOSInfos ¶
func (x *DeviceResponse) GetDeviceOSInfos() string
func (*DeviceResponse) GetDeviceOSVersion ¶
func (x *DeviceResponse) GetDeviceOSVersion() string
func (*DeviceResponse) GetDeviceParameter ¶
func (x *DeviceResponse) GetDeviceParameter() string
func (*DeviceResponse) GetDeviceType ¶
func (x *DeviceResponse) GetDeviceType() int32
func (*DeviceResponse) GetManager ¶
func (x *DeviceResponse) GetManager() string
func (*DeviceResponse) GetName ¶
func (x *DeviceResponse) GetName() string
func (*DeviceResponse) GetPlatformType ¶
func (x *DeviceResponse) GetPlatformType() int32
func (*DeviceResponse) GetProjectDir ¶
func (x *DeviceResponse) GetProjectDir() string
func (*DeviceResponse) GetState ¶
func (x *DeviceResponse) GetState() DeviceState
func (*DeviceResponse) GetTargetVersion ¶
func (x *DeviceResponse) GetTargetVersion() string
func (*DeviceResponse) ProtoMessage ¶
func (*DeviceResponse) ProtoMessage()
func (*DeviceResponse) ProtoReflect ¶
func (x *DeviceResponse) ProtoReflect() protoreflect.Message
func (*DeviceResponse) Reset ¶
func (x *DeviceResponse) Reset()
func (*DeviceResponse) String ¶
func (x *DeviceResponse) String() string
type DeviceState ¶
type DeviceState int32
const ( DeviceState_None DeviceState = 0 DeviceState_Unknown DeviceState = 1 DeviceState_Shutdown DeviceState = 2 DeviceState_RemoteDisconnected DeviceState = 3 DeviceState_Booted DeviceState = 4 DeviceState_Locked DeviceState = 5 )
func (DeviceState) Descriptor ¶
func (DeviceState) Descriptor() protoreflect.EnumDescriptor
func (DeviceState) Enum ¶
func (x DeviceState) Enum() *DeviceState
func (DeviceState) EnumDescriptor
deprecated
func (DeviceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceState.Descriptor instead.
func (DeviceState) Number ¶
func (x DeviceState) Number() protoreflect.EnumNumber
func (DeviceState) String ¶
func (x DeviceState) String() string
func (DeviceState) Type ¶
func (DeviceState) Type() protoreflect.EnumType
type DeviceStatusRequest ¶
type DeviceStatusRequest struct {
DeviceId string `protobuf:"bytes,1,opt,name=DeviceId,proto3" json:"DeviceId,omitempty"`
// contains filtered or unexported fields
}
func (*DeviceStatusRequest) Descriptor
deprecated
func (*DeviceStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceStatusRequest.ProtoReflect.Descriptor instead.
func (*DeviceStatusRequest) GetDeviceId ¶
func (x *DeviceStatusRequest) GetDeviceId() string
func (*DeviceStatusRequest) ProtoMessage ¶
func (*DeviceStatusRequest) ProtoMessage()
func (*DeviceStatusRequest) ProtoReflect ¶
func (x *DeviceStatusRequest) ProtoReflect() protoreflect.Message
func (*DeviceStatusRequest) Reset ¶
func (x *DeviceStatusRequest) Reset()
func (*DeviceStatusRequest) String ¶
func (x *DeviceStatusRequest) String() string
type DevicesResponse ¶
type DevicesResponse struct {
Devices []*DeviceResponse `protobuf:"bytes,1,rep,name=Devices,proto3" json:"Devices,omitempty"`
// contains filtered or unexported fields
}
func (*DevicesResponse) Descriptor
deprecated
func (*DevicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DevicesResponse.ProtoReflect.Descriptor instead.
func (*DevicesResponse) GetDevices ¶
func (x *DevicesResponse) GetDevices() []*DeviceResponse
func (*DevicesResponse) ProtoMessage ¶
func (*DevicesResponse) ProtoMessage()
func (*DevicesResponse) ProtoReflect ¶
func (x *DevicesResponse) ProtoReflect() protoreflect.Message
func (*DevicesResponse) Reset ¶
func (x *DevicesResponse) Reset()
func (*DevicesResponse) String ¶
func (x *DevicesResponse) String() string
type ErrorResponse ¶
type ErrorResponse struct {
ErrorCode int32 `protobuf:"varint,1,opt,name=ErrorCode,proto3" json:"ErrorCode,omitempty"`
ErrorMessage string `protobuf:"bytes,2,opt,name=ErrorMessage,proto3" json:"ErrorMessage,omitempty"`
// contains filtered or unexported fields
}
func (*ErrorResponse) Descriptor
deprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) GetErrorCode ¶
func (x *ErrorResponse) GetErrorCode() int32
func (*ErrorResponse) GetErrorMessage ¶
func (x *ErrorResponse) GetErrorMessage() string
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (x *ErrorResponse) String() string
type ExecutableParams ¶
type ExecutableParams struct {
Executable string `protobuf:"bytes,1,opt,name=Executable,proto3" json:"Executable,omitempty"`
// contains filtered or unexported fields
}
func (*ExecutableParams) Descriptor
deprecated
func (*ExecutableParams) Descriptor() ([]byte, []int)
Deprecated: Use ExecutableParams.ProtoReflect.Descriptor instead.
func (*ExecutableParams) GetExecutable ¶
func (x *ExecutableParams) GetExecutable() string
func (*ExecutableParams) ProtoMessage ¶
func (*ExecutableParams) ProtoMessage()
func (*ExecutableParams) ProtoReflect ¶
func (x *ExecutableParams) ProtoReflect() protoreflect.Message
func (*ExecutableParams) Reset ¶
func (x *ExecutableParams) Reset()
func (*ExecutableParams) String ¶
func (x *ExecutableParams) String() string
type ExecuteRequest ¶
type ExecuteRequest struct {
DeviceID string `protobuf:"bytes,1,opt,name=DeviceID,proto3" json:"DeviceID,omitempty"`
Data string `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"`
// contains filtered or unexported fields
}
func (*ExecuteRequest) Descriptor
deprecated
func (*ExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.
func (*ExecuteRequest) GetData ¶
func (x *ExecuteRequest) GetData() string
func (*ExecuteRequest) GetDeviceID ¶
func (x *ExecuteRequest) GetDeviceID() string
func (*ExecuteRequest) ProtoMessage ¶
func (*ExecuteRequest) ProtoMessage()
func (*ExecuteRequest) ProtoReflect ¶
func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
func (*ExecuteRequest) Reset ¶
func (x *ExecuteRequest) Reset()
func (*ExecuteRequest) String ¶
func (x *ExecuteRequest) String() string
type FeatureRequest ¶
type FeatureRequest struct {
DeviceID string `protobuf:"bytes,1,opt,name=DeviceID,proto3" json:"DeviceID,omitempty"`
Feature string `protobuf:"bytes,2,opt,name=Feature,proto3" json:"Feature,omitempty"`
// contains filtered or unexported fields
}
func (*FeatureRequest) Descriptor
deprecated
func (*FeatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use FeatureRequest.ProtoReflect.Descriptor instead.
func (*FeatureRequest) GetDeviceID ¶
func (x *FeatureRequest) GetDeviceID() string
func (*FeatureRequest) GetFeature ¶
func (x *FeatureRequest) GetFeature() string
func (*FeatureRequest) ProtoMessage ¶
func (*FeatureRequest) ProtoMessage()
func (*FeatureRequest) ProtoReflect ¶
func (x *FeatureRequest) ProtoReflect() protoreflect.Message
func (*FeatureRequest) Reset ¶
func (x *FeatureRequest) Reset()
func (*FeatureRequest) String ¶
func (x *FeatureRequest) String() string
type RPCClient ¶
type RPCClient struct {
// contains filtered or unexported fields
}
func (*RPCClient) ConnectionTimeout ¶
func (*RPCClient) GetDevices ¶
func (*RPCClient) GetScreenshot ¶
func (*RPCClient) HasFeature ¶
func (*RPCClient) InstallApp ¶
func (*RPCClient) IsAppInstalled ¶
func (*RPCClient) IsAppUploaded ¶
func (*RPCClient) IsConnected ¶
func (*RPCClient) RunNativeScript ¶
func (*RPCClient) SendAction ¶
func (*RPCClient) StartDevice ¶
func (*RPCClient) StartRecording ¶
func (*RPCClient) StopDevice ¶
func (*RPCClient) StopRecording ¶
func (*RPCClient) UninstallApp ¶
type RPCDevice ¶
type RPCDevice struct {
generic.Device
Dev *DeviceResponse
// contains filtered or unexported fields
}
func (*RPCDevice) ConnectionTimeout ¶
func (*RPCDevice) DeviceName ¶
func (*RPCDevice) DeviceOSName ¶
func (*RPCDevice) DeviceOSVersion ¶
func (*RPCDevice) DeviceParameter ¶
func (*RPCDevice) DeviceState ¶
func (*RPCDevice) DeviceType ¶
func (*RPCDevice) HasFeature ¶
func (*RPCDevice) IsAppConnected ¶
func (*RPCDevice) PlatformType ¶
func (*RPCDevice) RunNativeScript ¶
func (*RPCDevice) StartRecording ¶
func (*RPCDevice) StopRecording ¶
func (*RPCDevice) TargetVersion ¶
type RPCNode ¶
type RPCNode struct {
// contains filtered or unexported fields
}
func NewRPCNode ¶
func (*RPCNode) ConnectionTimeout ¶
func (s *RPCNode) ConnectionTimeout(req *DeviceRequest, resp *TimeoutResponse) error
func (*RPCNode) DeviceStatus ¶
func (s *RPCNode) DeviceStatus(req *DeviceStatusRequest, resp *DeviceResponse) error
func (*RPCNode) GetDevices ¶
func (s *RPCNode) GetDevices(req *Void, resp *DevicesResponse) error
func (*RPCNode) GetScreenshotData ¶
func (s *RPCNode) GetScreenshotData(req *ScreenShotDataRequest, resp *ScreenShotDataResponse) error
func (*RPCNode) HasFeature ¶
func (s *RPCNode) HasFeature(req *FeatureRequest, resp *BoolResponse) error
func (*RPCNode) InstallApp ¶
func (s *RPCNode) InstallApp(req *AppParameterRequest, resp *BoolResponse) error
func (*RPCNode) IsAppInstalled ¶
func (s *RPCNode) IsAppInstalled(req *AppParameterRequest, resp *BoolResponse) error
func (*RPCNode) IsAppUploaded ¶
func (s *RPCNode) IsAppUploaded(req *AppParameterRequest, resp *BoolResponse) error
func (*RPCNode) IsConnected ¶
func (s *RPCNode) IsConnected(req *DeviceRequest, resp *BoolResponse) error
func (*RPCNode) RunNativeScript ¶
func (s *RPCNode) RunNativeScript(req *ExecuteRequest, resp *Void) error
func (*RPCNode) SendAction ¶
func (s *RPCNode) SendAction(req *ExecuteRequest, resp *Void) error
func (*RPCNode) StartApp ¶
func (s *RPCNode) StartApp(req *StartAppRequest, resp *BoolResponse) error
func (*RPCNode) StartDevice ¶
func (s *RPCNode) StartDevice(req *DeviceRequest, resp *ErrorResponse) error
func (*RPCNode) StopApp ¶
func (s *RPCNode) StopApp(req *AppParameterRequest, resp *BoolResponse) error
func (*RPCNode) StopDevice ¶
func (s *RPCNode) StopDevice(req *DeviceRequest, resp *ErrorResponse) error
func (*RPCNode) TakeScreenshot ¶
func (s *RPCNode) TakeScreenshot(req *DeviceRequest, resp *ScreenShotResponse) error
func (*RPCNode) UninstallApp ¶
func (s *RPCNode) UninstallApp(req *AppParameterRequest, resp *BoolResponse) error
func (*RPCNode) UploadApp ¶
func (s *RPCNode) UploadApp(req *UploadAppRequest, resp *BoolResponse) error
func (*RPCNode) UploadAppProgress ¶
func (s *RPCNode) UploadAppProgress(req *UploadAppProgressRequest, resp *UploadAppProgressResponse) error
type ReconnectHandler ¶
type ReconnectHandler struct {
ConnectFunction func()
// contains filtered or unexported fields
}
func (*ReconnectHandler) HandleConnect ¶
func (h *ReconnectHandler) HandleConnect() error
func (*ReconnectHandler) ObserveConnectionState ¶
func (*ReconnectHandler) PingReceived ¶
func (h *ReconnectHandler) PingReceived()
type RegisterNodeRequest ¶
type RegisterNodeRequest struct {
Identifier string `protobuf:"bytes,1,opt,name=Identifier,proto3" json:"Identifier,omitempty"`
Hostname string `protobuf:"bytes,2,opt,name=Hostname,proto3" json:"Hostname,omitempty"`
OperationSystem string `protobuf:"bytes,3,opt,name=OperationSystem,proto3" json:"OperationSystem,omitempty"`
EnvironmentVariables string `protobuf:"bytes,4,opt,name=EnvironmentVariables,proto3" json:"EnvironmentVariables,omitempty"`
Port int32 `protobuf:"varint,5,opt,name=Port,proto3" json:"Port,omitempty"`
Managers []string `protobuf:"bytes,6,rep,name=Managers,proto3" json:"Managers,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterNodeRequest) Descriptor
deprecated
func (*RegisterNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterNodeRequest.ProtoReflect.Descriptor instead.
func (*RegisterNodeRequest) GetEnvironmentVariables ¶
func (x *RegisterNodeRequest) GetEnvironmentVariables() string
func (*RegisterNodeRequest) GetHostname ¶
func (x *RegisterNodeRequest) GetHostname() string
func (*RegisterNodeRequest) GetIdentifier ¶
func (x *RegisterNodeRequest) GetIdentifier() string
func (*RegisterNodeRequest) GetManagers ¶
func (x *RegisterNodeRequest) GetManagers() []string
func (*RegisterNodeRequest) GetOperationSystem ¶
func (x *RegisterNodeRequest) GetOperationSystem() string
func (*RegisterNodeRequest) GetPort ¶
func (x *RegisterNodeRequest) GetPort() int32
func (*RegisterNodeRequest) ProtoMessage ¶
func (*RegisterNodeRequest) ProtoMessage()
func (*RegisterNodeRequest) ProtoReflect ¶
func (x *RegisterNodeRequest) ProtoReflect() protoreflect.Message
func (*RegisterNodeRequest) Reset ¶
func (x *RegisterNodeRequest) Reset()
func (*RegisterNodeRequest) String ¶
func (x *RegisterNodeRequest) String() string
type RemoteActionHandler ¶
type RemoteActionHandler struct {
// contains filtered or unexported fields
}
func NewRemoteActionHandler ¶
func NewRemoteActionHandler(masterURL, nodeIdentifier, deviceId string, authToken *string) *RemoteActionHandler
func (*RemoteActionHandler) OnActionResponse ¶
func (w *RemoteActionHandler) OnActionResponse(d interface{}, response *action.Response)
type ScreenShotDataRequest ¶
type ScreenShotDataRequest struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Start int32 `protobuf:"varint,2,opt,name=Start,proto3" json:"Start,omitempty"`
End int32 `protobuf:"varint,3,opt,name=End,proto3" json:"End,omitempty"`
// contains filtered or unexported fields
}
func (*ScreenShotDataRequest) Descriptor
deprecated
func (*ScreenShotDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ScreenShotDataRequest.ProtoReflect.Descriptor instead.
func (*ScreenShotDataRequest) GetEnd ¶
func (x *ScreenShotDataRequest) GetEnd() int32
func (*ScreenShotDataRequest) GetHash ¶
func (x *ScreenShotDataRequest) GetHash() string
func (*ScreenShotDataRequest) GetStart ¶
func (x *ScreenShotDataRequest) GetStart() int32
func (*ScreenShotDataRequest) ProtoMessage ¶
func (*ScreenShotDataRequest) ProtoMessage()
func (*ScreenShotDataRequest) ProtoReflect ¶
func (x *ScreenShotDataRequest) ProtoReflect() protoreflect.Message
func (*ScreenShotDataRequest) Reset ¶
func (x *ScreenShotDataRequest) Reset()
func (*ScreenShotDataRequest) String ¶
func (x *ScreenShotDataRequest) String() string
type ScreenShotDataResponse ¶
type ScreenShotDataResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
// contains filtered or unexported fields
}
func (*ScreenShotDataResponse) Descriptor
deprecated
func (*ScreenShotDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScreenShotDataResponse.ProtoReflect.Descriptor instead.
func (*ScreenShotDataResponse) GetData ¶
func (x *ScreenShotDataResponse) GetData() []byte
func (*ScreenShotDataResponse) ProtoMessage ¶
func (*ScreenShotDataResponse) ProtoMessage()
func (*ScreenShotDataResponse) ProtoReflect ¶
func (x *ScreenShotDataResponse) ProtoReflect() protoreflect.Message
func (*ScreenShotDataResponse) Reset ¶
func (x *ScreenShotDataResponse) Reset()
func (*ScreenShotDataResponse) String ¶
func (x *ScreenShotDataResponse) String() string
type ScreenShotResponse ¶
type ScreenShotResponse struct {
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"`
Width int32 `protobuf:"varint,3,opt,name=Width,proto3" json:"Width,omitempty"`
Height int32 `protobuf:"varint,4,opt,name=Height,proto3" json:"Height,omitempty"`
// contains filtered or unexported fields
}
func (*ScreenShotResponse) Descriptor
deprecated
func (*ScreenShotResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScreenShotResponse.ProtoReflect.Descriptor instead.
func (*ScreenShotResponse) GetHash ¶
func (x *ScreenShotResponse) GetHash() string
func (*ScreenShotResponse) GetHeight ¶
func (x *ScreenShotResponse) GetHeight() int32
func (*ScreenShotResponse) GetSize ¶
func (x *ScreenShotResponse) GetSize() int32
func (*ScreenShotResponse) GetWidth ¶
func (x *ScreenShotResponse) GetWidth() int32
func (*ScreenShotResponse) ProtoMessage ¶
func (*ScreenShotResponse) ProtoMessage()
func (*ScreenShotResponse) ProtoReflect ¶
func (x *ScreenShotResponse) ProtoReflect() protoreflect.Message
func (*ScreenShotResponse) Reset ¶
func (x *ScreenShotResponse) Reset()
func (*ScreenShotResponse) String ¶
func (x *ScreenShotResponse) String() string
type StartAppRequest ¶
type StartAppRequest struct {
App *AppParameterRequest `protobuf:"bytes,1,opt,name=App,proto3" json:"App,omitempty"`
SessionID string `protobuf:"bytes,2,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
HostIP string `protobuf:"bytes,3,opt,name=HostIP,proto3" json:"HostIP,omitempty"`
// contains filtered or unexported fields
}
func (*StartAppRequest) Descriptor
deprecated
func (*StartAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartAppRequest.ProtoReflect.Descriptor instead.
func (*StartAppRequest) GetApp ¶
func (x *StartAppRequest) GetApp() *AppParameterRequest
func (*StartAppRequest) GetHostIP ¶
func (x *StartAppRequest) GetHostIP() string
func (*StartAppRequest) GetSessionID ¶
func (x *StartAppRequest) GetSessionID() string
func (*StartAppRequest) ProtoMessage ¶
func (*StartAppRequest) ProtoMessage()
func (*StartAppRequest) ProtoReflect ¶
func (x *StartAppRequest) ProtoReflect() protoreflect.Message
func (*StartAppRequest) Reset ¶
func (x *StartAppRequest) Reset()
func (*StartAppRequest) String ¶
func (x *StartAppRequest) String() string
type TimeoutResponse ¶
type TimeoutResponse struct {
Timeout int64 `protobuf:"varint,1,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
// contains filtered or unexported fields
}
func (*TimeoutResponse) Descriptor
deprecated
func (*TimeoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use TimeoutResponse.ProtoReflect.Descriptor instead.
func (*TimeoutResponse) GetTimeout ¶
func (x *TimeoutResponse) GetTimeout() int64
func (*TimeoutResponse) ProtoMessage ¶
func (*TimeoutResponse) ProtoMessage()
func (*TimeoutResponse) ProtoReflect ¶
func (x *TimeoutResponse) ProtoReflect() protoreflect.Message
func (*TimeoutResponse) Reset ¶
func (x *TimeoutResponse) Reset()
func (*TimeoutResponse) String ¶
func (x *TimeoutResponse) String() string
type UploadAppProgressRequest ¶
type UploadAppProgressRequest struct {
AppID int32 `protobuf:"varint,1,opt,name=AppID,proto3" json:"AppID,omitempty"`
// contains filtered or unexported fields
}
func (*UploadAppProgressRequest) Descriptor
deprecated
func (*UploadAppProgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadAppProgressRequest.ProtoReflect.Descriptor instead.
func (*UploadAppProgressRequest) GetAppID ¶
func (x *UploadAppProgressRequest) GetAppID() int32
func (*UploadAppProgressRequest) ProtoMessage ¶
func (*UploadAppProgressRequest) ProtoMessage()
func (*UploadAppProgressRequest) ProtoReflect ¶
func (x *UploadAppProgressRequest) ProtoReflect() protoreflect.Message
func (*UploadAppProgressRequest) Reset ¶
func (x *UploadAppProgressRequest) Reset()
func (*UploadAppProgressRequest) String ¶
func (x *UploadAppProgressRequest) String() string
type UploadAppProgressResponse ¶
type UploadAppProgressResponse struct {
AppID int32 `protobuf:"varint,1,opt,name=AppID,proto3" json:"AppID,omitempty"`
DataReceived int64 `protobuf:"varint,2,opt,name=DataReceived,proto3" json:"DataReceived,omitempty"`
// contains filtered or unexported fields
}
func (*UploadAppProgressResponse) Descriptor
deprecated
func (*UploadAppProgressResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadAppProgressResponse.ProtoReflect.Descriptor instead.
func (*UploadAppProgressResponse) GetAppID ¶
func (x *UploadAppProgressResponse) GetAppID() int32
func (*UploadAppProgressResponse) GetDataReceived ¶
func (x *UploadAppProgressResponse) GetDataReceived() int64
func (*UploadAppProgressResponse) ProtoMessage ¶
func (*UploadAppProgressResponse) ProtoMessage()
func (*UploadAppProgressResponse) ProtoReflect ¶
func (x *UploadAppProgressResponse) ProtoReflect() protoreflect.Message
func (*UploadAppProgressResponse) Reset ¶
func (x *UploadAppProgressResponse) Reset()
func (*UploadAppProgressResponse) String ¶
func (x *UploadAppProgressResponse) String() string
type UploadAppRequest ¶
type UploadAppRequest struct {
AppID int32 `protobuf:"varint,1,opt,name=AppID,proto3" json:"AppID,omitempty"`
Identifier string `protobuf:"bytes,2,opt,name=Identifier,proto3" json:"Identifier,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Hash string `protobuf:"bytes,4,opt,name=Hash,proto3" json:"Hash,omitempty"`
Size int64 `protobuf:"varint,5,opt,name=Size,proto3" json:"Size,omitempty"`
URL string `protobuf:"bytes,6,opt,name=URL,proto3" json:"URL,omitempty"`
// contains filtered or unexported fields
}
func (*UploadAppRequest) Descriptor
deprecated
func (*UploadAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadAppRequest.ProtoReflect.Descriptor instead.
func (*UploadAppRequest) GetAppID ¶
func (x *UploadAppRequest) GetAppID() int32
func (*UploadAppRequest) GetHash ¶
func (x *UploadAppRequest) GetHash() string
func (*UploadAppRequest) GetIdentifier ¶
func (x *UploadAppRequest) GetIdentifier() string
func (*UploadAppRequest) GetName ¶
func (x *UploadAppRequest) GetName() string
func (*UploadAppRequest) GetSize ¶
func (x *UploadAppRequest) GetSize() int64
func (*UploadAppRequest) GetURL ¶
func (x *UploadAppRequest) GetURL() string
func (*UploadAppRequest) ProtoMessage ¶
func (*UploadAppRequest) ProtoMessage()
func (*UploadAppRequest) ProtoReflect ¶
func (x *UploadAppRequest) ProtoReflect() protoreflect.Message
func (*UploadAppRequest) Reset ¶
func (x *UploadAppRequest) Reset()
func (*UploadAppRequest) String ¶
func (x *UploadAppRequest) String() string
type UploadProgress ¶
type UploadProgress struct {
Request *UploadAppRequest
NextProgressPrint *time.Time
Data []byte
}
type Void ¶
type Void struct {
// contains filtered or unexported fields
}
func (*Void) Descriptor
deprecated
func (*Void) ProtoMessage ¶
func (*Void) ProtoMessage()
func (*Void) ProtoReflect ¶
func (x *Void) ProtoReflect() protoreflect.Message
type WebParams ¶
type WebParams struct {
StartURL string `protobuf:"bytes,1,opt,name=StartURL,proto3" json:"StartURL,omitempty"`
// contains filtered or unexported fields
}
func (*WebParams) Descriptor
deprecated
func (*WebParams) GetStartURL ¶
func (*WebParams) ProtoMessage ¶
func (*WebParams) ProtoMessage()
func (*WebParams) ProtoReflect ¶
func (x *WebParams) ProtoReflect() protoreflect.Message