P4wnP1_grpc

package
v0.0.0-...-b320325 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

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

Constants

This section is empty.

Variables

View Source
var AccessibleFolder_name = map[int]string{
	0: "TMP",
	1: "BASH_SCRIPTS",
	2: "HID_SCRIPTS",
}
View Source
var AccessibleFolder_value = map[string]int{
	"TMP":          0,
	"BASH_SCRIPTS": 1,
	"HID_SCRIPTS":  2,
}
View Source
var ActionDeploySettingsTemplate_TemplateType_name = map[int]string{
	0: "FULL_SETTINGS",
	1: "NETWORK",
	2: "WIFI",
	3: "USB",
	4: "BLUETOOTH",
	5: "TRIGGER_ACTIONS",
}
View Source
var ActionDeploySettingsTemplate_TemplateType_value = map[string]int{
	"FULL_SETTINGS":   0,
	"NETWORK":         1,
	"WIFI":            2,
	"USB":             3,
	"BLUETOOTH":       4,
	"TRIGGER_ACTIONS": 5,
}
View Source
var BluetoothNetworkServiceType_name = map[int]string{
	0: "NAP",
	1: "PANU",
	2: "GN",
}
View Source
var BluetoothNetworkServiceType_value = map[string]int{
	"NAP":  0,
	"PANU": 1,
	"GN":   2,
}
View Source
var EthernetInterfaceSettings_Mode_name = map[int]string{
	0: "MANUAL",
	1: "DHCP_CLIENT",
	2: "DHCP_SERVER",
	3: "UNMANAGED",
}
View Source
var EthernetInterfaceSettings_Mode_value = map[string]int{
	"MANUAL":      0,
	"DHCP_CLIENT": 1,
	"DHCP_SERVER": 2,
	"UNMANAGED":   3,
}
View Source
var GPIOInEdge_name = map[int]string{
	0: "RISING",
	1: "FALLING",
	2: "BOTH",
}
View Source
var GPIOInEdge_value = map[string]int{
	"RISING":  0,
	"FALLING": 1,
	"BOTH":    2,
}
View Source
var GPIOInPullUpDown_name = map[int]string{
	0: "UP",
	1: "DOWN",
	2: "OFF",
}
View Source
var GPIOInPullUpDown_value = map[string]int{
	"UP":   0,
	"DOWN": 1,
	"OFF":  2,
}
View Source
var GPIOOutValue_name = map[int]string{
	0: "LOW",
	1: "HIGH",
	2: "TOGGLE",
}
View Source
var GPIOOutValue_value = map[string]int{
	"LOW":    0,
	"HIGH":   1,
	"TOGGLE": 2,
}
View Source
var GroupReceiveMultiType_name = map[int]string{
	0: "SEQUENCE",
	1: "AND",
	2: "OR",
	3: "EXACT_SEQUENCE",
}
View Source
var GroupReceiveMultiType_value = map[string]int{
	"SEQUENCE":       0,
	"AND":            1,
	"OR":             2,
	"EXACT_SEQUENCE": 3,
}
View Source
var WiFiAuthMode_name = map[int]string{
	0: "WPA2_PSK",
	1: "OPEN",
}
View Source
var WiFiAuthMode_value = map[string]int{
	"WPA2_PSK": 0,
	"OPEN":     1,
}
View Source
var WiFiStateMode_name = map[int]string{
	0: "STA_NOT_CONNECTED",
	1: "AP_UP",
	2: "STA_CONNECTED",
}
View Source
var WiFiStateMode_value = map[string]int{
	"STA_NOT_CONNECTED": 0,
	"AP_UP":             1,
	"STA_CONNECTED":     2,
}
View Source
var WiFiWorkingMode_name = map[int]string{
	0: "UNKNOWN",
	1: "AP",
	2: "STA",
	3: "STA_FAILOVER_AP",
}
View Source
var WiFiWorkingMode_value = map[string]int{
	"UNKNOWN":         0,
	"AP":              1,
	"STA":             2,
	"STA_FAILOVER_AP": 3,
}

Functions

This section is empty.

Types

type AccessibleFolder

type AccessibleFolder int
const (
	AccessibleFolder_TMP          AccessibleFolder = 0
	AccessibleFolder_BASH_SCRIPTS AccessibleFolder = 1
	AccessibleFolder_HID_SCRIPTS  AccessibleFolder = 2
)

func (AccessibleFolder) String

func (x AccessibleFolder) String() string

type ActionDeploySettingsTemplate

type ActionDeploySettingsTemplate struct {
	TemplateName string
	Type         ActionDeploySettingsTemplate_TemplateType
}

func (*ActionDeploySettingsTemplate) GetTemplateName

func (m *ActionDeploySettingsTemplate) GetTemplateName() (x string)

GetTemplateName gets the TemplateName of the ActionDeploySettingsTemplate.

func (*ActionDeploySettingsTemplate) GetType

GetType gets the Type of the ActionDeploySettingsTemplate.

func (*ActionDeploySettingsTemplate) Marshal

func (m *ActionDeploySettingsTemplate) Marshal() []byte

Marshal marshals ActionDeploySettingsTemplate to a slice of bytes.

func (*ActionDeploySettingsTemplate) MarshalToWriter

func (m *ActionDeploySettingsTemplate) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ActionDeploySettingsTemplate to the provided writer.

func (*ActionDeploySettingsTemplate) Unmarshal

Unmarshal unmarshals a ActionDeploySettingsTemplate from a slice of bytes.

func (*ActionDeploySettingsTemplate) UnmarshalFromReader

func (m *ActionDeploySettingsTemplate) UnmarshalFromReader(reader jspb.Reader) *ActionDeploySettingsTemplate

UnmarshalFromReader unmarshals a ActionDeploySettingsTemplate from the provided reader.

type ActionDeploySettingsTemplate_TemplateType

type ActionDeploySettingsTemplate_TemplateType int
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) String

type ActionGPIOOut

type ActionGPIOOut struct {
	GpioName string
	Value    GPIOOutValue
}

func (*ActionGPIOOut) GetGpioName

func (m *ActionGPIOOut) GetGpioName() (x string)

GetGpioName gets the GpioName of the ActionGPIOOut.

func (*ActionGPIOOut) GetValue

func (m *ActionGPIOOut) GetValue() (x GPIOOutValue)

GetValue gets the Value of the ActionGPIOOut.

func (*ActionGPIOOut) Marshal

func (m *ActionGPIOOut) Marshal() []byte

Marshal marshals ActionGPIOOut to a slice of bytes.

func (*ActionGPIOOut) MarshalToWriter

func (m *ActionGPIOOut) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ActionGPIOOut to the provided writer.

func (*ActionGPIOOut) Unmarshal

func (m *ActionGPIOOut) Unmarshal(rawBytes []byte) (*ActionGPIOOut, error)

Unmarshal unmarshals a ActionGPIOOut from a slice of bytes.

func (*ActionGPIOOut) UnmarshalFromReader

func (m *ActionGPIOOut) UnmarshalFromReader(reader jspb.Reader) *ActionGPIOOut

UnmarshalFromReader unmarshals a ActionGPIOOut from the provided reader.

type ActionGroupSend

type ActionGroupSend struct {
	GroupName string
	Value     int32
}

func (*ActionGroupSend) GetGroupName

func (m *ActionGroupSend) GetGroupName() (x string)

GetGroupName gets the GroupName of the ActionGroupSend.

func (*ActionGroupSend) GetValue

func (m *ActionGroupSend) GetValue() (x int32)

GetValue gets the Value of the ActionGroupSend.

func (*ActionGroupSend) Marshal

func (m *ActionGroupSend) Marshal() []byte

Marshal marshals ActionGroupSend to a slice of bytes.

func (*ActionGroupSend) MarshalToWriter

func (m *ActionGroupSend) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ActionGroupSend to the provided writer.

func (*ActionGroupSend) Unmarshal

func (m *ActionGroupSend) Unmarshal(rawBytes []byte) (*ActionGroupSend, error)

Unmarshal unmarshals a ActionGroupSend from a slice of bytes.

func (*ActionGroupSend) UnmarshalFromReader

func (m *ActionGroupSend) UnmarshalFromReader(reader jspb.Reader) *ActionGroupSend

UnmarshalFromReader unmarshals a ActionGroupSend from the provided reader.

type ActionLog

type ActionLog struct {
}

func (*ActionLog) Marshal

func (m *ActionLog) Marshal() []byte

Marshal marshals ActionLog to a slice of bytes.

func (*ActionLog) MarshalToWriter

func (m *ActionLog) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ActionLog to the provided writer.

func (*ActionLog) Unmarshal

func (m *ActionLog) Unmarshal(rawBytes []byte) (*ActionLog, error)

Unmarshal unmarshals a ActionLog from a slice of bytes.

func (*ActionLog) UnmarshalFromReader

func (m *ActionLog) UnmarshalFromReader(reader jspb.Reader) *ActionLog

UnmarshalFromReader unmarshals a ActionLog from the provided reader.

type ActionStartBashScript

type ActionStartBashScript struct {
	ScriptName string
}

func (*ActionStartBashScript) GetScriptName

func (m *ActionStartBashScript) GetScriptName() (x string)

GetScriptName gets the ScriptName of the ActionStartBashScript.

func (*ActionStartBashScript) Marshal

func (m *ActionStartBashScript) Marshal() []byte

Marshal marshals ActionStartBashScript to a slice of bytes.

func (*ActionStartBashScript) MarshalToWriter

func (m *ActionStartBashScript) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ActionStartBashScript to the provided writer.

func (*ActionStartBashScript) Unmarshal

func (m *ActionStartBashScript) Unmarshal(rawBytes []byte) (*ActionStartBashScript, error)

Unmarshal unmarshals a ActionStartBashScript from a slice of bytes.

func (*ActionStartBashScript) UnmarshalFromReader

func (m *ActionStartBashScript) UnmarshalFromReader(reader jspb.Reader) *ActionStartBashScript

UnmarshalFromReader unmarshals a ActionStartBashScript from the provided reader.

type ActionStartHIDScript

type ActionStartHIDScript struct {
	ScriptName string
}

func (*ActionStartHIDScript) GetScriptName

func (m *ActionStartHIDScript) GetScriptName() (x string)

GetScriptName gets the ScriptName of the ActionStartHIDScript.

func (*ActionStartHIDScript) Marshal

func (m *ActionStartHIDScript) Marshal() []byte

Marshal marshals ActionStartHIDScript to a slice of bytes.

func (*ActionStartHIDScript) MarshalToWriter

func (m *ActionStartHIDScript) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ActionStartHIDScript to the provided writer.

func (*ActionStartHIDScript) Unmarshal

func (m *ActionStartHIDScript) Unmarshal(rawBytes []byte) (*ActionStartHIDScript, error)

Unmarshal unmarshals a ActionStartHIDScript from a slice of bytes.

func (*ActionStartHIDScript) UnmarshalFromReader

func (m *ActionStartHIDScript) UnmarshalFromReader(reader jspb.Reader) *ActionStartHIDScript

UnmarshalFromReader unmarshals a ActionStartHIDScript from the provided reader.

type BluetoothAgentSettings

type BluetoothAgentSettings struct {
	Pin string
}

func (*BluetoothAgentSettings) GetPin

func (m *BluetoothAgentSettings) GetPin() (x string)

GetPin gets the Pin of the BluetoothAgentSettings.

func (*BluetoothAgentSettings) Marshal

func (m *BluetoothAgentSettings) Marshal() []byte

Marshal marshals BluetoothAgentSettings to a slice of bytes.

func (*BluetoothAgentSettings) MarshalToWriter

func (m *BluetoothAgentSettings) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals BluetoothAgentSettings to the provided writer.

func (*BluetoothAgentSettings) Unmarshal

func (m *BluetoothAgentSettings) Unmarshal(rawBytes []byte) (*BluetoothAgentSettings, error)

Unmarshal unmarshals a BluetoothAgentSettings from a slice of bytes.

func (*BluetoothAgentSettings) UnmarshalFromReader

func (m *BluetoothAgentSettings) UnmarshalFromReader(reader jspb.Reader) *BluetoothAgentSettings

UnmarshalFromReader unmarshals a BluetoothAgentSettings from the provided reader.

type BluetoothControllerInformation

type BluetoothControllerInformation struct {
	Address                  []byte
	BluetoothVersion         uint32
	Manufacturer             uint32
	SupportedSettings        *BluetoothControllerSettings
	CurrentSettings          *BluetoothControllerSettings
	ClassOfDevice            []byte
	Name                     string
	ShortName                string
	IsAvailable              bool
	ServiceNetworkServerNap  bool
	ServiceNetworkServerPanu bool
	ServiceNetworkServerGn   bool
}

func (*BluetoothControllerInformation) GetAddress

func (m *BluetoothControllerInformation) GetAddress() (x []byte)

GetAddress gets the Address of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetBluetoothVersion

func (m *BluetoothControllerInformation) GetBluetoothVersion() (x uint32)

GetBluetoothVersion gets the BluetoothVersion of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetClassOfDevice

func (m *BluetoothControllerInformation) GetClassOfDevice() (x []byte)

GetClassOfDevice gets the ClassOfDevice of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetCurrentSettings

func (m *BluetoothControllerInformation) GetCurrentSettings() (x *BluetoothControllerSettings)

GetCurrentSettings gets the CurrentSettings of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetIsAvailable

func (m *BluetoothControllerInformation) GetIsAvailable() (x bool)

GetIsAvailable gets the IsAvailable of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetManufacturer

func (m *BluetoothControllerInformation) GetManufacturer() (x uint32)

GetManufacturer gets the Manufacturer of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetName

func (m *BluetoothControllerInformation) GetName() (x string)

GetName gets the Name of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetServiceNetworkServerGn

func (m *BluetoothControllerInformation) GetServiceNetworkServerGn() (x bool)

