objects

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object struct {
	// contains filtered or unexported fields
}

func (*Object) AsUnstructured

func (o *Object) AsUnstructured() (*unstructured.Unstructured, error)

type ObjectList

type ObjectList struct {
	Items []*Object
}

func (*ObjectList) AsUnstructured

func (o *ObjectList) AsUnstructured() ([]*unstructured.Unstructured, error)

type Parser

type Parser struct {
	IncludeLocalConfig bool
}

func (Parser) AsObjectList

func (p Parser) AsObjectList(resources map[string]string) (*ObjectList, error)

func (Parser) AsUnstructureds

func (p Parser) AsUnstructureds(resources map[string]string) ([]*unstructured.Unstructured, error)

Jump to

Keyboard shortcuts

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