validation

package
v0.10.6 Latest Latest
Warning

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

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

Documentation

Overview

This package defines the valid Operator manifests directory format by exposing a set of Validator's to verify a directory and its constituent manifests. A manifests directory consists of a package manifest and a set of versioned Bundles. Each Bundle contains a ClusterServiceVersion and one or more CustomResourceDefinition's.

Errors and warnings, both represented by the Error type, are returned by exported functions for missing mandatory and optional fields, respectively. Each Error implements the error interface.

Bundle format: https://github.com/operator-framework/operator-registry/#manifest-format ClusterServiceVersion documentation: https://github.com/operator-framework/operator-lifecycle-manager/blob/master/Documentation/design/building-your-csv.md Package manifest documentation: https://github.com/operator-framework/operator-lifecycle-manager#discovery-catalogs-and-automated-upgrades CustomResourceDefinition documentation: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/

Index

Constants

This section is empty.

Variables

AllValidators implements Validator to validate all Operator manifest types.

View Source
var AlphaDeprecatedAPIsValidator = internal.AlphaDeprecatedAPIsValidator

AlphaDeprecatedAPIsValidator implements Validator to validate bundle objects for API deprecation requirements.

View Source
var BundleValidator = internal.BundleValidator

BundleValidator implements Validator to validate Bundles.

View Source
var ClusterServiceVersionValidator = internal.CSVValidator

ClusterServiceVersionValidator implements Validator to validate ClusterServiceVersions.

View Source
var CommunityOperatorValidator = internal.CommunityOperatorValidator

CommunityOperatorValidator implements Validator to validate bundle objects for the Community Operator requirements.

View Source
var CustomResourceDefinitionValidator = internal.CRDValidator

CustomResourceDefinitionValidator implements Validator to validate CustomResourceDefinitions.

View Source
var ObjectValidator = internal.ObjectValidator

Object Validator validates various custom objects in the bundle like PDBs and SCCs. Object validation is optional and not a default-level validation.

View Source
var OperatorGroupValidator = internal.OperatorGroupValidator

OperatorGroupValidator implements Validator to validate OperatorGroup manifests

View Source
var OperatorHubValidator = internal.OperatorHubValidator

OperatorHubValidator implements Validator to validate bundle objects for OperatorHub.io requirements.

View Source
var PackageManifestValidator = internal.PackageManifestValidator

PackageManifestValidator implements Validator to validate package manifests.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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