Documentation
¶
Index ¶
- func Validate(ctx context.Context, v *validator.Validate, a *config.AppConfig) error
- func ValidateActionWorkflowTriggers(cfg *config.AppConfig) error
- func ValidateAzureRunnerIdentities(a *config.AppConfig) error
- func ValidateCustomNestedStackOutputs(a *config.AppConfig) error
- func ValidateDefaultLabels(a *config.AppConfig) error
- func ValidateDependencies(cfg *config.AppConfig) error
- func ValidateDuplicateComponentNames(cfg *config.AppConfig) error
- func ValidateJSONSchema(ctx context.Context, c *config.AppConfig) error
- func ValidateOPAPolicy(contents string) error
- func ValidatePolicies(a *config.AppConfig) error
- func ValidatePoliciesWithLogger(a *config.AppConfig, l *zap.Logger) error
- func ValidatePolicyComponents(policyName string, policyType config.AppPolicyType, components []string) error
- func ValidateTemplateRefs(a *config.AppConfig) error
- func ValidateTriggers(cfg *config.AppConfig) error
- func ValidateVars(ctx context.Context, cfg *config.AppConfig) error
- func ValidateVersion(a *config.AppConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAzureRunnerIdentities ¶ added in v0.19.1074
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 ValidateDefaultLabels ¶ added in v0.19.1123
ValidateDefaultLabels enforces the same label rules as install labels, and rejects per-install label keys that collide with a default — the app-level block is the only place a default key may be set.
func ValidateDependencies ¶
func ValidateOPAPolicy ¶ added in v0.19.1145
func ValidatePolicies ¶
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 ValidateTemplateRefs ¶ added in v0.19.1158
ValidateTemplateRefs checks that component and action template references resolve to declared names, and that stack/sandbox templates only use refs available in those render contexts. All findings are returned as one error.
func ValidateTriggers ¶ added in v0.19.1096
func ValidateVersion ¶
Types ¶
This section is empty.
Source Files
¶
- json.go
- validate.go
- validate_action_workflow_triggers.go
- validate_azure_runner_identities.go
- validate_custom_nested_stacks.go
- validate_default_labels.go
- validate_dependencies.go
- validate_duplicate_component_names.go
- validate_policies.go
- validate_template_refs.go
- validate_triggers.go
- validate_vars.go
- validate_version.go