Documentation ¶
Index ¶
- func NewClusterRoleBindingClusterLister(indexer cache.Indexer) *clusterRoleBindingClusterLister
- func NewClusterRoleClusterLister(indexer cache.Indexer) *clusterRoleClusterLister
- func NewRoleBindingClusterLister(indexer cache.Indexer) *roleBindingClusterLister
- func NewRoleClusterLister(indexer cache.Indexer) *roleClusterLister
- type ClusterRoleBindingClusterLister
- type ClusterRoleBindingClusterListerExpansion
- type ClusterRoleClusterLister
- type ClusterRoleClusterListerExpansion
- type RoleBindingClusterLister
- type RoleBindingClusterListerExpansion
- type RoleClusterLister
- type RoleClusterListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterRoleBindingClusterLister ¶
NewClusterRoleBindingClusterLister returns a new ClusterRoleBindingClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index
func NewClusterRoleClusterLister ¶
NewClusterRoleClusterLister returns a new ClusterRoleClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index
func NewRoleBindingClusterLister ¶
NewRoleBindingClusterLister returns a new RoleBindingClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index
func NewRoleClusterLister ¶
NewRoleClusterLister returns a new RoleClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index
Types ¶
type ClusterRoleBindingClusterLister ¶
type ClusterRoleBindingClusterLister interface { // List lists all ClusterRoleBindings in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*rbacv1.ClusterRoleBinding, err error) // Cluster returns a lister that can list and get ClusterRoleBindings in one workspace. Cluster(clusterName logicalcluster.Name) rbacv1listers.ClusterRoleBindingLister ClusterRoleBindingClusterListerExpansion }
ClusterRoleBindingClusterLister can list ClusterRoleBindings across all workspaces, or scope down to a ClusterRoleBindingLister for one workspace. All objects returned here must be treated as read-only.
type ClusterRoleBindingClusterListerExpansion ¶
type ClusterRoleBindingClusterListerExpansion interface{}
ClusterRoleBindingClusterListerExpansion allows custom methods to be added to ClusterRoleBindingClusterLister.
type ClusterRoleClusterLister ¶
type ClusterRoleClusterLister interface { // List lists all ClusterRoles in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*rbacv1.ClusterRole, err error) // Cluster returns a lister that can list and get ClusterRoles in one workspace. Cluster(clusterName logicalcluster.Name) rbacv1listers.ClusterRoleLister ClusterRoleClusterListerExpansion }
ClusterRoleClusterLister can list ClusterRoles across all workspaces, or scope down to a ClusterRoleLister for one workspace. All objects returned here must be treated as read-only.
type ClusterRoleClusterListerExpansion ¶
type ClusterRoleClusterListerExpansion interface{}
ClusterRoleClusterListerExpansion allows custom methods to be added to ClusterRoleClusterLister.
type RoleBindingClusterLister ¶
type RoleBindingClusterLister interface { // List lists all RoleBindings in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*rbacv1.RoleBinding, err error) // Cluster returns a lister that can list and get RoleBindings in one workspace. Cluster(clusterName logicalcluster.Name) rbacv1listers.RoleBindingLister RoleBindingClusterListerExpansion }
RoleBindingClusterLister can list RoleBindings across all workspaces, or scope down to a RoleBindingLister for one workspace. All objects returned here must be treated as read-only.
type RoleBindingClusterListerExpansion ¶
type RoleBindingClusterListerExpansion interface{}
RoleBindingClusterListerExpansion allows custom methods to be added to RoleBindingClusterLister.
type RoleClusterLister ¶
type RoleClusterLister interface { // List lists all Roles in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*rbacv1.Role, err error) // Cluster returns a lister that can list and get Roles in one workspace. Cluster(clusterName logicalcluster.Name) rbacv1listers.RoleLister RoleClusterListerExpansion }
RoleClusterLister can list Roles across all workspaces, or scope down to a RoleLister for one workspace. All objects returned here must be treated as read-only.
type RoleClusterListerExpansion ¶
type RoleClusterListerExpansion interface{}
RoleClusterListerExpansion allows custom methods to be added to RoleClusterLister.