Documentation ¶
Index ¶
- Constants
- Variables
- func GetComponentsMapFromKeysList(keys []string) map[string]bool
- func GetEntriesMapOfComponentFromKeysList(component string, runtype apricotpb.RunType, rolename string, keys []string) map[string]bool
- func IsInputValidComponentName(input string) bool
- func IsInputValidEntryName(input string) bool
- func IsStringValidEntriesQueryPath(input string) bool
- func IsStringValidQueryParameters(input string) bool
- func IsStringValidQueryPath(input string) bool
- type EntriesQuery
- type Query
- type QueryParameters
Constants ¶
View Source
const ( SEPARATOR = "/" SEPARATOR_RUNE = '/' )
View Source
const ( FALLBACK_RUNTYPE = apricotpb.RunType_ANY FALLBACK_ROLENAME = "any" )
View Source
const (
ConfigComponentsPath = "o2/components/"
)
Variables ¶
View Source
var (
E_BAD_KEY = errors.New("bad component configuration key format")
)
Functions ¶
func GetComponentsMapFromKeysList ¶
keys must be a slice containing all the full keys in /o2/components
func IsInputValidComponentName ¶ added in v1.10.0
Checks whether the input string is a valid component name
func IsInputValidEntryName ¶ added in v1.10.0
Checks whether the input string is a valid entry name
func IsStringValidEntriesQueryPath ¶ added in v0.19.90
func IsStringValidQueryParameters ¶ added in v1.7.0
func IsStringValidQueryPath ¶ added in v1.10.0
Types ¶
type EntriesQuery ¶ added in v0.19.90
func NewEntriesQuery ¶ added in v0.19.90
func NewEntriesQuery(path string) (p *EntriesQuery, err error)
type Query ¶ added in v0.19.90
func (*Query) AbsoluteRaw ¶ added in v0.19.90
func (*Query) WithFallbackRoleName ¶ added in v0.50.0
func (*Query) WithFallbackRunType ¶ added in v0.50.0
type QueryParameters ¶ added in v1.7.0
func NewQueryParameters ¶ added in v1.7.0
func NewQueryParameters(parameters string) (p *QueryParameters, err error)
Click to show internal directories.
Click to hide internal directories.