convert

package
v0.87.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package convert is the public conversion boundary between wire schemas and api.Package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PackageFromV1alpha1 added in v0.87.0

func PackageFromV1alpha1(pkg v1alpha1.ZarfPackage) api.Package

PackageFromV1alpha1 converts a v1alpha1 wire package to the normalized model.

func PackageFromV1beta1 added in v0.87.0

func PackageFromV1beta1(pkg v1beta1.Package) api.Package

PackageFromV1beta1 converts a v1beta1 wire package to the normalized model.

func PackageToV1alpha1 added in v0.87.0

func PackageToV1alpha1(pkg api.Package) v1alpha1.ZarfPackage

PackageToV1alpha1 converts the normalized model to the v1alpha1 wire package.

func PackageToV1beta1 added in v0.87.0

func PackageToV1beta1(pkg api.Package) v1beta1.Package

PackageToV1beta1 converts the normalized model to the v1beta1 wire package.

func PackageV1alpha1ToV1beta1

func PackageV1alpha1ToV1beta1(pkg v1alpha1.ZarfPackage) v1beta1.Package

PackageV1alpha1ToV1beta1 converts a v1alpha1 wire package to v1beta1.

func PackageV1beta1ToV1alpha1

func PackageV1beta1ToV1alpha1(pkg v1beta1.Package) v1alpha1.ZarfPackage

PackageV1beta1ToV1alpha1 converts a v1beta1 wire package to v1alpha1.

Types

This section is empty.

Jump to

Keyboard shortcuts

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