GetServiceNetworkServerGn gets the ServiceNetworkServerGn of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetServiceNetworkServerNap

func (m *BluetoothControllerInformation) GetServiceNetworkServerNap() (x bool)

GetServiceNetworkServerNap gets the ServiceNetworkServerNap of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetServiceNetworkServerPanu

func (m *BluetoothControllerInformation) GetServiceNetworkServerPanu() (x bool)

GetServiceNetworkServerPanu gets the ServiceNetworkServerPanu of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetShortName

func (m *BluetoothControllerInformation) GetShortName() (x string)

GetShortName gets the ShortName of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) GetSupportedSettings

func (m *BluetoothControllerInformation) GetSupportedSettings() (x *BluetoothControllerSettings)

GetSupportedSettings gets the SupportedSettings of the BluetoothControllerInformation.

func (*BluetoothControllerInformation) Marshal

func (m *BluetoothControllerInformation) Marshal() []byte

Marshal marshals BluetoothControllerInformation to a slice of bytes.

func (*BluetoothControllerInformation) MarshalToWriter

func (m *BluetoothControllerInformation) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals BluetoothControllerInformation to the provided writer.

func (*BluetoothControllerInformation) Unmarshal

Unmarshal unmarshals a BluetoothControllerInformation from a slice of bytes.

func (*BluetoothControllerInformation) UnmarshalFromReader

UnmarshalFromReader unmarshals a BluetoothControllerInformation from the provided reader.

type BluetoothControllerSettings

type BluetoothControllerSettings struct {
	Powered                 bool
	Connectable             bool
	FastConnectable         bool
	Discoverable            bool
	Bondable                bool
	LinkLevelSecurity       bool
	SecureSimplePairing     bool
	BrEdr                   bool
	HighSpeed               bool
	LowEnergy               bool
	Advertising             bool
	SecureConnections       bool
	DebugKeys               bool
	Privacy                 bool
	ControllerConfiguration bool
	StaticAddress           bool
}

func (*BluetoothControllerSettings) GetAdvertising

func (m *BluetoothControllerSettings) GetAdvertising() (x bool)

GetAdvertising gets the Advertising of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetBondable

func (m *BluetoothControllerSettings) GetBondable() (x bool)

GetBondable gets the Bondable of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetBrEdr

func (m *BluetoothControllerSettings) GetBrEdr() (x bool)

GetBrEdr gets the BrEdr of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetConnectable

func (m *BluetoothControllerSettings) GetConnectable() (x bool)

GetConnectable gets the Connectable of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetControllerConfiguration

func (m *BluetoothControllerSettings) GetControllerConfiguration() (x bool)

GetControllerConfiguration gets the ControllerConfiguration of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetDebugKeys

func (m *BluetoothControllerSettings) GetDebugKeys() (x bool)

GetDebugKeys gets the DebugKeys of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetDiscoverable

func (m *BluetoothControllerSettings) GetDiscoverable() (x bool)

GetDiscoverable gets the Discoverable of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetFastConnectable

func (m *BluetoothControllerSettings) GetFastConnectable() (x bool)

GetFastConnectable gets the FastConnectable of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetHighSpeed

func (m *BluetoothControllerSettings) GetHighSpeed() (x bool)

GetHighSpeed gets the HighSpeed of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetLinkLevelSecurity

func (m *BluetoothControllerSettings) GetLinkLevelSecurity() (x bool)

GetLinkLevelSecurity gets the LinkLevelSecurity of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetLowEnergy

func (m *BluetoothControllerSettings) GetLowEnergy() (x bool)

GetLowEnergy gets the LowEnergy of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetPowered

func (m *BluetoothControllerSettings) GetPowered() (x bool)

GetPowered gets the Powered of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetPrivacy

func (m *BluetoothControllerSettings) GetPrivacy() (x bool)

GetPrivacy gets the Privacy of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetSecureConnections

func (m *BluetoothControllerSettings) GetSecureConnections() (x bool)

GetSecureConnections gets the SecureConnections of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetSecureSimplePairing

func (m *BluetoothControllerSettings) GetSecureSimplePairing() (x bool)

GetSecureSimplePairing gets the SecureSimplePairing of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) GetStaticAddress

func (m *BluetoothControllerSettings) GetStaticAddress() (x bool)

GetStaticAddress gets the StaticAddress of the BluetoothControllerSettings.

func (*BluetoothControllerSettings) Marshal

func (m *BluetoothControllerSettings) Marshal() []byte

Marshal marshals BluetoothControllerSettings to a slice of bytes.

func (*BluetoothControllerSettings) MarshalToWriter

func (m *BluetoothControllerSettings) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals BluetoothControllerSettings to the provided writer.

func (*BluetoothControllerSettings) Unmarshal

Unmarshal unmarshals a BluetoothControllerSettings from a slice of bytes.

func (*BluetoothControllerSettings) UnmarshalFromReader

func (m *BluetoothControllerSettings) UnmarshalFromReader(reader jspb.Reader) *BluetoothControllerSettings

UnmarshalFromReader unmarshals a BluetoothControllerSettings from the provided reader.

type BluetoothNetworkService

type BluetoothNetworkService struct {
	RegisterOrUnregister bool
	ServerOrConnect      bool
	Type                 BluetoothNetworkServiceType
	MacOrName            string
	BridgeName           string
}

func (*BluetoothNetworkService) GetBridgeName

func (m *BluetoothNetworkService) GetBridgeName() (x string)

GetBridgeName gets the BridgeName of the BluetoothNetworkService.

func (*BluetoothNetworkService) GetMacOrName

func (m *BluetoothNetworkService) GetMacOrName() (x string)

GetMacOrName gets the MacOrName of the BluetoothNetworkService.

func (*BluetoothNetworkService) GetRegisterOrUnregister

func (m *BluetoothNetworkService) GetRegisterOrUnregister() (x bool)

GetRegisterOrUnregister gets the RegisterOrUnregister of the BluetoothNetworkService.

func (*BluetoothNetworkService) GetServerOrConnect

func (m *BluetoothNetworkService) GetServerOrConnect() (x bool)

GetServerOrConnect gets the ServerOrConnect of the BluetoothNetworkService.

func (*BluetoothNetworkService) GetType

GetType gets the Type of the BluetoothNetworkService.

func (*BluetoothNetworkService) Marshal

func (m *BluetoothNetworkService) Marshal() []byte

Marshal marshals BluetoothNetworkService to a slice of bytes.

func (*BluetoothNetworkService) MarshalToWriter

func (m *BluetoothNetworkService) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals BluetoothNetworkService to the provided writer.

func (*BluetoothNetworkService) Unmarshal

func (m *BluetoothNetworkService) Unmarshal(rawBytes []byte) (*BluetoothNetworkService, error)

Unmarshal unmarshals a BluetoothNetworkService from a slice of bytes.

func (*BluetoothNetworkService) UnmarshalFromReader

func (m *BluetoothNetworkService) UnmarshalFromReader(reader jspb.Reader) *BluetoothNetworkService

UnmarshalFromReader unmarshals a BluetoothNetworkService from the provided reader.

type BluetoothNetworkServiceType

type BluetoothNetworkServiceType int
const (
	BluetoothNetworkServiceType_NAP  BluetoothNetworkServiceType = 0
	BluetoothNetworkServiceType_PANU BluetoothNetworkServiceType = 1
	BluetoothNetworkServiceType_GN   BluetoothNetworkServiceType = 2
)

func (BluetoothNetworkServiceType) String

type BluetoothRequestSettingsStorage

type BluetoothRequestSettingsStorage struct {
	TemplateName string
	Settings     *BluetoothSettings
}

Bluetooth

func (*BluetoothRequestSettingsStorage) GetSettings

func (m *BluetoothRequestSettingsStorage) GetSettings() (x *BluetoothSettings)

GetSettings gets the Settings of the BluetoothRequestSettingsStorage.

func (*BluetoothRequestSettingsStorage) GetTemplateName

func (m *BluetoothRequestSettingsStorage) GetTemplateName() (x string)

GetTemplateName gets the TemplateName of the BluetoothRequestSettingsStorage.

func (*BluetoothRequestSettingsStorage) Marshal

func (m *BluetoothRequestSettingsStorage) Marshal() []byte

Marshal marshals BluetoothRequestSettingsStorage to a slice of bytes.

func (*BluetoothRequestSettingsStorage) MarshalToWriter

func (m *BluetoothRequestSettingsStorage) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals BluetoothRequestSettingsStorage to the provided writer.

func (*BluetoothRequestSettingsStorage) Unmarshal

Unmarshal unmarshals a BluetoothRequestSettingsStorage from a slice of bytes.

func (*BluetoothRequestSettingsStorage) UnmarshalFromReader

UnmarshalFromReader unmarshals a BluetoothRequestSettingsStorage from the provided reader.

type BluetoothSettings

type BluetoothSettings struct {
	Ci *BluetoothControllerInformation
	As *BluetoothAgentSettings
}

func (*BluetoothSettings) GetAs

func (m *BluetoothSettings) GetAs() (x *BluetoothAgentSettings)

GetAs gets the As of the BluetoothSettings.

func (*BluetoothSettings) GetCi

GetCi gets the Ci of the BluetoothSettings.

func (*BluetoothSettings) Marshal

func (m *BluetoothSettings) Marshal() []byte

Marshal marshals BluetoothSettings to a slice of bytes.

func (*BluetoothSettings) MarshalToWriter

func (m *BluetoothSettings) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals BluetoothSettings to the provided writer.

func (*BluetoothSettings) Unmarshal

func (m *BluetoothSettings) Unmarshal(rawBytes []byte) (*BluetoothSettings, error)

Unmarshal unmarshals a BluetoothSettings from a slice of bytes.

func (*BluetoothSettings) UnmarshalFromReader

func (m *BluetoothSettings) UnmarshalFromReader(reader jspb.Reader) *BluetoothSettings

UnmarshalFromReader unmarshals a BluetoothSettings from the provided reader.

type DHCPServerRange

type DHCPServerRange struct {
	RangeLower string
	RangeUpper string
	LeaseTime  string
}

Could be used for IPv4 or IPv6 (refer dnsmasq docs), nor field for prefix length (default is 64)

func (*DHCPServerRange) GetLeaseTime

func (m *DHCPServerRange) GetLeaseTime() (x string)

GetLeaseTime gets the LeaseTime of the DHCPServerRange.

func (*DHCPServerRange) GetRangeLower

func (m *DHCPServerRange) GetRangeLower() (x string)

GetRangeLower gets the RangeLower of the DHCPServerRange.

func (*DHCPServerRange) GetRangeUpper

func (m *DHCPServerRange) GetRangeUpper() (x string)

GetRangeUpper gets the RangeUpper of the DHCPServerRange.

func (*DHCPServerRange) Marshal

func (m *DHCPServerRange) Marshal() []byte

Marshal marshals DHCPServerRange to a slice of bytes.

func (*DHCPServerRange) MarshalToWriter

func (m *DHCPServerRange) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals DHCPServerRange to the provided writer.

func (*DHCPServerRange) Unmarshal

func (m *DHCPServerRange) Unmarshal(rawBytes []byte) (*DHCPServerRange, error)

Unmarshal unmarshals a DHCPServerRange from a slice of bytes.

func (*DHCPServerRange) UnmarshalFromReader

func (m *DHCPServerRange) UnmarshalFromReader(reader jspb.Reader) *DHCPServerRange

UnmarshalFromReader unmarshals a DHCPServerRange from the provided reader.

type DHCPServerSettings

type DHCPServerSettings struct {
	ListenPort         uint32
	ListenInterface    string
	LeaseFile          string
	NotAuthoritative   bool
	DoNotBindInterface bool
	CallbackScript     string
	Ranges             []*DHCPServerRange
	// repeated DHCPServerOption options = 8;
	Options     map[uint32]string
	StaticHosts []*DHCPServerStaticHost
}

DHCP

func (*DHCPServerSettings) GetCallbackScript

func (m *DHCPServerSettings) GetCallbackScript() (x string)

GetCallbackScript gets the CallbackScript of the DHCPServerSettings.

func (*DHCPServerSettings) GetDoNotBindInterface

func (m *DHCPServerSettings) GetDoNotBindInterface() (x bool)

GetDoNotBindInterface gets the DoNotBindInterface of the DHCPServerSettings.

func (*DHCPServerSettings) GetLeaseFile

func (m *DHCPServerSettings) GetLeaseFile() (x string)

GetLeaseFile gets the LeaseFile of the DHCPServerSettings.

func (*DHCPServerSettings) GetListenInterface

func (m *DHCPServerSettings) GetListenInterface() (x string)

GetListenInterface gets the ListenInterface of the DHCPServerSettings.

func (*DHCPServerSettings) GetListenPort

func (m *DHCPServerSettings) GetListenPort() (x uint32)

GetListenPort gets the ListenPort of the DHCPServerSettings.

func (*DHCPServerSettings) GetNotAuthoritative

func (m *DHCPServerSettings) GetNotAuthoritative() (x bool)

GetNotAuthoritative gets the NotAuthoritative of the DHCPServerSettings.

func (*DHCPServerSettings) GetOptions

func (m *DHCPServerSettings) GetOptions() (x map[uint32]string)

GetOptions gets the Options of the DHCPServerSettings.

func (*DHCPServerSettings) GetRanges

func (m *DHCPServerSettings) GetRanges() (x []*DHCPServerRange)

GetRanges gets the Ranges of the DHCPServerSettings.

func (*DHCPServerSettings) GetStaticHosts

func (m *DHCPServerSettings) GetStaticHosts() (x []*DHCPServerStaticHost)

GetStaticHosts gets the StaticHosts of the DHCPServerSettings.

func (*DHCPServerSettings) Marshal

func (m *DHCPServerSettings) Marshal() []byte

Marshal marshals DHCPServerSettings to a slice of bytes.

func (*DHCPServerSettings) MarshalToWriter

func (m *DHCPServerSettings) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals DHCPServerSettings to the provided writer.

func (*DHCPServerSettings) Unmarshal

func (m *DHCPServerSettings) Unmarshal(rawBytes []byte) (*DHCPServerSettings, error)

Unmarshal unmarshals a DHCPServerSettings from a slice of bytes.

func (*DHCPServerSettings) UnmarshalFromReader

func (m *DHCPServerSettings) UnmarshalFromReader(reader jspb.Reader) *DHCPServerSettings

UnmarshalFromReader unmarshals a DHCPServerSettings from the provided reader.

type DHCPServerStaticHost

type DHCPServerStaticHost struct {
	Mac string
	Ip  string
}

Used for static leases

func (*DHCPServerStaticHost) GetIp

func (m *DHCPServerStaticHost) GetIp() (x string)

GetIp gets the Ip of the DHCPServerStaticHost.

func (*DHCPServerStaticHost) GetMac

func (m *DHCPServerStaticHost) GetMac() (x string)

GetMac gets the Mac of the DHCPServerStaticHost.

func (*DHCPServerStaticHost) Marshal

func (m *DHCPServerStaticHost) Marshal() []byte

Marshal marshals DHCPServerStaticHost to a slice of bytes.

func (*DHCPServerStaticHost) MarshalToWriter

func (m *DHCPServerStaticHost) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals DHCPServerStaticHost to the provided writer.

func (*DHCPServerStaticHost) Unmarshal

func (m *DHCPServerStaticHost) Unmarshal(rawBytes []byte) (*DHCPServerStaticHost, error)

Unmarshal unmarshals a DHCPServerStaticHost from a slice of bytes.

func (*DHCPServerStaticHost) UnmarshalFromReader

func (m *DHCPServerStaticHost) UnmarshalFromReader(reader jspb.Reader) *DHCPServerStaticHost

UnmarshalFromReader unmarshals a DHCPServerStaticHost from the provided reader.

type DeployedEthernetInterfaceSettings

type DeployedEthernetInterfaceSettings struct {
	List []*EthernetInterfaceSettings
}

func (*DeployedEthernetInterfaceSettings) GetList

GetList gets the List of the DeployedEthernetInterfaceSettings.

func (*DeployedEthernetInterfaceSettings) Marshal

func (m *DeployedEthernetInterfaceSettings) Marshal() []byte

Marshal marshals DeployedEthernetInterfaceSettings to a slice of bytes.

func (*DeployedEthernetInterfaceSettings) MarshalToWriter

func (m *DeployedEthernetInterfaceSettings) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals DeployedEthernetInterfaceSettings to the provided writer.

func (*DeployedEthernetInterfaceSettings) Unmarshal

Unmarshal unmarshals a DeployedEthernetInterfaceSettings from a slice of bytes.

func (*DeployedEthernetInterfaceSettings) UnmarshalFromReader

UnmarshalFromReader unmarshals a DeployedEthernetInterfaceSettings from the provided reader.

type Empty

type Empty struct {
}

func (*Empty) Marshal

func (m *Empty) Marshal() []byte

Marshal marshals Empty to a slice of bytes.

func (*Empty) MarshalToWriter

func (m *Empty) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Empty to the provided writer.

func (*Empty) Unmarshal

func (m *Empty) Unmarshal(rawBytes []byte) (*Empty, error)

Unmarshal unmarshals a Empty from a slice of bytes.

func (*Empty) UnmarshalFromReader

func (m *Empty) UnmarshalFromReader(reader jspb.Reader) *Empty

UnmarshalFromReader unmarshals a Empty from the provided reader.

type EthernetInterfaceSettings

type EthernetInterfaceSettings struct {
	Name               string
	Mode               EthernetInterfaceSettings_Mode
	IpAddress4         string
	Netmask4           string
	Enabled            bool
	DhcpServerSettings *DHCPServerSettings
	SettingsInUse      bool
}

func (*EthernetInterfaceSettings) GetDhcpServerSettings

func (m *EthernetInterfaceSettings) GetDhcpServerSettings() (x *DHCPServerSettings)

GetDhcpServerSettings gets the DhcpServerSettings of the EthernetInterfaceSettings.

func (*EthernetInterfaceSettings) GetEnabled

func (m *EthernetInterfaceSettings) GetEnabled() (x bool)

GetEnabled gets the Enabled of the EthernetInterfaceSettings.

func (*EthernetInterfaceSettings) GetIpAddress4

func (m *EthernetInterfaceSettings) GetIpAddress4() (x string)

GetIpAddress4 gets the IpAddress4 of the EthernetInterfaceSettings.

func (*EthernetInterfaceSettings) GetMode

GetMode gets the Mode of the EthernetInterfaceSettings.

func (*EthernetInterfaceSettings) GetName

func (m *EthernetInterfaceSettings) GetName() (x string)

GetName gets the Name of the EthernetInterfaceSettings.

func (*EthernetInterfaceSettings) GetNetmask4

func (m *EthernetInterfaceSettings) GetNetmask4() (x string)

GetNetmask4 gets the Netmask4 of the EthernetInterfaceSettings.

func (*EthernetInterfaceSettings) GetSettingsInUse

func (m *EthernetInterfaceSettings) GetSettingsInUse() (x bool)

GetSettingsInUse gets the SettingsInUse of the EthernetInterfaceSettings.

func (*EthernetInterfaceSettings) Marshal

func (m *EthernetInterfaceSettings) Marshal() []byte

Marshal marshals EthernetInterfaceSettings to a slice of bytes.

func (*EthernetInterfaceSettings) MarshalToWriter

func (m *EthernetInterfaceSettings) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals EthernetInterfaceSettings to the provided writer.

func (*EthernetInterfaceSettings) Unmarshal

func (m *EthernetInterfaceSettings) Unmarshal(rawBytes []byte) (*EthernetInterfaceSettings, error)

Unmarshal unmarshals a EthernetInterfaceSettings from a slice of bytes.

func (*EthernetInterfaceSettings) UnmarshalFromReader

func (m *EthernetInterfaceSettings) UnmarshalFromReader(reader jspb.Reader) *EthernetInterfaceSettings

UnmarshalFromReader unmarshals a EthernetInterfaceSettings from the provided reader.

type EthernetInterfaceSettings_Mode

type EthernetInterfaceSettings_Mode int
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) String

type EthernetRequestSettingsStorage

type EthernetRequestSettingsStorage struct {
	TemplateName string
	Settings     *EthernetInterfaceSettings
}

Ethernet Interface Settings

func (*EthernetRequestSettingsStorage) GetSettings

GetSettings gets the Settings of the EthernetRequestSettingsStorage.

func (*EthernetRequestSettingsStorage) GetTemplateName

func (m *EthernetRequestSettingsStorage) GetTemplateName() (x string)

GetTemplateName gets the TemplateName of the EthernetRequestSettingsStorage.

func (*EthernetRequestSettingsStorage) Marshal

func (m *EthernetRequestSettingsStorage) Marshal() []byte

Marshal marshals EthernetRequestSettingsStorage to a slice of bytes.

func (*EthernetRequestSettingsStorage) MarshalToWriter

func (m *EthernetRequestSettingsStorage) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals EthernetRequestSettingsStorage to the provided writer.

func (*EthernetRequestSettingsStorage) Unmarshal

Unmarshal unmarshals a EthernetRequestSettingsStorage from a slice of bytes.

func (*EthernetRequestSettingsStorage) UnmarshalFromReader

UnmarshalFromReader unmarshals a EthernetRequestSettingsStorage from the provided reader.

type Event

type Event struct {
	Type   int64
	Values []*EventValue
}

func (*Event) GetType

func (m *Event) GetType() (x int64)

GetType gets the Type of the Event.

func (*Event) GetValues

func (m *Event) GetValues() (x []*EventValue)

GetValues gets the Values of the Event.

func (*Event) Marshal

func (m *Event) Marshal() []byte

Marshal marshals Event to a slice of bytes.

func (*Event) MarshalToWriter

func (m *Event) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals Event to the provided writer.

func (*Event) Unmarshal

func (m *Event) Unmarshal(rawBytes []byte) (*Event, error)

Unmarshal unmarshals a Event from a slice of bytes.

func (*Event) UnmarshalFromReader

func (m *Event) UnmarshalFromReader(reader jspb.Reader) *Event

UnmarshalFromReader unmarshals a Event from the provided reader.

type EventRequest

type EventRequest struct {
	ListenType int64
}

Events

func (*EventRequest) GetListenType

func (m *EventRequest) GetListenType() (x int64)

GetListenType gets the ListenType of the EventRequest.

func (*EventRequest) Marshal

func (m *EventRequest) Marshal() []byte

Marshal marshals EventRequest to a slice of bytes.

func (*EventRequest) MarshalToWriter

func (m *EventRequest) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals EventRequest to the provided writer.

func (*EventRequest) Unmarshal

func (m *EventRequest) Unmarshal(rawBytes []byte) (*EventRequest, error)

Unmarshal unmarshals a EventRequest from a slice of bytes.

func (*EventRequest) UnmarshalFromReader

func (m *EventRequest) UnmarshalFromReader(reader jspb.Reader) *EventRequest

UnmarshalFromReader unmarshals a EventRequest from the provided reader.

type EventValue

type EventValue struct {
	// Types that are valid to be assigned to Val:
	//	*EventValue_Tstring
	//	*EventValue_Tbool
	//	*EventValue_Tint64
	Val isEventValue_Val
}

func (*EventValue) GetTbool

func (m *EventValue) GetTbool() (x bool)

GetTbool gets the Tbool of the EventValue.

func (*EventValue) GetTint64

func (m *EventValue) GetTint64() (x int64)

GetTint64 gets the Tint64 of the EventValue.

func (*EventValue) GetTstring

func (m *EventValue) GetTstring() (x string)

GetTstring gets the Tstring of the EventValue.

func (*EventValue) GetVal

func (m *EventValue) GetVal() (x isEventValue_Val)

GetVal gets the Val of the EventValue.

func (*EventValue) Marshal

func (m *EventValue) Marshal() []byte

Marshal marshals EventValue to a slice of bytes.

func (*EventValue) MarshalToWriter

func (m *EventValue) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals EventValue to the provided writer.

func (*EventValue) Unmarshal

func (m *EventValue) Unmarshal(rawBytes []byte) (*EventValue, error)

Unmarshal unmarshals a EventValue from a slice of bytes.

func (*EventValue) UnmarshalFromReader

func (m *EventValue) UnmarshalFromReader(reader jspb.Reader) *EventValue

UnmarshalFromReader unmarshals a EventValue from the provided reader.

type EventValue_Tbool

type EventValue_Tbool struct {
	Tbool bool
}

EventValue_Tbool is assignable to Val

type EventValue_Tint64

type EventValue_Tint64 struct {
	Tint64 int64
}

EventValue_Tint64 is assignable to Val

type EventValue_Tstring

type EventValue_Tstring struct {
	Tstring string
}

EventValue_Tstring is assignable to Val

type FileInfoRequest

type FileInfoRequest struct {
	Path string
}

func (*FileInfoRequest) GetPath

func (m *FileInfoRequest) GetPath() (x string)

GetPath gets the Path of the FileInfoRequest.

func (*FileInfoRequest) Marshal

func (m *FileInfoRequest) Marshal() []byte

Marshal marshals FileInfoRequest to a slice of bytes.

func (*FileInfoRequest) MarshalToWriter

func (m *FileInfoRequest) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals FileInfoRequest to the provided writer.

func (*FileInfoRequest) Unmarshal

func (m *FileInfoRequest) Unmarshal(rawBytes []byte) (*FileInfoRequest, error)

Unmarshal unmarshals a FileInfoRequest from a slice of bytes.

func (*FileInfoRequest) UnmarshalFromReader

func (m *FileInfoRequest) UnmarshalFromReader(reader jspb.Reader) *FileInfoRequest

UnmarshalFromReader unmarshals a FileInfoRequest from the provided reader.

type FileInfoResponse

type FileInfoResponse struct {
	Name    string
	Size    int64
	Mode    uint32
	ModTime int64
	IsDir   bool
}

func (*FileInfoResponse) GetIsDir

func (m *FileInfoResponse) GetIsDir() (x bool)

GetIsDir gets the IsDir of the FileInfoResponse.

func (*FileInfoResponse) GetModTime

func (m *FileInfoResponse) GetModTime() (x int64)

GetModTime gets the ModTime of the FileInfoResponse.

func (*FileInfoResponse) GetMode

func (m *FileInfoResponse) GetMode() (x uint32)

GetMode gets the Mode of the FileInfoResponse.

func (*FileInfoResponse) GetName

func (m *FileInfoResponse) GetName() (x string)

GetName gets the Name of the FileInfoResponse.

func (*FileInfoResponse) GetSize

func (m *FileInfoResponse) GetSize() (x int64)

GetSize gets the Size of the FileInfoResponse.

func (*FileInfoResponse) Marshal

func (m *FileInfoResponse) Marshal() []byte

Marshal marshals FileInfoResponse to a slice of bytes.

func (*FileInfoResponse) MarshalToWriter

func (m *FileInfoResponse) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals FileInfoResponse to the provided writer.

func (*FileInfoResponse) Unmarshal

func (m *FileInfoResponse) Unmarshal(rawBytes []byte) (*FileInfoResponse, error)

Unmarshal unmarshals a FileInfoResponse from a slice of bytes.

func (*FileInfoResponse) UnmarshalFromReader

func (m *FileInfoResponse) UnmarshalFromReader(reader jspb.Reader) *FileInfoResponse

UnmarshalFromReader unmarshals a FileInfoResponse from the provided reader.

type GPIOInEdge

