Documentation ¶
Overview ¶
Package P4wnP1_grpc is a generated protocol buffer package.
It is generated from these files:
grpc.proto
It has these top-level messages:
MasterTemplate RequestMasterTemplateStorage BluetoothRequestSettingsStorage BluetoothSettings BluetoothAgentSettings BluetoothNetworkService BluetoothControllerSettings BluetoothControllerInformation TriggerActionSet TriggerAction TriggerServiceStarted TriggerUSBGadgetConnected TriggerUSBGadgetDisconnected TriggerWifiAPStarted TriggerWifiConnectedAsSta TriggerSSHLogin TriggerDHCPLeaseGranted TriggerGroupReceive TriggerGroupReceiveMulti TriggerGPIOIn ActionStartBashScript ActionStartHIDScript ActionDeploySettingsTemplate ActionLog ActionGPIOOut ActionGroupSend WifiRequestSettingsStorage WiFiSettings WiFiState WiFiBSSCfg StringMessage StringMessageArray EventRequest EventValue Event TempDirOrFileRequest TempDirOrFileResponse ReadFileRequest ReadFileResponse WriteFileRequest FileInfoRequest FileInfoResponse HIDScriptRequest HIDScriptJob HIDScriptJobList HIDRunningJobStateResult HIDScriptResult LEDSettings USBRequestSettingsStorage GadgetSettings GadgetSettingsEthernet GadgetSettingsUMS EthernetRequestSettingsStorage DeployedEthernetInterfaceSettings EthernetInterfaceSettings DHCPServerSettings DHCPServerRange DHCPServerStaticHost Empty
Index ¶
- Variables
- func RegisterP4WNP1Server(s *grpc.Server, srv P4WNP1Server)
- type AccessibleFolder
- type ActionDeploySettingsTemplate
- func (*ActionDeploySettingsTemplate) Descriptor() ([]byte, []int)
- func (m *ActionDeploySettingsTemplate) GetTemplateName() string
- func (m *ActionDeploySettingsTemplate) GetType() ActionDeploySettingsTemplate_TemplateType
- func (*ActionDeploySettingsTemplate) ProtoMessage()
- func (m *ActionDeploySettingsTemplate) Reset()
- func (m *ActionDeploySettingsTemplate) String() string
- type ActionDeploySettingsTemplate_TemplateType
- type ActionGPIOOut
- type ActionGroupSend
- type ActionLog
- type ActionStartBashScript
- type ActionStartHIDScript
- type BluetoothAgentSettings
- type BluetoothControllerInformation
- func (*BluetoothControllerInformation) Descriptor() ([]byte, []int)
- func (m *BluetoothControllerInformation) GetAddress() []byte
- func (m *BluetoothControllerInformation) GetBluetoothVersion() uint32
- func (m *BluetoothControllerInformation) GetClassOfDevice() []byte
- func (m *BluetoothControllerInformation) GetCurrentSettings() *BluetoothControllerSettings
- func (m *BluetoothControllerInformation) GetIsAvailable() bool
- func (m *BluetoothControllerInformation) GetManufacturer() uint32
- func (m *BluetoothControllerInformation) GetName() string
- func (m *BluetoothControllerInformation) GetServiceNetworkServerGn() bool
- func (m *BluetoothControllerInformation) GetServiceNetworkServerNap() bool
- func (m *BluetoothControllerInformation) GetServiceNetworkServerPanu() bool
- func (m *BluetoothControllerInformation) GetShortName() string
- func (m *BluetoothControllerInformation) GetSupportedSettings() *BluetoothControllerSettings
- func (*BluetoothControllerInformation) ProtoMessage()
- func (m *BluetoothControllerInformation) Reset()
- func (m *BluetoothControllerInformation) String() string
- type BluetoothControllerSettings
- func (*BluetoothControllerSettings) Descriptor() ([]byte, []int)
- func (m *BluetoothControllerSettings) GetAdvertising() bool
- func (m *BluetoothControllerSettings) GetBondable() bool
- func (m *BluetoothControllerSettings) GetBrEdr() bool
- func (m *BluetoothControllerSettings) GetConnectable() bool
- func (m *BluetoothControllerSettings) GetControllerConfiguration() bool
- func (m *BluetoothControllerSettings) GetDebugKeys() bool
- func (m *BluetoothControllerSettings) GetDiscoverable() bool
- func (m *BluetoothControllerSettings) GetFastConnectable() bool
- func (m *BluetoothControllerSettings) GetHighSpeed() bool
- func (m *BluetoothControllerSettings) GetLinkLevelSecurity() bool
- func (m *BluetoothControllerSettings) GetLowEnergy() bool
- func (m *BluetoothControllerSettings) GetPowered() bool
- func (m *BluetoothControllerSettings) GetPrivacy() bool
- func (m *BluetoothControllerSettings) GetSecureConnections() bool
- func (m *BluetoothControllerSettings) GetSecureSimplePairing() bool
- func (m *BluetoothControllerSettings) GetStaticAddress() bool
- func (*BluetoothControllerSettings) ProtoMessage()
- func (m *BluetoothControllerSettings) Reset()
- func (m *BluetoothControllerSettings) String() string
- type BluetoothNetworkService
- func (*BluetoothNetworkService) Descriptor() ([]byte, []int)
- func (m *BluetoothNetworkService) GetBridgeName() string
- func (m *BluetoothNetworkService) GetMacOrName() string
- func (m *BluetoothNetworkService) GetRegisterOrUnregister() bool
- func (m *BluetoothNetworkService) GetServerOrConnect() bool
- func (m *BluetoothNetworkService) GetType() BluetoothNetworkServiceType
- func (*BluetoothNetworkService) ProtoMessage()
- func (m *BluetoothNetworkService) Reset()
- func (m *BluetoothNetworkService) String() string
- type BluetoothNetworkServiceType
- type BluetoothRequestSettingsStorage
- func (*BluetoothRequestSettingsStorage) Descriptor() ([]byte, []int)
- func (m *BluetoothRequestSettingsStorage) GetSettings() *BluetoothSettings
- func (m *BluetoothRequestSettingsStorage) GetTemplateName() string
- func (*BluetoothRequestSettingsStorage) ProtoMessage()
- func (m *BluetoothRequestSettingsStorage) Reset()
- func (m *BluetoothRequestSettingsStorage) String() string
- type BluetoothSettings
- func (*BluetoothSettings) Descriptor() ([]byte, []int)
- func (m *BluetoothSettings) GetAs() *BluetoothAgentSettings
- func (m *BluetoothSettings) GetCi() *BluetoothControllerInformation
- func (*BluetoothSettings) ProtoMessage()
- func (m *BluetoothSettings) Reset()
- func (m *BluetoothSettings) String() string
- type DHCPServerRange
- func (*DHCPServerRange) Descriptor() ([]byte, []int)
- func (m *DHCPServerRange) GetLeaseTime() string
- func (m *DHCPServerRange) GetRangeLower() string
- func (m *DHCPServerRange) GetRangeUpper() string
- func (*DHCPServerRange) ProtoMessage()
- func (m *DHCPServerRange) Reset()
- func (m *DHCPServerRange) String() string
- type DHCPServerSettings
- func (*DHCPServerSettings) Descriptor() ([]byte, []int)
- func (m *DHCPServerSettings) GetCallbackScript() string
- func (m *DHCPServerSettings) GetDoNotBindInterface() bool
- func (m *DHCPServerSettings) GetLeaseFile() string
- func (m *DHCPServerSettings) GetListenInterface() string
- func (m *DHCPServerSettings) GetListenPort() uint32
- func (m *DHCPServerSettings) GetNotAuthoritative() bool
- func (m *DHCPServerSettings) GetOptions() map[uint32]string
- func (m *DHCPServerSettings) GetRanges() []*DHCPServerRange
- func (m *DHCPServerSettings) GetStaticHosts() []*DHCPServerStaticHost
- func (*DHCPServerSettings) ProtoMessage()
- func (m *DHCPServerSettings) Reset()
- func (m *DHCPServerSettings) String() string
- type DHCPServerStaticHost
- type DeployedEthernetInterfaceSettings
- func (*DeployedEthernetInterfaceSettings) Descriptor() ([]byte, []int)
- func (m *DeployedEthernetInterfaceSettings) GetList() []*EthernetInterfaceSettings
- func (*DeployedEthernetInterfaceSettings) ProtoMessage()
- func (m *DeployedEthernetInterfaceSettings) Reset()
- func (m *DeployedEthernetInterfaceSettings) String() string
- type Empty
- type EthernetInterfaceSettings
- func (*EthernetInterfaceSettings) Descriptor() ([]byte, []int)
- func (m *EthernetInterfaceSettings) GetDhcpServerSettings() *DHCPServerSettings
- func (m *EthernetInterfaceSettings) GetEnabled() bool
- func (m *EthernetInterfaceSettings) GetIpAddress4() string
- func (m *EthernetInterfaceSettings) GetMode() EthernetInterfaceSettings_Mode
- func (m *EthernetInterfaceSettings) GetName() string
- func (m *EthernetInterfaceSettings) GetNetmask4() string
- func (m *EthernetInterfaceSettings) GetSettingsInUse() bool
- func (*EthernetInterfaceSettings) ProtoMessage()
- func (m *EthernetInterfaceSettings) Reset()
- func (m *EthernetInterfaceSettings) String() string
- type EthernetInterfaceSettings_Mode
- type EthernetRequestSettingsStorage
- func (*EthernetRequestSettingsStorage) Descriptor() ([]byte, []int)
- func (m *EthernetRequestSettingsStorage) GetSettings() *EthernetInterfaceSettings
- func (m *EthernetRequestSettingsStorage) GetTemplateName() string
- func (*EthernetRequestSettingsStorage) ProtoMessage()
- func (m *EthernetRequestSettingsStorage) Reset()
- func (m *EthernetRequestSettingsStorage) String() string
- type Event
- type EventRequest
- type EventValue
- func (*EventValue) Descriptor() ([]byte, []int)
- func (m *EventValue) GetTbool() bool
- func (m *EventValue) GetTint64() int64
- func (m *EventValue) GetTstring() string
- func (m *EventValue) GetVal() isEventValue_Val
- func (*EventValue) ProtoMessage()
- func (m *EventValue) Reset()
- func (m *EventValue) String() string
- func (*EventValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type EventValue_Tbool
- type EventValue_Tint64
- type EventValue_Tstring
- type FileInfoRequest
- type FileInfoResponse
- func (*FileInfoResponse) Descriptor() ([]byte, []int)
- func (m *FileInfoResponse) GetIsDir() bool
- func (m *FileInfoResponse) GetModTime() int64
- func (m *FileInfoResponse) GetMode() uint32
- func (m *FileInfoResponse) GetName() string
- func (m *FileInfoResponse) GetSize() int64
- func (*FileInfoResponse) ProtoMessage()
- func (m *FileInfoResponse) Reset()
- func (m *FileInfoResponse) String() string
- type GPIOInEdge
- type GPIOInPullUpDown
- type GPIOOutValue
- type GadgetSettings
- func (*GadgetSettings) Descriptor() ([]byte, []int)
- func (m *GadgetSettings) GetCdcEcmSettings() *GadgetSettingsEthernet
- func (m *GadgetSettings) GetDevPathHidKeyboard() string
- func (m *GadgetSettings) GetDevPathHidMouse() string
- func (m *GadgetSettings) GetDevPathHidRaw() string
- func (m *GadgetSettings) GetEnabled() bool
- func (m *GadgetSettings) GetManufacturer() string
- func (m *GadgetSettings) GetPid() string
- func (m *GadgetSettings) GetProduct() string
- func (m *GadgetSettings) GetRndisSettings() *GadgetSettingsEthernet
- func (m *GadgetSettings) GetSerial() string
- func (m *GadgetSettings) GetUmsSettings() *GadgetSettingsUMS
- func (m *GadgetSettings) GetUse_CDC_ECM() bool
- func (m *GadgetSettings) GetUse_HID_KEYBOARD() bool
- func (m *GadgetSettings) GetUse_HID_MOUSE() bool
- func (m *GadgetSettings) GetUse_HID_RAW() bool
- func (m *GadgetSettings) GetUse_RNDIS() bool
- func (m *GadgetSettings) GetUse_SERIAL() bool
- func (m *GadgetSettings) GetUse_UMS() bool
- func (m *GadgetSettings) GetVid() string
- func (*GadgetSettings) ProtoMessage()
- func (m *GadgetSettings) Reset()
- func (m *GadgetSettings) String() string
- type GadgetSettingsEthernet
- func (*GadgetSettingsEthernet) Descriptor() ([]byte, []int)
- func (m *GadgetSettingsEthernet) GetDevAddr() string
- func (m *GadgetSettingsEthernet) GetHostAddr() string
- func (*GadgetSettingsEthernet) ProtoMessage()
- func (m *GadgetSettingsEthernet) Reset()
- func (m *GadgetSettingsEthernet) String() string
- type GadgetSettingsUMS
- type GroupReceiveMultiType
- type HIDRunningJobStateResult
- func (*HIDRunningJobStateResult) Descriptor() ([]byte, []int)
- func (m *HIDRunningJobStateResult) GetId() int64
- func (m *HIDRunningJobStateResult) GetSource() string
- func (m *HIDRunningJobStateResult) GetVmId() int64
- func (*HIDRunningJobStateResult) ProtoMessage()
- func (m *HIDRunningJobStateResult) Reset()
- func (m *HIDRunningJobStateResult) String() string
- type HIDScriptJob
- type HIDScriptJobList
- type HIDScriptRequest
- type HIDScriptResult
- func (*HIDScriptResult) Descriptor() ([]byte, []int)
- func (m *HIDScriptResult) GetIsFinished() bool
- func (m *HIDScriptResult) GetJob() *HIDScriptJob
- func (m *HIDScriptResult) GetResultJson() string
- func (*HIDScriptResult) ProtoMessage()
- func (m *HIDScriptResult) Reset()
- func (m *HIDScriptResult) String() string
- type LEDSettings
- type MasterTemplate
- func (*MasterTemplate) Descriptor() ([]byte, []int)
- func (m *MasterTemplate) GetTemplateNameBluetooth() string
- func (m *MasterTemplate) GetTemplateNameTriggerActions() string
- func (m *MasterTemplate) GetTemplateNameUsb() string
- func (m *MasterTemplate) GetTemplateNameWifi() string
- func (m *MasterTemplate) GetTemplateNamesNetwork() []string
- func (*MasterTemplate) ProtoMessage()
- func (m *MasterTemplate) Reset()
- func (m *MasterTemplate) String() string
- type P4WNP1Client
- type P4WNP1Server
- type P4WNP1_EventListenClient
- type P4WNP1_EventListenServer
- type ReadFileRequest
- func (*ReadFileRequest) Descriptor() ([]byte, []int)
- func (m *ReadFileRequest) GetFilename() string
- func (m *ReadFileRequest) GetFolder() AccessibleFolder
- func (m *ReadFileRequest) GetLen() int64
- func (m *ReadFileRequest) GetStart() int64
- func (*ReadFileRequest) ProtoMessage()
- func (m *ReadFileRequest) Reset()
- func (m *ReadFileRequest) String() string
- type ReadFileResponse
- type RequestMasterTemplateStorage
- func (*RequestMasterTemplateStorage) Descriptor() ([]byte, []int)
- func (m *RequestMasterTemplateStorage) GetTemplate() *MasterTemplate
- func (m *RequestMasterTemplateStorage) GetTemplateName() string
- func (*RequestMasterTemplateStorage) ProtoMessage()
- func (m *RequestMasterTemplateStorage) Reset()
- func (m *RequestMasterTemplateStorage) String() string
- type StringMessage
- type StringMessageArray
- type TempDirOrFileRequest
- func (*TempDirOrFileRequest) Descriptor() ([]byte, []int)
- func (m *TempDirOrFileRequest) GetDir() string
- func (m *TempDirOrFileRequest) GetOnlyFolder() bool
- func (m *TempDirOrFileRequest) GetPrefix() string
- func (*TempDirOrFileRequest) ProtoMessage()
- func (m *TempDirOrFileRequest) Reset()
- func (m *TempDirOrFileRequest) String() string
- type TempDirOrFileResponse
- type TriggerAction
- func (*TriggerAction) Descriptor() ([]byte, []int)
- func (m *TriggerAction) GetAction() isTriggerAction_Action
- func (m *TriggerAction) GetBashScript() *ActionStartBashScript
- func (m *TriggerAction) GetDeploySettingsTemplate() *ActionDeploySettingsTemplate
- func (m *TriggerAction) GetDhcpLeaseGranted() *TriggerDHCPLeaseGranted
- func (m *TriggerAction) GetGpioIn() *TriggerGPIOIn
- func (m *TriggerAction) GetGpioOut() *ActionGPIOOut
- func (m *TriggerAction) GetGroupReceive() *TriggerGroupReceive
- func (m *TriggerAction) GetGroupReceiveMulti() *TriggerGroupReceiveMulti
- func (m *TriggerAction) GetGroupSend() *ActionGroupSend
- func (m *TriggerAction) GetHidScript() *ActionStartHIDScript
- func (m *TriggerAction) GetId() uint32
- func (m *TriggerAction) GetImmutable() bool
- func (m *TriggerAction) GetIsActive() bool
- func (m *TriggerAction) GetLog() *ActionLog
- func (m *TriggerAction) GetOneShot() bool
- func (m *TriggerAction) GetServiceStarted() *TriggerServiceStarted
- func (m *TriggerAction) GetSshLogin() *TriggerSSHLogin
- func (m *TriggerAction) GetTrigger() isTriggerAction_Trigger
- func (m *TriggerAction) GetUsbGadgetConnected() *TriggerUSBGadgetConnected
- func (m *TriggerAction) GetUsbGadgetDisconnected() *TriggerUSBGadgetDisconnected
- func (m *TriggerAction) GetWifiAPStarted() *TriggerWifiAPStarted
- func (m *TriggerAction) GetWifiConnectedAsSta() *TriggerWifiConnectedAsSta
- func (*TriggerAction) ProtoMessage()
- func (m *TriggerAction) Reset()
- func (m *TriggerAction) String() string
- func (*TriggerAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type TriggerActionSet
- type TriggerAction_BashScript
- type TriggerAction_DeploySettingsTemplate
- type TriggerAction_DhcpLeaseGranted
- type TriggerAction_GpioIn
- type TriggerAction_GpioOut
- type TriggerAction_GroupReceive
- type TriggerAction_GroupReceiveMulti
- type TriggerAction_GroupSend
- type TriggerAction_HidScript
- type TriggerAction_Log
- type TriggerAction_ServiceStarted
- type TriggerAction_SshLogin
- type TriggerAction_UsbGadgetConnected
- type TriggerAction_UsbGadgetDisconnected
- type TriggerAction_WifiAPStarted
- type TriggerAction_WifiConnectedAsSta
- type TriggerDHCPLeaseGranted
- type TriggerGPIOIn
- func (*TriggerGPIOIn) Descriptor() ([]byte, []int)
- func (m *TriggerGPIOIn) GetDebounceMillis() int64
- func (m *TriggerGPIOIn) GetGpioInEdge() GPIOInEdge
- func (m *TriggerGPIOIn) GetGpioName() string
- func (m *TriggerGPIOIn) GetPullUpDown() GPIOInPullUpDown
- func (*TriggerGPIOIn) ProtoMessage()
- func (m *TriggerGPIOIn) Reset()
- func (m *TriggerGPIOIn) String() string
- type TriggerGroupReceive
- type TriggerGroupReceiveMulti
- func (*TriggerGroupReceiveMulti) Descriptor() ([]byte, []int)
- func (m *TriggerGroupReceiveMulti) GetGroupName() string
- func (m *TriggerGroupReceiveMulti) GetType() GroupReceiveMultiType
- func (m *TriggerGroupReceiveMulti) GetValues() []int32
- func (*TriggerGroupReceiveMulti) ProtoMessage()
- func (m *TriggerGroupReceiveMulti) Reset()
- func (m *TriggerGroupReceiveMulti) String() string
- type TriggerSSHLogin
- type TriggerServiceStarted
- type TriggerUSBGadgetConnected
- type TriggerUSBGadgetDisconnected
- type TriggerWifiAPStarted
- type TriggerWifiConnectedAsSta
- type USBRequestSettingsStorage
- func (*USBRequestSettingsStorage) Descriptor() ([]byte, []int)
- func (m *USBRequestSettingsStorage) GetSettings() *GadgetSettings
- func (m *USBRequestSettingsStorage) GetTemplateName() string
- func (*USBRequestSettingsStorage) ProtoMessage()
- func (m *USBRequestSettingsStorage) Reset()
- func (m *USBRequestSettingsStorage) String() string
- type WiFiAuthMode
- type WiFiBSSCfg
- type WiFiSettings
- func (*WiFiSettings) Descriptor() ([]byte, []int)
- func (m *WiFiSettings) GetAp_BSS() *WiFiBSSCfg
- func (m *WiFiSettings) GetAuthMode() WiFiAuthMode
- func (m *WiFiSettings) GetChannel() uint32
- func (m *WiFiSettings) GetClient_BSSList() []*WiFiBSSCfg
- func (m *WiFiSettings) GetDisabled() bool
- func (m *WiFiSettings) GetHideSsid() bool
- func (m *WiFiSettings) GetName() string
- func (m *WiFiSettings) GetNexmon() bool
- func (m *WiFiSettings) GetRegulatory() string
- func (m *WiFiSettings) GetWorkingMode() WiFiWorkingMode
- func (*WiFiSettings) ProtoMessage()
- func (m *WiFiSettings) Reset()
- func (m *WiFiSettings) String() string
- type WiFiState
- func (*WiFiState) Descriptor() ([]byte, []int)
- func (m *WiFiState) GetChannel() uint32
- func (m *WiFiState) GetCurrentSettings() *WiFiSettings
- func (m *WiFiState) GetMode() WiFiStateMode
- func (m *WiFiState) GetSsid() string
- func (*WiFiState) ProtoMessage()
- func (m *WiFiState) Reset()
- func (m *WiFiState) String() string
- type WiFiStateMode
- type WiFiWorkingMode
- type WifiRequestSettingsStorage
- func (*WifiRequestSettingsStorage) Descriptor() ([]byte, []int)
- func (m *WifiRequestSettingsStorage) GetSettings() *WiFiSettings
- func (m *WifiRequestSettingsStorage) GetTemplateName() string
- func (*WifiRequestSettingsStorage) ProtoMessage()
- func (m *WifiRequestSettingsStorage) Reset()
- func (m *WifiRequestSettingsStorage) String() string
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)
- func (m *WriteFileRequest) GetAppend() bool
- func (m *WriteFileRequest) GetData() []byte
- func (m *WriteFileRequest) GetFilename() string
- func (m *WriteFileRequest) GetFolder() AccessibleFolder
- func (m *WriteFileRequest) GetMustNotExist() bool
- func (*WriteFileRequest) ProtoMessage()
- func (m *WriteFileRequest) Reset()
- func (m *WriteFileRequest) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var AccessibleFolder_name = map[int32]string{
0: "TMP",
1: "BASH_SCRIPTS",
2: "HID_SCRIPTS",
}
View Source
var AccessibleFolder_value = map[string]int32{
"TMP": 0,
"BASH_SCRIPTS": 1,
"HID_SCRIPTS": 2,
}
View Source
var ActionDeploySettingsTemplate_TemplateType_name = map[int32]string{
0: "FULL_SETTINGS",
1: "NETWORK",
2: "WIFI",
3: "USB",
4: "BLUETOOTH",
5: "TRIGGER_ACTIONS",
}
View Source
var ActionDeploySettingsTemplate_TemplateType_value = map[string]int32{
"FULL_SETTINGS": 0,
"NETWORK": 1,
"WIFI": 2,
"USB": 3,
"BLUETOOTH": 4,
"TRIGGER_ACTIONS": 5,
}
View Source
var BluetoothNetworkServiceType_name = map[int32]string{
0: "NAP",
1: "PANU",
2: "GN",
}
View Source
var BluetoothNetworkServiceType_value = map[string]int32{
"NAP": 0,
"PANU": 1,
"GN": 2,
}
View Source
var EthernetInterfaceSettings_Mode_name = map[int32]string{
0: "MANUAL",
1: "DHCP_CLIENT",
2: "DHCP_SERVER",
3: "UNMANAGED",
}
View Source
var EthernetInterfaceSettings_Mode_value = map[string]int32{
"MANUAL": 0,
"DHCP_CLIENT": 1,
"DHCP_SERVER": 2,
"UNMANAGED": 3,
}
View Source
var GPIOInEdge_name = map[int32]string{
0: "RISING",
1: "FALLING",
2: "BOTH",
}
View Source
var GPIOInEdge_value = map[string]int32{
"RISING": 0,
"FALLING": 1,
"BOTH": 2,
}
View Source
var GPIOInPullUpDown_name = map[int32]string{
0: "UP",
1: "DOWN",
2: "OFF",
}
View Source
var GPIOInPullUpDown_value = map[string]int32{
"UP": 0,
"DOWN": 1,
"OFF": 2,
}
View Source
var GPIOOutValue_name = map[int32]string{
0: "LOW",
1: "HIGH",
2: "TOGGLE",
}
View Source
var GPIOOutValue_value = map[string]int32{
"LOW": 0,
"HIGH": 1,
"TOGGLE": 2,
}
View Source
var GroupReceiveMultiType_name = map[int32]string{
0: "SEQUENCE",
1: "AND",
2: "OR",
3: "EXACT_SEQUENCE",
}
View Source
var GroupReceiveMultiType_value = map[string]int32{
"SEQUENCE": 0,
"AND": 1,
"OR": 2,
"EXACT_SEQUENCE": 3,
}
View Source
var WiFiAuthMode_name = map[int32]string{
0: "WPA2_PSK",
1: "OPEN",
}
View Source
var WiFiAuthMode_value = map[string]int32{
"WPA2_PSK": 0,
"OPEN": 1,
}
View Source
var WiFiStateMode_name = map[int32]string{
0: "STA_NOT_CONNECTED",
1: "AP_UP",
2: "STA_CONNECTED",
}
View Source
var WiFiStateMode_value = map[string]int32{
"STA_NOT_CONNECTED": 0,
"AP_UP": 1,
"STA_CONNECTED": 2,
}
View Source
var WiFiWorkingMode_name = map[int32]string{
0: "UNKNOWN",
1: "AP",
2: "STA",
3: "STA_FAILOVER_AP",
}
View Source
var WiFiWorkingMode_value = map[string]int32{
"UNKNOWN": 0,
"AP": 1,
"STA": 2,
"STA_FAILOVER_AP": 3,
}
Functions ¶
func RegisterP4WNP1Server ¶
func RegisterP4WNP1Server(s *grpc.Server, srv P4WNP1Server)
Types ¶
type AccessibleFolder ¶
type AccessibleFolder int32
const ( AccessibleFolder_TMP AccessibleFolder = 0 AccessibleFolder_BASH_SCRIPTS AccessibleFolder = 1 AccessibleFolder_HID_SCRIPTS AccessibleFolder = 2 )
func (AccessibleFolder) EnumDescriptor ¶
func (AccessibleFolder) EnumDescriptor() ([]byte, []int)
func (AccessibleFolder) String ¶
func (x AccessibleFolder) String() string
type ActionDeploySettingsTemplate ¶
type ActionDeploySettingsTemplate struct { TemplateName string `protobuf:"bytes,1,opt,name=templateName" json:"templateName,omitempty"` Type ActionDeploySettingsTemplate_TemplateType `protobuf:"varint,2,opt,name=type,enum=P4wnP1_grpc.ActionDeploySettingsTemplate_TemplateType" json:"type,omitempty"` }
func (*ActionDeploySettingsTemplate) Descriptor ¶
func (*ActionDeploySettingsTemplate) Descriptor() ([]byte, []int)
func (*ActionDeploySettingsTemplate) GetTemplateName ¶
func (m *ActionDeploySettingsTemplate) GetTemplateName() string
func (*ActionDeploySettingsTemplate) GetType ¶
func (m *ActionDeploySettingsTemplate) GetType() ActionDeploySettingsTemplate_TemplateType
func (*ActionDeploySettingsTemplate) ProtoMessage ¶
func (*ActionDeploySettingsTemplate) ProtoMessage()
func (*ActionDeploySettingsTemplate) Reset ¶
func (m *ActionDeploySettingsTemplate) Reset()
func (*ActionDeploySettingsTemplate) String ¶
func (m *ActionDeploySettingsTemplate) String() string
type ActionDeploySettingsTemplate_TemplateType ¶
type ActionDeploySettingsTemplate_TemplateType int32
const ( ActionDeploySettingsTemplate_FULL_SETTINGS ActionDeploySettingsTemplate_TemplateType = 0 ActionDeploySettingsTemplate_NETWORK ActionDeploySettingsTemplate_TemplateType = 1 ActionDeploySettingsTemplate_WIFI ActionDeploySettingsTemplate_TemplateType = 2 ActionDeploySettingsTemplate_USB ActionDeploySettingsTemplate_TemplateType = 3 ActionDeploySettingsTemplate_BLUETOOTH ActionDeploySettingsTemplate_TemplateType = 4 ActionDeploySettingsTemplate_TRIGGER_ACTIONS ActionDeploySettingsTemplate_TemplateType = 5 )
func (ActionDeploySettingsTemplate_TemplateType) EnumDescriptor ¶
func (ActionDeploySettingsTemplate_TemplateType) EnumDescriptor() ([]byte, []int)
func (ActionDeploySettingsTemplate_TemplateType) String ¶
func (x ActionDeploySettingsTemplate_TemplateType) String() string
type ActionGPIOOut ¶
type ActionGPIOOut struct { GpioName string `protobuf:"bytes,1,opt,name=gpio_name,json=gpioName" json:"gpio_name,omitempty"` Value GPIOOutValue `protobuf:"varint,2,opt,name=value,enum=P4wnP1_grpc.GPIOOutValue" json:"value,omitempty"` }
func (*ActionGPIOOut) Descriptor ¶
func (*ActionGPIOOut) Descriptor() ([]byte, []int)
func (*ActionGPIOOut) GetGpioName ¶
func (m *ActionGPIOOut) GetGpioName() string
func (*ActionGPIOOut) GetValue ¶
func (m *ActionGPIOOut) GetValue() GPIOOutValue
func (*ActionGPIOOut) ProtoMessage ¶
func (*ActionGPIOOut) ProtoMessage()
func (*ActionGPIOOut) Reset ¶
func (m *ActionGPIOOut) Reset()
func (*ActionGPIOOut) String ¶
func (m *ActionGPIOOut) String() string
type ActionGroupSend ¶
type ActionGroupSend struct { GroupName string `protobuf:"bytes,1,opt,name=groupName" json:"groupName,omitempty"` Value int32 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` }
func (*ActionGroupSend) Descriptor ¶
func (*ActionGroupSend) Descriptor() ([]byte, []int)
func (*ActionGroupSend) GetGroupName ¶
func (m *ActionGroupSend) GetGroupName() string
func (*ActionGroupSend) GetValue ¶
func (m *ActionGroupSend) GetValue() int32
func (*ActionGroupSend) ProtoMessage ¶
func (*ActionGroupSend) ProtoMessage()
func (*ActionGroupSend) Reset ¶
func (m *ActionGroupSend) Reset()
func (*ActionGroupSend) String ¶
func (m *ActionGroupSend) String() string
type ActionLog ¶
type ActionLog struct { }
func (*ActionLog) Descriptor ¶
func (*ActionLog) ProtoMessage ¶
func (*ActionLog) ProtoMessage()
type ActionStartBashScript ¶
type ActionStartBashScript struct {
ScriptName string `protobuf:"bytes,1,opt,name=scriptName" json:"scriptName,omitempty"`
}
func (*ActionStartBashScript) Descriptor ¶
func (*ActionStartBashScript) Descriptor() ([]byte, []int)
func (*ActionStartBashScript) GetScriptName ¶
func (m *ActionStartBashScript) GetScriptName() string
func (*ActionStartBashScript) ProtoMessage ¶
func (*ActionStartBashScript) ProtoMessage()
func (*ActionStartBashScript) Reset ¶
func (m *ActionStartBashScript) Reset()
func (*ActionStartBashScript) String ¶
func (m *ActionStartBashScript) String() string
type ActionStartHIDScript ¶
type ActionStartHIDScript struct {
ScriptName string `protobuf:"bytes,1,opt,name=scriptName" json:"scriptName,omitempty"`
}
func (*ActionStartHIDScript) Descriptor ¶
func (*ActionStartHIDScript) Descriptor() ([]byte, []int)
func (*ActionStartHIDScript) GetScriptName ¶
func (m *ActionStartHIDScript) GetScriptName() string
func (*ActionStartHIDScript) ProtoMessage ¶
func (*ActionStartHIDScript) ProtoMessage()
func (*ActionStartHIDScript) Reset ¶
func (m *ActionStartHIDScript) Reset()
func (*ActionStartHIDScript) String ¶
func (m *ActionStartHIDScript) String() string
type BluetoothAgentSettings ¶
type BluetoothAgentSettings struct {
Pin string `protobuf:"bytes,1,opt,name=pin" json:"pin,omitempty"`
}
func (*BluetoothAgentSettings) Descriptor ¶
func (*BluetoothAgentSettings) Descriptor() ([]byte, []int)
func (*BluetoothAgentSettings) GetPin ¶
func (m *BluetoothAgentSettings) GetPin() string
func (*BluetoothAgentSettings) ProtoMessage ¶
func (*BluetoothAgentSettings) ProtoMessage()
func (*BluetoothAgentSettings) Reset ¶
func (m *BluetoothAgentSettings) Reset()
func (*BluetoothAgentSettings) String ¶
func (m *BluetoothAgentSettings) String() string
type BluetoothControllerInformation ¶
type BluetoothControllerInformation struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` BluetoothVersion uint32 `protobuf:"varint,2,opt,name=bluetooth_version,json=bluetoothVersion" json:"bluetooth_version,omitempty"` Manufacturer uint32 `protobuf:"varint,3,opt,name=manufacturer" json:"manufacturer,omitempty"` SupportedSettings *BluetoothControllerSettings `protobuf:"bytes,4,opt,name=supported_settings,json=supportedSettings" json:"supported_settings,omitempty"` CurrentSettings *BluetoothControllerSettings `protobuf:"bytes,5,opt,name=current_settings,json=currentSettings" json:"current_settings,omitempty"` ClassOfDevice []byte `protobuf:"bytes,6,opt,name=class_of_device,json=classOfDevice,proto3" json:"class_of_device,omitempty"` Name string `protobuf:"bytes,7,opt,name=name" json:"name,omitempty"` ShortName string `protobuf:"bytes,8,opt,name=short_name,json=shortName" json:"short_name,omitempty"` IsAvailable bool `protobuf:"varint,9,opt,name=is_available,json=isAvailable" json:"is_available,omitempty"` ServiceNetworkServerNap bool `` /* 129-byte string literal not displayed */ ServiceNetworkServerPanu bool `` /* 132-byte string literal not displayed */ ServiceNetworkServerGn bool `` /* 126-byte string literal not displayed */ }
func (*BluetoothControllerInformation) Descriptor ¶
func (*BluetoothControllerInformation) Descriptor() ([]byte, []int)
func (*BluetoothControllerInformation) GetAddress ¶
func (m *BluetoothControllerInformation) GetAddress() []byte
func (*BluetoothControllerInformation) GetBluetoothVersion ¶
func (m *BluetoothControllerInformation) GetBluetoothVersion() uint32
func (*BluetoothControllerInformation) GetClassOfDevice ¶
func (m *BluetoothControllerInformation) GetClassOfDevice() []byte
func (*BluetoothControllerInformation) GetCurrentSettings ¶
func (m *BluetoothControllerInformation) GetCurrentSettings() *BluetoothControllerSettings
func (*BluetoothControllerInformation) GetIsAvailable ¶
func (m *BluetoothControllerInformation) GetIsAvailable() bool
func (*BluetoothControllerInformation) GetManufacturer ¶
func (m *BluetoothControllerInformation) GetManufacturer() uint32
func (*BluetoothControllerInformation) GetName ¶
func (m *BluetoothControllerInformation) GetName() string
func (*BluetoothControllerInformation) GetServiceNetworkServerGn ¶
func (m *BluetoothControllerInformation) GetServiceNetworkServerGn() bool
func (*BluetoothControllerInformation) GetServiceNetworkServerNap ¶
func (m *BluetoothControllerInformation) GetServiceNetworkServerNap() bool
func (*BluetoothControllerInformation) GetServiceNetworkServerPanu ¶
func (m *BluetoothControllerInformation) GetServiceNetworkServerPanu() bool
func (*BluetoothControllerInformation) GetShortName ¶
func (m *BluetoothControllerInformation) GetShortName() string
func (*BluetoothControllerInformation) GetSupportedSettings ¶
func (m *BluetoothControllerInformation) GetSupportedSettings() *BluetoothControllerSettings
func (*BluetoothControllerInformation) ProtoMessage ¶
func (*BluetoothControllerInformation) ProtoMessage()
func (*BluetoothControllerInformation) Reset ¶
func (m *BluetoothControllerInformation) Reset()
func (*BluetoothControllerInformation) String ¶
func (m *BluetoothControllerInformation) String() string
type BluetoothControllerSettings ¶
type BluetoothControllerSettings struct { Powered bool `protobuf:"varint,1,opt,name=powered" json:"powered,omitempty"` Connectable bool `protobuf:"varint,2,opt,name=connectable" json:"connectable,omitempty"` FastConnectable bool `protobuf:"varint,3,opt,name=fast_connectable,json=fastConnectable" json:"fast_connectable,omitempty"` Discoverable bool `protobuf:"varint,4,opt,name=discoverable" json:"discoverable,omitempty"` Bondable bool `protobuf:"varint,5,opt,name=bondable" json:"bondable,omitempty"` LinkLevelSecurity bool `protobuf:"varint,6,opt,name=link_level_security,json=linkLevelSecurity" json:"link_level_security,omitempty"` SecureSimplePairing bool `protobuf:"varint,7,opt,name=secure_simple_pairing,json=secureSimplePairing" json:"secure_simple_pairing,omitempty"` BrEdr bool `protobuf:"varint,8,opt,name=br_edr,json=brEdr" json:"br_edr,omitempty"` HighSpeed bool `protobuf:"varint,9,opt,name=high_speed,json=highSpeed" json:"high_speed,omitempty"` LowEnergy bool `protobuf:"varint,10,opt,name=low_energy,json=lowEnergy" json:"low_energy,omitempty"` Advertising bool `protobuf:"varint,11,opt,name=advertising" json:"advertising,omitempty"` SecureConnections bool `protobuf:"varint,12,opt,name=secure_connections,json=secureConnections" json:"secure_connections,omitempty"` DebugKeys bool `protobuf:"varint,13,opt,name=debug_keys,json=debugKeys" json:"debug_keys,omitempty"` Privacy bool `protobuf:"varint,14,opt,name=privacy" json:"privacy,omitempty"` ControllerConfiguration bool `protobuf:"varint,15,opt,name=controller_configuration,json=controllerConfiguration" json:"controller_configuration,omitempty"` StaticAddress bool `protobuf:"varint,16,opt,name=static_address,json=staticAddress" json:"static_address,omitempty"` }
func (*BluetoothControllerSettings) Descriptor ¶
func (*BluetoothControllerSettings) Descriptor() ([]byte, []int)
func (*BluetoothControllerSettings) GetAdvertising ¶
func (m *BluetoothControllerSettings) GetAdvertising() bool
func (*BluetoothControllerSettings) GetBondable ¶
func (m *BluetoothControllerSettings) GetBondable() bool
func (*BluetoothControllerSettings) GetBrEdr ¶
func (m *BluetoothControllerSettings) GetBrEdr() bool
func (*BluetoothControllerSettings) GetConnectable ¶
func (m *BluetoothControllerSettings) GetConnectable() bool
func (*BluetoothControllerSettings) GetControllerConfiguration ¶
func (m *BluetoothControllerSettings) GetControllerConfiguration() bool
func (*BluetoothControllerSettings) GetDebugKeys ¶
func (m *BluetoothControllerSettings) GetDebugKeys() bool
func (*BluetoothControllerSettings) GetDiscoverable ¶
func (m *BluetoothControllerSettings) GetDiscoverable() bool
func (*BluetoothControllerSettings) GetFastConnectable ¶
func (m *BluetoothControllerSettings) GetFastConnectable() bool
func (*BluetoothControllerSettings) GetHighSpeed ¶
func (m *BluetoothControllerSettings) GetHighSpeed() bool
func (*BluetoothControllerSettings) GetLinkLevelSecurity ¶
func (m *BluetoothControllerSettings) GetLinkLevelSecurity() bool
func (*BluetoothControllerSettings) GetLowEnergy ¶
func (m *BluetoothControllerSettings) GetLowEnergy() bool
func (*BluetoothControllerSettings) GetPowered ¶
func (m *BluetoothControllerSettings) GetPowered() bool
func (*BluetoothControllerSettings) GetPrivacy ¶
func (m *BluetoothControllerSettings) GetPrivacy() bool
func (*BluetoothControllerSettings) GetSecureConnections ¶
func (m *BluetoothControllerSettings) GetSecureConnections() bool
func (*BluetoothControllerSettings) GetSecureSimplePairing ¶
func (m *BluetoothControllerSettings) GetSecureSimplePairing() bool
func (*BluetoothControllerSettings) GetStaticAddress ¶
func (m *BluetoothControllerSettings) GetStaticAddress() bool
func (*BluetoothControllerSettings) ProtoMessage ¶
func (*BluetoothControllerSettings) ProtoMessage()
func (*BluetoothControllerSettings) Reset ¶
func (m *BluetoothControllerSettings) Reset()
func (*BluetoothControllerSettings) String ¶
func (m *BluetoothControllerSettings) String() string
type BluetoothNetworkService ¶
type BluetoothNetworkService struct { RegisterOrUnregister bool `protobuf:"varint,1,opt,name=register_or_unregister,json=registerOrUnregister" json:"register_or_unregister,omitempty"` ServerOrConnect bool `protobuf:"varint,2,opt,name=server_or_connect,json=serverOrConnect" json:"server_or_connect,omitempty"` Type BluetoothNetworkServiceType `protobuf:"varint,3,opt,name=type,enum=P4wnP1_grpc.BluetoothNetworkServiceType" json:"type,omitempty"` MacOrName string `protobuf:"bytes,4,opt,name=mac_or_name,json=macOrName" json:"mac_or_name,omitempty"` BridgeName string `protobuf:"bytes,5,opt,name=bridge_name,json=bridgeName" json:"bridge_name,omitempty"` }
func (*BluetoothNetworkService) Descriptor ¶
func (*BluetoothNetworkService) Descriptor() ([]byte, []int)
func (*BluetoothNetworkService) GetBridgeName ¶
func (m *BluetoothNetworkService) GetBridgeName() string
func (*BluetoothNetworkService) GetMacOrName ¶
func (m *BluetoothNetworkService) GetMacOrName() string
func (*BluetoothNetworkService) GetRegisterOrUnregister ¶
func (m *BluetoothNetworkService) GetRegisterOrUnregister() bool
func (*BluetoothNetworkService) GetServerOrConnect ¶
func (m *BluetoothNetworkService) GetServerOrConnect() bool
func (*BluetoothNetworkService) GetType ¶
func (m *BluetoothNetworkService) GetType() BluetoothNetworkServiceType
func (*BluetoothNetworkService) ProtoMessage ¶
func (*BluetoothNetworkService) ProtoMessage()
func (*BluetoothNetworkService) Reset ¶
func (m *BluetoothNetworkService) Reset()
func (*BluetoothNetworkService) String ¶
func (m *BluetoothNetworkService) String() string
type BluetoothNetworkServiceType ¶
type BluetoothNetworkServiceType int32
const ( BluetoothNetworkServiceType_NAP BluetoothNetworkServiceType = 0 BluetoothNetworkServiceType_PANU BluetoothNetworkServiceType = 1 BluetoothNetworkServiceType_GN BluetoothNetworkServiceType = 2 )
func (BluetoothNetworkServiceType) EnumDescriptor ¶
func (BluetoothNetworkServiceType) EnumDescriptor() ([]byte, []int)
func (BluetoothNetworkServiceType) String ¶
func (x BluetoothNetworkServiceType) String() string
type BluetoothRequestSettingsStorage ¶
type BluetoothRequestSettingsStorage struct { TemplateName string `protobuf:"bytes,1,opt,name=TemplateName" json:"TemplateName,omitempty"` Settings *BluetoothSettings `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"` }
Bluetooth
func (*BluetoothRequestSettingsStorage) Descriptor ¶
func (*BluetoothRequestSettingsStorage) Descriptor() ([]byte, []int)
func (*BluetoothRequestSettingsStorage) GetSettings ¶
func (m *BluetoothRequestSettingsStorage) GetSettings() *BluetoothSettings
func (*BluetoothRequestSettingsStorage) GetTemplateName ¶
func (m *BluetoothRequestSettingsStorage) GetTemplateName() string
func (*BluetoothRequestSettingsStorage) ProtoMessage ¶
func (*BluetoothRequestSettingsStorage) ProtoMessage()
func (*BluetoothRequestSettingsStorage) Reset ¶
func (m *BluetoothRequestSettingsStorage) Reset()
func (*BluetoothRequestSettingsStorage) String ¶
func (m *BluetoothRequestSettingsStorage) String() string
type BluetoothSettings ¶
type BluetoothSettings struct { Ci *BluetoothControllerInformation `protobuf:"bytes,1,opt,name=ci" json:"ci,omitempty"` As *BluetoothAgentSettings `protobuf:"bytes,2,opt,name=as" json:"as,omitempty"` }
func (*BluetoothSettings) Descriptor ¶
func (*BluetoothSettings) Descriptor() ([]byte, []int)
func (*BluetoothSettings) GetAs ¶
func (m *BluetoothSettings) GetAs() *BluetoothAgentSettings
func (*BluetoothSettings) GetCi ¶
func (m *BluetoothSettings) GetCi() *BluetoothControllerInformation
func (*BluetoothSettings) ProtoMessage ¶
func (*BluetoothSettings) ProtoMessage()
func (*BluetoothSettings) Reset ¶
func (m *BluetoothSettings) Reset()
func (*BluetoothSettings) String ¶
func (m *BluetoothSettings) String() string
type DHCPServerRange ¶
type DHCPServerRange struct { RangeLower string `protobuf:"bytes,1,opt,name=rangeLower" json:"rangeLower,omitempty"` RangeUpper string `protobuf:"bytes,2,opt,name=rangeUpper" json:"rangeUpper,omitempty"` LeaseTime string `protobuf:"bytes,3,opt,name=leaseTime" json:"leaseTime,omitempty"` }
Could be used for IPv4 or IPv6 (refer dnsmasq docs), nor field for prefix length (default is 64)
func (*DHCPServerRange) Descriptor ¶
func (*DHCPServerRange) Descriptor() ([]byte, []int)
func (*DHCPServerRange) GetLeaseTime ¶
func (m *DHCPServerRange) GetLeaseTime() string
func (*DHCPServerRange) GetRangeLower ¶
func (m *DHCPServerRange) GetRangeLower() string
func (*DHCPServerRange) GetRangeUpper ¶
func (m *DHCPServerRange) GetRangeUpper() string
func (*DHCPServerRange) ProtoMessage ¶
func (*DHCPServerRange) ProtoMessage()
func (*DHCPServerRange) Reset ¶
func (m *DHCPServerRange) Reset()
func (*DHCPServerRange) String ¶
func (m *DHCPServerRange) String() string
type DHCPServerSettings ¶
type DHCPServerSettings struct { ListenPort uint32 `protobuf:"varint,1,opt,name=listenPort" json:"listenPort,omitempty"` ListenInterface string `protobuf:"bytes,2,opt,name=listenInterface" json:"listenInterface,omitempty"` LeaseFile string `protobuf:"bytes,3,opt,name=leaseFile" json:"leaseFile,omitempty"` NotAuthoritative bool `protobuf:"varint,4,opt,name=notAuthoritative" json:"notAuthoritative,omitempty"` DoNotBindInterface bool `protobuf:"varint,5,opt,name=doNotBindInterface" json:"doNotBindInterface,omitempty"` CallbackScript string `protobuf:"bytes,6,opt,name=callbackScript" json:"callbackScript,omitempty"` Ranges []*DHCPServerRange `protobuf:"bytes,7,rep,name=ranges" json:"ranges,omitempty"` // repeated DHCPServerOption options = 8; Options map[uint32]string `` /* 135-byte string literal not displayed */ StaticHosts []*DHCPServerStaticHost `protobuf:"bytes,9,rep,name=staticHosts" json:"staticHosts,omitempty"` }
DHCP
func (*DHCPServerSettings) Descriptor ¶
func (*DHCPServerSettings) Descriptor() ([]byte, []int)
func (*DHCPServerSettings) GetCallbackScript ¶
func (m *DHCPServerSettings) GetCallbackScript() string
func (*DHCPServerSettings) GetDoNotBindInterface ¶
func (m *DHCPServerSettings) GetDoNotBindInterface() bool
func (*DHCPServerSettings) GetLeaseFile ¶
func (m *DHCPServerSettings) GetLeaseFile() string
func (*DHCPServerSettings) GetListenInterface ¶
func (m *DHCPServerSettings) GetListenInterface() string
func (*DHCPServerSettings) GetListenPort ¶
func (m *DHCPServerSettings) GetListenPort() uint32
func (*DHCPServerSettings) GetNotAuthoritative ¶
func (m *DHCPServerSettings) GetNotAuthoritative() bool
func (*DHCPServerSettings) GetOptions ¶
func (m *DHCPServerSettings) GetOptions() map[uint32]string
func (*DHCPServerSettings) GetRanges ¶
func (m *DHCPServerSettings) GetRanges() []*DHCPServerRange
func (*DHCPServerSettings) GetStaticHosts ¶
func (m *DHCPServerSettings) GetStaticHosts() []*DHCPServerStaticHost
func (*DHCPServerSettings) ProtoMessage ¶
func (*DHCPServerSettings) ProtoMessage()
func (*DHCPServerSettings) Reset ¶
func (m *DHCPServerSettings) Reset()
func (*DHCPServerSettings) String ¶
func (m *DHCPServerSettings) String() string
type DHCPServerStaticHost ¶
type DHCPServerStaticHost struct { Mac string `protobuf:"bytes,1,opt,name=mac" json:"mac,omitempty"` Ip string `protobuf:"bytes,2,opt,name=ip" json:"ip,omitempty"` }
Used for static leases
func (*DHCPServerStaticHost) Descriptor ¶
func (*DHCPServerStaticHost) Descriptor() ([]byte, []int)
func (*DHCPServerStaticHost) GetIp ¶
func (m *DHCPServerStaticHost) GetIp() string
func (*DHCPServerStaticHost) GetMac ¶
func (m *DHCPServerStaticHost) GetMac() string
func (*DHCPServerStaticHost) ProtoMessage ¶
func (*DHCPServerStaticHost) ProtoMessage()
func (*DHCPServerStaticHost) Reset ¶
func (m *DHCPServerStaticHost) Reset()
func (*DHCPServerStaticHost) String ¶
func (m *DHCPServerStaticHost) String() string
type DeployedEthernetInterfaceSettings ¶
type DeployedEthernetInterfaceSettings struct {
List []*EthernetInterfaceSettings `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
}
func (*DeployedEthernetInterfaceSettings) Descriptor ¶
func (*DeployedEthernetInterfaceSettings) Descriptor() ([]byte, []int)
func (*DeployedEthernetInterfaceSettings) GetList ¶
func (m *DeployedEthernetInterfaceSettings) GetList() []*EthernetInterfaceSettings
func (*DeployedEthernetInterfaceSettings) ProtoMessage ¶
func (*DeployedEthernetInterfaceSettings) ProtoMessage()
func (*DeployedEthernetInterfaceSettings) Reset ¶
func (m *DeployedEthernetInterfaceSettings) Reset()
func (*DeployedEthernetInterfaceSettings) String ¶
func (m *DeployedEthernetInterfaceSettings) String() string
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type EthernetInterfaceSettings ¶
type EthernetInterfaceSettings struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Mode EthernetInterfaceSettings_Mode `protobuf:"varint,2,opt,name=mode,enum=P4wnP1_grpc.EthernetInterfaceSettings_Mode" json:"mode,omitempty"` IpAddress4 string `protobuf:"bytes,3,opt,name=ipAddress4" json:"ipAddress4,omitempty"` Netmask4 string `protobuf:"bytes,4,opt,name=netmask4" json:"netmask4,omitempty"` Enabled bool `protobuf:"varint,5,opt,name=enabled" json:"enabled,omitempty"` DhcpServerSettings *DHCPServerSettings `protobuf:"bytes,6,opt,name=dhcpServerSettings" json:"dhcpServerSettings,omitempty"` SettingsInUse bool `protobuf:"varint,7,opt,name=settingsInUse" json:"settingsInUse,omitempty"` }
func (*EthernetInterfaceSettings) Descriptor ¶
func (*EthernetInterfaceSettings) Descriptor() ([]byte, []int)
func (*EthernetInterfaceSettings) GetDhcpServerSettings ¶
func (m *EthernetInterfaceSettings) GetDhcpServerSettings() *DHCPServerSettings
func (*EthernetInterfaceSettings) GetEnabled ¶
func (m *EthernetInterfaceSettings) GetEnabled() bool
func (*EthernetInterfaceSettings) GetIpAddress4 ¶
func (m *EthernetInterfaceSettings) GetIpAddress4() string
func (*EthernetInterfaceSettings) GetMode ¶
func (m *EthernetInterfaceSettings) GetMode() EthernetInterfaceSettings_Mode
func (*EthernetInterfaceSettings) GetName ¶
func (m *EthernetInterfaceSettings) GetName() string
func (*EthernetInterfaceSettings) GetNetmask4 ¶
func (m *EthernetInterfaceSettings) GetNetmask4() string
func (*EthernetInterfaceSettings) GetSettingsInUse ¶
func (m *EthernetInterfaceSettings) GetSettingsInUse() bool
func (*EthernetInterfaceSettings) ProtoMessage ¶
func (*EthernetInterfaceSettings) ProtoMessage()
func (*EthernetInterfaceSettings) Reset ¶
func (m *EthernetInterfaceSettings) Reset()
func (*EthernetInterfaceSettings) String ¶
func (m *EthernetInterfaceSettings) String() string
type EthernetInterfaceSettings_Mode ¶
type EthernetInterfaceSettings_Mode int32
const ( EthernetInterfaceSettings_MANUAL EthernetInterfaceSettings_Mode = 0 EthernetInterfaceSettings_DHCP_CLIENT EthernetInterfaceSettings_Mode = 1 EthernetInterfaceSettings_DHCP_SERVER EthernetInterfaceSettings_Mode = 2 EthernetInterfaceSettings_UNMANAGED EthernetInterfaceSettings_Mode = 3 )
func (EthernetInterfaceSettings_Mode) EnumDescriptor ¶
func (EthernetInterfaceSettings_Mode) EnumDescriptor() ([]byte, []int)
func (EthernetInterfaceSettings_Mode) String ¶
func (x EthernetInterfaceSettings_Mode) String() string
type EthernetRequestSettingsStorage ¶
type EthernetRequestSettingsStorage struct { TemplateName string `protobuf:"bytes,1,opt,name=TemplateName" json:"TemplateName,omitempty"` Settings *EthernetInterfaceSettings `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"` }
Ethernet Interface Settings
func (*EthernetRequestSettingsStorage) Descriptor ¶
func (*EthernetRequestSettingsStorage) Descriptor() ([]byte, []int)
func (*EthernetRequestSettingsStorage) GetSettings ¶
func (m *EthernetRequestSettingsStorage) GetSettings() *EthernetInterfaceSettings
func (*EthernetRequestSettingsStorage) GetTemplateName ¶
func (m *EthernetRequestSettingsStorage) GetTemplateName() string
func (*EthernetRequestSettingsStorage) ProtoMessage ¶
func (*EthernetRequestSettingsStorage) ProtoMessage()
func (*EthernetRequestSettingsStorage) Reset ¶
func (m *EthernetRequestSettingsStorage) Reset()
func (*EthernetRequestSettingsStorage) String ¶
func (m *EthernetRequestSettingsStorage) String() string
type Event ¶
type Event struct { Type int64 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` Values []*EventValue `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"` }
func (*Event) Descriptor ¶
func (*Event) GetValues ¶
func (m *Event) GetValues() []*EventValue
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type EventRequest ¶
type EventRequest struct {
ListenType int64 `protobuf:"varint,1,opt,name=listenType" json:"listenType,omitempty"`
}
Events
func (*EventRequest) Descriptor ¶
func (*EventRequest) Descriptor() ([]byte, []int)
func (*EventRequest) GetListenType ¶
func (m *EventRequest) GetListenType() int64
func (*EventRequest) ProtoMessage ¶
func (*EventRequest) ProtoMessage()
func (*EventRequest) Reset ¶
func (m *EventRequest) Reset()
func (*EventRequest) String ¶
func (m *EventRequest) String() string
type EventValue ¶
type EventValue struct { // Types that are valid to be assigned to Val: // *EventValue_Tstring // *EventValue_Tbool // *EventValue_Tint64 Val isEventValue_Val `protobuf_oneof:"val"` }
func (*EventValue) Descriptor ¶
func (*EventValue) Descriptor() ([]byte, []int)
func (*EventValue) GetTbool ¶
func (m *EventValue) GetTbool() bool
func (*EventValue) GetTint64 ¶
func (m *EventValue) GetTint64() int64
func (*EventValue) GetTstring ¶
func (m *EventValue) GetTstring() string
func (*EventValue) GetVal ¶
func (m *EventValue) GetVal() isEventValue_Val
func (*EventValue) ProtoMessage ¶
func (*EventValue) ProtoMessage()
func (*EventValue) Reset ¶
func (m *EventValue) Reset()
func (*EventValue) String ¶
func (m *EventValue) String() string
func (*EventValue) XXX_OneofFuncs ¶
func (*EventValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type EventValue_Tbool ¶
type EventValue_Tbool struct {
Tbool bool `protobuf:"varint,2,opt,name=tbool,oneof"`
}
type EventValue_Tint64 ¶
type EventValue_Tint64 struct {
Tint64 int64 `protobuf:"varint,3,opt,name=tint64,oneof"`
}
type EventValue_Tstring ¶
type EventValue_Tstring struct {
Tstring string `protobuf:"bytes,1,opt,name=tstring,oneof"`
}
type FileInfoRequest ¶
type FileInfoRequest struct {
Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
}
func (*FileInfoRequest) Descriptor ¶
func (*FileInfoRequest) Descriptor() ([]byte, []int)
func (*FileInfoRequest) GetPath ¶
func (m *FileInfoRequest) GetPath() string
func (*FileInfoRequest) ProtoMessage ¶
func (*FileInfoRequest) ProtoMessage()
func (*FileInfoRequest) Reset ¶
func (m *FileInfoRequest) Reset()
func (*FileInfoRequest) String ¶
func (m *FileInfoRequest) String() string
type FileInfoResponse ¶
type FileInfoResponse struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"` Mode uint32 `protobuf:"varint,3,opt,name=mode" json:"mode,omitempty"` ModTime int64 `protobuf:"varint,4,opt,name=modTime" json:"modTime,omitempty"` IsDir bool `protobuf:"varint,5,opt,name=isDir" json:"isDir,omitempty"` }
func (*FileInfoResponse) Descriptor ¶
func (*FileInfoResponse) Descriptor() ([]byte, []int)
func (*FileInfoResponse) GetIsDir ¶
func (m *FileInfoResponse) GetIsDir() bool
func (*FileInfoResponse) GetModTime ¶
func (m *FileInfoResponse) GetModTime() int64
func (*FileInfoResponse) GetMode ¶
func (m *FileInfoResponse) GetMode() uint32
func (*FileInfoResponse) GetName ¶
func (m *FileInfoResponse) GetName() string
func (*FileInfoResponse) GetSize ¶
func (m *FileInfoResponse) GetSize() int64
func (*FileInfoResponse) ProtoMessage ¶
func (*FileInfoResponse) ProtoMessage()
func (*FileInfoResponse) Reset ¶
func (m *FileInfoResponse) Reset()
func (*FileInfoResponse) String ¶
func (m *FileInfoResponse) String() string
type GPIOInEdge ¶
type GPIOInEdge int32
const ( GPIOInEdge_RISING GPIOInEdge = 0 GPIOInEdge_FALLING GPIOInEdge = 1 GPIOInEdge_BOTH GPIOInEdge = 2 )
func (GPIOInEdge) EnumDescriptor ¶
func (GPIOInEdge) EnumDescriptor() ([]byte, []int)
func (GPIOInEdge) String ¶
func (x GPIOInEdge) String() string
type GPIOInPullUpDown ¶
type GPIOInPullUpDown int32
const ( GPIOInPullUpDown_UP GPIOInPullUpDown = 0 GPIOInPullUpDown_DOWN GPIOInPullUpDown = 1 GPIOInPullUpDown_OFF GPIOInPullUpDown = 2 )
func (GPIOInPullUpDown) EnumDescriptor ¶
func (GPIOInPullUpDown) EnumDescriptor() ([]byte, []int)
func (GPIOInPullUpDown) String ¶
func (x GPIOInPullUpDown) String() string
type GPIOOutValue ¶
type GPIOOutValue int32
const ( GPIOOutValue_LOW GPIOOutValue = 0 GPIOOutValue_HIGH GPIOOutValue = 1 GPIOOutValue_TOGGLE GPIOOutValue = 2 )
func (GPIOOutValue) EnumDescriptor ¶
func (GPIOOutValue) EnumDescriptor() ([]byte, []int)
func (GPIOOutValue) String ¶
func (x GPIOOutValue) String() string
type GadgetSettings ¶
type GadgetSettings struct { Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"` Vid string `protobuf:"bytes,2,opt,name=vid" json:"vid,omitempty"` Pid string `protobuf:"bytes,3,opt,name=pid" json:"pid,omitempty"` Manufacturer string `protobuf:"bytes,4,opt,name=manufacturer" json:"manufacturer,omitempty"` Product string `protobuf:"bytes,5,opt,name=product" json:"product,omitempty"` Serial string `protobuf:"bytes,6,opt,name=serial" json:"serial,omitempty"` Use_CDC_ECM bool `protobuf:"varint,7,opt,name=use_CDC_ECM,json=useCDCECM" json:"use_CDC_ECM,omitempty"` Use_RNDIS bool `protobuf:"varint,8,opt,name=use_RNDIS,json=useRNDIS" json:"use_RNDIS,omitempty"` Use_HID_KEYBOARD bool `protobuf:"varint,9,opt,name=use_HID_KEYBOARD,json=useHIDKEYBOARD" json:"use_HID_KEYBOARD,omitempty"` Use_HID_MOUSE bool `protobuf:"varint,10,opt,name=use_HID_MOUSE,json=useHIDMOUSE" json:"use_HID_MOUSE,omitempty"` Use_HID_RAW bool `protobuf:"varint,11,opt,name=use_HID_RAW,json=useHIDRAW" json:"use_HID_RAW,omitempty"` Use_UMS bool `protobuf:"varint,12,opt,name=use_UMS,json=useUMS" json:"use_UMS,omitempty"` Use_SERIAL bool `protobuf:"varint,13,opt,name=use_SERIAL,json=useSERIAL" json:"use_SERIAL,omitempty"` RndisSettings *GadgetSettingsEthernet `protobuf:"bytes,14,opt,name=rndis_settings,json=rndisSettings" json:"rndis_settings,omitempty"` CdcEcmSettings *GadgetSettingsEthernet `protobuf:"bytes,15,opt,name=cdc_ecm_settings,json=cdcEcmSettings" json:"cdc_ecm_settings,omitempty"` UmsSettings *GadgetSettingsUMS `protobuf:"bytes,16,opt,name=ums_settings,json=umsSettings" json:"ums_settings,omitempty"` // EthernetInterfaceSettings ethernet_settings = 17; //only applicable if RNDIS or CDC ECM on DevPathHidKeyboard string `protobuf:"bytes,18,opt,name=dev_path_hid_keyboard,json=devPathHidKeyboard" json:"dev_path_hid_keyboard,omitempty"` DevPathHidMouse string `protobuf:"bytes,19,opt,name=dev_path_hid_mouse,json=devPathHidMouse" json:"dev_path_hid_mouse,omitempty"` DevPathHidRaw string `protobuf:"bytes,20,opt,name=dev_path_hid_raw,json=devPathHidRaw" json:"dev_path_hid_raw,omitempty"` }
func (*GadgetSettings) Descriptor ¶
func (*GadgetSettings) Descriptor() ([]byte, []int)
func (*GadgetSettings) GetCdcEcmSettings ¶
func (m *GadgetSettings) GetCdcEcmSettings() *GadgetSettingsEthernet
func (*GadgetSettings) GetDevPathHidKeyboard ¶
func (m *GadgetSettings) GetDevPathHidKeyboard() string
func (*GadgetSettings) GetDevPathHidMouse ¶
func (m *GadgetSettings) GetDevPathHidMouse() string
func (*GadgetSettings) GetDevPathHidRaw ¶
func (m *GadgetSettings) GetDevPathHidRaw() string
func (*GadgetSettings) GetEnabled ¶
func (m *GadgetSettings) GetEnabled() bool
func (*GadgetSettings) GetManufacturer ¶
func (m *GadgetSettings) GetManufacturer() string
func (*GadgetSettings) GetPid ¶
func (m *GadgetSettings) GetPid() string
func (*GadgetSettings) GetProduct ¶
func (m *GadgetSettings) GetProduct() string
func (*GadgetSettings) GetRndisSettings ¶
func (m *GadgetSettings) GetRndisSettings() *GadgetSettingsEthernet
func (*GadgetSettings) GetSerial ¶
func (m *GadgetSettings) GetSerial() string
func (*GadgetSettings) GetUmsSettings ¶
func (m *GadgetSettings) GetUmsSettings() *GadgetSettingsUMS
func (*GadgetSettings) GetUse_CDC_ECM ¶
func (m *GadgetSettings) GetUse_CDC_ECM() bool
func (*GadgetSettings) GetUse_HID_KEYBOARD ¶
func (m *GadgetSettings) GetUse_HID_KEYBOARD() bool
func (*GadgetSettings) GetUse_HID_MOUSE ¶
func (m *GadgetSettings) GetUse_HID_MOUSE() bool
func (*GadgetSettings) GetUse_HID_RAW ¶
func (m *GadgetSettings) GetUse_HID_RAW() bool
func (*GadgetSettings) GetUse_RNDIS ¶
func (m *GadgetSettings) GetUse_RNDIS() bool
func (*GadgetSettings) GetUse_SERIAL ¶
func (m *GadgetSettings) GetUse_SERIAL() bool
func (*GadgetSettings) GetUse_UMS ¶
func (m *GadgetSettings) GetUse_UMS() bool
func (*GadgetSettings) GetVid ¶
func (m *GadgetSettings) GetVid() string
func (*GadgetSettings) ProtoMessage ¶
func (*GadgetSettings) ProtoMessage()
func (*GadgetSettings) Reset ¶
func (m *GadgetSettings) Reset()
func (*GadgetSettings) String ¶
func (m *GadgetSettings) String() string
type GadgetSettingsEthernet ¶
type GadgetSettingsEthernet struct { HostAddr string `protobuf:"bytes,1,opt,name=host_addr,json=hostAddr" json:"host_addr,omitempty"` DevAddr string `protobuf:"bytes,2,opt,name=dev_addr,json=devAddr" json:"dev_addr,omitempty"` }
func (*GadgetSettingsEthernet) Descriptor ¶
func (*GadgetSettingsEthernet) Descriptor() ([]byte, []int)
func (*GadgetSettingsEthernet) GetDevAddr ¶
func (m *GadgetSettingsEthernet) GetDevAddr() string
func (*GadgetSettingsEthernet) GetHostAddr ¶
func (m *GadgetSettingsEthernet) GetHostAddr() string
func (*GadgetSettingsEthernet) ProtoMessage ¶
func (*GadgetSettingsEthernet) ProtoMessage()
func (*GadgetSettingsEthernet) Reset ¶
func (m *GadgetSettingsEthernet) Reset()
func (*GadgetSettingsEthernet) String ¶
func (m *GadgetSettingsEthernet) String() string
type GadgetSettingsUMS ¶
type GadgetSettingsUMS struct { Cdrom bool `protobuf:"varint,1,opt,name=cdrom" json:"cdrom,omitempty"` File string `protobuf:"bytes,2,opt,name=file" json:"file,omitempty"` }
func (*GadgetSettingsUMS) Descriptor ¶
func (*GadgetSettingsUMS) Descriptor() ([]byte, []int)
func (*GadgetSettingsUMS) GetCdrom ¶
func (m *GadgetSettingsUMS) GetCdrom() bool
func (*GadgetSettingsUMS) GetFile ¶
func (m *GadgetSettingsUMS) GetFile() string
func (*GadgetSettingsUMS) ProtoMessage ¶
func (*GadgetSettingsUMS) ProtoMessage()
func (*GadgetSettingsUMS) Reset ¶
func (m *GadgetSettingsUMS) Reset()
func (*GadgetSettingsUMS) String ¶
func (m *GadgetSettingsUMS) String() string
type GroupReceiveMultiType ¶
type GroupReceiveMultiType int32
const ( GroupReceiveMultiType_SEQUENCE GroupReceiveMultiType = 0 GroupReceiveMultiType_AND GroupReceiveMultiType = 1 GroupReceiveMultiType_OR GroupReceiveMultiType = 2 GroupReceiveMultiType_EXACT_SEQUENCE GroupReceiveMultiType = 3 )
func (GroupReceiveMultiType) EnumDescriptor ¶
func (GroupReceiveMultiType) EnumDescriptor() ([]byte, []int)
func (GroupReceiveMultiType) String ¶
func (x GroupReceiveMultiType) String() string
type HIDRunningJobStateResult ¶
type HIDRunningJobStateResult struct { Id int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` VmId int64 `protobuf:"varint,2,opt,name=vmId" json:"vmId,omitempty"` Source string `protobuf:"bytes,3,opt,name=source" json:"source,omitempty"` }
func (*HIDRunningJobStateResult) Descriptor ¶
func (*HIDRunningJobStateResult) Descriptor() ([]byte, []int)
func (*HIDRunningJobStateResult) GetId ¶
func (m *HIDRunningJobStateResult) GetId() int64
func (*HIDRunningJobStateResult) GetSource ¶
func (m *HIDRunningJobStateResult) GetSource() string
func (*HIDRunningJobStateResult) GetVmId ¶
func (m *HIDRunningJobStateResult) GetVmId() int64
func (*HIDRunningJobStateResult) ProtoMessage ¶
func (*HIDRunningJobStateResult) ProtoMessage()
func (*HIDRunningJobStateResult) Reset ¶
func (m *HIDRunningJobStateResult) Reset()
func (*HIDRunningJobStateResult) String ¶
func (m *HIDRunningJobStateResult) String() string
type HIDScriptJob ¶
type HIDScriptJob struct {
Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
}
func (*HIDScriptJob) Descriptor ¶
func (*HIDScriptJob) Descriptor() ([]byte, []int)
func (*HIDScriptJob) GetId ¶
func (m *HIDScriptJob) GetId() uint32
func (*HIDScriptJob) ProtoMessage ¶
func (*HIDScriptJob) ProtoMessage()
func (*HIDScriptJob) Reset ¶
func (m *HIDScriptJob) Reset()
func (*HIDScriptJob) String ¶
func (m *HIDScriptJob) String() string
type HIDScriptJobList ¶
type HIDScriptJobList struct {
Ids []uint32 `protobuf:"varint,1,rep,packed,name=ids" json:"ids,omitempty"`
}
func (*HIDScriptJobList) Descriptor ¶
func (*HIDScriptJobList) Descriptor() ([]byte, []int)
func (*HIDScriptJobList) GetIds ¶
func (m *HIDScriptJobList) GetIds() []uint32
func (*HIDScriptJobList) ProtoMessage ¶
func (*HIDScriptJobList) ProtoMessage()
func (*HIDScriptJobList) Reset ¶
func (m *HIDScriptJobList) Reset()
func (*HIDScriptJobList) String ¶
func (m *HIDScriptJobList) String() string
type HIDScriptRequest ¶
type HIDScriptRequest struct { ScriptPath string `protobuf:"bytes,1,opt,name=scriptPath" json:"scriptPath,omitempty"` TimeoutSeconds uint32 `protobuf:"varint,2,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"` }
HID
func (*HIDScriptRequest) Descriptor ¶
func (*HIDScriptRequest) Descriptor() ([]byte, []int)
func (*HIDScriptRequest) GetScriptPath ¶
func (m *HIDScriptRequest) GetScriptPath() string
func (*HIDScriptRequest) GetTimeoutSeconds ¶
func (m *HIDScriptRequest) GetTimeoutSeconds() uint32
func (*HIDScriptRequest) ProtoMessage ¶
func (*HIDScriptRequest) ProtoMessage()
func (*HIDScriptRequest) Reset ¶
func (m *HIDScriptRequest) Reset()
func (*HIDScriptRequest) String ¶
func (m *HIDScriptRequest) String() string
type HIDScriptResult ¶
type HIDScriptResult struct { Job *HIDScriptJob `protobuf:"bytes,1,opt,name=job" json:"job,omitempty"` IsFinished bool `protobuf:"varint,2,opt,name=isFinished" json:"isFinished,omitempty"` ResultJson string `protobuf:"bytes,3,opt,name=resultJson" json:"resultJson,omitempty"` }
func (*HIDScriptResult) Descriptor ¶
func (*HIDScriptResult) Descriptor() ([]byte, []int)
func (*HIDScriptResult) GetIsFinished ¶
func (m *HIDScriptResult) GetIsFinished() bool
func (*HIDScriptResult) GetJob ¶
func (m *HIDScriptResult) GetJob() *HIDScriptJob
func (*HIDScriptResult) GetResultJson ¶
func (m *HIDScriptResult) GetResultJson() string
func (*HIDScriptResult) ProtoMessage ¶
func (*HIDScriptResult) ProtoMessage()
func (*HIDScriptResult) Reset ¶
func (m *HIDScriptResult) Reset()
func (*HIDScriptResult) String ¶
func (m *HIDScriptResult) String() string
type LEDSettings ¶
type LEDSettings struct {
BlinkCount uint32 `protobuf:"varint,1,opt,name=blink_count,json=blinkCount" json:"blink_count,omitempty"`
}
LED
func (*LEDSettings) Descriptor ¶
func (*LEDSettings) Descriptor() ([]byte, []int)
func (*LEDSettings) GetBlinkCount ¶
func (m *LEDSettings) GetBlinkCount() uint32
func (*LEDSettings) ProtoMessage ¶
func (*LEDSettings) ProtoMessage()
func (*LEDSettings) Reset ¶
func (m *LEDSettings) Reset()
func (*LEDSettings) String ¶
func (m *LEDSettings) String() string
type MasterTemplate ¶
type MasterTemplate struct { TemplateNameBluetooth string `protobuf:"bytes,1,opt,name=template_name_bluetooth,json=templateNameBluetooth" json:"template_name_bluetooth,omitempty"` TemplateNameUsb string `protobuf:"bytes,2,opt,name=template_name_usb,json=templateNameUsb" json:"template_name_usb,omitempty"` TemplateNameWifi string `protobuf:"bytes,3,opt,name=template_name_wifi,json=templateNameWifi" json:"template_name_wifi,omitempty"` TemplateNameTriggerActions string `` /* 136-byte string literal not displayed */ TemplateNamesNetwork []string `protobuf:"bytes,5,rep,name=template_names_network,json=templateNamesNetwork" json:"template_names_network,omitempty"` }
MasterTemplates
func (*MasterTemplate) Descriptor ¶
func (*MasterTemplate) Descriptor() ([]byte, []int)
func (*MasterTemplate) GetTemplateNameBluetooth ¶
func (m *MasterTemplate) GetTemplateNameBluetooth() string
func (*MasterTemplate) GetTemplateNameTriggerActions ¶
func (m *MasterTemplate) GetTemplateNameTriggerActions() string
func (*MasterTemplate) GetTemplateNameUsb ¶
func (m *MasterTemplate) GetTemplateNameUsb() string
func (*MasterTemplate) GetTemplateNameWifi ¶
func (m *MasterTemplate) GetTemplateNameWifi() string
func (*MasterTemplate) GetTemplateNamesNetwork ¶
func (m *MasterTemplate) GetTemplateNamesNetwork() []string
func (*MasterTemplate) ProtoMessage ¶
func (*MasterTemplate) ProtoMessage()
func (*MasterTemplate) Reset ¶
func (m *MasterTemplate) Reset()
func (*MasterTemplate) String ¶
func (m *MasterTemplate) String() string
type P4WNP1Client ¶
type P4WNP1Client interface { // Bluetooth GetBluetoothControllerInformation(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BluetoothControllerInformation, error) DeployBluetoothControllerInformation(ctx context.Context, in *BluetoothControllerInformation, opts ...grpc.CallOption) (*BluetoothControllerInformation, error) GetBluetoothAgentSettings(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BluetoothAgentSettings, error) DeployBluetoothAgentSettings(ctx context.Context, in *BluetoothAgentSettings, opts ...grpc.CallOption) (*BluetoothAgentSettings, error) SetBluetoothNetworkService(ctx context.Context, in *BluetoothNetworkService, opts ...grpc.CallOption) (*Empty, error) DeployBluetoothSettings(ctx context.Context, in *BluetoothSettings, opts ...grpc.CallOption) (*BluetoothSettings, error) StoreBluetoothSettings(ctx context.Context, in *BluetoothRequestSettingsStorage, opts ...grpc.CallOption) (*Empty, error) GetStoredBluetoothSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*BluetoothSettings, error) DeployStoredBluetoothSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*BluetoothSettings, error) DeleteStoredBluetoothSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) StoreDeployedBluetoothSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) ListStoredBluetoothSettings(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) // USB gadget GetDeployedGadgetSetting(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GadgetSettings, error) DeployGadgetSetting(ctx context.Context, in *GadgetSettings, opts ...grpc.CallOption) (*GadgetSettings, error) GetLEDSettings(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*LEDSettings, error) SetLEDSettings(ctx context.Context, in *LEDSettings, opts ...grpc.CallOption) (*Empty, error) MountUMSFile(ctx context.Context, in *GadgetSettingsUMS, opts ...grpc.CallOption) (*Empty, error) StoreUSBSettings(ctx context.Context, in *USBRequestSettingsStorage, opts ...grpc.CallOption) (*Empty, error) GetStoredUSBSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*GadgetSettings, error) DeployStoredUSBSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*GadgetSettings, error) DeleteStoredUSBSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) StoreDeployedUSBSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) ListStoredUSBSettings(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) ListUmsImageCdrom(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) ListUmsImageFlashdrive(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) // HIDScript / job management HIDRunScript(ctx context.Context, in *HIDScriptRequest, opts ...grpc.CallOption) (*HIDScriptResult, error) HIDRunScriptJob(ctx context.Context, in *HIDScriptRequest, opts ...grpc.CallOption) (*HIDScriptJob, error) HIDGetScriptJobResult(ctx context.Context, in *HIDScriptJob, opts ...grpc.CallOption) (*HIDScriptResult, error) HIDCancelScriptJob(ctx context.Context, in *HIDScriptJob, opts ...grpc.CallOption) (*Empty, error) HIDGetRunningScriptJobs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*HIDScriptJobList, error) HIDCancelAllScriptJobs(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) HIDGetRunningJobState(ctx context.Context, in *HIDScriptJob, opts ...grpc.CallOption) (*HIDRunningJobStateResult, error) // FileSystem FSWriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*Empty, error) FSReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error) FSGetFileInfo(ctx context.Context, in *FileInfoRequest, opts ...grpc.CallOption) (*FileInfoResponse, error) FSCreateTempDirOrFile(ctx context.Context, in *TempDirOrFileRequest, opts ...grpc.CallOption) (*TempDirOrFileResponse, error) // Events EventListen(ctx context.Context, in *EventRequest, opts ...grpc.CallOption) (P4WNP1_EventListenClient, error) // Alive check EchoRequest(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*StringMessage, error) // WiFi DeployWiFiSettings(ctx context.Context, in *WiFiSettings, opts ...grpc.CallOption) (*WiFiState, error) GetWiFiState(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*WiFiState, error) ListenWiFiStateChanges(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*WiFiState, error) StoreWifiSettings(ctx context.Context, in *WifiRequestSettingsStorage, opts ...grpc.CallOption) (*Empty, error) GetStoredWifiSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*WiFiSettings, error) DeployStoredWifiSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*WiFiState, error) DeleteStoredWifiSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) StoreDeployedWifiSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) ListStoredWifiSettings(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) // Ethernet DeployEthernetInterfaceSettings(ctx context.Context, in *EthernetInterfaceSettings, opts ...grpc.CallOption) (*Empty, error) GetAllDeployedEthernetInterfaceSettings(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DeployedEthernetInterfaceSettings, error) GetDeployedEthernetInterfaceSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*EthernetInterfaceSettings, error) StoreEthernetInterfaceSettings(ctx context.Context, in *EthernetRequestSettingsStorage, opts ...grpc.CallOption) (*Empty, error) GetStoredEthernetInterfaceSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*EthernetInterfaceSettings, error) DeployStoredEthernetInterfaceSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) DeleteStoredEthernetInterfaceSettings(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) ListStoredEthernetInterfaceSettings(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) // TriggerActions GetDeployedTriggerActionSet(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TriggerActionSet, error) DeployTriggerActionSetReplace(ctx context.Context, in *TriggerActionSet, opts ...grpc.CallOption) (*TriggerActionSet, error) DeployTriggerActionSetAdd(ctx context.Context, in *TriggerActionSet, opts ...grpc.CallOption) (*TriggerActionSet, error) DeployTriggerActionSetRemove(ctx context.Context, in *TriggerActionSet, opts ...grpc.CallOption) (*TriggerActionSet, error) DeployTriggerActionSetUpdate(ctx context.Context, in *TriggerActionSet, opts ...grpc.CallOption) (*TriggerActionSet, error) ListStoredTriggerActionSets(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) StoreTriggerActionSet(ctx context.Context, in *TriggerActionSet, opts ...grpc.CallOption) (*Empty, error) DeployStoredTriggerActionSetReplace(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*TriggerActionSet, error) DeployStoredTriggerActionSetAdd(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*TriggerActionSet, error) DeleteStoredTriggerActionSet(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) // TriggerAction for cli (trigger group send and wait for group receive) WaitTriggerGroupReceive(ctx context.Context, in *TriggerGroupReceive, opts ...grpc.CallOption) (*Empty, error) FireActionGroupSend(ctx context.Context, in *ActionGroupSend, opts ...grpc.CallOption) (*Empty, error) // MasterTemplates DeployMasterTemplate(ctx context.Context, in *MasterTemplate, opts ...grpc.CallOption) (*Empty, error) StoreMasterTemplate(ctx context.Context, in *RequestMasterTemplateStorage, opts ...grpc.CallOption) (*Empty, error) GetStoredMasterTemplate(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*MasterTemplate, error) DeployStoredMasterTemplate(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*MasterTemplate, error) DeleteStoredMasterTemplate(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) ListStoredMasterTemplate(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) // Startup Master Template GetStartupMasterTemplate(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessage, error) SetStartupMasterTemplate(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) // DB backup&restore DBBackup(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) DBRestore(ctx context.Context, in *StringMessage, opts ...grpc.CallOption) (*Empty, error) ListStoredHIDScripts(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) ListStoredBashScripts(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) ListStoredDBBackups(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) // GPIO GetAvailableGpios(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StringMessageArray, error) // System Shutdown(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) Reboot(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) }
func NewP4WNP1Client ¶
func NewP4WNP1Client(cc *grpc.ClientConn) P4WNP1Client
type P4WNP1Server ¶
type P4WNP1Server interface { // Bluetooth GetBluetoothControllerInformation(context.Context, *Empty) (*BluetoothControllerInformation, error) DeployBluetoothControllerInformation(context.Context, *BluetoothControllerInformation) (*BluetoothControllerInformation, error) GetBluetoothAgentSettings(context.Context, *Empty) (*BluetoothAgentSettings, error) DeployBluetoothAgentSettings(context.Context, *BluetoothAgentSettings) (*BluetoothAgentSettings, error) SetBluetoothNetworkService(context.Context, *BluetoothNetworkService) (*Empty, error) DeployBluetoothSettings(context.Context, *BluetoothSettings) (*BluetoothSettings, error) StoreBluetoothSettings(context.Context, *BluetoothRequestSettingsStorage) (*Empty, error) GetStoredBluetoothSettings(context.Context, *StringMessage) (*BluetoothSettings, error) DeployStoredBluetoothSettings(context.Context, *StringMessage) (*BluetoothSettings, error) DeleteStoredBluetoothSettings(context.Context, *StringMessage) (*Empty, error) StoreDeployedBluetoothSettings(context.Context, *StringMessage) (*Empty, error) ListStoredBluetoothSettings(context.Context, *Empty) (*StringMessageArray, error) // USB gadget GetDeployedGadgetSetting(context.Context, *Empty) (*GadgetSettings, error) DeployGadgetSetting(context.Context, *GadgetSettings) (*GadgetSettings, error) GetLEDSettings(context.Context, *Empty) (*LEDSettings, error) SetLEDSettings(context.Context, *LEDSettings) (*Empty, error) MountUMSFile(context.Context, *GadgetSettingsUMS) (*Empty, error) StoreUSBSettings(context.Context, *USBRequestSettingsStorage) (*Empty, error) GetStoredUSBSettings(context.Context, *StringMessage) (*GadgetSettings, error) DeployStoredUSBSettings(context.Context, *StringMessage) (*GadgetSettings, error) DeleteStoredUSBSettings(context.Context, *StringMessage) (*Empty, error) StoreDeployedUSBSettings(context.Context, *StringMessage) (*Empty, error) ListStoredUSBSettings(context.Context, *Empty) (*StringMessageArray, error) ListUmsImageCdrom(context.Context, *Empty) (*StringMessageArray, error) ListUmsImageFlashdrive(context.Context, *Empty) (*StringMessageArray, error) // HIDScript / job management HIDRunScript(context.Context, *HIDScriptRequest) (*HIDScriptResult, error) HIDRunScriptJob(context.Context, *HIDScriptRequest) (*HIDScriptJob, error) HIDGetScriptJobResult(context.Context, *HIDScriptJob) (*HIDScriptResult, error) HIDCancelScriptJob(context.Context, *HIDScriptJob) (*Empty, error) HIDGetRunningScriptJobs(context.Context, *Empty) (*HIDScriptJobList, error) HIDCancelAllScriptJobs(context.Context, *Empty) (*Empty, error) HIDGetRunningJobState(context.Context, *HIDScriptJob) (*HIDRunningJobStateResult, error) // FileSystem FSWriteFile(context.Context, *WriteFileRequest) (*Empty, error) FSReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error) FSGetFileInfo(context.Context, *FileInfoRequest) (*FileInfoResponse, error) FSCreateTempDirOrFile(context.Context, *TempDirOrFileRequest) (*TempDirOrFileResponse, error) // Events EventListen(*EventRequest, P4WNP1_EventListenServer) error // Alive check EchoRequest(context.Context, *StringMessage) (*StringMessage, error) // WiFi DeployWiFiSettings(context.Context, *WiFiSettings) (*WiFiState, error) GetWiFiState(context.Context, *Empty) (*WiFiState, error) ListenWiFiStateChanges(context.Context, *Empty) (*WiFiState, error) StoreWifiSettings(context.Context, *WifiRequestSettingsStorage) (*Empty, error) GetStoredWifiSettings(context.Context, *StringMessage) (*WiFiSettings, error) DeployStoredWifiSettings(context.Context, *StringMessage) (*WiFiState, error) DeleteStoredWifiSettings(context.Context, *StringMessage) (*Empty, error) StoreDeployedWifiSettings(context.Context, *StringMessage) (*Empty, error) ListStoredWifiSettings(context.Context, *Empty) (*StringMessageArray, error) // Ethernet DeployEthernetInterfaceSettings(context.Context, *EthernetInterfaceSettings) (*Empty, error) GetAllDeployedEthernetInterfaceSettings(context.Context, *Empty) (*DeployedEthernetInterfaceSettings, error) GetDeployedEthernetInterfaceSettings(context.Context, *StringMessage) (*EthernetInterfaceSettings, error) StoreEthernetInterfaceSettings(context.Context, *EthernetRequestSettingsStorage) (*Empty, error) GetStoredEthernetInterfaceSettings(context.Context, *StringMessage) (*EthernetInterfaceSettings, error) DeployStoredEthernetInterfaceSettings(context.Context, *StringMessage) (*Empty, error) DeleteStoredEthernetInterfaceSettings(context.Context, *StringMessage) (*Empty, error) ListStoredEthernetInterfaceSettings(context.Context, *Empty) (*StringMessageArray, error) // TriggerActions GetDeployedTriggerActionSet(context.Context, *Empty) (*TriggerActionSet, error) DeployTriggerActionSetReplace(context.Context, *TriggerActionSet) (*TriggerActionSet, error) DeployTriggerActionSetAdd(context.Context, *TriggerActionSet) (*TriggerActionSet, error) DeployTriggerActionSetRemove(context.Context, *TriggerActionSet) (*TriggerActionSet, error) DeployTriggerActionSetUpdate(context.Context, *TriggerActionSet) (*TriggerActionSet, error) ListStoredTriggerActionSets(context.Context, *Empty) (*StringMessageArray, error) StoreTriggerActionSet(context.Context, *TriggerActionSet) (*Empty, error) DeployStoredTriggerActionSetReplace(context.Context, *StringMessage) (*TriggerActionSet, error) DeployStoredTriggerActionSetAdd(context.Context, *StringMessage) (*TriggerActionSet, error) DeleteStoredTriggerActionSet(context.Context, *StringMessage) (*Empty, error) // TriggerAction for cli (trigger group send and wait for group receive) WaitTriggerGroupReceive(context.Context, *TriggerGroupReceive) (*Empty, error) FireActionGroupSend(context.Context, *ActionGroupSend) (*Empty, error) // MasterTemplates DeployMasterTemplate(context.Context, *MasterTemplate) (*Empty, error) StoreMasterTemplate(context.Context, *RequestMasterTemplateStorage) (*Empty, error) GetStoredMasterTemplate(context.Context, *StringMessage) (*MasterTemplate, error) DeployStoredMasterTemplate(context.Context, *StringMessage) (*MasterTemplate, error) DeleteStoredMasterTemplate(context.Context, *StringMessage) (*Empty, error) ListStoredMasterTemplate(context.Context, *Empty) (*StringMessageArray, error) // Startup Master Template GetStartupMasterTemplate(context.Context, *Empty) (*StringMessage, error) SetStartupMasterTemplate(context.Context, *StringMessage) (*Empty, error) // DB backup&restore DBBackup(context.Context, *StringMessage) (*Empty, error) DBRestore(context.Context, *StringMessage) (*Empty, error) ListStoredHIDScripts(context.Context, *Empty) (*StringMessageArray, error) ListStoredBashScripts(context.Context, *Empty) (*StringMessageArray, error) ListStoredDBBackups(context.Context, *Empty) (*StringMessageArray, error) // GPIO GetAvailableGpios(context.Context, *Empty) (*StringMessageArray, error) // System Shutdown(context.Context, *Empty) (*Empty, error) Reboot(context.Context, *Empty) (*Empty, error) }
type P4WNP1_EventListenClient ¶
type P4WNP1_EventListenClient interface { Recv() (*Event, error) grpc.ClientStream }
type P4WNP1_EventListenServer ¶
type P4WNP1_EventListenServer interface { Send(*Event) error grpc.ServerStream }
type ReadFileRequest ¶
type ReadFileRequest struct { Folder AccessibleFolder `protobuf:"varint,1,opt,name=folder,enum=P4wnP1_grpc.AccessibleFolder" json:"folder,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"` Start int64 `protobuf:"varint,3,opt,name=start" json:"start,omitempty"` Len int64 `protobuf:"varint,4,opt,name=len" json:"len,omitempty"` }
func (*ReadFileRequest) Descriptor ¶
func (*ReadFileRequest) Descriptor() ([]byte, []int)
func (*ReadFileRequest) GetFilename ¶
func (m *ReadFileRequest) GetFilename() string
func (*ReadFileRequest) GetFolder ¶
func (m *ReadFileRequest) GetFolder() AccessibleFolder
func (*ReadFileRequest) GetLen ¶
func (m *ReadFileRequest) GetLen() int64
func (*ReadFileRequest) GetStart ¶
func (m *ReadFileRequest) GetStart() int64
func (*ReadFileRequest) ProtoMessage ¶
func (*ReadFileRequest) ProtoMessage()
func (*ReadFileRequest) Reset ¶
func (m *ReadFileRequest) Reset()
func (*ReadFileRequest) String ¶
func (m *ReadFileRequest) String() string
type ReadFileResponse ¶
type ReadFileResponse struct { ReadCount int64 `protobuf:"varint,1,opt,name=readCount" json:"readCount,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
func (*ReadFileResponse) Descriptor ¶
func (*ReadFileResponse) Descriptor() ([]byte, []int)
func (*ReadFileResponse) GetData ¶
func (m *ReadFileResponse) GetData() []byte
func (*ReadFileResponse) GetReadCount ¶
func (m *ReadFileResponse) GetReadCount() int64
func (*ReadFileResponse) ProtoMessage ¶
func (*ReadFileResponse) ProtoMessage()
func (*ReadFileResponse) Reset ¶
func (m *ReadFileResponse) Reset()
func (*ReadFileResponse) String ¶
func (m *ReadFileResponse) String() string
type RequestMasterTemplateStorage ¶
type RequestMasterTemplateStorage struct { TemplateName string `protobuf:"bytes,1,opt,name=TemplateName" json:"TemplateName,omitempty"` Template *MasterTemplate `protobuf:"bytes,2,opt,name=template" json:"template,omitempty"` }
func (*RequestMasterTemplateStorage) Descriptor ¶
func (*RequestMasterTemplateStorage) Descriptor() ([]byte, []int)
func (*RequestMasterTemplateStorage) GetTemplate ¶
func (m *RequestMasterTemplateStorage) GetTemplate() *MasterTemplate
func (*RequestMasterTemplateStorage) GetTemplateName ¶
func (m *RequestMasterTemplateStorage) GetTemplateName() string
func (*RequestMasterTemplateStorage) ProtoMessage ¶
func (*RequestMasterTemplateStorage) ProtoMessage()
func (*RequestMasterTemplateStorage) Reset ¶
func (m *RequestMasterTemplateStorage) Reset()
func (*RequestMasterTemplateStorage) String ¶
func (m *RequestMasterTemplateStorage) String() string
type StringMessage ¶
type StringMessage struct {
Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg,omitempty"`
}
Alive check
func (*StringMessage) Descriptor ¶
func (*StringMessage) Descriptor() ([]byte, []int)
func (*StringMessage) GetMsg ¶
func (m *StringMessage) GetMsg() string
func (*StringMessage) ProtoMessage ¶
func (*StringMessage) ProtoMessage()
func (*StringMessage) Reset ¶
func (m *StringMessage) Reset()
func (*StringMessage) String ¶
func (m *StringMessage) String() string
type StringMessageArray ¶
type StringMessageArray struct {
MsgArray []string `protobuf:"bytes,1,rep,name=msgArray" json:"msgArray,omitempty"`
}
func (*StringMessageArray) Descriptor ¶
func (*StringMessageArray) Descriptor() ([]byte, []int)
func (*StringMessageArray) GetMsgArray ¶
func (m *StringMessageArray) GetMsgArray() []string
func (*StringMessageArray) ProtoMessage ¶
func (*StringMessageArray) ProtoMessage()
func (*StringMessageArray) Reset ¶
func (m *StringMessageArray) Reset()
func (*StringMessageArray) String ¶
func (m *StringMessageArray) String() string
type TempDirOrFileRequest ¶
type TempDirOrFileRequest struct { Dir string `protobuf:"bytes,1,opt,name=dir" json:"dir,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix" json:"prefix,omitempty"` OnlyFolder bool `protobuf:"varint,3,opt,name=onlyFolder" json:"onlyFolder,omitempty"` }
File System
func (*TempDirOrFileRequest) Descriptor ¶
func (*TempDirOrFileRequest) Descriptor() ([]byte, []int)
func (*TempDirOrFileRequest) GetDir ¶
func (m *TempDirOrFileRequest) GetDir() string
func (*TempDirOrFileRequest) GetOnlyFolder ¶
func (m *TempDirOrFileRequest) GetOnlyFolder() bool
func (*TempDirOrFileRequest) GetPrefix ¶
func (m *TempDirOrFileRequest) GetPrefix() string
func (*TempDirOrFileRequest) ProtoMessage ¶
func (*TempDirOrFileRequest) ProtoMessage()
func (*TempDirOrFileRequest) Reset ¶
func (m *TempDirOrFileRequest) Reset()
func (*TempDirOrFileRequest) String ¶
func (m *TempDirOrFileRequest) String() string
type TempDirOrFileResponse ¶
type TempDirOrFileResponse struct {
ResultPath string `protobuf:"bytes,1,opt,name=resultPath" json:"resultPath,omitempty"`
}
func (*TempDirOrFileResponse) Descriptor ¶
func (*TempDirOrFileResponse) Descriptor() ([]byte, []int)
func (*TempDirOrFileResponse) GetResultPath ¶
func (m *TempDirOrFileResponse) GetResultPath() string
func (*TempDirOrFileResponse) ProtoMessage ¶
func (*TempDirOrFileResponse) ProtoMessage()
func (*TempDirOrFileResponse) Reset ¶
func (m *TempDirOrFileResponse) Reset()
func (*TempDirOrFileResponse) String ¶
func (m *TempDirOrFileResponse) String() string
type TriggerAction ¶
type TriggerAction struct { Id uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` OneShot bool `protobuf:"varint,2,opt,name=oneShot" json:"oneShot,omitempty"` IsActive bool `protobuf:"varint,3,opt,name=isActive" json:"isActive,omitempty"` Immutable bool `protobuf:"varint,4,opt,name=immutable" json:"immutable,omitempty"` // Types that are valid to be assigned to Trigger: // *TriggerAction_ServiceStarted // *TriggerAction_UsbGadgetConnected // *TriggerAction_UsbGadgetDisconnected // *TriggerAction_WifiAPStarted // *TriggerAction_WifiConnectedAsSta // *TriggerAction_SshLogin // *TriggerAction_DhcpLeaseGranted // *TriggerAction_GroupReceive // *TriggerAction_GroupReceiveMulti // *TriggerAction_GpioIn Trigger isTriggerAction_Trigger `protobuf_oneof:"Trigger"` // Types that are valid to be assigned to Action: // *TriggerAction_BashScript // *TriggerAction_HidScript // *TriggerAction_DeploySettingsTemplate // *TriggerAction_Log // *TriggerAction_GpioOut // *TriggerAction_GroupSend Action isTriggerAction_Action `protobuf_oneof:"Action"` }
func (*TriggerAction) Descriptor ¶
func (*TriggerAction) Descriptor() ([]byte, []int)
func (*TriggerAction) GetAction ¶
func (m *TriggerAction) GetAction() isTriggerAction_Action
func (*TriggerAction) GetBashScript ¶
func (m *TriggerAction) GetBashScript() *ActionStartBashScript
func (*TriggerAction) GetDeploySettingsTemplate ¶
func (m *TriggerAction) GetDeploySettingsTemplate() *ActionDeploySettingsTemplate
func (*TriggerAction) GetDhcpLeaseGranted ¶
func (m *TriggerAction) GetDhcpLeaseGranted() *TriggerDHCPLeaseGranted
func (*TriggerAction) GetGpioIn ¶
func (m *TriggerAction) GetGpioIn() *TriggerGPIOIn
func (*TriggerAction) GetGpioOut ¶
func (m *TriggerAction) GetGpioOut() *ActionGPIOOut
func (*TriggerAction) GetGroupReceive ¶
func (m *TriggerAction) GetGroupReceive() *TriggerGroupReceive
func (*TriggerAction) GetGroupReceiveMulti ¶
func (m *TriggerAction) GetGroupReceiveMulti() *TriggerGroupReceiveMulti
func (*TriggerAction) GetGroupSend ¶
func (m *TriggerAction) GetGroupSend() *ActionGroupSend
func (*TriggerAction) GetHidScript ¶
func (m *TriggerAction) GetHidScript() *ActionStartHIDScript
func (*TriggerAction) GetId ¶
func (m *TriggerAction) GetId() uint32
func (*TriggerAction) GetImmutable ¶
func (m *TriggerAction) GetImmutable() bool
func (*TriggerAction) GetIsActive ¶
func (m *TriggerAction) GetIsActive() bool
func (*TriggerAction) GetLog ¶
func (m *TriggerAction) GetLog() *ActionLog
func (*TriggerAction) GetOneShot ¶
func (m *TriggerAction) GetOneShot() bool
func (*TriggerAction) GetServiceStarted ¶
func (m *TriggerAction) GetServiceStarted() *TriggerServiceStarted
func (*TriggerAction) GetSshLogin ¶
func (m *TriggerAction) GetSshLogin() *TriggerSSHLogin
func (*TriggerAction) GetTrigger ¶
func (m *TriggerAction) GetTrigger() isTriggerAction_Trigger
func (*TriggerAction) GetUsbGadgetConnected ¶
func (m *TriggerAction) GetUsbGadgetConnected() *TriggerUSBGadgetConnected
func (*TriggerAction) GetUsbGadgetDisconnected ¶
func (m *TriggerAction) GetUsbGadgetDisconnected() *TriggerUSBGadgetDisconnected
func (*TriggerAction) GetWifiAPStarted ¶
func (m *TriggerAction) GetWifiAPStarted() *TriggerWifiAPStarted
func (*TriggerAction) GetWifiConnectedAsSta ¶
func (m *TriggerAction) GetWifiConnectedAsSta() *TriggerWifiConnectedAsSta
func (*TriggerAction) ProtoMessage ¶
func (*TriggerAction) ProtoMessage()
func (*TriggerAction) Reset ¶
func (m *TriggerAction) Reset()
func (*TriggerAction) String ¶
func (m *TriggerAction) String() string
func (*TriggerAction) XXX_OneofFuncs ¶
func (*TriggerAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type TriggerActionSet ¶
type TriggerActionSet struct { TriggerActions []*TriggerAction `protobuf:"bytes,1,rep,name=TriggerActions" json:"TriggerActions,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` }
Triggers, Actions and resulting TriggerActions
func (*TriggerActionSet) Descriptor ¶
func (*TriggerActionSet) Descriptor() ([]byte, []int)
func (*TriggerActionSet) GetName ¶
func (m *TriggerActionSet) GetName() string
func (*TriggerActionSet) GetTriggerActions ¶
func (m *TriggerActionSet) GetTriggerActions() []*TriggerAction
func (*TriggerActionSet) ProtoMessage ¶
func (*TriggerActionSet) ProtoMessage()
func (*TriggerActionSet) Reset ¶
func (m *TriggerActionSet) Reset()
func (*TriggerActionSet) String ¶
func (m *TriggerActionSet) String() string
type TriggerAction_BashScript ¶
type TriggerAction_BashScript struct {
BashScript *ActionStartBashScript `protobuf:"bytes,15,opt,name=bashScript,oneof"`
}
type TriggerAction_DeploySettingsTemplate ¶
type TriggerAction_DeploySettingsTemplate struct {
DeploySettingsTemplate *ActionDeploySettingsTemplate `protobuf:"bytes,17,opt,name=deploySettingsTemplate,oneof"`
}
type TriggerAction_DhcpLeaseGranted ¶
type TriggerAction_DhcpLeaseGranted struct {
DhcpLeaseGranted *TriggerDHCPLeaseGranted `protobuf:"bytes,11,opt,name=dhcpLeaseGranted,oneof"`
}
type TriggerAction_GpioIn ¶
type TriggerAction_GpioIn struct {
GpioIn *TriggerGPIOIn `protobuf:"bytes,14,opt,name=gpioIn,oneof"`
}
type TriggerAction_GpioOut ¶
type TriggerAction_GpioOut struct {
GpioOut *ActionGPIOOut `protobuf:"bytes,19,opt,name=gpioOut,oneof"`
}
type TriggerAction_GroupReceive ¶
type TriggerAction_GroupReceive struct {
GroupReceive *TriggerGroupReceive `protobuf:"bytes,12,opt,name=groupReceive,oneof"`
}
type TriggerAction_GroupReceiveMulti ¶
type TriggerAction_GroupReceiveMulti struct {
GroupReceiveMulti *TriggerGroupReceiveMulti `protobuf:"bytes,13,opt,name=groupReceiveMulti,oneof"`
}
type TriggerAction_GroupSend ¶
type TriggerAction_GroupSend struct {
GroupSend *ActionGroupSend `protobuf:"bytes,20,opt,name=groupSend,oneof"`
}
type TriggerAction_HidScript ¶
type TriggerAction_HidScript struct {
HidScript *ActionStartHIDScript `protobuf:"bytes,16,opt,name=hidScript,oneof"`
}
type TriggerAction_Log ¶
type TriggerAction_Log struct {
Log *ActionLog `protobuf:"bytes,18,opt,name=log,oneof"`
}
type TriggerAction_ServiceStarted ¶
type TriggerAction_ServiceStarted struct {
ServiceStarted *TriggerServiceStarted `protobuf:"bytes,5,opt,name=serviceStarted,oneof"`
}
type TriggerAction_SshLogin ¶
type TriggerAction_SshLogin struct {
SshLogin *TriggerSSHLogin `protobuf:"bytes,10,opt,name=sshLogin,oneof"`
}
type TriggerAction_UsbGadgetConnected ¶
type TriggerAction_UsbGadgetConnected struct {
UsbGadgetConnected *TriggerUSBGadgetConnected `protobuf:"bytes,6,opt,name=usbGadgetConnected,oneof"`
}
type TriggerAction_UsbGadgetDisconnected ¶
type TriggerAction_UsbGadgetDisconnected struct {
UsbGadgetDisconnected *TriggerUSBGadgetDisconnected `protobuf:"bytes,7,opt,name=usbGadgetDisconnected,oneof"`
}
type TriggerAction_WifiAPStarted ¶
type TriggerAction_WifiAPStarted struct {
WifiAPStarted *TriggerWifiAPStarted `protobuf:"bytes,8,opt,name=wifiAPStarted,oneof"`
}
type TriggerAction_WifiConnectedAsSta ¶
type TriggerAction_WifiConnectedAsSta struct {
WifiConnectedAsSta *TriggerWifiConnectedAsSta `protobuf:"bytes,9,opt,name=wifiConnectedAsSta,oneof"`
}
type TriggerDHCPLeaseGranted ¶
type TriggerDHCPLeaseGranted struct { }
func (*TriggerDHCPLeaseGranted) Descriptor ¶
func (*TriggerDHCPLeaseGranted) Descriptor() ([]byte, []int)
func (*TriggerDHCPLeaseGranted) ProtoMessage ¶
func (*TriggerDHCPLeaseGranted) ProtoMessage()
func (*TriggerDHCPLeaseGranted) Reset ¶
func (m *TriggerDHCPLeaseGranted) Reset()
func (*TriggerDHCPLeaseGranted) String ¶
func (m *TriggerDHCPLeaseGranted) String() string
type TriggerGPIOIn ¶
type TriggerGPIOIn struct { GpioName string `protobuf:"bytes,1,opt,name=gpio_name,json=gpioName" json:"gpio_name,omitempty"` PullUpDown GPIOInPullUpDown `protobuf:"varint,2,opt,name=pullUpDown,enum=P4wnP1_grpc.GPIOInPullUpDown" json:"pullUpDown,omitempty"` GpioInEdge GPIOInEdge `protobuf:"varint,3,opt,name=gpioInEdge,enum=P4wnP1_grpc.GPIOInEdge" json:"gpioInEdge,omitempty"` DebounceMillis int64 `protobuf:"varint,4,opt,name=debounce_millis,json=debounceMillis" json:"debounce_millis,omitempty"` }
func (*TriggerGPIOIn) Descriptor ¶
func (*TriggerGPIOIn) Descriptor() ([]byte, []int)
func (*TriggerGPIOIn) GetDebounceMillis ¶
func (m *TriggerGPIOIn) GetDebounceMillis() int64
func (*TriggerGPIOIn) GetGpioInEdge ¶
func (m *TriggerGPIOIn) GetGpioInEdge() GPIOInEdge
func (*TriggerGPIOIn) GetGpioName ¶
func (m *TriggerGPIOIn) GetGpioName() string
func (*TriggerGPIOIn) GetPullUpDown ¶
func (m *TriggerGPIOIn) GetPullUpDown() GPIOInPullUpDown
func (*TriggerGPIOIn) ProtoMessage ¶
func (*TriggerGPIOIn) ProtoMessage()
func (*TriggerGPIOIn) Reset ¶
func (m *TriggerGPIOIn) Reset()
func (*TriggerGPIOIn) String ¶
func (m *TriggerGPIOIn) String() string
type TriggerGroupReceive ¶
type TriggerGroupReceive struct { GroupName string `protobuf:"bytes,1,opt,name=groupName" json:"groupName,omitempty"` Value int32 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` }
func (*TriggerGroupReceive) Descriptor ¶
func (*TriggerGroupReceive) Descriptor() ([]byte, []int)
func (*TriggerGroupReceive) GetGroupName ¶
func (m *TriggerGroupReceive) GetGroupName() string
func (*TriggerGroupReceive) GetValue ¶
func (m *TriggerGroupReceive) GetValue() int32
func (*TriggerGroupReceive) ProtoMessage ¶
func (*TriggerGroupReceive) ProtoMessage()
func (*TriggerGroupReceive) Reset ¶
func (m *TriggerGroupReceive) Reset()
func (*TriggerGroupReceive) String ¶
func (m *TriggerGroupReceive) String() string
type TriggerGroupReceiveMulti ¶
type TriggerGroupReceiveMulti struct { GroupName string `protobuf:"bytes,1,opt,name=groupName" json:"groupName,omitempty"` Values []int32 `protobuf:"varint,3,rep,packed,name=values" json:"values,omitempty"` Type GroupReceiveMultiType `protobuf:"varint,4,opt,name=type,enum=P4wnP1_grpc.GroupReceiveMultiType" json:"type,omitempty"` }
func (*TriggerGroupReceiveMulti) Descriptor ¶
func (*TriggerGroupReceiveMulti) Descriptor() ([]byte, []int)
func (*TriggerGroupReceiveMulti) GetGroupName ¶
func (m *TriggerGroupReceiveMulti) GetGroupName() string
func (*TriggerGroupReceiveMulti) GetType ¶
func (m *TriggerGroupReceiveMulti) GetType() GroupReceiveMultiType
func (*TriggerGroupReceiveMulti) GetValues ¶
func (m *TriggerGroupReceiveMulti) GetValues() []int32
func (*TriggerGroupReceiveMulti) ProtoMessage ¶
func (*TriggerGroupReceiveMulti) ProtoMessage()
func (*TriggerGroupReceiveMulti) Reset ¶
func (m *TriggerGroupReceiveMulti) Reset()
func (*TriggerGroupReceiveMulti) String ¶
func (m *TriggerGroupReceiveMulti) String() string
type TriggerSSHLogin ¶
type TriggerSSHLogin struct {
LoginUser string `protobuf:"bytes,1,opt,name=loginUser" json:"loginUser,omitempty"`
}
func (*TriggerSSHLogin) Descriptor ¶
func (*TriggerSSHLogin) Descriptor() ([]byte, []int)
func (*TriggerSSHLogin) GetLoginUser ¶
func (m *TriggerSSHLogin) GetLoginUser() string
func (*TriggerSSHLogin) ProtoMessage ¶
func (*TriggerSSHLogin) ProtoMessage()
func (*TriggerSSHLogin) Reset ¶
func (m *TriggerSSHLogin) Reset()
func (*TriggerSSHLogin) String ¶
func (m *TriggerSSHLogin) String() string
type TriggerServiceStarted ¶
type TriggerServiceStarted struct { }
func (*TriggerServiceStarted) Descriptor ¶
func (*TriggerServiceStarted) Descriptor() ([]byte, []int)
func (*TriggerServiceStarted) ProtoMessage ¶
func (*TriggerServiceStarted) ProtoMessage()
func (*TriggerServiceStarted) Reset ¶
func (m *TriggerServiceStarted) Reset()
func (*TriggerServiceStarted) String ¶
func (m *TriggerServiceStarted) String() string
type TriggerUSBGadgetConnected ¶
type TriggerUSBGadgetConnected struct { }
func (*TriggerUSBGadgetConnected) Descriptor ¶
func (*TriggerUSBGadgetConnected) Descriptor() ([]byte, []int)
func (*TriggerUSBGadgetConnected) ProtoMessage ¶
func (*TriggerUSBGadgetConnected) ProtoMessage()
func (*TriggerUSBGadgetConnected) Reset ¶
func (m *TriggerUSBGadgetConnected) Reset()
func (*TriggerUSBGadgetConnected) String ¶
func (m *TriggerUSBGadgetConnected) String() string
type TriggerUSBGadgetDisconnected ¶
type TriggerUSBGadgetDisconnected struct { }
func (*TriggerUSBGadgetDisconnected) Descriptor ¶
func (*TriggerUSBGadgetDisconnected) Descriptor() ([]byte, []int)
func (*TriggerUSBGadgetDisconnected) ProtoMessage ¶
func (*TriggerUSBGadgetDisconnected) ProtoMessage()
func (*TriggerUSBGadgetDisconnected) Reset ¶
func (m *TriggerUSBGadgetDisconnected) Reset()
func (*TriggerUSBGadgetDisconnected) String ¶
func (m *TriggerUSBGadgetDisconnected) String() string
type TriggerWifiAPStarted ¶
type TriggerWifiAPStarted struct { }
func (*TriggerWifiAPStarted) Descriptor ¶
func (*TriggerWifiAPStarted) Descriptor() ([]byte, []int)
func (*TriggerWifiAPStarted) ProtoMessage ¶
func (*TriggerWifiAPStarted) ProtoMessage()
func (*TriggerWifiAPStarted) Reset ¶
func (m *TriggerWifiAPStarted) Reset()
func (*TriggerWifiAPStarted) String ¶
func (m *TriggerWifiAPStarted) String() string
type TriggerWifiConnectedAsSta ¶
type TriggerWifiConnectedAsSta struct { }
func (*TriggerWifiConnectedAsSta) Descriptor ¶
func (*TriggerWifiConnectedAsSta) Descriptor() ([]byte, []int)
func (*TriggerWifiConnectedAsSta) ProtoMessage ¶
func (*TriggerWifiConnectedAsSta) ProtoMessage()
func (*TriggerWifiConnectedAsSta) Reset ¶
func (m *TriggerWifiConnectedAsSta) Reset()
func (*TriggerWifiConnectedAsSta) String ¶
func (m *TriggerWifiConnectedAsSta) String() string
type USBRequestSettingsStorage ¶
type USBRequestSettingsStorage struct { TemplateName string `protobuf:"bytes,1,opt,name=TemplateName" json:"TemplateName,omitempty"` Settings *GadgetSettings `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"` }
USB Gadget
func (*USBRequestSettingsStorage) Descriptor ¶
func (*USBRequestSettingsStorage) Descriptor() ([]byte, []int)
func (*USBRequestSettingsStorage) GetSettings ¶
func (m *USBRequestSettingsStorage) GetSettings() *GadgetSettings
func (*USBRequestSettingsStorage) GetTemplateName ¶
func (m *USBRequestSettingsStorage) GetTemplateName() string
func (*USBRequestSettingsStorage) ProtoMessage ¶
func (*USBRequestSettingsStorage) ProtoMessage()
func (*USBRequestSettingsStorage) Reset ¶
func (m *USBRequestSettingsStorage) Reset()
func (*USBRequestSettingsStorage) String ¶
func (m *USBRequestSettingsStorage) String() string
type WiFiAuthMode ¶
type WiFiAuthMode int32
const ( WiFiAuthMode_WPA2_PSK WiFiAuthMode = 0 WiFiAuthMode_OPEN WiFiAuthMode = 1 )
func (WiFiAuthMode) EnumDescriptor ¶
func (WiFiAuthMode) EnumDescriptor() ([]byte, []int)
func (WiFiAuthMode) String ¶
func (x WiFiAuthMode) String() string
type WiFiBSSCfg ¶
type WiFiBSSCfg struct { SSID string `protobuf:"bytes,1,opt,name=SSID" json:"SSID,omitempty"` PSK string `protobuf:"bytes,2,opt,name=PSK" json:"PSK,omitempty"` }
func (*WiFiBSSCfg) Descriptor ¶
func (*WiFiBSSCfg) Descriptor() ([]byte, []int)
func (*WiFiBSSCfg) GetPSK ¶
func (m *WiFiBSSCfg) GetPSK() string
func (*WiFiBSSCfg) GetSSID ¶
func (m *WiFiBSSCfg) GetSSID() string
func (*WiFiBSSCfg) ProtoMessage ¶
func (*WiFiBSSCfg) ProtoMessage()
func (*WiFiBSSCfg) Reset ¶
func (m *WiFiBSSCfg) Reset()
func (*WiFiBSSCfg) String ¶
func (m *WiFiBSSCfg) String() string
type WiFiSettings ¶
type WiFiSettings struct { // Generic Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Disabled bool `protobuf:"varint,2,opt,name=disabled" json:"disabled,omitempty"` Regulatory string `protobuf:"bytes,3,opt,name=regulatory" json:"regulatory,omitempty"` WorkingMode WiFiWorkingMode `protobuf:"varint,4,opt,name=working_mode,json=workingMode,enum=P4wnP1_grpc.WiFiWorkingMode" json:"working_mode,omitempty"` AuthMode WiFiAuthMode `protobuf:"varint,5,opt,name=auth_mode,json=authMode,enum=P4wnP1_grpc.WiFiAuthMode" json:"auth_mode,omitempty"` Channel uint32 `protobuf:"varint,6,opt,name=channel" json:"channel,omitempty"` Ap_BSS *WiFiBSSCfg `protobuf:"bytes,7,opt,name=ap_BSS,json=apBSS" json:"ap_BSS,omitempty"` Client_BSSList []*WiFiBSSCfg `protobuf:"bytes,8,rep,name=client_BSS_list,json=clientBSSList" json:"client_BSS_list,omitempty"` HideSsid bool `protobuf:"varint,9,opt,name=hide_ssid,json=hideSsid" json:"hide_ssid,omitempty"` Nexmon bool `protobuf:"varint,13,opt,name=nexmon" json:"nexmon,omitempty"` }
func (*WiFiSettings) Descriptor ¶
func (*WiFiSettings) Descriptor() ([]byte, []int)
func (*WiFiSettings) GetAp_BSS ¶
func (m *WiFiSettings) GetAp_BSS() *WiFiBSSCfg
func (*WiFiSettings) GetAuthMode ¶
func (m *WiFiSettings) GetAuthMode() WiFiAuthMode
func (*WiFiSettings) GetChannel ¶
func (m *WiFiSettings) GetChannel() uint32
func (*WiFiSettings) GetClient_BSSList ¶
func (m *WiFiSettings) GetClient_BSSList() []*WiFiBSSCfg
func (*WiFiSettings) GetDisabled ¶
func (m *WiFiSettings) GetDisabled() bool
func (*WiFiSettings) GetHideSsid ¶
func (m *WiFiSettings) GetHideSsid() bool
func (*WiFiSettings) GetName ¶
func (m *WiFiSettings) GetName() string
func (*WiFiSettings) GetNexmon ¶
func (m *WiFiSettings) GetNexmon() bool
func (*WiFiSettings) GetRegulatory ¶
func (m *WiFiSettings) GetRegulatory() string
func (*WiFiSettings) GetWorkingMode ¶
func (m *WiFiSettings) GetWorkingMode() WiFiWorkingMode
func (*WiFiSettings) ProtoMessage ¶
func (*WiFiSettings) ProtoMessage()
func (*WiFiSettings) Reset ¶
func (m *WiFiSettings) Reset()
func (*WiFiSettings) String ¶
func (m *WiFiSettings) String() string
type WiFiState ¶
type WiFiState struct { Mode WiFiStateMode `protobuf:"varint,1,opt,name=mode,enum=P4wnP1_grpc.WiFiStateMode" json:"mode,omitempty"` Channel uint32 `protobuf:"varint,2,opt,name=channel" json:"channel,omitempty"` Ssid string `protobuf:"bytes,3,opt,name=ssid" json:"ssid,omitempty"` CurrentSettings *WiFiSettings `protobuf:"bytes,4,opt,name=currentSettings" json:"currentSettings,omitempty"` }
func (*WiFiState) Descriptor ¶
func (*WiFiState) GetChannel ¶
func (*WiFiState) GetCurrentSettings ¶
func (m *WiFiState) GetCurrentSettings() *WiFiSettings
func (*WiFiState) GetMode ¶
func (m *WiFiState) GetMode() WiFiStateMode
func (*WiFiState) ProtoMessage ¶
func (*WiFiState) ProtoMessage()
type WiFiStateMode ¶
type WiFiStateMode int32
const ( WiFiStateMode_STA_NOT_CONNECTED WiFiStateMode = 0 WiFiStateMode_AP_UP WiFiStateMode = 1 WiFiStateMode_STA_CONNECTED WiFiStateMode = 2 )
func (WiFiStateMode) EnumDescriptor ¶
func (WiFiStateMode) EnumDescriptor() ([]byte, []int)
func (WiFiStateMode) String ¶
func (x WiFiStateMode) String() string
type WiFiWorkingMode ¶
type WiFiWorkingMode int32
WiFi2 (distinguish state and settings)
const ( WiFiWorkingMode_UNKNOWN WiFiWorkingMode = 0 WiFiWorkingMode_AP WiFiWorkingMode = 1 WiFiWorkingMode_STA WiFiWorkingMode = 2 WiFiWorkingMode_STA_FAILOVER_AP WiFiWorkingMode = 3 )
func (WiFiWorkingMode) EnumDescriptor ¶
func (WiFiWorkingMode) EnumDescriptor() ([]byte, []int)
func (WiFiWorkingMode) String ¶
func (x WiFiWorkingMode) String() string
type WifiRequestSettingsStorage ¶
type WifiRequestSettingsStorage struct { TemplateName string `protobuf:"bytes,1,opt,name=TemplateName" json:"TemplateName,omitempty"` Settings *WiFiSettings `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"` }
func (*WifiRequestSettingsStorage) Descriptor ¶
func (*WifiRequestSettingsStorage) Descriptor() ([]byte, []int)
func (*WifiRequestSettingsStorage) GetSettings ¶
func (m *WifiRequestSettingsStorage) GetSettings() *WiFiSettings
func (*WifiRequestSettingsStorage) GetTemplateName ¶
func (m *WifiRequestSettingsStorage) GetTemplateName() string
func (*WifiRequestSettingsStorage) ProtoMessage ¶
func (*WifiRequestSettingsStorage) ProtoMessage()
func (*WifiRequestSettingsStorage) Reset ¶
func (m *WifiRequestSettingsStorage) Reset()
func (*WifiRequestSettingsStorage) String ¶
func (m *WifiRequestSettingsStorage) String() string
type WriteFileRequest ¶
type WriteFileRequest struct { Folder AccessibleFolder `protobuf:"varint,1,opt,name=folder,enum=P4wnP1_grpc.AccessibleFolder" json:"folder,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"` Append bool `protobuf:"varint,3,opt,name=append" json:"append,omitempty"` MustNotExist bool `protobuf:"varint,4,opt,name=mustNotExist" json:"mustNotExist,omitempty"` Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` }
func (*WriteFileRequest) Descriptor ¶
func (*WriteFileRequest) Descriptor() ([]byte, []int)
func (*WriteFileRequest) GetAppend ¶
func (m *WriteFileRequest) GetAppend() bool
func (*WriteFileRequest) GetData ¶
func (m *WriteFileRequest) GetData() []byte
func (*WriteFileRequest) GetFilename ¶
func (m *WriteFileRequest) GetFilename() string
func (*WriteFileRequest) GetFolder ¶
func (m *WriteFileRequest) GetFolder() AccessibleFolder
func (*WriteFileRequest) GetMustNotExist ¶
func (m *WriteFileRequest) GetMustNotExist() bool
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) Reset ¶
func (m *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (m *WriteFileRequest) String() string
Click to show internal directories.
Click to hide internal directories.