Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllGenerators = []string{"GitRepository", "OCIRepository", "Cluster", "PullRequests", "List", "APIClient", "ImagePolicy", "Matrix", "Config"}
AllGenerators contains the name of all possible Generators.
View Source
var DefaultGenerators = []string{"GitRepository", "OCIRepository", "PullRequests", "List", "APIClient", "Matrix", "Config"}
DefaultGenerators contains the name of the default set of enabled Generators, this leaves out generators that require optional dependencies.
Functions ¶
func GetGenerators ¶
func GetGenerators(enabledGenerators []string, fetcher parser.ArchiveFetcher, clientFactory apiclient.HTTPClientFactory) map[string]generators.GeneratorFactory
GetGenenerators returns a set of generator factories for the set of enabled generators.
func NewSchemeForGenerators ¶
NewSchemeForGenerators creates and returns a runtime.Scheme configured with the correct schemes for the enabled generators.
func ValidateEnabledGenerators ¶
ValidateEnabledGenerators returns an error if an invalid name is provided for the set of enabled generators.
If all provided names are valid, no error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.