{"modulePath":"github.com/AliceO2Group/Control","version":"v0.19.80","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package confsys\n\n## Types\n\n```go\ntype Service struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc Instance() *Service\n```\n\n```go\nfunc (s *Service) GenerateWorkflowDescriptor(wfPath string, vars map[string]string) string\n```\nReturns a YAML file OR even a structure made of Roles or Nodes with: import() functions already computed and resolved vars inserted\n\n```go\nfunc (s *Service) GetComponentConfiguration(path string) (payload string, err error)\n```\n\n```go\nfunc (s *Service) GetConsulPath() string\n```\n\n```go\nfunc (s *Service) GetDefaultRepo() (defaultRepo string, err error)\n```\n\n```go\nfunc (s *Service) GetDefaultRevision() (defaultRevision string, err error)\n```\n\n```go\nfunc (s *Service) GetDefaults() map[string]string\n```\nmaybe this one shouldn't exist at all, because vars should get inserted response: but not all of them! some vars will likely only get parsed at deployment time i.e. right before pushing TaskInfos\n\n```go\nfunc (s *Service) GetMesosFID() (fidValue string, err error)\n```\nRetrieve Mesos Framework ID from Consul, or local file.\n\n```go\nfunc (s *Service) GetROSource() configuration.ROSource\n```\n\n```go\nfunc (s *Service) GetRepoDefaultRevisions() (map[string]string, error)\n```\n\n```go\nfunc (s *Service) GetReposPath() string\n```\n\n```go\nfunc (s *Service) GetVars() map[string]string\n```\n\n```go\nfunc (s *Service) NewDefaultRepo(defaultRepo string) error\n```\n\n```go\nfunc (s *Service) NewDefaultRevision(defaultRevision string) error\n```\n\n```go\nfunc (s *Service) NewMesosFID(fidValue string) error\n```\nPersist Mesos Framework ID by saving to Consul, or to a local file.\n\n```go\nfunc (s *Service) NewRunNumber() (runNumber uint32, err error)\n```\n\n```go\nfunc (s *Service) RefreshRepositories()\n```\nOr maybe even \"RefreshConfig\" which will refresh all the things that happen to be runtime-refreshable\n\n```go\nfunc (s *Service) SetRepoDefaultRevisions(defaultRevisions map[string]string) error\n```\n\n","path":"github.com/AliceO2Group/Control/core/confsys","name":"confsys","synopsis":"","isRedistributable":true}
