template

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func IsUpper added in v0.18.0

func IsUpper(s string) bool

Types

type ExtendedParametersVerifier added in v0.18.0

type ExtendedParametersVerifier struct {
	VerifyParamDescription bool
	VerifyParamHint        bool
	VerifyParamDisplayName bool
	VerifyParamType        bool
	VerifyParamGroup       bool
	VerifyGroups           bool
}

func (*ExtendedParametersVerifier) SetFromArguments added in v0.18.0

func (v *ExtendedParametersVerifier) SetFromArguments(args []string) error

func (*ExtendedParametersVerifier) Verify added in v0.18.0

Verify implements packages.Verifier for parameter verification

type NamespaceVerifier added in v0.14.0

type NamespaceVerifier struct{}

func (NamespaceVerifier) Verify added in v0.14.0

type ParamVerifyArgumentType added in v0.18.0

type ParamVerifyArgumentType string
const (
	ParamVerifyDisplayName ParamVerifyArgumentType = "display"
	ParamVerifyHint        ParamVerifyArgumentType = "hint"
	ParamVerifyDescription ParamVerifyArgumentType = "desc"
	ParamVerifyType        ParamVerifyArgumentType = "type"
	ParamVerifyHasGroup    ParamVerifyArgumentType = "hasgroup"
	ParamVerifyGroups      ParamVerifyArgumentType = "groups"
	ParamVerifyAll         ParamVerifyArgumentType = "all"
)

type ParametersVerifier

type ParametersVerifier struct{}

ParametersVerifier checks that all parameters used in templates are defined checks that all defined parameters are used in templates

func (ParametersVerifier) Verify

Verify implements packages.Verifier for parameter verification

type ReferenceVerifier

type ReferenceVerifier struct{}

ReferenceVerifier checks that all referenced templates exists (without errors) and warns if a template exists but isn't referenced in a plan

func (ReferenceVerifier) Verify

type RenderVerifier added in v0.11.0

type RenderVerifier struct{}

RenderVerifier checks that all templates are compilable and contain valid golang template syntax

func (RenderVerifier) Verify added in v0.11.0

Jump to

Keyboard shortcuts

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