manifests

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelmMetadata

type HelmMetadata struct {
	ChartFilePath string
	Version       string
}

HelmMetadata writes metadata parsed from a Helm chart to ClusterServiceVersion.

func (*HelmMetadata) Embed

Embed reads Chart.yaml and puts all the matching available metadata into given ClusterServiceVersion.

type Parser

type Parser struct {
	Streams   []io.Reader
	FilePaths []string
}

Parser parses Kubernetes objects from given streams and files.

func NewParser

func NewParser(paths []string, streams ...io.Reader) *Parser

NewParser returns a new *Parser.

func (*Parser) Parse

func (p *Parser) Parse() ([]*unstructured.Unstructured, error)

Parse returns an array of *unstructured.Unstructured parsed from the streams.

Jump to

Keyboard shortcuts

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