Documentation ¶
Index ¶
- func ForApplicationName(appName string) kubelabels.Set
- func ForCommitId(commitId string) kubelabels.Set
- func ForComponentName(componentName string) kubelabels.Set
- func ForComponentType(componentType v1.RadixComponentType) kubelabels.Set
- func ForPodIsJobScheduler() kubelabels.Set
- func ForPodWithRadixIdentity(identity *v1.Identity) kubelabels.Set
- func ForServiceAccountIsForComponent() kubelabels.Set
- func ForServiceAccountWithRadixIdentity(identity *v1.Identity) kubelabels.Set
- func Merge(labels ...map[string]string) kubelabels.Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForApplicationName ¶
func ForApplicationName(appName string) kubelabels.Set
ForApplicationName returns labels describing the application name, e.g. "radix-app": "myapp"
func ForCommitId ¶
func ForCommitId(commitId string) kubelabels.Set
ForCommitId returns labels describing the commit ID, e.g. "radix-commit": "64b54f4a6aa542cb4bd15666c1e104eee647573a"
func ForComponentName ¶
func ForComponentName(componentName string) kubelabels.Set
ForComponentName returns labels describing the component name, e.g. "radix-component": "mycomponent"
func ForComponentType ¶
func ForComponentType(componentType v1.RadixComponentType) kubelabels.Set
ForComponentTypeName returns labels describing the component type, e.g. "radix-component-type": "job"
func ForPodIsJobScheduler ¶
func ForPodIsJobScheduler() kubelabels.Set
ForPodIsJobScheduler returns labels indicating that a pod is a job scheduler,
func ForPodWithRadixIdentity ¶
func ForPodWithRadixIdentity(identity *v1.Identity) kubelabels.Set
ForPodWithRadixIdentity returns labels for configuring a Pod with external identities, e.g. for Azure Workload Identity: "azure.workload.identity/use": "true"
func ForServiceAccountIsForComponent ¶
func ForServiceAccountIsForComponent() kubelabels.Set
ForServiceAccountIsForComponent returns labels indicating that a service account is used by a component or job
func ForServiceAccountWithRadixIdentity ¶
func ForServiceAccountWithRadixIdentity(identity *v1.Identity) kubelabels.Set
ForServiceAccountWithRadixIdentity returns labels for configuring a ServiceAccount with external identities, e.g. for Azure Workload Identity: "azure.workload.identity/use": "true"
Types ¶
This section is empty.