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

# Functions

ConvertLabelToResourceType converts from kubernetes label value to Radius resource type i.e.
ConvertResourceTypeToLabelValue converts the given string to a value that Kubernetes allows i.e.
FindContourHTTPProxyByLocalID searches through a slice of OutputResources to find a HTTPProxy resource.
FindContourHTTPProxyByLocalID searches through a slice of OutputResources to find a HTTPProxy resource with the given localID.
FindDeployment searches through a slice of OutputResource objects and returns the first Deployment object and its associated OutputResource object.
FindSecret iterates through a slice of OutputResource objects and returns the first Secret object found and its corresponding OutputResource object.
FindService searches through a slice of OutputResource objects and returns the first Service object found and the OutputResource object it was found in.
GetShortenedTargetPortName takes in a string and returns a shortened version of it by using a hashing algorithm.
HashSecretData hashes the data in a secret to produce a deterministic hash.
IsValidDaprObjectName checks if the given string is a valid Dapr object name and returns a boolean value.
IsValidObjectName checks if the given string is a valid Kubernetes object name.
MakeDescriptiveLabels returns a map of the descriptive labels for a Kubernetes Dapr resource associated with a Radius resource.
MakeDescriptiveLabels returns a map of the descriptive labels for a Kubernetes resource associated with a Radius resource.
MakeSelectorLabels returns a map of labels suitable for a Kubernetes selector to identify a labeled Radius-managed Kubernetes object.
NormalizeDaprResourceName normalizes resource name used for kubernetes Dapr resource name scoped in namespace.
NormalizeResourceName normalizes resource name used for kubernetes resource name scoped in namespace.

# Constants

AnnotationIdentityType is the annotation for supported identity.
Commonly-used and Radius-Specific labels for Kubernetes.
ControlPlanePartOfLabelValue is the value we use for 'app.kubernetes.io/part-of' in Radius's control-plane components.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.
Commonly-used and Radius-Specific labels for Kubernetes.