v1alpha1

package
v0.29.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredPartitionClusterInformer

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

NewFilteredPartitionClusterInformer constructs a new informer for Partition 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 NewFilteredPartitionInformer

func NewFilteredPartitionInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPartitionInformer constructs a new informer for Partition 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 NewFilteredPartitionSetClusterInformer

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

NewFilteredPartitionSetClusterInformer constructs a new informer for PartitionSet 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 NewFilteredPartitionSetInformer

func NewFilteredPartitionSetInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPartitionSetInformer constructs a new informer for PartitionSet 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 NewPartitionClusterInformer

func NewPartitionClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewPartitionClusterInformer constructs a new informer for Partition 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 NewPartitionInformer

func NewPartitionInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPartitionInformer constructs a new informer for Partition 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 NewPartitionSetClusterInformer

func NewPartitionSetClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewPartitionSetClusterInformer constructs a new informer for PartitionSet 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 NewPartitionSetInformer

func NewPartitionSetInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPartitionSetInformer constructs a new informer for PartitionSet 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 {
	// Partitions returns a PartitionClusterInformer.
	Partitions() PartitionClusterInformer
	// PartitionSets returns a PartitionSetClusterInformer.
	PartitionSets() PartitionSetClusterInformer
}

func New

New returns a new Interface.

type Interface

type Interface interface {
	// Partitions returns a PartitionInformer.
	Partitions() PartitionInformer
	// PartitionSets returns a PartitionSetInformer.
	PartitionSets() PartitionSetInformer
}

func NewScoped

New returns a new Interface.

type PartitionClusterInformer

type PartitionClusterInformer interface {
	Cluster(logicalcluster.Name) PartitionInformer
	ClusterWithContext(context.Context, logicalcluster.Name) PartitionInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1alpha1.PartitionClusterLister
}

PartitionClusterInformer provides access to a shared informer and lister for Partitions.

type PartitionInformer

type PartitionInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() kcpv1alpha1.PartitionLister
}

PartitionInformer provides access to a shared informer and lister for Partitions.

type PartitionSetClusterInformer

type PartitionSetClusterInformer interface {
	Cluster(logicalcluster.Name) PartitionSetInformer
	ClusterWithContext(context.Context, logicalcluster.Name) PartitionSetInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1alpha1.PartitionSetClusterLister
}

PartitionSetClusterInformer provides access to a shared informer and lister for PartitionSets.

type PartitionSetInformer

type PartitionSetInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() kcpv1alpha1.PartitionSetLister
}

PartitionSetInformer provides access to a shared informer and lister for PartitionSets.

Jump to

Keyboard shortcuts

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