mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
15 lines
758 B
Go
15 lines
758 B
Go
package entity
|
|
|
|
import "go.mongodb.org/mongo-driver/bson/primitive"
|
|
|
|
type DependencyResult struct {
|
|
Name string `json:"name,omitempty" bson:"name,omitempty"`
|
|
NodeIds []primitive.ObjectID `json:"node_ids,omitempty" bson:"node_ids,omitempty"`
|
|
Versions []string `json:"versions,omitempty" bson:"versions,omitempty"`
|
|
LatestVersion string `json:"latest_version" bson:"latest_version"`
|
|
Count int `json:"count,omitempty" bson:"count,omitempty"`
|
|
Upgradable bool `json:"upgradable" bson:"upgradable"`
|
|
Downgradable bool `json:"downgradable" bson:"downgradable"`
|
|
Installable bool `json:"installable" bson:"installable"`
|
|
}
|