Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActiveSnap ¶
type ActiveSnap struct { ActiveSnapID string `json:"activeSnapId"` SnapID string `json:"snapID"` State string `json:"state"` Provider string `json:"provider"` Activated int64 `json:"activated"` ExecutionCounter int `json:"executionCounter"` ErrorCounter int `json:"errorCounter"` }
ActiveSnap defines the fields to print for an activeSnap
type ActiveSnapActionsLog ¶
type ActiveSnapActionsLog struct { Provider string `json:"provider"` State string `json:"state"` Output ActiveSnapActionsLogOutput `json:"output"` }
ActiveSnapActionsLog defines the fields to print for action logs
type ActiveSnapActionsLogOutput ¶
type ActiveSnapActionsLogOutput struct { Stdout string `json:"stdout"` Stderr string `json:"stderr"` Error string `json:"error"` }
ActiveSnapActionsLogOutput defines the fields to print for action logs
type ActiveSnapLog ¶
type ActiveSnapLog struct { LogID int64 `json:"timestamp"` ActiveSnapID string `json:"activeSnapId"` SnapID string `json:"snapID"` State string `json:"state"` Trigger string `json:"trigger"` Actions []ActiveSnapActionsLog `json:"actions"` }
ActiveSnapLog defines the fields to print for an activeSnap's logs
type ActiveSnapStatus ¶
type ActiveSnapStatus struct { Message string `json:"message"` ActiveSnap ActiveSnap `json:"activeSnap"` }
ActiveSnapStatus defines the fields to unmarshal from a pause/resume operation
type Snap ¶
type Snap struct { SnapID string `json:"snapId"` Description string `json:"description"` Provider string `json:"provider"` Private bool `json:"private"` }
Snap defines the fields to print for a snap
type SnapStatus ¶
SnapStatus defines the fields to unmarshal from a create/fork/publish/unpublish operation
Click to show internal directories.
Click to hide internal directories.