schema

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ApplyProfiles added in v0.16.0

func ApplyProfiles(c *latest.SkaffoldConfig, opts *cfg.SkaffoldOptions) error

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

func ParseConfig added in v0.16.0

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

ParseConfig reads a configuration file.

Types

type APIVersion added in v0.16.0

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

type Version added in v0.23.0

type Version struct {
	APIVersion string
	Factory    func() util.VersionedConfig
}

type Versions added in v0.23.0

type Versions []Version

func (*Versions) Find added in v0.23.0

func (v *Versions) Find(apiVersion string) (func() util.VersionedConfig, bool)

Find search the constructor for a given api version.

Jump to

Keyboard shortcuts

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