verify

package
v0.8.0-pre.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parameters

func Parameters(params packages.Params) (warnings ParamWarnings, errors ParamErrors)

Parameters verifies parameters

Types

type DuplicateVerifier

type DuplicateVerifier struct {
}

DuplicateVerifier provides verification that there are no duplicates disallowing casing (Kudo and kudo are duplicates)

func (DuplicateVerifier) Verify

func (DuplicateVerifier) Verify(params packages.Params) (warnings ParamWarnings, errors ParamErrors)

type InvalidCharVerifier

type InvalidCharVerifier struct {
	InvalidChars string
}

func (InvalidCharVerifier) Verify

func (v InvalidCharVerifier) Verify(params packages.Params) (warnings ParamWarnings, errors ParamErrors)

type ParamError

type ParamError string

func CreateParamError

func CreateParamError(param v1beta1.Parameter, reason string) ParamError

type ParamErrors

type ParamErrors []ParamError

type ParamWarning

type ParamWarning string

type ParamWarnings

type ParamWarnings []ParamWarning

type ParameterVerifier

type ParameterVerifier interface {
	Verify(params packages.Params) (ParamWarnings, ParamErrors)
}

ParameterVerifier defines the interface for all parameter verifiers

Jump to

Keyboard shortcuts

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