schema

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 42 Imported by: 4

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 IsSkaffoldConfig added in v1.4.0

func IsSkaffoldConfig(file string) bool

IsSkaffoldConfig is for determining if a file is skaffold config file.

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