Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDaprResourceNameUniqueness ¶
func CheckDaprResourceNameUniqueness(ctx context.Context, k8s client.Client, componentName string, namespace string, resourceName string, resourceType string) error
CheckDaprResourceNameUniqueness checks if the resource name is unique in the namespace. If the resource name is not unique, it returns an error.
This protects against some of the following scenarios:
- Two Dapr resources with the same component name but different types. - Two Dapr resources with different UCP resource names, but the same Dapr component name.
Note: the Dapr component name and UCP resource name are NOT the same thing. Users can override the Dapr component name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.