preview

package
v0.0.0-...-ae41811 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opt

type Opt func(p *Preview) error

func WithFilterFile

func WithFilterFile(f *os.File) Opt

func WithFilterYAML

func WithFilterYAML(f string) Opt

func WithHelm

func WithHelm(helmsettings *helmcli.EnvSettings) Opt

func WithKustomizations

func WithKustomizations(kustomizations []string) Opt

func WithLogger

func WithLogger(log logr.Logger) Opt

type Preview

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

func New

func New(opts ...Opt) (*Preview, error)

func (*Preview) Diff

func (p *Preview) Diff(a, b string, out io.Writer) error

func (*Preview) Render

func (p *Preview) Render(path string, out io.Writer) error

Jump to

Keyboard shortcuts

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