converter

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: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Combine

func Combine(services ...core.ConvertService) core.ConvertService

Combine combines the conversion services, provision support for multiple conversion utilities.

func Jsonnet

func Jsonnet(enabled bool) core.ConvertService

Jsonnet returns a conversion service that converts the jsonnet file to a yaml file.

func Legacy

func Legacy(enabled bool) core.ConvertService

Legacy returns a conversion service that converts a legacy 0.8 yaml file to a yaml file.

func Memoize

func Memoize(base core.ConvertService) core.ConvertService

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 Remote

func Remote(endpoint, signer, extension string, skipVerify bool, timeout time.Duration) core.ConvertService

Remote returns a conversion service that converts the configuration file using a remote http service.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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