type GPIOInEdge int
const (
	GPIOInEdge_RISING  GPIOInEdge = 0
	GPIOInEdge_FALLING GPIOInEdge = 1
	GPIOInEdge_BOTH    GPIOInEdge = 2
)

func (GPIOInEdge) String

func (x GPIOInEdge) String() string

type GPIOInPullUpDown

type GPIOInPullUpDown int
const (
	GPIOInPullUpDown_UP   GPIOInPullUpDown = 0
	GPIOInPullUpDown_DOWN GPIOInPullUpDown = 1
	GPIOInPullUpDown_OFF  GPIOInPullUpDown = 2
)

func (GPIOInPullUpDown) String

func (x GPIOInPullUpDown) String() string

type GPIOOutValue

type GPIOOutValue int
const (
	GPIOOutValue_LOW    GPIOOutValue = 0
	GPIOOutValue_HIGH   GPIOOutValue = 1
	GPIOOutValue_TOGGLE GPIOOutValue = 2
)

func (GPIOOutValue) String

func (x GPIOOutValue) String() string

type GadgetSettings

type GadgetSettings struct {
	Enabled          bool
	Vid              string
	Pid              string
	Manufacturer     string
	Product          string
	Serial           string
	Use_CDC_ECM      bool
	Use_RNDIS        bool
	Use_HID_KEYBOARD bool
	Use_HID_MOUSE    bool
	Use_HID_RAW      bool
	Use_UMS          bool
	Use_SERIAL       bool
	RndisSettings    *GadgetSettingsEthernet
	CdcEcmSettings   *GadgetSettingsEthernet
	UmsSettings      *GadgetSettingsUMS
	// EthernetInterfaceSettings ethernet_settings = 17; //only applicable if RNDIS or CDC ECM on
	DevPathHidKeyboard string
	DevPathHidMouse    string
	DevPathHidRaw      string
}

func (*GadgetSettings) GetCdcEcmSettings

func (m *GadgetSettings) GetCdcEcmSettings() (x *GadgetSettingsEthernet)

GetCdcEcmSettings gets the CdcEcmSettings of the GadgetSettings.

func (*GadgetSettings) GetDevPathHidKeyboard

func (m *GadgetSettings) GetDevPathHidKeyboard() (x string)

GetDevPathHidKeyboard gets the DevPathHidKeyboard of the GadgetSettings.

func (*GadgetSettings) GetDevPathHidMouse

func (m *GadgetSettings) GetDevPathHidMouse() (x string)

GetDevPathHidMouse gets the DevPathHidMouse of the GadgetSettings.

func (*GadgetSettings) GetDevPathHidRaw

func (m *GadgetSettings) GetDevPathHidRaw() (x string)

GetDevPathHidRaw gets the DevPathHidRaw of the GadgetSettings.

func (*GadgetSettings) GetEnabled

func (m *GadgetSettings) GetEnabled() (x bool)

GetEnabled gets the Enabled of the GadgetSettings.

func (*GadgetSettings) GetManufacturer

func (m *GadgetSettings) GetManufacturer() (x string)

GetManufacturer gets the Manufacturer of the GadgetSettings.

func (*GadgetSettings) GetPid

func (m *GadgetSettings) GetPid() (x string)

GetPid gets the Pid of the GadgetSettings.

func (*GadgetSettings) GetProduct

func (m *GadgetSettings) GetProduct() (x string)

GetProduct gets the Product of the GadgetSettings.

func (*GadgetSettings) GetRndisSettings

func (m *GadgetSettings) GetRndisSettings() (x *GadgetSettingsEthernet)

GetRndisSettings gets the RndisSettings of the GadgetSettings.

func (*GadgetSettings) GetSerial

func (m *GadgetSettings) GetSerial() (x string)

GetSerial gets the Serial of the GadgetSettings.

func (*GadgetSettings) GetUmsSettings

func (m *GadgetSettings) GetUmsSettings() (x *GadgetSettingsUMS)

GetUmsSettings gets the UmsSettings of the GadgetSettings.

func (*GadgetSettings) GetUse_CDC_ECM

func (m *GadgetSettings) GetUse_CDC_ECM() (x bool)

GetUse_CDC_ECM gets the Use_CDC_ECM of the GadgetSettings.

func (*GadgetSettings) GetUse_HID_KEYBOARD

func (m *GadgetSettings) GetUse_HID_KEYBOARD() (x bool)

GetUse_HID_KEYBOARD gets the Use_HID_KEYBOARD of the GadgetSettings.

func (*GadgetSettings) GetUse_HID_MOUSE

func (m *GadgetSettings) GetUse_HID_MOUSE() (x bool)

GetUse_HID_MOUSE gets the Use_HID_MOUSE of the GadgetSettings.

func (*GadgetSettings) GetUse_HID_RAW

func (m *GadgetSettings) GetUse_HID_RAW() (x bool)

GetUse_HID_RAW gets the Use_HID_RAW of the GadgetSettings.

func (*GadgetSettings) GetUse_RNDIS

func (m *GadgetSettings) GetUse_RNDIS() (x bool)

GetUse_RNDIS gets the Use_RNDIS of the GadgetSettings.

func (*GadgetSettings) GetUse_SERIAL

func (m *GadgetSettings) GetUse_SERIAL() (x bool)

GetUse_SERIAL gets the Use_SERIAL of the GadgetSettings.

func (*GadgetSettings) GetUse_UMS

func (m *GadgetSettings) GetUse_UMS() (x bool)

GetUse_UMS gets the Use_UMS of the GadgetSettings.

func (*GadgetSettings) GetVid

func (m *GadgetSettings) GetVid() (x string)

GetVid gets the Vid of the GadgetSettings.

func (*GadgetSettings) Marshal

func (m *GadgetSettings) Marshal() []byte

Marshal marshals GadgetSettings to a slice of bytes.

func (*GadgetSettings) MarshalToWriter

func (m *GadgetSettings) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals GadgetSettings to the provided writer.

func (*GadgetSettings) Unmarshal

func (m *GadgetSettings) Unmarshal(rawBytes []byte) (*GadgetSettings, error)

Unmarshal unmarshals a GadgetSettings from a slice of bytes.

func (*GadgetSettings) UnmarshalFromReader

func (m *GadgetSettings) UnmarshalFromReader(reader jspb.Reader) *GadgetSettings

UnmarshalFromReader unmarshals a GadgetSettings from the provided reader.

type GadgetSettingsEthernet

type GadgetSettingsEthernet struct {
	HostAddr string
	DevAddr  string
}

func (*GadgetSettingsEthernet) GetDevAddr

func (m *GadgetSettingsEthernet) GetDevAddr() (x string)

GetDevAddr gets the DevAddr of the GadgetSettingsEthernet.

func (*GadgetSettingsEthernet) GetHostAddr

func (m *GadgetSettingsEthernet) GetHostAddr() (x string)

GetHostAddr gets the HostAddr of the GadgetSettingsEthernet.

func (*GadgetSettingsEthernet) Marshal

func (m *GadgetSettingsEthernet) Marshal() []byte

Marshal marshals GadgetSettingsEthernet to a slice of bytes.

func (*GadgetSettingsEthernet) MarshalToWriter

func (m *GadgetSettingsEthernet) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals GadgetSettingsEthernet to the provided writer.

func (*GadgetSettingsEthernet) Unmarshal

func (m *GadgetSettingsEthernet) Unmarshal(rawBytes []byte) (*GadgetSettingsEthernet, error)

Unmarshal unmarshals a GadgetSettingsEthernet from a slice of bytes.

func (*GadgetSettingsEthernet) UnmarshalFromReader

func (m *GadgetSettingsEthernet) UnmarshalFromReader(reader jspb.Reader) *GadgetSettingsEthernet

UnmarshalFromReader unmarshals a GadgetSettingsEthernet from the provided reader.

type GadgetSettingsUMS

type GadgetSettingsUMS struct {
	Cdrom bool
	File  string
}

func (*GadgetSettingsUMS) GetCdrom

func (m *GadgetSettingsUMS) GetCdrom() (x bool)

GetCdrom gets the Cdrom of the GadgetSettingsUMS.

func (*GadgetSettingsUMS) GetFile

func (m *GadgetSettingsUMS) GetFile() (x string)

GetFile gets the File of the GadgetSettingsUMS.

func (*GadgetSettingsUMS) Marshal

func (m *GadgetSettingsUMS) Marshal() []byte

Marshal marshals GadgetSettingsUMS to a slice of bytes.

func (*GadgetSettingsUMS) MarshalToWriter

func (m *GadgetSettingsUMS) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals GadgetSettingsUMS to the provided writer.

func (*GadgetSettingsUMS) Unmarshal

func (m *GadgetSettingsUMS) Unmarshal(rawBytes []byte) (*GadgetSettingsUMS, error)

Unmarshal unmarshals a GadgetSettingsUMS from a slice of bytes.

func (*GadgetSettingsUMS) UnmarshalFromReader

func (m *GadgetSettingsUMS) UnmarshalFromReader(reader jspb.Reader) *GadgetSettingsUMS

UnmarshalFromReader unmarshals a GadgetSettingsUMS from the provided reader.

type GroupReceiveMultiType

type GroupReceiveMultiType int
const (
	GroupReceiveMultiType_SEQUENCE       GroupReceiveMultiType = 0
	GroupReceiveMultiType_AND            GroupReceiveMultiType = 1
	GroupReceiveMultiType_OR             GroupReceiveMultiType = 2
	GroupReceiveMultiType_EXACT_SEQUENCE GroupReceiveMultiType = 3
)

func (GroupReceiveMultiType) String

func (x GroupReceiveMultiType) String() string

type HIDRunningJobStateResult

type HIDRunningJobStateResult struct {
	Id     int64
	VmId   int64
	Source string
}

func (*HIDRunningJobStateResult) GetId

func (m *HIDRunningJobStateResult) GetId() (x int64)

GetId gets the Id of the HIDRunningJobStateResult.

func (*HIDRunningJobStateResult) GetSource

func (m *HIDRunningJobStateResult) GetSource() (x string)

GetSource gets the Source of the HIDRunningJobStateResult.

func (*HIDRunningJobStateResult) GetVmId

func (m *HIDRunningJobStateResult) GetVmId() (x int64)

GetVmId gets the VmId of the HIDRunningJobStateResult.

func (*HIDRunningJobStateResult) Marshal

func (m *HIDRunningJobStateResult) Marshal() []byte

Marshal marshals HIDRunningJobStateResult to a slice of bytes.

func (*HIDRunningJobStateResult) MarshalToWriter

func (m *HIDRunningJobStateResult) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals HIDRunningJobStateResult to the provided writer.

func (*HIDRunningJobStateResult) Unmarshal

func (m *HIDRunningJobStateResult) Unmarshal(rawBytes []byte) (*HIDRunningJobStateResult, error)

Unmarshal unmarshals a HIDRunningJobStateResult from a slice of bytes.

func (*HIDRunningJobStateResult) UnmarshalFromReader

func (m *HIDRunningJobStateResult) UnmarshalFromReader(reader jspb.Reader) *HIDRunningJobStateResult

UnmarshalFromReader unmarshals a HIDRunningJobStateResult from the provided reader.

type HIDScriptJob

type HIDScriptJob struct {
	Id uint32
}

func (*HIDScriptJob) GetId

func (m *HIDScriptJob) GetId() (x uint32)

GetId gets the Id of the HIDScriptJob.

func (*HIDScriptJob) Marshal

func (m *HIDScriptJob) Marshal() []byte

Marshal marshals HIDScriptJob to a slice of bytes.

func (*HIDScriptJob) MarshalToWriter

func (m *HIDScriptJob) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals HIDScriptJob to the provided writer.

func (*HIDScriptJob) Unmarshal

func (m *HIDScriptJob) Unmarshal(rawBytes []byte) (*HIDScriptJob, error)

Unmarshal unmarshals a HIDScriptJob from a slice of bytes.

func (*HIDScriptJob) UnmarshalFromReader

func (m *HIDScriptJob) UnmarshalFromReader(reader jspb.Reader) *HIDScriptJob

UnmarshalFromReader unmarshals a HIDScriptJob from the provided reader.

type HIDScriptJobList

type HIDScriptJobList struct {
	Ids []uint32
}

func (*HIDScriptJobList) GetIds

func (m *HIDScriptJobList) GetIds() (x []uint32)

GetIds gets the Ids of the HIDScriptJobList.

func (*HIDScriptJobList) Marshal

func (m *HIDScriptJobList) Marshal() []byte

Marshal marshals HIDScriptJobList to a slice of bytes.

func (*HIDScriptJobList) MarshalToWriter

func (m *HIDScriptJobList) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals HIDScriptJobList to the provided writer.

func (*HIDScriptJobList) Unmarshal

func (m *HIDScriptJobList) Unmarshal(rawBytes []byte) (*HIDScriptJobList, error)

Unmarshal unmarshals a HIDScriptJobList from a slice of bytes.

func (*HIDScriptJobList) UnmarshalFromReader

func (m *HIDScriptJobList) UnmarshalFromReader(reader jspb.Reader) *HIDScriptJobList

UnmarshalFromReader unmarshals a HIDScriptJobList from the provided reader.

type HIDScriptRequest

type HIDScriptRequest struct {
	ScriptPath     string
	TimeoutSeconds uint32
}

HID

func (*HIDScriptRequest) GetScriptPath

func (m *HIDScriptRequest) GetScriptPath() (x string)

GetScriptPath gets the ScriptPath of the HIDScriptRequest.

func (*HIDScriptRequest) GetTimeoutSeconds

func (m *HIDScriptRequest) GetTimeoutSeconds() (x uint32)

GetTimeoutSeconds gets the TimeoutSeconds of the HIDScriptRequest.

func (*HIDScriptRequest) Marshal

