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.
Click to show internal directories.
Click to hide internal directories.