config

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

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

func Global(endpoint, signer string, skipVerify bool, timeout time.Duration) core.ConfigService

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 added in v1.9.1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL