Documentation ¶
Index ¶
- type Service
- func (s *Service) GenerateWorkflowDescriptor(wfPath string, vars map[string]string) string
- func (s *Service) GetComponentConfiguration(path string) (payload string, err error)
- func (s *Service) GetDefaultRepo() (defaultRepo string, err error)
- func (s *Service) GetDefaultRevision() (defaultRevision string, err error)
- func (s *Service) GetDefaults() map[string]string
- func (s *Service) GetMesosFID() (fidValue string, err error)
- func (s *Service) GetROSource() configuration.ROSource
- func (s *Service) GetRepoDefaultRevisions() (map[string]string, error)
- func (s *Service) GetReposPath() string
- func (s *Service) GetVars() map[string]string
- func (s *Service) NewDefaultRepo(defaultRepo string) error
- func (s *Service) NewDefaultRevision(defaultRevision string) error
- func (s *Service) NewMesosFID(fidValue string) error
- func (s *Service) NewRunNumber() (runNumber uint32, err error)
- func (s *Service) RefreshRepositories()
- func (s *Service) SetRepoDefaultRevisions(defaultRevisions map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GenerateWorkflowDescriptor ¶
Returns a YAML file OR even a structure made of Roles or Nodes with: import() functions already computed and resolved vars inserted
func (*Service) GetComponentConfiguration ¶ added in v0.12.90
func (*Service) GetDefaultRepo ¶ added in v0.10.0
func (*Service) GetDefaultRevision ¶ added in v0.12.90
func (*Service) GetDefaults ¶ added in v0.12.90
maybe 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
func (*Service) GetMesosFID ¶ added in v0.12.90
Retrieve Mesos Framework ID from Consul, or local file.
func (*Service) GetROSource ¶
func (s *Service) GetROSource() configuration.ROSource
func (*Service) GetRepoDefaultRevisions ¶ added in v0.12.90
func (*Service) GetReposPath ¶ added in v0.12.90
func (*Service) NewDefaultRepo ¶ added in v0.10.0
func (*Service) NewDefaultRevision ¶ added in v0.12.90
func (*Service) NewMesosFID ¶ added in v0.12.90
Persist Mesos Framework ID by saving to Consul, or to a local file.
func (*Service) NewRunNumber ¶
func (*Service) RefreshRepositories ¶
func (s *Service) RefreshRepositories()
Or maybe even "RefreshConfig" which will refresh all the things that happen to be runtime-refreshable
Click to show internal directories.
Click to hide internal directories.