messages

package
v0.0.0-...-99fe3a6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package messages contains the structs and types as defined by this schema.

Index

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 ErrorInfo

type ErrorInfo struct {
	Message string `json:"message,omitempty"`
}

ErrorInfo

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

Jump to

Keyboard shortcuts

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