maintenance

package
v2.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 0 Imported by: 7

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,omitempty"`
	Interfaces    []string `json:"if,omitempty"`
	Name          string   `json:"n,omitempty"`
	FactoryReset  bool     `json:"fr,omitempty"`
	Reboot        bool     `json:"rb,omitempty"`
	LastHTTPError int      `json:"err,omitempty"`
}

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