permissionclaims

package
v0.28.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToAPIBindingExportLabelValue

func ToAPIBindingExportLabelValue(clusterName logicalcluster.Name, exportName string) string

ToAPIBindingExportLabelValue returns the label value for the internal.apis.kcp.io/export label on APIBindings to filter them by export.

func ToLabelKeyAndValue

func ToLabelKeyAndValue(exportClusterName logicalcluster.Name, exportName string, permissionClaim apisv1alpha1.PermissionClaim) (string, string, error)

ToLabelKeyAndValue creates a safe key and value for labeling a resource to grant access based on the permissionClaim.

func ToReflexiveAPIBindingLabelKeyAndValue

func ToReflexiveAPIBindingLabelKeyAndValue(exportClusterName logicalcluster.Name, exportName string) (string, string)

ToReflexiveAPIBindingLabelKeyAndValue returns label key and value that is set (as fallback for filtering) on APIBindings that point to the given APIExport and the binding has not accepted a claim to it.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL