validation

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: GPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const K8sVerV1betav1Unsupported = "1.22.0"

K8sVerV1betav1Unsupported version where the apis v1betav1 is no longer supported

View Source
const K8sVerV1betavSupported = "1.21.0"

K8sVerV1betavSupported version where the apis v1betav1 is supported

View Source
const KubeMaxAnnotation = "operatorhub.io/ui-metadata-max-k8s-version"

KubeMaxAnnotation define the annotation that will be checked

Variables

View Source
var K8sCommunityBundleValidator interfaces.Validator = interfaces.ValidatorFunc(k8sCommunityBundleValidator)

K8S Community Bundle Validator validate the bundle manifests against the required and specific criteria to publish the projects on the K8S community catalog

Be aware that this validator is in alpha stage and can be changed. Also, the intention here is to decouple this validator and move it out of this project. Following its current checks:

- Ensure that when found the usage of the removed APIs on 1.22/OCP 4.9 the CSV has the annotation operatorhub.io/ui-metadata-max-k8s-version with a value < 1.22.

Functions

This section is empty.

Types

type K8sCommunityBundleValidatorChecks

type K8sCommunityBundleValidatorChecks struct {
	// contains filtered or unexported fields
}

K8sCommunityBundleValidatorChecks defines the attributes used to perform the checks

Jump to

Keyboard shortcuts

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