{"modulePath":"github.com/AliceO2Group/Control","version":"v1.51.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package componentcfg\n\nPackage componentcfg provides component configuration management functionality, including query handling and template processing for O² components.\n\n## Constants\n\n```go\nconst (\n\tSEPARATOR      = \"/\"\n\tSEPARATOR_RUNE = '/'\n)\n```\n\n```go\nconst (\n\tFALLBACK_RUNTYPE = apricotpb.RunType_ANY\n\n\tFALLBACK_ROLENAME = \"any\"\n)\n```\n\n```go\nconst (\n\tConfigComponentsPath = \"o2/components/\"\n)\n```\n\n## Variables\n\n```go\nvar (\n\tE_BAD_KEY = errors.New(\"bad component configuration key format\")\n)\n```\n\n## Functions\n\n```go\nfunc GetComponentsMapFromKeysList(keys []string) map[string]bool\n```\nkeys must be a slice containing all the full keys in /o2/components\n\n```go\nfunc GetEntriesMapOfComponentFromKeysList(component string, runtype apricotpb.RunType, rolename string, keys []string) map[string]bool\n```\n\n```go\nfunc IsInputValidComponentName(input string) bool\n```\nChecks whether the input string is a valid component name\n\n```go\nfunc IsInputValidEntryName(input string) bool\n```\nChecks whether the input string is a valid entry name\n\n```go\nfunc IsStringValidEntriesQueryPath(input string) bool\n```\n\n```go\nfunc IsStringValidQueryParameters(input string) bool\n```\n\n```go\nfunc IsStringValidQueryPath(input string) bool\n```\n\n## Types\n\n```go\ntype EntriesQuery struct {\n\tComponent string\n\tRunType   apricotpb.RunType\n\tRoleName  string\n}\n```\n\n```go\nfunc NewEntriesQuery(path string) (p *EntriesQuery, err error)\n```\n\n```go\ntype Query struct {\n\tComponent string\n\tRunType   apricotpb.RunType\n\tRoleName  string\n\tEntryKey  string\n}\n```\n\n```go\nfunc NewQuery(path string) (p *Query, err error)\n```\n\n```go\nfunc (p *Query) AbsoluteRaw() string\n```\n\n```go\nfunc (p *Query) Path() string\n```\n\n```go\nfunc (p *Query) Raw() string\n```\n\n```go\nfunc (p *Query) WithFallbackRoleName() *Query\n```\n\n```go\nfunc (p *Query) WithFallbackRunType() *Query\n```\n\n```go\ntype QueryParameters struct {\n\tProcessTemplates bool\n\tVarStack         map[string]string\n}\n```\n\n```go\nfunc NewQueryParameters(parameters string) (p *QueryParameters, err error)\n```\n\n","path":"github.com/AliceO2Group/Control/configuration/componentcfg","name":"componentcfg","synopsis":"Package componentcfg provides component configuration management functionality, including query handling and template processing for O² components.","isRedistributable":true}