func (m *HIDScriptRequest) Marshal() []byte

Marshal marshals HIDScriptRequest to a slice of bytes.

func (*HIDScriptRequest) MarshalToWriter

func (m *HIDScriptRequest) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals HIDScriptRequest to the provided writer.

func (*HIDScriptRequest) Unmarshal

func (m *HIDScriptRequest) Unmarshal(rawBytes []byte) (*HIDScriptRequest, error)

Unmarshal unmarshals a HIDScriptRequest from a slice of bytes.

func (*HIDScriptRequest) UnmarshalFromReader

func (m *HIDScriptRequest) UnmarshalFromReader(reader jspb.Reader) *HIDScriptRequest

UnmarshalFromReader unmarshals a HIDScriptRequest from the provided reader.

type HIDScriptResult

type HIDScriptResult struct {
	Job        *HIDScriptJob
	IsFinished bool
	ResultJson string
}

func (*HIDScriptResult) GetIsFinished

func (m *HIDScriptResult) GetIsFinished() (x bool)

GetIsFinished gets the IsFinished of the HIDScriptResult.

func (*HIDScriptResult) GetJob

func (m *HIDScriptResult) GetJob() (x *HIDScriptJob)

GetJob gets the Job of the HIDScriptResult.

func (*HIDScriptResult) GetResultJson

func (m *HIDScriptResult) GetResultJson() (x string)

GetResultJson gets the ResultJson of the HIDScriptResult.

func (*HIDScriptResult) Marshal

func (m *HIDScriptResult) Marshal() []byte

Marshal marshals HIDScriptResult to a slice of bytes.

func (*HIDScriptResult) MarshalToWriter

func (m *HIDScriptResult) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals HIDScriptResult to the provided writer.

func (*HIDScriptResult) Unmarshal

func (m *HIDScriptResult) Unmarshal(rawBytes []byte) (*HIDScriptResult, error)

Unmarshal unmarshals a HIDScriptResult from a slice of bytes.

func (*HIDScriptResult) UnmarshalFromReader

func (m *HIDScriptResult) UnmarshalFromReader(reader jspb.Reader) *HIDScriptResult

UnmarshalFromReader unmarshals a HIDScriptResult from the provided reader.

type LEDSettings

type LEDSettings struct {
	BlinkCount uint32
}

LED

func (*LEDSettings) GetBlinkCount

func (m *LEDSettings) GetBlinkCount() (x uint32)

GetBlinkCount gets the BlinkCount of the LEDSettings.

func (*LEDSettings) Marshal

func (m *LEDSettings) Marshal() []byte

Marshal marshals LEDSettings to a slice of bytes.

func (*LEDSettings) MarshalToWriter

func (m *LEDSettings) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals LEDSettings to the provided writer.

func (*LEDSettings) Unmarshal

func (m *LEDSettings) Unmarshal(rawBytes []byte) (*LEDSettings, error)

Unmarshal unmarshals a LEDSettings from a slice of bytes.

func (*LEDSettings) UnmarshalFromReader

func (m *LEDSettings) UnmarshalFromReader(reader jspb.Reader) *LEDSettings

UnmarshalFromReader unmarshals a LEDSettings from the provided reader.

type MasterTemplate

type MasterTemplate struct {
	TemplateNameBluetooth      string
	TemplateNameUsb            string
	TemplateNameWifi           string
	TemplateNameTriggerActions string
	TemplateNamesNetwork       []string
}

MasterTemplates

func (*MasterTemplate) GetTemplateNameBluetooth

func (m *MasterTemplate) GetTemplateNameBluetooth() (x string)

GetTemplateNameBluetooth gets the TemplateNameBluetooth of the MasterTemplate.

func (*MasterTemplate) GetTemplateNameTriggerActions

func (m *MasterTemplate) GetTemplateNameTriggerActions() (x string)

GetTemplateNameTriggerActions gets the TemplateNameTriggerActions of the MasterTemplate.

func (*MasterTemplate) GetTemplateNameUsb

func (m *MasterTemplate) GetTemplateNameUsb() (x string)

GetTemplateNameUsb gets the TemplateNameUsb of the MasterTemplate.

func (*MasterTemplate) GetTemplateNameWifi

func (m *MasterTemplate) GetTemplateNameWifi() (x string)

GetTemplateNameWifi gets the TemplateNameWifi of the MasterTemplate.

func (*MasterTemplate) GetTemplateNamesNetwork

func (m *MasterTemplate) GetTemplateNamesNetwork() (x []string)

GetTemplateNamesNetwork gets the TemplateNamesNetwork of the MasterTemplate.

func (*MasterTemplate) Marshal

func (m *MasterTemplate) Marshal() []byte

Marshal marshals MasterTemplate to a slice of bytes.

func (*MasterTemplate) MarshalToWriter

func (m *MasterTemplate) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals MasterTemplate to the provided writer.

func (*MasterTemplate) Unmarshal

func (m *MasterTemplate) Unmarshal(rawBytes []byte) (*MasterTemplate, error)

Unmarshal unmarshals a MasterTemplate from a slice of bytes.

func (*MasterTemplate) UnmarshalFromReader

func (m *MasterTemplate) UnmarshalFromReader(reader jspb.Reader) *MasterTemplate

UnmarshalFromReader unmarshals a MasterTemplate from the provided reader.

type P4WNP1Client

