Documentation
¶
Index ¶
- func NewEtcdBackupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewEtcdClusterInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewEtcdRestoreInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type EtcdBackupInformer
- type EtcdClusterInformer
- type EtcdRestoreInformer
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEtcdBackupInformer ¶
func NewEtcdBackupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewEtcdBackupInformer constructs a new informer for EtcdBackup 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 NewEtcdClusterInformer ¶
func NewEtcdClusterInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewEtcdClusterInformer constructs a new informer for EtcdCluster 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 NewEtcdRestoreInformer ¶
func NewEtcdRestoreInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewEtcdRestoreInformer constructs a new informer for EtcdRestore 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 EtcdBackupInformer ¶
type EtcdBackupInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1beta2.EtcdBackupLister
}
EtcdBackupInformer provides access to a shared informer and lister for EtcdBackups.
type EtcdClusterInformer ¶
type EtcdClusterInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1beta2.EtcdClusterLister
}
EtcdClusterInformer provides access to a shared informer and lister for EtcdClusters.
type EtcdRestoreInformer ¶
type EtcdRestoreInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1beta2.EtcdRestoreLister
}
EtcdRestoreInformer provides access to a shared informer and lister for EtcdRestores.
type Interface ¶
type Interface interface {
// EtcdBackups returns a EtcdBackupInformer.
EtcdBackups() EtcdBackupInformer
// EtcdClusters returns a EtcdClusterInformer.
EtcdClusters() EtcdClusterInformer
// EtcdRestores returns a EtcdRestoreInformer.
EtcdRestores() EtcdRestoreInformer
}
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory) Interface
New returns a new Interface.