confsys

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

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 (todo: figure out which vars get parsed when and where)

func (*Service) GetDefaultRepo added in v0.10.0

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

func (*Service) GetROSource

func (s *Service) GetROSource() configuration.ROSource

func (*Service) GetVars

func (s *Service) GetVars() 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) NewDefaultRepo added in v0.10.0

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

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

Jump to

Keyboard shortcuts

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