manifest

package
v0.0.0-...-c5cd83c Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 17 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(config *rest.Config) (*Reader, error)

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