maintenance

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ResourceType = "oic.wk.mnt"
	ResourceURI  = "/oic/mnt"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Maintenance

type Maintenance struct {
	ResourceTypes []string `json:"rt"`
	Interfaces    []string `json:"if"`
	Name          string   `json:"n"`
	FactoryReset  bool     `json:"fr"`
	Reboot        bool     `json:"rb"`
	LastHTTPError int      `json:"err"`
}

type MaintenanceUpdateRequest

type MaintenanceUpdateRequest struct {
	FactoryReset bool `json:"fr,omitempty"`
	Reboot       bool `json:"rb,omitempty"`
}

Jump to

Keyboard shortcuts

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