converter

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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) core.ConvertService

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

func Starlark

func Starlark(enabled bool) core.ConvertService

Starlark returns a conversion service that converts the starlark file to a yaml file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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