Files
open-cluster-management/pkg/work/spoke/auth/cache/doc.go
xuezhaojun ad38b9465f Relocate pkgs. (#146)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-29 07:20:55 -04:00

10 lines
705 B
Go

// Package cache implements a ManifestWork Executor Validator with caching capabilities.
// It stores the result of whether the executor has operation permission(SubjectAccessReview)
// on a specific resource in a 2-level cache data structure, the first-level cache is the
// executor key, and the second-level cache is the description (dimension) of the operated
// resource. At the same time, it also contains a controller, which watches the RBAC
// resources(role, roleBinding, clusterRole, clusterRoleBinding) related to the executors
// used by the ManifestWorks in the cluster, and refresh the cache results of the
// corresponding executor when these RBAC resources have any changes.
package cache