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 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 ValidateTriggers ¶ added in v0.19.1096
func ValidateVersion ¶
Types ¶
This section is empty.