provider

package
v0.0.0-...-91ce6ff Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONToJSON

func JSONToJSON(inputJSON string) (string, error)

JSONToJSON ensures that keys are ordered, etc, by double converting

func JSONToYAML

func JSONToYAML(inputJSON string) (string, error)

JSONToYAML is just a wrapper for less type boilerplate

func ParsePipelineConfig

func ParsePipelineConfig(
	pipelineConfig string,
	pipelineConfigFormat string,
	inputVars map[string]interface{},
) (string, error)

ParsePipelineConfig returns parsed/validated JSON from either YAML or JSON

func Provider

func Provider() *schema.Provider

func ProviderConfigurationBuilder

func ProviderConfigurationBuilder(
	d *schema.ResourceData,
) (interface{}, error)

func SerializeWarnings

func SerializeWarnings(warnings []concourse.ConfigWarning) string

func YAMLToJSON

func YAMLToJSON(inputYAML string) (string, error)

YAMLToJSON is just a wrapper for less type boilerplate

Types

type ProviderConfig

type ProviderConfig struct {
	Client concourse.Client
}

Jump to

Keyboard shortcuts

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