k8s

package
v0.0.0-...-3261f4a Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationBase = "chartwave.app/"

	AnnotationUniqueName = AnnotationBase + "unique-name"
	AnnotationNeeds      = AnnotationBase + "needs"
)

Variables

View Source
var (
	UnnamedErr     = errors.New(fmt.Sprintf("manifest has no name (%q annotation)", AnnotationUniqueName))
	InvalidNameErr = errors.New("manifest name is invalid")
)

Functions

func ApplyManifest

func ApplyManifest(manifest string) error

func GetApplyOptions

func GetApplyOptions(flags *apply.ApplyFlags, manifest string) (*apply.ApplyOptions, error)

Types

type Manifest

type Manifest map[string]interface{}

func UnmarshalYAML

func UnmarshalYAML(input io.Reader) ([]*Manifest, error)

UnmarshalYAML unmarshals multiple manifests from input stream and builds dependencies

func (Manifest) Name

func (m Manifest) Name() (string, error)

Jump to

Keyboard shortcuts

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