type P4WNP1Client interface {
	// Bluetooth
	GetBluetoothControllerInformation(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*BluetoothControllerInformation, error)
	DeployBluetoothControllerInformation(ctx context.Context, in *BluetoothControllerInformation, opts ...grpcweb.CallOption) (*BluetoothControllerInformation, error)
	GetBluetoothAgentSettings(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*BluetoothAgentSettings, error)
	DeployBluetoothAgentSettings(ctx context.Context, in *BluetoothAgentSettings, opts ...grpcweb.CallOption) (*BluetoothAgentSettings, error)
	SetBluetoothNetworkService(ctx context.Context, in *BluetoothNetworkService, opts ...grpcweb.CallOption) (*Empty, error)
	DeployBluetoothSettings(ctx context.Context, in *BluetoothSettings, opts ...grpcweb.CallOption) (*BluetoothSettings, error)
	StoreBluetoothSettings(ctx context.Context, in *BluetoothRequestSettingsStorage, opts ...grpcweb.CallOption) (*Empty, error)
	GetStoredBluetoothSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*BluetoothSettings, error)
	DeployStoredBluetoothSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*BluetoothSettings, error)
	DeleteStoredBluetoothSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	StoreDeployedBluetoothSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	ListStoredBluetoothSettings(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	// USB gadget
	GetDeployedGadgetSetting(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*GadgetSettings, error)
	DeployGadgetSetting(ctx context.Context, in *GadgetSettings, opts ...grpcweb.CallOption) (*GadgetSettings, error)
	GetLEDSettings(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*LEDSettings, error)
	SetLEDSettings(ctx context.Context, in *LEDSettings, opts ...grpcweb.CallOption) (*Empty, error)
	MountUMSFile(ctx context.Context, in *GadgetSettingsUMS, opts ...grpcweb.CallOption) (*Empty, error)
	StoreUSBSettings(ctx context.Context, in *USBRequestSettingsStorage, opts ...grpcweb.CallOption) (*Empty, error)
	GetStoredUSBSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*GadgetSettings, error)
	DeployStoredUSBSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*GadgetSettings, error)
	DeleteStoredUSBSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	StoreDeployedUSBSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	ListStoredUSBSettings(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	ListUmsImageCdrom(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	ListUmsImageFlashdrive(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	// HIDScript / job management
	HIDRunScript(ctx context.Context, in *HIDScriptRequest, opts ...grpcweb.CallOption) (*HIDScriptResult, error)
	HIDRunScriptJob(ctx context.Context, in *HIDScriptRequest, opts ...grpcweb.CallOption) (*HIDScriptJob, error)
	HIDGetScriptJobResult(ctx context.Context, in *HIDScriptJob, opts ...grpcweb.CallOption) (*HIDScriptResult, error)
	HIDCancelScriptJob(ctx context.Context, in *HIDScriptJob, opts ...grpcweb.CallOption) (*Empty, error)
	HIDGetRunningScriptJobs(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*HIDScriptJobList, error)
	HIDCancelAllScriptJobs(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*Empty, error)
	HIDGetRunningJobState(ctx context.Context, in *HIDScriptJob, opts ...grpcweb.CallOption) (*HIDRunningJobStateResult, error)
	// FileSystem
	FSWriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpcweb.CallOption) (*Empty, error)
	FSReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpcweb.CallOption) (*ReadFileResponse, error)
	FSGetFileInfo(ctx context.Context, in *FileInfoRequest, opts ...grpcweb.CallOption) (*FileInfoResponse, error)
	FSCreateTempDirOrFile(ctx context.Context, in *TempDirOrFileRequest, opts ...grpcweb.CallOption) (*TempDirOrFileResponse, error)
	// Events
	EventListen(ctx context.Context, in *EventRequest, opts ...grpcweb.CallOption) (P4WNP1_EventListenClient, error)
	// Alive check
	EchoRequest(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*StringMessage, error)
	// WiFi
	DeployWiFiSettings(ctx context.Context, in *WiFiSettings, opts ...grpcweb.CallOption) (*WiFiState, error)
	GetWiFiState(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*WiFiState, error)
	ListenWiFiStateChanges(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*WiFiState, error)
	StoreWifiSettings(ctx context.Context, in *WifiRequestSettingsStorage, opts ...grpcweb.CallOption) (*Empty, error)
	GetStoredWifiSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*WiFiSettings, error)
	DeployStoredWifiSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*WiFiState, error)
	DeleteStoredWifiSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	StoreDeployedWifiSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	ListStoredWifiSettings(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	// Ethernet
	DeployEthernetInterfaceSettings(ctx context.Context, in *EthernetInterfaceSettings, opts ...grpcweb.CallOption) (*Empty, error)
	GetAllDeployedEthernetInterfaceSettings(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*DeployedEthernetInterfaceSettings, error)
	GetDeployedEthernetInterfaceSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*EthernetInterfaceSettings, error)
	StoreEthernetInterfaceSettings(ctx context.Context, in *EthernetRequestSettingsStorage, opts ...grpcweb.CallOption) (*Empty, error)
	GetStoredEthernetInterfaceSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*EthernetInterfaceSettings, error)
	DeployStoredEthernetInterfaceSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	DeleteStoredEthernetInterfaceSettings(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	ListStoredEthernetInterfaceSettings(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	// TriggerActions
	GetDeployedTriggerActionSet(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*TriggerActionSet, error)
	DeployTriggerActionSetReplace(ctx context.Context, in *TriggerActionSet, opts ...grpcweb.CallOption) (*TriggerActionSet, error)
	DeployTriggerActionSetAdd(ctx context.Context, in *TriggerActionSet, opts ...grpcweb.CallOption) (*TriggerActionSet, error)
	DeployTriggerActionSetRemove(ctx context.Context, in *TriggerActionSet, opts ...grpcweb.CallOption) (*TriggerActionSet, error)
	DeployTriggerActionSetUpdate(ctx context.Context, in *TriggerActionSet, opts ...grpcweb.CallOption) (*TriggerActionSet, error)
	ListStoredTriggerActionSets(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	StoreTriggerActionSet(ctx context.Context, in *TriggerActionSet, opts ...grpcweb.CallOption) (*Empty, error)
	DeployStoredTriggerActionSetReplace(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*TriggerActionSet, error)
	DeployStoredTriggerActionSetAdd(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*TriggerActionSet, error)
	DeleteStoredTriggerActionSet(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	// TriggerAction for cli (trigger group send and wait for group receive)
	WaitTriggerGroupReceive(ctx context.Context, in *TriggerGroupReceive, opts ...grpcweb.CallOption) (*Empty, error)
	FireActionGroupSend(ctx context.Context, in *ActionGroupSend, opts ...grpcweb.CallOption) (*Empty, error)
	// MasterTemplates
	DeployMasterTemplate(ctx context.Context, in *MasterTemplate, opts ...grpcweb.CallOption) (*Empty, error)
	StoreMasterTemplate(ctx context.Context, in *RequestMasterTemplateStorage, opts ...grpcweb.CallOption) (*Empty, error)
	GetStoredMasterTemplate(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*MasterTemplate, error)
	DeployStoredMasterTemplate(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*MasterTemplate, error)
	DeleteStoredMasterTemplate(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	ListStoredMasterTemplate(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	// Startup Master Template
	GetStartupMasterTemplate(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessage, error)
	SetStartupMasterTemplate(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	// DB backup&restore
	DBBackup(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	DBRestore(ctx context.Context, in *StringMessage, opts ...grpcweb.CallOption) (*Empty, error)
	ListStoredHIDScripts(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	ListStoredBashScripts(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	ListStoredDBBackups(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	// GPIO
	GetAvailableGpios(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*StringMessageArray, error)
	// System
	Shutdown(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*Empty, error)
	Reboot(ctx context.Context, in *Empty, opts ...grpcweb.CallOption) (*Empty, error)
}

func NewP4WNP1Client

func NewP4WNP1Client(hostname string, opts ...grpcweb.DialOption) P4WNP1Client

NewP4WNP1Client creates a new gRPC-Web client.

type P4WNP1_EventListenClient

type P4WNP1_EventListenClient interface {
	Recv() (*Event, error)
	grpcweb.ClientStream
}

type ReadFileRequest

type ReadFileRequest struct {
	Folder   AccessibleFolder
	Filename string
	Start    int64
	Len      int64
}

func (*ReadFileRequest) GetFilename

func (m *ReadFileRequest) GetFilename() (x string)

GetFilename gets the Filename of the ReadFileRequest.

func (*ReadFileRequest) GetFolder

func (m *ReadFileRequest) GetFolder() (x AccessibleFolder)

GetFolder gets the Folder of the ReadFileRequest.

func (*ReadFileRequest) GetLen

func (m *ReadFileRequest) GetLen() (x int64)

GetLen gets the Len of the ReadFileRequest.

func (*ReadFileRequest) GetStart

func (m *ReadFileRequest) GetStart() (x int64)

GetStart gets the Start of the ReadFileRequest.

func (*ReadFileRequest) Marshal

func (m *ReadFileRequest) Marshal() []byte

Marshal marshals ReadFileRequest to a slice of bytes.

func (*ReadFileRequest) MarshalToWriter

func (m *ReadFileRequest) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ReadFileRequest to the provided writer.

func (*ReadFileRequest) Unmarshal

func (m *ReadFileRequest) Unmarshal(rawBytes []byte) (*ReadFileRequest, error)

Unmarshal unmarshals a ReadFileRequest from a slice of bytes.

func (*ReadFileRequest) UnmarshalFromReader

func (m *ReadFileRequest) UnmarshalFromReader(reader jspb.Reader) *ReadFileRequest

UnmarshalFromReader unmarshals a ReadFileRequest from the provided reader.

type ReadFileResponse

type ReadFileResponse struct {
	ReadCount int64
	Data      []byte
}

func (*ReadFileResponse) GetData

func (m *ReadFileResponse) GetData() (x []byte)

GetData gets the Data of the ReadFileResponse.

func (*ReadFileResponse) GetReadCount

func (m *ReadFileResponse) GetReadCount() (x int64)

GetReadCount gets the ReadCount of the ReadFileResponse.

func (*ReadFileResponse) Marshal

func (m *ReadFileResponse) Marshal() []byte

Marshal marshals ReadFileResponse to a slice of bytes.

func (*ReadFileResponse) MarshalToWriter

func (m *ReadFileResponse) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals ReadFileResponse to the provided writer.

func (*ReadFileResponse) Unmarshal

func (m *ReadFileResponse) Unmarshal(rawBytes []byte) (*ReadFileResponse, error)

Unmarshal unmarshals a ReadFileResponse from a slice of bytes.

func (*ReadFileResponse) UnmarshalFromReader

func (m *ReadFileResponse) UnmarshalFromReader(reader jspb.Reader) *ReadFileResponse

UnmarshalFromReader unmarshals a ReadFileResponse from the provided reader.

type RequestMasterTemplateStorage

type RequestMasterTemplateStorage struct {
	TemplateName string
	Template     *MasterTemplate
}

func (*RequestMasterTemplateStorage) GetTemplate

func (m *RequestMasterTemplateStorage) GetTemplate() (x *MasterTemplate)

GetTemplate gets the Template of the RequestMasterTemplateStorage.

func (*RequestMasterTemplateStorage) GetTemplateName

func (m *RequestMasterTemplateStorage) GetTemplateName() (x string)

GetTemplateName gets the TemplateName of the RequestMasterTemplateStorage.

func (*RequestMasterTemplateStorage) Marshal

func (m *RequestMasterTemplateStorage) Marshal() []byte

Marshal marshals RequestMasterTemplateStorage to a slice of bytes.

func (*RequestMasterTemplateStorage) MarshalToWriter

func (m *RequestMasterTemplateStorage) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals RequestMasterTemplateStorage to the provided writer.

func (*RequestMasterTemplateStorage) Unmarshal

Unmarshal unmarshals a RequestMasterTemplateStorage from a slice of bytes.

func (*RequestMasterTemplateStorage) UnmarshalFromReader

func (m *RequestMasterTemplateStorage) UnmarshalFromReader(reader jspb.Reader) *RequestMasterTemplateStorage

UnmarshalFromReader unmarshals a RequestMasterTemplateStorage from the provided reader.

type StringMessage

type StringMessage struct {
	Msg string
}

Alive check

func (*StringMessage) GetMsg

func (m *StringMessage) GetMsg() (x string)

GetMsg gets the Msg of the StringMessage.

func (*StringMessage) Marshal

func (m *StringMessage) Marshal() []byte

Marshal marshals StringMessage to a slice of bytes.

func (*StringMessage) MarshalToWriter

func (m *StringMessage) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals StringMessage to the provided writer.

func (*StringMessage) Unmarshal

func (m *StringMessage) Unmarshal(rawBytes []byte) (*StringMessage, error)

Unmarshal unmarshals a StringMessage from a slice of bytes.

func (*StringMessage) UnmarshalFromReader

func (m *StringMessage) UnmarshalFromReader(reader jspb.Reader) *StringMessage

UnmarshalFromReader unmarshals a StringMessage from the provided reader.

type StringMessageArray

type StringMessageArray struct {
	MsgArray []string
}

func (*StringMessageArray) GetMsgArray

func (m *StringMessageArray) GetMsgArray() (x []string)

GetMsgArray gets the MsgArray of the StringMessageArray.

func (*StringMessageArray) Marshal

func (m *StringMessageArray) Marshal() []byte

Marshal marshals StringMessageArray to a slice of bytes.

func (*StringMessageArray) MarshalToWriter

func (m *StringMessageArray) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals StringMessageArray to the provided writer.

func (*StringMessageArray) Unmarshal

func (m *StringMessageArray) Unmarshal(rawBytes []byte) (*StringMessageArray, error)

Unmarshal unmarshals a StringMessageArray from a slice of bytes.

func (*StringMessageArray) UnmarshalFromReader

func (m *StringMessageArray) UnmarshalFromReader(reader jspb.Reader) *StringMessageArray

UnmarshalFromReader unmarshals a StringMessageArray from the provided reader.

type TempDirOrFileRequest

type TempDirOrFileRequest struct {
	Dir        string
	Prefix     string
	OnlyFolder bool
}

File System

func (*TempDirOrFileRequest) GetDir

func (m *TempDirOrFileRequest) GetDir() (x string)

GetDir gets the Dir of the TempDirOrFileRequest.

func (*TempDirOrFileRequest) GetOnlyFolder

func (m *TempDirOrFileRequest) GetOnlyFolder() (x bool)

GetOnlyFolder gets the OnlyFolder of the TempDirOrFileRequest.

func (*TempDirOrFileRequest) GetPrefix

func (m *TempDirOrFileRequest) GetPrefix() (x string)

GetPrefix gets the Prefix of the TempDirOrFileRequest.

func (*TempDirOrFileRequest) Marshal

func (m *TempDirOrFileRequest) Marshal() []byte

Marshal marshals TempDirOrFileRequest to a slice of bytes.

func (*TempDirOrFileRequest) MarshalToWriter

func (m *TempDirOrFileRequest) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TempDirOrFileRequest to the provided writer.

func (*TempDirOrFileRequest) Unmarshal

func (m *TempDirOrFileRequest) Unmarshal(rawBytes []byte) (*TempDirOrFileRequest, error)

Unmarshal unmarshals a TempDirOrFileRequest from a slice of bytes.

func (*TempDirOrFileRequest) UnmarshalFromReader

func (m *TempDirOrFileRequest) UnmarshalFromReader(reader jspb.Reader) *TempDirOrFileRequest

UnmarshalFromReader unmarshals a TempDirOrFileRequest from the provided reader.

type TempDirOrFileResponse

type TempDirOrFileResponse struct {
	ResultPath string
}

func (*TempDirOrFileResponse) GetResultPath

func (m *TempDirOrFileResponse) GetResultPath() (x string)

GetResultPath gets the ResultPath of the TempDirOrFileResponse.

func (*TempDirOrFileResponse) Marshal

func (m *TempDirOrFileResponse) Marshal() []byte

Marshal marshals TempDirOrFileResponse to a slice of bytes.

func (*TempDirOrFileResponse) MarshalToWriter

func (m *TempDirOrFileResponse) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TempDirOrFileResponse to the provided writer.

func (*TempDirOrFileResponse) Unmarshal

func (m *TempDirOrFileResponse) Unmarshal(rawBytes []byte) (*TempDirOrFileResponse, error)

Unmarshal unmarshals a TempDirOrFileResponse from a slice of bytes.

func (*TempDirOrFileResponse) UnmarshalFromReader

func (m *TempDirOrFileResponse) UnmarshalFromReader(reader jspb.Reader) *TempDirOrFileResponse

UnmarshalFromReader unmarshals a TempDirOrFileResponse from the provided reader.

type TriggerAction

type TriggerAction struct {
	Id        uint32
	OneShot   bool
	IsActive  bool
	Immutable bool
	// 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
	// Types that are valid to be assigned to Action:
	//	*TriggerAction_BashScript
	//	*TriggerAction_HidScript
	//	*TriggerAction_DeploySettingsTemplate
	//	*TriggerAction_Log
	//	*TriggerAction_GpioOut
	//	*TriggerAction_GroupSend
	Action isTriggerAction_Action
}

func (*TriggerAction) GetAction

func (m *TriggerAction) GetAction() (x isTriggerAction_Action)

GetAction gets the Action of the TriggerAction.

func (*TriggerAction) GetBashScript

func (m *TriggerAction) GetBashScript() (x *ActionStartBashScript)

GetBashScript gets the BashScript of the TriggerAction.

func (*TriggerAction) GetDeploySettingsTemplate

func (m *TriggerAction) GetDeploySettingsTemplate() (x *ActionDeploySettingsTemplate)

GetDeploySettingsTemplate gets the DeploySettingsTemplate of the TriggerAction.

func (*TriggerAction) GetDhcpLeaseGranted

func (m *TriggerAction) GetDhcpLeaseGranted() (x *TriggerDHCPLeaseGranted)

GetDhcpLeaseGranted gets the DhcpLeaseGranted of the TriggerAction.

func (*TriggerAction) GetGpioIn

func (m *TriggerAction) GetGpioIn() (x *TriggerGPIOIn)

GetGpioIn gets the GpioIn of the TriggerAction.

func (*TriggerAction) GetGpioOut

func (m *TriggerAction) GetGpioOut() (x *ActionGPIOOut)

GetGpioOut gets the GpioOut of the TriggerAction.

func (*TriggerAction) GetGroupReceive

func (m *TriggerAction) GetGroupReceive() (x *TriggerGroupReceive)

GetGroupReceive gets the GroupReceive of the TriggerAction.

func (*TriggerAction) GetGroupReceiveMulti

func (m *TriggerAction) GetGroupReceiveMulti() (x *TriggerGroupReceiveMulti)

GetGroupReceiveMulti gets the GroupReceiveMulti of the TriggerAction.

func (*TriggerAction) GetGroupSend

func (m *TriggerAction) GetGroupSend() (x *ActionGroupSend)

GetGroupSend gets the GroupSend of the TriggerAction.

func (*TriggerAction) GetHidScript

func (m *TriggerAction) GetHidScript() (x *ActionStartHIDScript)

GetHidScript gets the HidScript of the TriggerAction.

func (*TriggerAction) GetId

func (m *TriggerAction) GetId() (x uint32)

GetId gets the Id of the TriggerAction.

func (*TriggerAction) GetImmutable

func (m *TriggerAction) GetImmutable() (x bool)

GetImmutable gets the Immutable of the TriggerAction.

func (*TriggerAction) GetIsActive

func (m *TriggerAction) GetIsActive() (x bool)

GetIsActive gets the IsActive of the TriggerAction.

func (*TriggerAction) GetLog

func (m *TriggerAction) GetLog() (x *ActionLog)

GetLog gets the Log of the TriggerAction.

func (*TriggerAction) GetOneShot

func (m *TriggerAction) GetOneShot() (x bool)

GetOneShot gets the OneShot of the TriggerAction.

func (*TriggerAction) GetServiceStarted

func (m *TriggerAction) GetServiceStarted() (x *TriggerServiceStarted)

GetServiceStarted gets the ServiceStarted of the TriggerAction.

func (*TriggerAction) GetSshLogin

func (m *TriggerAction) GetSshLogin() (x *TriggerSSHLogin)

GetSshLogin gets the SshLogin of the TriggerAction.

func (*TriggerAction) GetTrigger

func (m *TriggerAction) GetTrigger() (x isTriggerAction_Trigger)

GetTrigger gets the Trigger of the TriggerAction.

func (*TriggerAction) GetUsbGadgetConnected

func (m *TriggerAction) GetUsbGadgetConnected() (x *TriggerUSBGadgetConnected)

GetUsbGadgetConnected gets the UsbGadgetConnected of the TriggerAction.

func (*TriggerAction) GetUsbGadgetDisconnected

func (m *TriggerAction) GetUsbGadgetDisconnected() (x *TriggerUSBGadgetDisconnected)

GetUsbGadgetDisconnected gets the UsbGadgetDisconnected of the TriggerAction.

func (*TriggerAction) GetWifiAPStarted

func (m *TriggerAction) GetWifiAPStarted() (x *TriggerWifiAPStarted)

GetWifiAPStarted gets the WifiAPStarted of the TriggerAction.

func (*TriggerAction) GetWifiConnectedAsSta

func (m *TriggerAction) GetWifiConnectedAsSta() (x *TriggerWifiConnectedAsSta)

GetWifiConnectedAsSta gets the WifiConnectedAsSta of the TriggerAction.

func (*TriggerAction) Marshal

func (m *TriggerAction) Marshal() []byte

Marshal marshals TriggerAction to a slice of bytes.

func (*TriggerAction) MarshalToWriter

func (m *TriggerAction) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerAction to the provided writer.

func (*TriggerAction) Unmarshal

func (m *TriggerAction) Unmarshal(rawBytes []byte) (*TriggerAction, error)

Unmarshal unmarshals a TriggerAction from a slice of bytes.

func (*TriggerAction) UnmarshalFromReader

func (m *TriggerAction) UnmarshalFromReader(reader jspb.Reader) *TriggerAction

UnmarshalFromReader unmarshals a TriggerAction from the provided reader.

type TriggerActionSet

type TriggerActionSet struct {
	TriggerActions []*TriggerAction
	Name           string
}

Triggers, Actions and resulting TriggerActions

func (*TriggerActionSet) GetName

func (m *TriggerActionSet) GetName() (x string)

GetName gets the Name of the TriggerActionSet.

func (*TriggerActionSet) GetTriggerActions

func (m *TriggerActionSet) GetTriggerActions() (x []*TriggerAction)

GetTriggerActions gets the TriggerActions of the TriggerActionSet.

func (*TriggerActionSet) Marshal

func (m *TriggerActionSet) Marshal() []byte

Marshal marshals TriggerActionSet to a slice of bytes.

func (*TriggerActionSet) MarshalToWriter

func (m *TriggerActionSet) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerActionSet to the provided writer.

func (*TriggerActionSet) Unmarshal

func (m *TriggerActionSet) Unmarshal(rawBytes []byte) (*TriggerActionSet, error)

Unmarshal unmarshals a TriggerActionSet from a slice of bytes.

func (*TriggerActionSet) UnmarshalFromReader

func (m *TriggerActionSet) UnmarshalFromReader(reader jspb.Reader) *TriggerActionSet

UnmarshalFromReader unmarshals a TriggerActionSet from the provided reader.

type TriggerAction_BashScript

type TriggerAction_BashScript struct {
	BashScript *ActionStartBashScript
}

TriggerAction_BashScript is assignable to Action

type TriggerAction_DeploySettingsTemplate

type TriggerAction_DeploySettingsTemplate struct {
	DeploySettingsTemplate *ActionDeploySettingsTemplate
}

TriggerAction_DeploySettingsTemplate is assignable to Action

type TriggerAction_DhcpLeaseGranted

type TriggerAction_DhcpLeaseGranted struct {
	DhcpLeaseGranted *TriggerDHCPLeaseGranted
}

TriggerAction_DhcpLeaseGranted is assignable to Trigger

type TriggerAction_GpioIn

type TriggerAction_GpioIn struct {
	GpioIn *TriggerGPIOIn
}

TriggerAction_GpioIn is assignable to Trigger

type TriggerAction_GpioOut

type TriggerAction_GpioOut struct {
	GpioOut *ActionGPIOOut
}

TriggerAction_GpioOut is assignable to Action

type TriggerAction_GroupReceive

type TriggerAction_GroupReceive struct {
	GroupReceive *TriggerGroupReceive
}

TriggerAction_GroupReceive is assignable to Trigger

type TriggerAction_GroupReceiveMulti

type TriggerAction_GroupReceiveMulti struct {
	GroupReceiveMulti *TriggerGroupReceiveMulti
}

TriggerAction_GroupReceiveMulti is assignable to Trigger

type TriggerAction_GroupSend

type TriggerAction_GroupSend struct {
	GroupSend *ActionGroupSend
}

TriggerAction_GroupSend is assignable to Action

type TriggerAction_HidScript

type TriggerAction_HidScript struct {
	HidScript *ActionStartHIDScript
}

TriggerAction_HidScript is assignable to Action

type TriggerAction_Log

type TriggerAction_Log struct {
	Log *ActionLog
}

TriggerAction_Log is assignable to Action

type TriggerAction_ServiceStarted

type TriggerAction_ServiceStarted struct {
	ServiceStarted *TriggerServiceStarted
}

TriggerAction_ServiceStarted is assignable to Trigger

type TriggerAction_SshLogin

type TriggerAction_SshLogin struct {
	SshLogin *TriggerSSHLogin
}

TriggerAction_SshLogin is assignable to Trigger

type TriggerAction_UsbGadgetConnected

type TriggerAction_UsbGadgetConnected struct {
	UsbGadgetConnected *TriggerUSBGadgetConnected
}

TriggerAction_UsbGadgetConnected is assignable to Trigger

type TriggerAction_UsbGadgetDisconnected

type TriggerAction_UsbGadgetDisconnected struct {
	UsbGadgetDisconnected *TriggerUSBGadgetDisconnected
}

TriggerAction_UsbGadgetDisconnected is assignable to Trigger

type TriggerAction_WifiAPStarted

type TriggerAction_WifiAPStarted struct {
	WifiAPStarted *TriggerWifiAPStarted
}

TriggerAction_WifiAPStarted is assignable to Trigger

type TriggerAction_WifiConnectedAsSta

type TriggerAction_WifiConnectedAsSta struct {
	WifiConnectedAsSta *TriggerWifiConnectedAsSta
}

TriggerAction_WifiConnectedAsSta is assignable to Trigger

type TriggerDHCPLeaseGranted

type TriggerDHCPLeaseGranted struct {
}

func (*TriggerDHCPLeaseGranted) Marshal

func (m *TriggerDHCPLeaseGranted) Marshal() []byte

Marshal marshals TriggerDHCPLeaseGranted to a slice of bytes.

func (*TriggerDHCPLeaseGranted) MarshalToWriter

func (m *TriggerDHCPLeaseGranted) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerDHCPLeaseGranted to the provided writer.

func (*TriggerDHCPLeaseGranted) Unmarshal

func (m *TriggerDHCPLeaseGranted) Unmarshal(rawBytes []byte) (*TriggerDHCPLeaseGranted, error)

Unmarshal unmarshals a TriggerDHCPLeaseGranted from a slice of bytes.

func (*TriggerDHCPLeaseGranted) UnmarshalFromReader

func (m *TriggerDHCPLeaseGranted) UnmarshalFromReader(reader jspb.Reader) *TriggerDHCPLeaseGranted

UnmarshalFromReader unmarshals a TriggerDHCPLeaseGranted from the provided reader.

type TriggerGPIOIn

type TriggerGPIOIn struct {
	GpioName       string
	PullUpDown     GPIOInPullUpDown
	GpioInEdge     GPIOInEdge
	DebounceMillis int64
}

func (*TriggerGPIOIn) GetDebounceMillis

func (m *TriggerGPIOIn) GetDebounceMillis() (x int64)

GetDebounceMillis gets the DebounceMillis of the TriggerGPIOIn.

func (*TriggerGPIOIn) GetGpioInEdge

func (m *TriggerGPIOIn) GetGpioInEdge() (x GPIOInEdge)

GetGpioInEdge gets the GpioInEdge of the TriggerGPIOIn.

func (*TriggerGPIOIn) GetGpioName

func (m *TriggerGPIOIn) GetGpioName() (x string)

GetGpioName gets the GpioName of the TriggerGPIOIn.

func (*TriggerGPIOIn) GetPullUpDown

func (m *TriggerGPIOIn) GetPullUpDown() (x GPIOInPullUpDown)

GetPullUpDown gets the PullUpDown of the TriggerGPIOIn.

func (*TriggerGPIOIn) Marshal

func (m *TriggerGPIOIn) Marshal() []byte

Marshal marshals TriggerGPIOIn to a slice of bytes.

func (*TriggerGPIOIn) MarshalToWriter

func (m *TriggerGPIOIn) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerGPIOIn to the provided writer.

func (*TriggerGPIOIn) Unmarshal

func (m *TriggerGPIOIn) Unmarshal(rawBytes []byte) (*TriggerGPIOIn, error)

Unmarshal unmarshals a TriggerGPIOIn from a slice of bytes.

func (*TriggerGPIOIn) UnmarshalFromReader

func (m *TriggerGPIOIn) UnmarshalFromReader(reader jspb.Reader) *TriggerGPIOIn

UnmarshalFromReader unmarshals a TriggerGPIOIn from the provided reader.

type TriggerGroupReceive

type TriggerGroupReceive struct {
	GroupName string
	Value     int32
}

func (*TriggerGroupReceive) GetGroupName

func (m *TriggerGroupReceive) GetGroupName() (x string)

GetGroupName gets the GroupName of the TriggerGroupReceive.

func (*TriggerGroupReceive) GetValue

func (m *TriggerGroupReceive) GetValue() (x int32)

GetValue gets the Value of the TriggerGroupReceive.

func (*TriggerGroupReceive) Marshal

func (m *TriggerGroupReceive) Marshal() []byte

Marshal marshals TriggerGroupReceive to a slice of bytes.

func (*TriggerGroupReceive) MarshalToWriter

func (m *TriggerGroupReceive) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerGroupReceive to the provided writer.

func (*TriggerGroupReceive) Unmarshal

func (m *TriggerGroupReceive) Unmarshal(rawBytes []byte) (*TriggerGroupReceive, error)

Unmarshal unmarshals a TriggerGroupReceive from a slice of bytes.

func (*TriggerGroupReceive) UnmarshalFromReader

func (m *TriggerGroupReceive) UnmarshalFromReader(reader jspb.Reader) *TriggerGroupReceive

UnmarshalFromReader unmarshals a TriggerGroupReceive from the provided reader.

type TriggerGroupReceiveMulti

type TriggerGroupReceiveMulti struct {
	GroupName string
	Values    []int32
	Type      GroupReceiveMultiType
}

func (*TriggerGroupReceiveMulti) GetGroupName

func (m *TriggerGroupReceiveMulti) GetGroupName() (x string)

GetGroupName gets the GroupName of the TriggerGroupReceiveMulti.

func (*TriggerGroupReceiveMulti) GetType

GetType gets the Type of the TriggerGroupReceiveMulti.

func (*TriggerGroupReceiveMulti) GetValues

func (m *TriggerGroupReceiveMulti) GetValues() (x []int32)

GetValues gets the Values of the TriggerGroupReceiveMulti.

func (*TriggerGroupReceiveMulti) Marshal

func (m *TriggerGroupReceiveMulti) Marshal() []byte

Marshal marshals TriggerGroupReceiveMulti to a slice of bytes.

func (*TriggerGroupReceiveMulti) MarshalToWriter

func (m *TriggerGroupReceiveMulti) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerGroupReceiveMulti to the provided writer.

func (*TriggerGroupReceiveMulti) Unmarshal

func (m *TriggerGroupReceiveMulti) Unmarshal(rawBytes []byte) (*TriggerGroupReceiveMulti, error)

Unmarshal unmarshals a TriggerGroupReceiveMulti from a slice of bytes.

func (*TriggerGroupReceiveMulti) UnmarshalFromReader

func (m *TriggerGroupReceiveMulti) UnmarshalFromReader(reader jspb.Reader) *TriggerGroupReceiveMulti

UnmarshalFromReader unmarshals a TriggerGroupReceiveMulti from the provided reader.

type TriggerSSHLogin

type TriggerSSHLogin struct {
	LoginUser string
}

func (*TriggerSSHLogin) GetLoginUser

func (m *TriggerSSHLogin) GetLoginUser() (x string)

GetLoginUser gets the LoginUser of the TriggerSSHLogin.

func (*TriggerSSHLogin) Marshal

func (m *TriggerSSHLogin) Marshal() []byte

Marshal marshals TriggerSSHLogin to a slice of bytes.

func (*TriggerSSHLogin) MarshalToWriter

func (m *TriggerSSHLogin) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerSSHLogin to the provided writer.

func (*TriggerSSHLogin) Unmarshal

func (m *TriggerSSHLogin) Unmarshal(rawBytes []byte) (*TriggerSSHLogin, error)

Unmarshal unmarshals a TriggerSSHLogin from a slice of bytes.

func (*TriggerSSHLogin) UnmarshalFromReader

func (m *TriggerSSHLogin) UnmarshalFromReader(reader jspb.Reader) *TriggerSSHLogin

UnmarshalFromReader unmarshals a TriggerSSHLogin from the provided reader.

type TriggerServiceStarted

type TriggerServiceStarted struct {
}

func (*TriggerServiceStarted) Marshal

func (m *TriggerServiceStarted) Marshal() []byte

Marshal marshals TriggerServiceStarted to a slice of bytes.

func (*TriggerServiceStarted) MarshalToWriter

func (m *TriggerServiceStarted) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerServiceStarted to the provided writer.

func (*TriggerServiceStarted) Unmarshal

func (m *TriggerServiceStarted) Unmarshal(rawBytes []byte) (*TriggerServiceStarted, error)

Unmarshal unmarshals a TriggerServiceStarted from a slice of bytes.

func (*TriggerServiceStarted) UnmarshalFromReader

func (m *TriggerServiceStarted) UnmarshalFromReader(reader jspb.Reader) *TriggerServiceStarted

UnmarshalFromReader unmarshals a TriggerServiceStarted from the provided reader.

type TriggerUSBGadgetConnected

type TriggerUSBGadgetConnected struct {
}

func (*TriggerUSBGadgetConnected) Marshal

func (m *TriggerUSBGadgetConnected) Marshal() []byte

Marshal marshals TriggerUSBGadgetConnected to a slice of bytes.

func (*TriggerUSBGadgetConnected) MarshalToWriter

func (m *TriggerUSBGadgetConnected) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerUSBGadgetConnected to the provided writer.

func (*TriggerUSBGadgetConnected) Unmarshal

func (m *TriggerUSBGadgetConnected) Unmarshal(rawBytes []byte) (*TriggerUSBGadgetConnected, error)

Unmarshal unmarshals a TriggerUSBGadgetConnected from a slice of bytes.

func (*TriggerUSBGadgetConnected) UnmarshalFromReader

func (m *TriggerUSBGadgetConnected) UnmarshalFromReader(reader jspb.Reader) *TriggerUSBGadgetConnected

UnmarshalFromReader unmarshals a TriggerUSBGadgetConnected from the provided reader.

type TriggerUSBGadgetDisconnected

type TriggerUSBGadgetDisconnected struct {
}

func (*TriggerUSBGadgetDisconnected) Marshal

func (m *TriggerUSBGadgetDisconnected) Marshal() []byte

Marshal marshals TriggerUSBGadgetDisconnected to a slice of bytes.

func (*TriggerUSBGadgetDisconnected) MarshalToWriter

func (m *TriggerUSBGadgetDisconnected) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerUSBGadgetDisconnected to the provided writer.

func (*TriggerUSBGadgetDisconnected) Unmarshal

Unmarshal unmarshals a TriggerUSBGadgetDisconnected from a slice of bytes.

func (*TriggerUSBGadgetDisconnected) UnmarshalFromReader

func (m *TriggerUSBGadgetDisconnected) UnmarshalFromReader(reader jspb.Reader) *TriggerUSBGadgetDisconnected

UnmarshalFromReader unmarshals a TriggerUSBGadgetDisconnected from the provided reader.

type TriggerWifiAPStarted

type TriggerWifiAPStarted struct {
}

func (*TriggerWifiAPStarted) Marshal

func (m *TriggerWifiAPStarted) Marshal() []byte

Marshal marshals TriggerWifiAPStarted to a slice of bytes.

func (*TriggerWifiAPStarted) MarshalToWriter

func (m *TriggerWifiAPStarted) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerWifiAPStarted to the provided writer.

func (*TriggerWifiAPStarted) Unmarshal

func (m *TriggerWifiAPStarted) Unmarshal(rawBytes []byte) (*TriggerWifiAPStarted, error)

Unmarshal unmarshals a TriggerWifiAPStarted from a slice of bytes.

func (*TriggerWifiAPStarted) UnmarshalFromReader

func (m *TriggerWifiAPStarted) UnmarshalFromReader(reader jspb.Reader) *TriggerWifiAPStarted

UnmarshalFromReader unmarshals a TriggerWifiAPStarted from the provided reader.

type TriggerWifiConnectedAsSta

type TriggerWifiConnectedAsSta struct {
}

func (*TriggerWifiConnectedAsSta) Marshal

func (m *TriggerWifiConnectedAsSta) Marshal() []byte

Marshal marshals TriggerWifiConnectedAsSta to a slice of bytes.

func (*TriggerWifiConnectedAsSta) MarshalToWriter

func (m *TriggerWifiConnectedAsSta) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals TriggerWifiConnectedAsSta to the provided writer.

func (*TriggerWifiConnectedAsSta) Unmarshal

func (m *TriggerWifiConnectedAsSta) Unmarshal(rawBytes []byte) (*TriggerWifiConnectedAsSta, error)

Unmarshal unmarshals a TriggerWifiConnectedAsSta from a slice of bytes.

func (*TriggerWifiConnectedAsSta) UnmarshalFromReader

func (m *TriggerWifiConnectedAsSta) UnmarshalFromReader(reader jspb.Reader) *TriggerWifiConnectedAsSta

UnmarshalFromReader unmarshals a TriggerWifiConnectedAsSta from the provided reader.

type USBRequestSettingsStorage

type USBRequestSettingsStorage struct {
	TemplateName string
	Settings     *GadgetSettings
}

USB Gadget

func (*USBRequestSettingsStorage) GetSettings

func (m *USBRequestSettingsStorage) GetSettings() (x *GadgetSettings)

GetSettings gets the Settings of the USBRequestSettingsStorage.

func (*USBRequestSettingsStorage) GetTemplateName

func (m *USBRequestSettingsStorage) GetTemplateName() (x string)

GetTemplateName gets the TemplateName of the USBRequestSettingsStorage.

func (*USBRequestSettingsStorage) Marshal

func (m *USBRequestSettingsStorage) Marshal() []byte

Marshal marshals USBRequestSettingsStorage to a slice of bytes.

func (*USBRequestSettingsStorage) MarshalToWriter

func (m *USBRequestSettingsStorage) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals USBRequestSettingsStorage to the provided writer.

func (*USBRequestSettingsStorage) Unmarshal

func (m *USBRequestSettingsStorage) Unmarshal(rawBytes []byte) (*USBRequestSettingsStorage, error)

Unmarshal unmarshals a USBRequestSettingsStorage from a slice of bytes.

func (*USBRequestSettingsStorage) UnmarshalFromReader

func (m *USBRequestSettingsStorage) UnmarshalFromReader(reader jspb.Reader) *USBRequestSettingsStorage

UnmarshalFromReader unmarshals a USBRequestSettingsStorage from the provided reader.

type WiFiAuthMode

type WiFiAuthMode int
const (
	WiFiAuthMode_WPA2_PSK WiFiAuthMode = 0
	WiFiAuthMode_OPEN     WiFiAuthMode = 1
)

func (WiFiAuthMode) String

func (x WiFiAuthMode) String() string

type WiFiBSSCfg

type WiFiBSSCfg struct {
	SSID string
	PSK  string
}

func (*WiFiBSSCfg) GetPSK

func (m *WiFiBSSCfg) GetPSK() (x string)

GetPSK gets the PSK of the WiFiBSSCfg.

func (*WiFiBSSCfg) GetSSID

func (m *WiFiBSSCfg) GetSSID() (x string)

GetSSID gets the SSID of the WiFiBSSCfg.

func (*WiFiBSSCfg) Marshal

func (m *WiFiBSSCfg) Marshal() []byte

Marshal marshals WiFiBSSCfg to a slice of bytes.

func (*WiFiBSSCfg) MarshalToWriter

func (m *WiFiBSSCfg) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals WiFiBSSCfg to the provided writer.

func (*WiFiBSSCfg) Unmarshal

func (m *WiFiBSSCfg) Unmarshal(rawBytes []byte) (*WiFiBSSCfg, error)

Unmarshal unmarshals a WiFiBSSCfg from a slice of bytes.

func (*WiFiBSSCfg) UnmarshalFromReader

func (m *WiFiBSSCfg) UnmarshalFromReader(reader jspb.Reader) *WiFiBSSCfg

UnmarshalFromReader unmarshals a WiFiBSSCfg from the provided reader.

type WiFiSettings

type WiFiSettings struct {
	// Generic
	Name           string
	Disabled       bool
	Regulatory     string
	WorkingMode    WiFiWorkingMode
	AuthMode       WiFiAuthMode
	Channel        uint32
	Ap_BSS         *WiFiBSSCfg
	Client_BSSList []*WiFiBSSCfg
	HideSsid       bool
	Nexmon         bool
}

func (*WiFiSettings) GetAp_BSS

func (m *WiFiSettings) GetAp_BSS() (x *WiFiBSSCfg)

GetAp_BSS gets the Ap_BSS of the WiFiSettings.

func (*WiFiSettings) GetAuthMode

func (m *WiFiSettings) GetAuthMode() (x WiFiAuthMode)

GetAuthMode gets the AuthMode of the WiFiSettings.

func (*WiFiSettings) GetChannel

func (m *WiFiSettings) GetChannel() (x uint32)

GetChannel gets the Channel of the WiFiSettings.

func (*WiFiSettings) GetClient_BSSList

func (m *WiFiSettings) GetClient_BSSList() (x []*WiFiBSSCfg)

GetClient_BSSList gets the Client_BSSList of the WiFiSettings.

func (*WiFiSettings) GetDisabled

func (m *WiFiSettings) GetDisabled() (x bool)

GetDisabled gets the Disabled of the WiFiSettings.

func (*WiFiSettings) GetHideSsid

func (m *WiFiSettings) GetHideSsid() (x bool)

GetHideSsid gets the HideSsid of the WiFiSettings.

func (*WiFiSettings) GetName

func (m *WiFiSettings) GetName() (x string)

GetName gets the Name of the WiFiSettings.

func (*WiFiSettings) GetNexmon

func (m *WiFiSettings) GetNexmon() (x bool)

GetNexmon gets the Nexmon of the WiFiSettings.

func (*WiFiSettings) GetRegulatory

func (m *WiFiSettings) GetRegulatory() (x string)

GetRegulatory gets the Regulatory of the WiFiSettings.

func (*WiFiSettings) GetWorkingMode

func (m *WiFiSettings) GetWorkingMode() (x WiFiWorkingMode)

GetWorkingMode gets the WorkingMode of the WiFiSettings.

func (*WiFiSettings) Marshal

func (m *WiFiSettings) Marshal() []byte

Marshal marshals WiFiSettings to a slice of bytes.

func (*WiFiSettings) MarshalToWriter

func (m *WiFiSettings) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals WiFiSettings to the provided writer.

func (*WiFiSettings) Unmarshal

func (m *WiFiSettings) Unmarshal(rawBytes []byte) (*WiFiSettings, error)

Unmarshal unmarshals a WiFiSettings from a slice of bytes.

func (*WiFiSettings) UnmarshalFromReader

func (m *WiFiSettings) UnmarshalFromReader(reader jspb.Reader) *WiFiSettings

UnmarshalFromReader unmarshals a WiFiSettings from the provided reader.

type WiFiState

type WiFiState struct {
	Mode            WiFiStateMode
	Channel         uint32
	Ssid            string
	CurrentSettings *WiFiSettings
}

func (*WiFiState) GetChannel

func (m *WiFiState) GetChannel() (x uint32)

GetChannel gets the Channel of the WiFiState.

func (*WiFiState) GetCurrentSettings

func (m *WiFiState) GetCurrentSettings() (x *WiFiSettings)

GetCurrentSettings gets the CurrentSettings of the WiFiState.

func (*WiFiState) GetMode

func (m *WiFiState) GetMode() (x WiFiStateMode)

GetMode gets the Mode of the WiFiState.

func (*WiFiState) GetSsid

func (m *WiFiState) GetSsid() (x string)

GetSsid gets the Ssid of the WiFiState.

func (*WiFiState) Marshal

func (m *WiFiState) Marshal() []byte

Marshal marshals WiFiState to a slice of bytes.

func (*WiFiState) MarshalToWriter

func (m *WiFiState) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals WiFiState to the provided writer.

func (*WiFiState) Unmarshal

func (m *WiFiState) Unmarshal(rawBytes []byte) (*WiFiState, error)

Unmarshal unmarshals a WiFiState from a slice of bytes.

func (*WiFiState) UnmarshalFromReader

func (m *WiFiState) UnmarshalFromReader(reader jspb.Reader) *WiFiState

UnmarshalFromReader unmarshals a WiFiState from the provided reader.

type WiFiStateMode

type WiFiStateMode int
const (
	WiFiStateMode_STA_NOT_CONNECTED WiFiStateMode = 0
	WiFiStateMode_AP_UP             WiFiStateMode = 1
	WiFiStateMode_STA_CONNECTED     WiFiStateMode = 2
)

func (WiFiStateMode) String

func (x WiFiStateMode) String() string

type WiFiWorkingMode

type WiFiWorkingMode int

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) String

func (x WiFiWorkingMode) String() string

type WifiRequestSettingsStorage

type WifiRequestSettingsStorage struct {
	TemplateName string
	Settings     *WiFiSettings
}

func (*WifiRequestSettingsStorage) GetSettings

func (m *WifiRequestSettingsStorage) GetSettings() (x *WiFiSettings)

GetSettings gets the Settings of the WifiRequestSettingsStorage.

func (*WifiRequestSettingsStorage) GetTemplateName

func (m *WifiRequestSettingsStorage) GetTemplateName() (x string)

GetTemplateName gets the TemplateName of the WifiRequestSettingsStorage.

func (*WifiRequestSettingsStorage) Marshal

func (m *WifiRequestSettingsStorage) Marshal() []byte

Marshal marshals WifiRequestSettingsStorage to a slice of bytes.

func (*WifiRequestSettingsStorage) MarshalToWriter

func (m *WifiRequestSettingsStorage) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals WifiRequestSettingsStorage to the provided writer.

func (*WifiRequestSettingsStorage) Unmarshal

func (m *WifiRequestSettingsStorage) Unmarshal(rawBytes []byte) (*WifiRequestSettingsStorage, error)

Unmarshal unmarshals a WifiRequestSettingsStorage from a slice of bytes.

func (*WifiRequestSettingsStorage) UnmarshalFromReader

func (m *WifiRequestSettingsStorage) UnmarshalFromReader(reader jspb.Reader) *WifiRequestSettingsStorage

UnmarshalFromReader unmarshals a WifiRequestSettingsStorage from the provided reader.

type WriteFileRequest

type WriteFileRequest struct {
	Folder       AccessibleFolder
	Filename     string
	Append       bool
	MustNotExist bool
	Data         []byte
}

func (*WriteFileRequest) GetAppend

func (m *WriteFileRequest) GetAppend() (x bool)

GetAppend gets the Append of the WriteFileRequest.

func (*WriteFileRequest) GetData

func (m *WriteFileRequest) GetData() (x []byte)

GetData gets the Data of the WriteFileRequest.

func (*WriteFileRequest) GetFilename

func (m *WriteFileRequest) GetFilename() (x string)

GetFilename gets the Filename of the WriteFileRequest.

func (*WriteFileRequest) GetFolder

func (m *WriteFileRequest) GetFolder() (x AccessibleFolder)

GetFolder gets the Folder of the WriteFileRequest.

func (*WriteFileRequest) GetMustNotExist

func (m *WriteFileRequest) GetMustNotExist() (x bool)

GetMustNotExist gets the MustNotExist of the WriteFileRequest.

func (*WriteFileRequest) Marshal

func (m *WriteFileRequest) Marshal() []byte

Marshal marshals WriteFileRequest to a slice of bytes.

func (*WriteFileRequest) MarshalToWriter

func (m *WriteFileRequest) MarshalToWriter(writer jspb.Writer)

MarshalToWriter marshals WriteFileRequest to the provided writer.

func (*WriteFileRequest) Unmarshal

func (m *WriteFileRequest) Unmarshal(rawBytes []byte) (*WriteFileRequest, error)

Unmarshal unmarshals a WriteFileRequest from a slice of bytes.

func (*WriteFileRequest) UnmarshalFromReader

func (m *WriteFileRequest) UnmarshalFromReader(reader jspb.Reader) *WriteFileRequest

UnmarshalFromReader unmarshals a WriteFileRequest from the provided reader.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL