v1

package
v0.32.3 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 15 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterRoleBindingClusterInformer

func NewClusterRoleBindingClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewClusterRoleBindingClusterInformer constructs a new informer for ClusterRoleBinding type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewClusterRoleClusterInformer

func NewClusterRoleClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewClusterRoleClusterInformer constructs a new informer for ClusterRole type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredClusterRoleBindingClusterInformer

func NewFilteredClusterRoleBindingClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredClusterRoleBindingClusterInformer constructs a new informer for ClusterRoleBinding type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredClusterRoleClusterInformer

func NewFilteredClusterRoleClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredClusterRoleClusterInformer constructs a new informer for ClusterRole type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredRoleBindingClusterInformer

func NewFilteredRoleBindingClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredRoleBindingClusterInformer constructs a new informer for RoleBinding type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredRoleClusterInformer

func NewFilteredRoleClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredRoleClusterInformer constructs a new informer for Role type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewRoleBindingClusterInformer

func NewRoleBindingClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewRoleBindingClusterInformer constructs a new informer for RoleBinding type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewRoleClusterInformer

func NewRoleClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewRoleClusterInformer constructs a new informer for Role type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

Types

type ClusterInterface

type ClusterInterface interface {
	// ClusterRoles returns a ClusterRoleClusterInformer.
	ClusterRoles() ClusterRoleClusterInformer
	// ClusterRoleBindings returns a ClusterRoleBindingClusterInformer.
	ClusterRoleBindings() ClusterRoleBindingClusterInformer
	// Roles returns a RoleClusterInformer.
	Roles() RoleClusterInformer
	// RoleBindings returns a RoleBindingClusterInformer.
	RoleBindings() RoleBindingClusterInformer
}

func New

New returns a new Interface.

type ClusterRoleBindingClusterInformer

ClusterRoleBindingClusterInformer provides access to a shared informer and lister for ClusterRoleBindings.

type ClusterRoleClusterInformer

type ClusterRoleClusterInformer interface {
	Cluster(logicalcluster.Name) rbacv1.ClusterRoleInformer
	ClusterWithContext(context.Context, logicalcluster.Name) rbacv1.ClusterRoleInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.ClusterRoleClusterLister
}

ClusterRoleClusterInformer provides access to a shared informer and lister for ClusterRoles.

type RoleBindingClusterInformer

type RoleBindingClusterInformer interface {
	Cluster(logicalcluster.Name) rbacv1.RoleBindingInformer
	ClusterWithContext(context.Context, logicalcluster.Name) rbacv1.RoleBindingInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.RoleBindingClusterLister
}

RoleBindingClusterInformer provides access to a shared informer and lister for RoleBindings.

type RoleClusterInformer

type RoleClusterInformer interface {
	Cluster(logicalcluster.Name) rbacv1.RoleInformer
	ClusterWithContext(context.Context, logicalcluster.Name) rbacv1.RoleInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.RoleClusterLister
}

RoleClusterInformer provides access to a shared informer and lister for Roles.

Jump to

Keyboard shortcuts

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