validate

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

Package validate defines a Validate function that evaluates a MaasValidatorSpec and returns a ValidationResponse.

Index

Constants

This section is empty.

Variables

View Source
var SetUpClient = setUpClient

SetUpClient is defined to enable monkey patching the setUpClient function in integration tests

Functions

func Validate

func Validate(spec v1alpha1.MaasValidatorSpec, maasURL string, maasToken string, log logr.Logger) types.ValidationResponse

Validate validates the MaasValidatorSpec and returns a ValidationResponse.

Types

This section is empty.

Jump to

Keyboard shortcuts

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