Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClusterSetLabel string = "cluster.open-cluster-management.io/clusterset" ClusterSetRole string = "cluster.open-cluster-management.io/role" )
Variables ¶
This section is empty.
Functions ¶
func GenerateObjectSubjectMap ¶
func GenerateObjectSubjectMap(clustersetToObjects *helpers.ClusterSetMapper, clustersetToSubject map[string][]rbacv1.Subject) map[string][]rbacv1.Subject
GenerateObjectSubjectMap generate the map which key is object and value is subjects, which means these users/groups in subjects has permission for this object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.