Documentation ¶
Index ¶
- type Manifest
- func (m Manifest) ApiVersion() string
- func (m Manifest) HasBasicFields() bool
- func (m Manifest) Id() string
- func (m Manifest) Kind() string
- func (m Manifest) Metadata() map[string]interface{}
- func (m Manifest) Name() string
- func (m Manifest) Namespace(defaultNs string) string
- func (m Manifest) SetNamespace(ns string)
- func (m Manifest) ToUnstructured() *unstructured.Unstructured
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest map[string]interface{}
func MustManifestFromYaml ¶
func NewManifest ¶
func NewManifestFromYaml ¶
func (Manifest) ApiVersion ¶
func (Manifest) HasBasicFields ¶
HasBasicFields is true if Template has version, kind and metadata.name fields
func (Manifest) SetNamespace ¶
func (Manifest) ToUnstructured ¶
func (m Manifest) ToUnstructured() *unstructured.Unstructured
Click to show internal directories.
Click to hide internal directories.