aboutsummaryrefslogtreecommitdiff
path: root/internal/admin/model.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/admin/model.go')
-rw-r--r--internal/admin/model.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/internal/admin/model.go b/internal/admin/model.go
index bf97b0f..2b97c5a 100644
--- a/internal/admin/model.go
+++ b/internal/admin/model.go
@@ -63,9 +63,13 @@ type GitRepo struct {
// ServerRepos repos that are part of this server instance
type ServerRepos struct {
- Name string `json:"name"`
- Version string `json:"version"`
- Repos []*GitRepo `json:"repos"`
+ // Name of the configuration
+ Name string `json:"name"`
+ // Version of the config file
+ Version string `json:"version"`
+ // Repos a list of repos that are managed
+ Repos []*GitRepo `json:"repos"`
+ // this is set by the cli on start
basePath string
}