Documentation ¶
Index ¶
- func AllPackagesFromFiles(ctx context.Context, scheme *runtime.Scheme, files Files, component string) (map[string]*Package, error)
- func ParseConditionMapAnnotation(obj *unstructured.Unstructured) ([]corev1alpha1.ConditionMapping, error)
- func TemplateSpecFromPackage(pkg *Package) (templateSpec corev1alpha1.ObjectSetTemplateSpec)
- type ConditionMapParseError
- type Files
- type Package
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllPackagesFromFiles ¶ added in v1.9.1
func ParseConditionMapAnnotation ¶
func ParseConditionMapAnnotation(obj *unstructured.Unstructured) ([]corev1alpha1.ConditionMapping, error)
func TemplateSpecFromPackage ¶
func TemplateSpecFromPackage(pkg *Package) (templateSpec corev1alpha1.ObjectSetTemplateSpec)
Types ¶
type ConditionMapParseError ¶
func (ConditionMapParseError) Error ¶
func (e ConditionMapParseError) Error() string
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 ExtractComponentPackage ¶ added in v1.9.1
Click to show internal directories.
Click to hide internal directories.