kustomization

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Kustomizations []Kustomization

Functions

This section is empty.

Types

type DependsOn

type DependsOn struct {
	Name string `yaml:"name"`
}

type Kustomization

type Kustomization struct {
	Metadata Metadata `yaml:"metadata"`
	Spec     Spec     `yaml:"spec"`
	HRSlice  []string
}

Structs for handling the information that comes from the kustomization api's

func (*Kustomization) GetDependencies added in v0.2.0

func (ks *Kustomization) GetDependencies() []string

func (*Kustomization) GetValuesFromYamlFile

func (ks *Kustomization) GetValuesFromYamlFile(path string) error

Unmarshals a .yaml file into the app struct

func (*Kustomization) HasDependsOn

func (ks *Kustomization) HasDependsOn() bool

func (*Kustomization) Name

func (ks *Kustomization) Name() string

Enclosing name in double quotes since the graph language wants them to be in quotes

type Metadata

type Metadata struct {
	Name string `yaml:"name"`
}

type Spec

type Spec struct {
	DependsOn []DependsOn `yaml:"dependsOn"`
	Path      string      `yaml:"path"`
}

Jump to

Keyboard shortcuts

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