repos package - github.com/AliceO2Group/Control/core/repos - Go Packages

Package repos provides repository management functionality for accessing and synchronizing Git repositories containing workflow templates and configurations.

This section is empty.

This section is empty.

This section is empty.

AuxNode Use an auxiliary node struct that also carries its parent Name

func (r *Repo) GetDefaultRevision() string
func (r *Repo) GetIdentifier() string
func (r *Repo) GetRevisions() []string
func (r *Repo) IsDefault() bool
func (r *Repo) ResolveSubworkflowTemplateIdentifier(workflowTemplateExpr string) string
func (r *Repo) ResolveTaskClassIdentifier(loadTaskClass string) (taskClassIdentifier string)
type RepoManager struct {
	
}
func (manager *RepoManager) EnsureReposPresent(taskClassesRequired []string) (err error)
func (manager *RepoManager) GetAllRepos() (repoList map[string]iRepo)
func (manager *RepoManager) GetDefaultRevision() string
func (manager *RepoManager) GetOrderedRepolistKeys() []string
func (manager *RepoManager) GetReposPath() string
func (manager *RepoManager) GetWorkflow(workflowPath string) (resolvedWorkflowPath string, workflowRepo IRepo, err error)

GetWorkflowTemplates Returns a map of templates: repo -> revision -> []templates

func (manager *RepoManager) RefreshRepoByIndex(index int) error
func (manager *RepoManager) RefreshRepos() error
func (manager *RepoManager) SetGlobalDefaultRevision(revision string) error
func (manager *RepoManager) UpdateDefaultRepoByIndex(index int) error

TODO: remove support for FILE backend in this one

func (s *RepoService) GetDefaultRevision() (defaultRevision string, err error)
type Templates []Template
type TemplatesByRepo map[RepoKey]TemplatesByRevision
type TemplatesByRevision map[RevisionKey]Templates
type VarSpec struct {
	Source        varsource.Source `yaml:"-"`
	DefaultValue  string           `yaml:"value"`
	VarType       string           `yaml:"type"`
	Label         string           `yaml:"label"`
	Description   string           `yaml:"description"`
	Widget        string           `yaml:"widget"`
	Panel         string           `yaml:"panel" `
	AllowedValues []string         `yaml:"values"`
	Index         int32            `yaml:"index"`
	Rows          uint32           `yaml:"rows"`
	VisibleIf     string           `yaml:"visibleif"`
	EnabledIf     string           `yaml:"enabledif"`
}

VarSpec is the type of struct into which public variable information from workflows may be parsed

VarSpecMap holds a map of variable names to their variable information struct