manifest

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest map[string]interface{}

func GetManifestListFromYamlDocuments

func GetManifestListFromYamlDocuments(rawManifests string) ([]Manifest, error)

func MustManifestFromYaml

func MustManifestFromYaml(yamlOrJson string) Manifest

func NewManifest

func NewManifest(apiVersion, kind, name string) Manifest

func NewManifestFromYaml

func NewManifestFromYaml(yamlOrJson string) (Manifest, error)

func (Manifest) ApiVersion

func (m Manifest) ApiVersion() string

func (Manifest) HasBasicFields

func (m Manifest) HasBasicFields() bool

HasBasicFields is true if Template has version, kind and metadata.name fields

func (Manifest) Id

func (m Manifest) Id() string

func (Manifest) Kind

func (m Manifest) Kind() string

func (Manifest) Metadata

func (m Manifest) Metadata() map[string]interface{}

func (Manifest) Name

func (m Manifest) Name() string

func (Manifest) Namespace

func (m Manifest) Namespace(defaultNs string) string

func (Manifest) SetNamespace

func (m Manifest) SetNamespace(ns string)

func (Manifest) ToUnstructured

func (m Manifest) ToUnstructured() *unstructured.Unstructured

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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