package
0.40.0
Repository: https://github.com/radius-project/radius.git
Documentation: pkg.go.dev

# Functions

GetKubeAzureSubject constructs the federated identity subject in the format "system:serviceaccount:<namespace>:<saName>" from the given namespace and service account name.
GetMapValue returns the value of a given key from a map of strings or a map of any type, or an error if the key is not found or the value is not of the expected type.
NewARMHandler creates a new ARMHandler instance with the given ARM configuration, for 'generic' ARM resources.
NewAzureFederatedIdentity creates a new instance of AzureFederatedIdentityHandler.
NewAzureRoleAssignmentHandler creates a new instance of azureRoleAssignmentHandler which is used to handle Azure role assignments.
NewAzureUserAssignedManagedIdentityHandler creates a new ResourceHandler for Azure User Assigned Managed Identity.
No description provided by the author
NewHTTPProxyWaiter returns a new instance of HTTPProxyWaiter.
NewKubernetesHandler creates a new KubernetesHandler which is used to handle Kubernetes resources.
NewMockResourceHandler creates a new mock instance.
ValidateResourceIDsForResource checks if the given properties map contains all the required keys and returns an error if any of the keys are missing.

# Constants

Common Keys.
AzureFederatedIdentityAudience represents the Azure AD OIDC target audience.
DefaultCacheResyncInterval is the interval for resyncing informer.
FederatedIdentityIssuerKey is the key to represent the oidc issuer.
FederatedIdentityNameKey is the key to represent the federated identity credential name (aka workload identity).
FederatedIdentitySubjectKey is the key to represent the identity subject.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Common K8s Keys.
No description provided by the author
No description provided by the author
No description provided by the author
MaxDeploymentTimeout is the max timeout for waiting for a deployment to be ready.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RoleAssignmentScope is used to pass the fully qualified identifier of the resource for which the role assignment needs to be created.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DeleteOptions represents the options for ResourceHandler.Delete.
MockResourceHandler is a mock of ResourceHandler interface.
MockResourceHandlerDeleteCall wrap *gomock.Call.
MockResourceHandlerMockRecorder is the mock recorder for MockResourceHandler.
MockResourceHandlerPutCall wrap *gomock.Call.
PutOptions represents the options for ResourceHandler.Put.

# Interfaces

ResourceHandler interface defines the methods that every output resource will implement go:generate mockgen -typed -destination=./mock_resource_handler.go -package=handlers -self_package github.com/radius-project/radius/pkg/corerp/handlers github.com/radius-project/radius/pkg/corerp/handlers ResourceHandler.
Create an interface for deployment waiter and http proxy waiter.