validation

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateArchive

func ValidateArchive(fldPath *field.Path, archive *helmv1alpha1.ArchiveAccess) field.ErrorList

ValidateArchive validates the archive access for a helm chart.

func ValidateChart

func ValidateChart(fldPath *field.Path, chart helmv1alpha1.Chart) field.ErrorList

ValidateChart validates the access methods for a chart

func ValidateFromResource

func ValidateFromResource(fldPath *field.Path, resourceRef *helmv1alpha1.RemoteChartReference) field.ErrorList

ValidateFromResource validates the resource access for a helm chart.

func ValidateHelmChartRepo

func ValidateHelmChartRepo(fldPath *field.Path, helmChartRepo *helmv1alpha1.HelmChartRepo) field.ErrorList

ValidateHelmChartRepo validates the helm chart repo access for a helm chart.

func ValidateHelmDeploymentConfiguration

func ValidateHelmDeploymentConfiguration(fldPath *field.Path, deployConfig *helmv1alpha1.HelmDeploymentConfiguration) field.ErrorList

func ValidateInstallConfiguration

func ValidateInstallConfiguration(fldPath *field.Path, conf map[string]lsv1alpha1.AnyJSON) field.ErrorList

func ValidateProviderConfiguration

func ValidateProviderConfiguration(config *helmv1alpha1.ProviderConfiguration) error

ValidateProviderConfiguration validates a helm deployer configuration

func ValidateTimeout

func ValidateTimeout(fldPath *field.Path, timeout *lsv1alpha1.Duration) field.ErrorList

ValidateTimeout validates that a timeout can be parsed as Duration.

func ValidateUninstallConfiguration

func ValidateUninstallConfiguration(fldPath *field.Path, conf map[string]lsv1alpha1.AnyJSON) field.ErrorList

func ValidateUpgradeConfiguration

func ValidateUpgradeConfiguration(fldPath *field.Path, conf map[string]lsv1alpha1.AnyJSON) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

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