config

package
v0.1.21844 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeprecatedImageCheck

func DeprecatedImageCheck(response *ConfigResponse) error

Processes the config down to v2.0, then checks image used against the block list

Types

type CompileConfigRequest

type CompileConfigRequest struct {
	ConfigYaml string  `json:"config_yaml"`
	Options    Options `json:"options"`
}

type ConfigError

type ConfigError struct {
	Message string `json:"message"`
}

type ConfigResponse

type ConfigResponse struct {
	Valid      bool          `json:"valid"`
	SourceYaml string        `json:"source-yaml"`
	OutputYaml string        `json:"output-yaml"`
	Errors     []ConfigError `json:"errors"`
}

func ConfigQuery

func ConfigQuery(
	rest *rest.Client,
	configPath string,
	orgID string,
	params pipeline.Parameters,
	values pipeline.Values,
) (*ConfigResponse, error)

type Options

type Options struct {
	PipelineValues pipeline.Values `json:"pipeline_values"`
}

Jump to

Keyboard shortcuts

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