Documentation ¶
Index ¶
- Constants
- func ClusterClaimOwnersConfig(configPath string) (api.ClusterClaimOwnersMap, error)
- func ClusterProfilesConfig(configPath string) (api.ClusterProfilesMap, error)
- func Registry(root string, flags RegistryFlag) (registry.ReferenceByName, registry.ChainByName, registry.WorkflowByName, ...)
- type RegistryFlag
Constants ¶
View Source
const ( RefSuffix = "-ref.yaml" ChainSuffix = "-chain.yaml" WorkflowSuffix = "-workflow.yaml" ObserverSuffix = "-observer.yaml" CommandsSuffix = "-commands" // excluding the file extension MetadataSuffix = ".metadata.json" )
View Source
const ( RegistryFlat = RegistryFlag(1) << iota RegistryMetadata RegistryDocumentation )
Variables ¶
This section is empty.
Functions ¶
func ClusterClaimOwnersConfig ¶
func ClusterClaimOwnersConfig(configPath string) (api.ClusterClaimOwnersMap, error)
ClusterClaimOwnersConfig loads cluster claim owners information from its config in the release repository
func ClusterProfilesConfig ¶
func ClusterProfilesConfig(configPath string) (api.ClusterProfilesMap, error)
ClusterProfilesConfig loads cluster profile information from its config in the release repository
func Registry ¶
func Registry(root string, flags RegistryFlag) (registry.ReferenceByName, registry.ChainByName, registry.WorkflowByName, api.ClusterProfilesMap, map[string]string, api.RegistryMetadata, registry.ObserverByName, error)
Registry takes the path to a registry config directory and returns the full set of references, chains, and workflows that the registry's Resolver needs to resolve a user's MultiStageTestConfiguration
Types ¶
type RegistryFlag ¶
type RegistryFlag uint8
Click to show internal directories.
Click to hide internal directories.