schema

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 15 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyProfiles added in v0.16.0

func ApplyProfiles(c *latest.SkaffoldPipeline, profiles []string) error

ApplyProfiles returns configuration modified by the application of a list of profiles.

func CheckVersionIsLatest added in v0.16.0

func CheckVersionIsLatest(apiVersion string) error

CheckVersionIsLatest checks that a given version is the most recent.

func ParseConfig added in v0.16.0

func ParseConfig(filename string, applyDefaults bool) (util.VersionedConfig, error)

ParseConfig reads a configuration file.

func UpgradeToLatest added in v0.16.0

func UpgradeToLatest(vc util.VersionedConfig) (util.VersionedConfig, error)

UpgradeToLatest upgrades a configuration to the latest version.

Types

type APIVersion added in v0.16.0

type APIVersion struct {
	Version string `yaml:"apiVersion"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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