prettier

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

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

func (*Chart) AddManifests

func (c *Chart) AddManifests(yaml string) error

func (*Chart) DeleteFiles

func (c *Chart) DeleteFiles(appFs afero.Fs, path string) error

func (*Chart) LoadChart

func (c *Chart) LoadChart(appFs afero.Fs, path string) error

func (*Chart) WriteOut

func (c *Chart) WriteOut(appFs afero.Fs, path string) error

type List added in v1.2.0

type List struct {
	Items []interface{}
}

type Manifest

type Manifest struct {
	Kind     string
	Metadata struct {
		Name      string
		Namespace string
	}
	Yaml string
}

func NewManifest

func NewManifest(yml string) (Manifest, error)

func SplitManifests

func SplitManifests(yml string) ([]Manifest, error)

Jump to

Keyboard shortcuts

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