packagecontent

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TemplateSpecFromPackage

func TemplateSpecFromPackage(pkg *Package) (templateSpec corev1alpha1.ObjectSetTemplateSpec)

Types

type ConditionMapParseError

type ConditionMapParseError struct {
	Message    string
	LineNumber int
}

func (ConditionMapParseError) Error

func (e ConditionMapParseError) Error() string

type Files

type Files map[string][]byte

Files maps filenames to file contents.

func FilesFromPackage

func FilesFromPackage(pkg *Package) (Files, error)

type Package

type Package struct {
	PackageManifest     *manifestsv1alpha1.PackageManifest
	PackageManifestLock *manifestsv1alpha1.PackageManifestLock
	Objects             map[string][]unstructured.Unstructured
}

PackageContent represents the parsed content of an PKO package.

func PackageFromFiles

func PackageFromFiles(ctx context.Context, scheme *runtime.Scheme, files Files) (pkg *Package, err error)

Jump to

Keyboard shortcuts

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