Documentation ¶
Overview ¶
Package messages contains the structs and types as defined by this schema.
Index ¶
- Constants
- type AppInfo
- type AppsRequest
- type AppsResponse
- type AssertionsRequest
- type AssertionsResponse
- type AsyncResponse
- type ErrorInfo
- type IOTAgentConnectionStatus
- type IotAgentSchemaDefinitionsForNATSAPIIncludesSnapdInterface
- type MqttConnectionStatus
- type MqttConnectionStatusRequest
- type Snap
- type SnapsResponse
- type SnapsSnapRequest
Constants ¶
View Source
const (
SchemaID4069525431 = "schemas.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppInfo ¶
type AppInfo struct { Active bool `json:"active,omitempty"` Daemon string `json:"daemon,omitempty"` Enabled bool `json:"enabled,omitempty"` Name string `json:"name,omitempty"` }
AppInfo
type AppsRequest ¶
type AppsRequest struct { Action string `json:"action,omitempty"` Names []string `json:"names,omitempty"` }
AppsRequest
type AppsResponse ¶
type AppsResponse struct { ChangeId string `json:"changeId,omitempty"` Error string `json:"error,omitempty"` }
AppsResponse
type AssertionsRequest ¶
type AssertionsRequest struct {
Type string `json:"type,omitempty"`
}
AssertionsRequest
type AssertionsResponse ¶
type AssertionsResponse struct {
Stream string `json:"stream,omitempty"`
}
AssertionsResponse
type AsyncResponse ¶
type AsyncResponse struct { ChangeId string `json:"changeId,omitempty"` Error string `json:"error,omitempty"` }
AsyncResponse
type IOTAgentConnectionStatus ¶
type IOTAgentConnectionStatus struct {
Connected bool `json:"connected"`
}
type IotAgentSchemaDefinitionsForNATSAPIIncludesSnapdInterface ¶
type IotAgentSchemaDefinitionsForNATSAPIIncludesSnapdInterface interface{}
IotAgentSchemaDefinitionsForNATSAPIIncludesSnapdInterface
type MqttConnectionStatus ¶
type MqttConnectionStatus struct { Connected bool `json:"connected"` ErrorInfo *ErrorInfo `json:"errorInfo,omitempty"` }
MqttConnectionStatus
type MqttConnectionStatusRequest ¶
type MqttConnectionStatusRequest struct { }
MqttConnectionStatusRequest
type Snap ¶
type Snap struct { Apps []*AppInfo `json:"apps,omitempty"` Channel string `json:"channel,omitempty"` Id string `json:"id,omitempty"` InstallDate time.Time `json:"installDate,omitempty"` InstalledSize int64 `json:"installedSize,omitempty"` Name string `json:"name,omitempty"` Revision string `json:"revision,omitempty"` Status string `json:"status,omitempty"` Title string `json:"title,omitempty"` TrackingChannel string `json:"trackingChannel,omitempty"` Type string `json:"type,omitempty"` Version string `json:"version,omitempty"` }
Snap
type SnapsResponse ¶
type SnapsResponse struct {
Snaps []*Snap `json:"snaps,omitempty"`
}
SnapsResponse
type SnapsSnapRequest ¶
type SnapsSnapRequest struct { Action string `json:"action,omitempty"` Channel string `json:"channel,omitempty"` }
SnapsSnapRequest
Click to show internal directories.
Click to hide internal directories.