Documentation ¶
Index ¶
- Constants
- func NewInternalError(err error) error
- func NewInvalidInputError(err error) error
- func NewNotFoundError(err error) error
- type HostInfo
- type HostNet
- type HostResource
- type HostResourceBase
- type HostResourceFilter
- type InternalError
- type InvalidInputError
- type NetInterface
- type NotFoundError
- type ResourceType
- type Service
- type ServiceGroup
- type ServiceGroupFilter
- type TxtRecord
Constants ¶
View Source
const ( HeaderRequestID = "X-Request-ID" HeaderApiVer = "X-Api-Version" HeaderSrvName = "X-Service" )
View Source
const ( HostInfoPath = "host-info" HostNetPath = "network" HostOsPath = "os" HostHwPath = "hardware" HostResourcesPath = "host-resources" MDNSAdvPath = "mdns-services" SrvInfoPath = "info" )
Variables ¶
This section is empty.
Functions ¶
func NewInternalError ¶
func NewInvalidInputError ¶
func NewNotFoundError ¶
Types ¶
type HostNet ¶
type HostNet struct { Hostname string `json:"hostname"` Interfaces []NetInterface `json:"interfaces"` }
type HostResource ¶ added in v0.1.3
type HostResource struct { ID string `json:"id"` Type ResourceType `json:"type"` HostResourceBase }
type HostResourceBase ¶ added in v0.1.3
type HostResourceFilter ¶ added in v0.1.3
type HostResourceFilter struct { }
type InternalError ¶
type InternalError struct {
// contains filtered or unexported fields
}
type InvalidInputError ¶
type InvalidInputError struct {
// contains filtered or unexported fields
}
type NetInterface ¶
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
type ResourceType ¶
type ResourceType = string
const ( SerialDevice ResourceType = "serial" Application ResourceType = "app" )
type ServiceGroup ¶ added in v0.1.0
type ServiceGroupFilter ¶ added in v0.1.2
type ServiceGroupFilter struct { }
Click to show internal directories.
Click to hide internal directories.