package
0.26.0
Repository: https://github.com/kcp-dev/kcp.git
Documentation: pkg.go.dev

# Functions

ClusterPathFromAndStrip parses the request for a logical cluster path, returns it if found and strips it from the request URL path.
IsPartialMetadataRequest determines if it is PartialObjectMetadata request based on the value stored in the context.
WithAcceptHeader makes the Accept header available for code in the handler chain.
WithAuditEventClusterAnnotation adds the cluster name into the annotation of an audit event.
WithBlockInactiveLogicalClusters ensures that any requests to logical clusters marked inactive are rejected.
WithClusterScope reads a cluster name from the URL path and puts it into the context.