Documentation ¶
Index ¶
Constants ¶
View Source
const ( DaprAPIVersion = "dapr.io/v1alpha1" DaprKind = "Component" )
Variables ¶
This section is empty.
Functions ¶
func ConstructDaprGeneric ¶
func ConstructDaprGeneric(daprGeneric DaprGeneric, namespace string, componentName string, applicationName string, resourceName string, resourceType string) (unstructured.Unstructured, error)
ConstructDaprGeneric constructs a Dapr component.
The component name and resource name may be different. The component name is the name of the Dapr Kubernetes Component object to be created. Resource name is the name of the Radius resource.
Types ¶
type DaprGeneric ¶
func (DaprGeneric) Validate ¶
func (daprGeneric DaprGeneric) Validate() error
Validate checks if the required fields of a DaprGeneric struct are set and returns an error if any of them are not.
Click to show internal directories.
Click to hide internal directories.