v1

package
v0.0.0-...-bf1c9b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL