helm3to2

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUnableToConvertWithoutInfo indicates that the input release had nil Info or Chart.
	ErrUnableToConvertWithoutInfo = fmt.Errorf("unable to convert release without info")
	// ErrFailedToParseDeletionTime indicates that the deletion time of the h3 chart could not be parsed.
	ErrFailedToParseDeletionTime = fmt.Errorf("failed to parse deletion time")
)

Functions

func Convert

func Convert(h3r h3.Release) (h2.Release, error)

Convert returns a Helm2 compatible release based on the info from a Helm3 release TODO: This method is meant to be deleted once the support for Helm2 is dropped

func ConvertMetadata

func ConvertMetadata(h3m h3chart.Metadata) *h2chart.Metadata

ConvertMetadata turns the Metadata from a Helm3 release to a Helm2 compatibility format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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