confsys

package
v0.17.82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2020 License: GPL-3.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 Instance added in v0.8.0

func Instance() *Service

func (*Service) GenerateWorkflowDescriptor

func (s *Service) GenerateWorkflowDescriptor(wfPath string, vars map[string]string) string

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 (s *Service) GetComponentConfiguration(path string) (payload string, err error)

func (*Service) GetConsulPath added in v0.13.93

func (s *Service) GetConsulPath() string

func (*Service) GetDefaultRepo added in v0.10.0

func (s *Service) GetDefaultRepo() (defaultRepo string, err error)

func (*Service) GetDefaultRevision added in v0.12.90

func (s *Service) GetDefaultRevision() (defaultRevision string, err error)

func (*Service) GetDefaults added in v0.12.90

func (s *Service) GetDefaults() map[string]string

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

func (s *Service) GetMesosFID() (fidValue string, err error)

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 (s *Service) GetRepoDefaultRevisions() (map[string]string, error)

func (*Service) GetReposPath added in v0.12.90

func (s *Service) GetReposPath() string

func (*Service) GetVars

func (s *Service) GetVars() map[string]string

func (*Service) NewDefaultRepo added in v0.10.0

func (s *Service) NewDefaultRepo(defaultRepo string) error

func (*Service) NewDefaultRevision added in v0.12.90

func (s *Service) NewDefaultRevision(defaultRevision string) error

func (*Service) NewMesosFID added in v0.12.90

func (s *Service) NewMesosFID(fidValue string) error

Persist Mesos Framework ID by saving to Consul, or to a local file.

func (*Service) NewRunNumber

func (s *Service) NewRunNumber() (runNumber uint32, err error)

func (*Service) RefreshRepositories

func (s *Service) RefreshRepositories()

Or maybe even "RefreshConfig" which will refresh all the things that happen to be runtime-refreshable

func (*Service) SetRepoDefaultRevisions added in v0.12.90

func (s *Service) SetRepoDefaultRevisions(defaultRevisions map[string]string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL