kubeparser

package
v0.0.256 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjHeader

type ObjHeader struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
}

func (ObjHeader) GetName

func (obj ObjHeader) GetName() string

func (ObjHeader) GetNamespace

func (obj ObjHeader) GetNamespace() string

func (ObjHeader) GetObjectKind

func (obj ObjHeader) GetObjectKind() schema.ObjectKind

type Parsed

type Parsed struct {
	metav1.TypeMeta
	Name               string
	Namespace          string
	Resource           runtime.Object
	SerializedResource string // JSON serialization of the resource.
}

func Single

func Single(contents []byte, parse bool) (Parsed, error)

type ParsedManifest added in v0.0.145

type ParsedManifest struct {
	kubedef.Apply
	Parsed Parsed
}

func MultipleFromReader

func MultipleFromReader(description string, r io.Reader, parse bool) ([]ParsedManifest, error)

Jump to

Keyboard shortcuts

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