Documentation ¶
Index ¶
- func NewControllerRevisionInformer(client internalclientset.Interface, namespace string, ...) cache.SharedIndexInformer
- func NewStatefulSetInformer(client internalclientset.Interface, namespace string, ...) cache.SharedIndexInformer
- type ControllerRevisionInformer
- type Interface
- type StatefulSetInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControllerRevisionInformer ¶ added in v1.8.0
func NewControllerRevisionInformer(client internalclientset.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewControllerRevisionInformer constructs a new informer for ControllerRevision 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 NewStatefulSetInformer ¶ added in v1.8.0
func NewStatefulSetInformer(client internalclientset.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewStatefulSetInformer constructs a new informer for StatefulSet 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 ControllerRevisionInformer ¶ added in v1.7.0
type ControllerRevisionInformer interface { Informer() cache.SharedIndexInformer Lister() internalversion.ControllerRevisionLister }
ControllerRevisionInformer provides access to a shared informer and lister for ControllerRevisions.
type Interface ¶
type Interface interface { // ControllerRevisions returns a ControllerRevisionInformer. ControllerRevisions() ControllerRevisionInformer // StatefulSets returns a StatefulSetInformer. StatefulSets() StatefulSetInformer }
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory) Interface
New returns a new Interface.
type StatefulSetInformer ¶
type StatefulSetInformer interface { Informer() cache.SharedIndexInformer Lister() internalversion.StatefulSetLister }
StatefulSetInformer provides access to a shared informer and lister for StatefulSets.