Documentation
¶
Index ¶
- func NewClusterRoleBindingLister(indexer cache.Indexer) listersrbacv1.ClusterRoleBindingLister
- func NewClusterRoleLister(indexer cache.Indexer) listersrbacv1.ClusterRoleLister
- func NewRoleBindingLister(indexer cache.Indexer) listersrbacv1.RoleBindingLister
- func NewRoleLister(indexer cache.Indexer) listersrbacv1.RoleLister
- 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 NewClusterRoleBindingLister ¶
func NewClusterRoleBindingLister(indexer cache.Indexer) listersrbacv1.ClusterRoleBindingLister
NewClusterRoleBindingLister returns a new ClusterRoleBindingLister. 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 NewClusterRoleLister ¶
func NewClusterRoleLister(indexer cache.Indexer) listersrbacv1.ClusterRoleLister
NewClusterRoleLister returns a new ClusterRoleLister. 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 NewRoleBindingLister ¶
func NewRoleBindingLister(indexer cache.Indexer) listersrbacv1.RoleBindingLister
NewRoleBindingLister returns a new RoleBindingLister. 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 NewRoleLister ¶
func NewRoleLister(indexer cache.Indexer) listersrbacv1.RoleLister
NewRoleLister returns a new RoleLister. 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) listersrbacv1.ClusterRoleBindingLister
ClusterRoleBindingClusterListerExpansion
}
ClusterRoleBindingClusterLister helps list ClusterRoleBindings across all workspaces, or scope down to a ClusterRoleBindingLister for one workspace. All objects returned here must be treated as read-only.
func NewClusterRoleBindingClusterLister ¶
func NewClusterRoleBindingClusterLister(indexer cache.Indexer) ClusterRoleBindingClusterLister
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
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) listersrbacv1.ClusterRoleLister
ClusterRoleClusterListerExpansion
}
ClusterRoleClusterLister helps list ClusterRoles across all workspaces, or scope down to a ClusterRoleLister for one workspace. All objects returned here must be treated as read-only.
func NewClusterRoleClusterLister ¶
func NewClusterRoleClusterLister(indexer cache.Indexer) ClusterRoleClusterLister
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
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) listersrbacv1.RoleBindingLister
RoleBindingClusterListerExpansion
}
RoleBindingClusterLister helps list RoleBindings across all workspaces, or scope down to a RoleBindingLister for one workspace. All objects returned here must be treated as read-only.
func NewRoleBindingClusterLister ¶
func NewRoleBindingClusterLister(indexer cache.Indexer) RoleBindingClusterLister
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
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) listersrbacv1.RoleLister
RoleClusterListerExpansion
}
RoleClusterLister helps list Roles across all workspaces, or scope down to a RoleLister for one workspace. All objects returned here must be treated as read-only.
func NewRoleClusterLister ¶
func NewRoleClusterLister(indexer cache.Indexer) RoleClusterLister
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
type RoleClusterListerExpansion ¶
type RoleClusterListerExpansion interface{}
RoleClusterListerExpansion allows custom methods to be added to RoleClusterLister.