validate

package
v0.19.1074 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(ctx context.Context, v *validator.Validate, a *config.AppConfig) error

func ValidateActionWorkflowTriggers

func ValidateActionWorkflowTriggers(cfg *config.AppConfig) error

func ValidateAzureRunnerIdentities added in v0.19.1074

func ValidateAzureRunnerIdentities(a *config.AppConfig) error

ValidateAzureRunnerIdentities guards the one combination that otherwise fails with an opaque IMDS "Identity not found" at runtime: an azure-bicep app that defines per-operation identities (any azure permission role) AND pins a custom runner_nested_template_url whose template does not accept a "userAssignedIdentities" parameter. Only the built-in runner (empty URL) or a template that declares that parameter can attach the identities to the VMSS.

func ValidateCustomNestedStackOutputs added in v0.19.777

func ValidateCustomNestedStackOutputs(a *config.AppConfig) error

func ValidateDependencies

func ValidateDependencies(cfg *config.AppConfig) error

func ValidateDuplicateComponentNames

func ValidateDuplicateComponentNames(cfg *config.AppConfig) error

func ValidateJSONSchema

func ValidateJSONSchema(ctx context.Context, c *config.AppConfig) error

func ValidatePolicies

func ValidatePolicies(a *config.AppConfig) error

func ValidatePoliciesWithLogger

func ValidatePoliciesWithLogger(a *config.AppConfig, l *zap.Logger) error

func ValidatePolicyComponents added in v0.19.997

func ValidatePolicyComponents(policyName string, policyType config.AppPolicyType, components []string) error

ValidatePolicyComponents validates the components list for a single policy. It is shared by config validation (nuon CLI sync) and the ctl-api create endpoint so both enforce the same rules.

func ValidateVars

func ValidateVars(ctx context.Context, cfg *config.AppConfig) error

func ValidateVersion

func ValidateVersion(a *config.AppConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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