Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use new rafter version * Add DisplayName to rafter and schema, add test * Format + test
- Loading branch information
1 parent
1cb59e9
commit 0f106bc
Showing
10 changed files
with
116 additions
and
36 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
11 changes: 6 additions & 5 deletions
11
components/console-backend-service/internal/gqlschema/asset.go
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
package gqlschema | ||
|
||
type Asset struct { | ||
Name string `json:"name"` | ||
Namespace string `json:"namespace"` | ||
Type string `json:"type"` | ||
Status AssetStatus `json:"status"` | ||
Parameters JSON `json:"parameters"` | ||
Name string `json:"name"` | ||
Namespace string `json:"namespace"` | ||
Type string `json:"type"` | ||
Status AssetStatus `json:"status"` | ||
Parameters JSON `json:"parameters"` | ||
DisplayName string `json:"displayName"` | ||
} |
9 changes: 5 additions & 4 deletions
9
components/console-backend-service/internal/gqlschema/clusterasset.go
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
package gqlschema | ||
|
||
type ClusterAsset struct { | ||
Name string `json:"name"` | ||
Type string `json:"type"` | ||
Status AssetStatus `json:"status"` | ||
Parameters JSON `json:"parameters"` | ||
Name string `json:"name"` | ||
Type string `json:"type"` | ||
Status AssetStatus `json:"status"` | ||
Parameters JSON `json:"parameters"` | ||
DisplayName string `json:"displayName"` | ||
} |
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
92 changes: 81 additions & 11 deletions
92
components/console-backend-service/internal/gqlschema/schema_gen.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.