Documentation ¶
Index ¶
- Constants
- func LifeCycle_Config_Get(p periHttp.PeriHttp)
- func LifeCycle_Config_Set(p periHttp.PeriHttp)
- func LifeCycle_FactoryReset_Set(p periHttp.PeriHttp)
- func LifeCycle_FirmwareProductionImage_Get(p periHttp.PeriHttp)
- func LifeCycle_FirmwareProductionImage_Set(p periHttp.PeriHttp)
- func LifeCycle_FirmwareUpdateImage_Get(p periHttp.PeriHttp)
- func LifeCycle_FirmwareUpdateImage_Set(p periHttp.PeriHttp)
- func LifeCycle_Info_Get(p periHttp.PeriHttp)
- func LifeCycle_Reboot_Set(p periHttp.PeriHttp)
- func PathsGet() []httpserver.PathInfo
- func SetServiceLifeCycle(serviceLifeCycle ServiceLifeCycle)
- type LifeCycleConfig
- type LifeCycleInfo
- type LifeCycleOEMProductionFirmwareImageStatus
- type LifeCycleStatus
- type LifeCycleUpdateFirmwareImageStatus
- type ServiceLifeCycle
Constants ¶
View Source
const (
API_VERSION = "23"
)
Variables ¶
This section is empty.
Functions ¶
func LifeCycle_Config_Get ¶
func LifeCycle_Config_Set ¶
func LifeCycle_Info_Get ¶
func LifeCycle_Reboot_Set ¶
func PathsGet ¶
func PathsGet() []httpserver.PathInfo
func SetServiceLifeCycle ¶
func SetServiceLifeCycle(serviceLifeCycle ServiceLifeCycle)
Types ¶
type LifeCycleConfig ¶
type LifeCycleConfig struct {
State node.NodeLifeState `json:"state"`
}
type LifeCycleInfo ¶
type LifeCycleInfo struct { ApiVersion json.Number `json:"api_version"` State node.NodeLifeState `json:"state"` ErrorStatus node.NodeErrorStatus `json:"error_status"` RebootCounter int `json:"reboot_counter"` }
type LifeCycleOEMProductionFirmwareImageStatus ¶
type LifeCycleOEMProductionFirmwareImageStatus struct {
State LifeCycleStatus `json:"state"`
}
type LifeCycleStatus ¶
type LifeCycleStatus = lifecycleStatus.Enum
type LifeCycleUpdateFirmwareImageStatus ¶
type LifeCycleUpdateFirmwareImageStatus struct {
State LifeCycleStatus `json:"state"`
}
type ServiceLifeCycle ¶
type ServiceLifeCycle struct {
StoragePath string
}
Click to show internal directories.
Click to hide internal directories.