manifest

package
v0.0.0-...-e0fded6 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter func(u *unstructured.Unstructured) bool

type List

type List interface {
	Delete(ctx context.Context) error
	Apply(ctx context.Context) error
	Filter(funcs ...Filter) List
	Transform(funcs ...Transformer) (List, error)
	Resources() []*unstructured.Unstructured
	Size() int
	Append(mfs ...List) List
}

type Reader

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

func NewReader

func NewReader(client dynamic.Interface, mapper meta.RESTMapper) *Reader

func (*Reader) FromBytes

func (s *Reader) FromBytes(data []byte) (List, error)

type Transformer

type Transformer func(u *unstructured.Unstructured) error

Jump to

Keyboard shortcuts

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