Documentation
¶
Index ¶
- func Combine(services ...core.ConfigService) core.ConfigService
- func Global(endpoint, signer string, skipVerify bool, timeout time.Duration) core.ConfigService
- func Jsonnet(service core.FileService, enabled bool) core.ConfigService
- func Memoize(base core.ConfigService) core.ConfigService
- func Repository(service core.FileService) core.ConfigService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Combine ¶
func Combine(services ...core.ConfigService) core.ConfigService
Combine combines the config services, allowing the system to source pipeline configuration from multiple sources.
func Global ¶
Global returns a configuration service that fetches the yaml configuration from a remote endpoint.
func Jsonnet ¶
func Jsonnet(service core.FileService, enabled bool) core.ConfigService
Jsonnet returns a configuration service that fetches the jsonnet file directly from the source code management (scm) system and converts to a yaml file.
func Memoize ¶
func Memoize(base core.ConfigService) core.ConfigService
Memoize caches the conversion results for subsequent calls. This micro-optimization is intended for multi-pipeline projects that would otherwise covert the file for each pipeline execution.
func Repository ¶
func Repository(service core.FileService) core.ConfigService
Repository returns a configuration service that fetches the yaml directly from the source code management (scm) system.
Types ¶
This section is empty.