GitRepositoryManager/config/structures.go

24 lines
480 B
Go
Raw Normal View History

2021-11-02 18:19:31 +00:00
package config
type Configuration struct {
Workspace string
Repositories []RepositoryConfig
}
type RepositoryConfig struct {
Name string `yaml:",omitempty"`
Src string `yaml:",omitempty"`
Dest string `yaml:",omitempty"`
Tags []string `yaml:",omitempty"`
2021-11-02 18:19:31 +00:00
}
type CliArguments struct {
ConfigurationFile string
Sync bool
2021-11-05 17:19:06 +00:00
Status bool
2021-11-02 18:19:31 +00:00
Version bool
Color bool
LimitName string
LimitTags []string
2021-11-02 18:19:31 +00:00
}