-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: updated grpc for dependencies service
- Loading branch information
Showing
13 changed files
with
371 additions
and
587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
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"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.