parser

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllConfigs

func GetAllConfigs(opts config.SkaffoldOptions) ([]*latestV1.SkaffoldConfig, error)

GetAllConfigs returns the list of all skaffold configurations parsed from the target config file in addition to all resolved dependency configs.

Types

type SkaffoldConfigEntry added in v1.24.0

type SkaffoldConfigEntry struct {
	*latestV1.SkaffoldConfig
	SourceFile   string
	SourceIndex  int
	IsRootConfig bool
	IsRemote     bool
}

SkaffoldConfigEntry encapsulates a single skaffold configuration, along with the source filename and its index in that file.

type SkaffoldConfigSet added in v1.24.0

type SkaffoldConfigSet []*SkaffoldConfigEntry

SkaffoldConfigSet encapsulates a slice of skaffold configurations.

func GetConfigSet added in v1.24.0

func GetConfigSet(opts config.SkaffoldOptions) (SkaffoldConfigSet, error)

GetConfigSet returns the list of all skaffold configurations parsed from the target config file in addition to all resolved dependency configs as a `SkaffoldConfigSet`. This struct additionally contains the file location that each skaffold configuration is parsed from.

func (SkaffoldConfigSet) SelectRootConfigs added in v1.24.1

func (s SkaffoldConfigSet) SelectRootConfigs() SkaffoldConfigSet

SelectRootConfigs filters SkaffoldConfigSet to only configs read from the root skaffold.yaml file

Jump to

Keyboard shortcuts

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