Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency struct {
Id primitive.ObjectID `json:"_id" bson:"_id"`
NodeId primitive.ObjectID `json:"node_id" bson:"node_id"`
Type string `json:"type" bson:"type"`
Name string `json:"name" bson:"name"`
Version string `json:"version" bson:"version"`
LatestVersion string `json:"latest_version,omitempty" bson:"latest_version,omitempty"`
Description string `json:"description" bson:"description"`
Result entity.DependencyResult `json:"result" bson:"-"`
}
type Setting ¶
type Setting struct {
Id primitive.ObjectID `json:"_id" bson:"_id"`
Key string `json:"key" bson:"key"`
Name string `json:"name" bson:"name"`
Description string `json:"description" bson:"description"`
Enabled bool `json:"enabled" bson:"enabled"`
Cmd string `json:"cmd" bson:"cmd"`
Proxy string `json:"proxy" bson:"proxy"`
LastUpdateTs time.Time `json:"last_update_ts" bson:"last_update_ts"`
}
type Task ¶
type Task struct {
Id primitive.ObjectID `json:"_id" bson:"_id"`
Status string `json:"status" bson:"status"`
Error string `json:"error" bson:"error"`
SettingId primitive.ObjectID `json:"setting_id" bson:"setting_id"`
Type string `json:"type" bson:"type"`
NodeId primitive.ObjectID `json:"node_id" bson:"node_id"`
Action string `json:"action" bson:"action"`
DepNames []string `json:"dep_names" bson:"dep_names"`
Upgrade bool `json:"upgrade" bson:"upgrade"`
UpdateTs time.Time `json:"update_ts" bson:"update_ts"`
}
Click to show internal directories.
Click to hide internal directories.