bicepsettings

package
v0.60.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package bicepsettings hosts request validators and other custom controller logic for Radius.Core/bicepSettings that the generic CRUD framework cannot express through TypeSpec alone.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateRequest

func ValidateRequest(ctx context.Context, newResource *datamodel.BicepSettings, oldResource *datamodel.BicepSettings, options *controller.Options) (rest.Response, error)

ValidateRequest enforces conditional-required-field constraints that TypeSpec cannot express on the union-style BicepRegistryAuthentication model:

  • authenticationMethod=BasicAuth requires basicAuthSecretId
  • authenticationMethod=AzureWI requires azureWiClientId and azureWiTenantId
  • authenticationMethod=AwsIrsa requires awsIamRoleArn

Without this hook the API would silently accept BicepSettings resources that reference no credentials, and the failure would surface much later at recipe execution time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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