src

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KUSTOMIZATIONFILE = "kustomization.yaml"
	PRODUCTION        = "production"
	STAGING           = "staging"
	LATEST            = "latest"
)

Variables

This section is empty.

Functions

func Lint

func Lint() error

Types

type File added in v1.0.1

type File struct {
	Name      string     `yaml:"name"`
	Sentences []Sentence `yaml:"sentences"`
}

type Image

type Image struct {
	Name   string `yaml:"name"`
	NewTag string `yaml:"newTag"`
}

type Kustomization

type Kustomization struct {
	Images []Image `yaml:"images"`
}

func ReadOnKustomize added in v1.0.1

func ReadOnKustomize(fileBuffer []byte) (Kustomization, error)

type Sentence added in v1.0.1

type Sentence struct {
	Name    string   `yaml:"name"`
	Include []string `yaml:"include"`
}

type Yaml added in v1.0.1

type Yaml struct {
	Files []File `yaml:"files"`
}

func ReadOnConfig added in v1.0.1

func ReadOnConfig(fileBuffer []byte) (Yaml, error)

Jump to

Keyboard shortcuts

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