schema

package
v0.0.0-...-15868fb Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func ApplyProfiles

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

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

func ParseConfig

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

ParseConfig reads a configuration file.

Types

type APIVersion

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

type Version

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

type Versions

type Versions []Version

func (*Versions) Find

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