Documentation ¶
Index ¶
- type Service
- func (s *Service) GenerateWorkflowDescriptor(wfPath string, vars map[string]string) string
- func (s *Service) GetAndProcessComponentConfiguration(query *componentcfg.Query, varStack map[string]string) (payload string, err error)
- func (s *Service) GetComponentConfiguration(query *componentcfg.Query) (payload string, err error)
- func (s *Service) GetDefaults() map[string]string
- func (s *Service) GetRuntimeEntry(component string, key string) (string, error)
- func (s *Service) GetVars() map[string]string
- func (s *Service) ImportComponentConfiguration(query *componentcfg.Query, payload string, newComponent bool, ...) (existingComponentUpdated bool, existingEntryUpdated bool, newTimestamp int64, ...)
- func (s *Service) ListComponentEntries(query *componentcfg.EntriesQuery, showLatestTimestamp bool) (entries []string, err error)
- func (s *Service) ListComponentEntryHistory(query *componentcfg.Query) (entries []string, err error)
- func (s *Service) ListComponents() (components []string, err error)
- func (s *Service) NewRunNumber() (runNumber uint32, err error)
- func (s *Service) RawGetRecursive(path string) (string, error)
- func (s *Service) SetRuntimeEntry(component string, key string, value 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 NewService ¶
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) GetAndProcessComponentConfiguration ¶
func (*Service) GetComponentConfiguration ¶
func (s *Service) GetComponentConfiguration(query *componentcfg.Query) (payload string, err error)
func (*Service) GetDefaults ¶
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) GetRuntimeEntry ¶
func (*Service) ImportComponentConfiguration ¶
func (*Service) ListComponentEntries ¶
func (s *Service) ListComponentEntries(query *componentcfg.EntriesQuery, showLatestTimestamp bool) (entries []string, err error)
func (*Service) ListComponentEntryHistory ¶
func (s *Service) ListComponentEntryHistory(query *componentcfg.Query) (entries []string, err error)
func (*Service) ListComponents ¶
func (*Service) NewRunNumber ¶
Click to show internal directories.
Click to hide internal directories.