Documentation ¶
Overview ¶
Package shared provides reusable support for shared informer implementations.
Index ¶
- type BuildConfigInformer
- type ClusterPolicyBindingInformer
- type ClusterPolicyInformer
- type ClusterResourceQuotaInformer
- type DefaultListerWatcherOverrides
- type DeploymentConfigInformer
- type ImageStreamInformer
- type InformerFactory
- type ListerWatcherOverrides
- type PolicyBindingInformer
- type PolicyInformer
- type ReplicationControllerInformer
- type SecurityContextConstraintsInformer
- type TemplateInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildConfigInformer ¶ added in v1.4.0
type BuildConfigInformer interface { Informer() cache.SharedIndexInformer Indexer() cache.Indexer Lister() oscache.StoreToBuildConfigLister }
type ClusterPolicyBindingInformer ¶
type ClusterPolicyBindingInformer interface { Informer() cache.SharedIndexInformer // still use an indexer, no telling what someone will want to index on someday Indexer() cache.Indexer Lister() client.SyncedClusterPolicyBindingsListerInterface }
type ClusterPolicyInformer ¶
type ClusterPolicyInformer interface { Informer() cache.SharedIndexInformer // still use an indexer, no telling what someone will want to index on someday Indexer() cache.Indexer Lister() client.SyncedClusterPoliciesListerInterface }
type ClusterResourceQuotaInformer ¶
type ClusterResourceQuotaInformer interface { Informer() cache.SharedIndexInformer // still use an indexer, no telling what someone will want to index on someday Indexer() cache.Indexer Lister() *ocache.IndexerToClusterResourceQuotaLister }
type DefaultListerWatcherOverrides ¶
type DefaultListerWatcherOverrides map[unversioned.GroupResource]cache.ListerWatcher
func (DefaultListerWatcherOverrides) GetListerWatcher ¶
func (o DefaultListerWatcherOverrides) GetListerWatcher(resource unversioned.GroupResource) cache.ListerWatcher
type DeploymentConfigInformer ¶
type DeploymentConfigInformer interface { Informer() cache.SharedIndexInformer Indexer() cache.Indexer Lister() *oscache.StoreToDeploymentConfigLister }
type ImageStreamInformer ¶
type ImageStreamInformer interface { Informer() cache.SharedIndexInformer Indexer() cache.Indexer Lister() *oscache.StoreToImageStreamLister }
type InformerFactory ¶
type InformerFactory interface { // Start starts informers that can start AFTER the API server and controllers have started Start(stopCh <-chan struct{}) // StartCore starts core informers that must initialize in order for the API server to start StartCore(stopCh <-chan struct{}) ClusterPolicies() ClusterPolicyInformer ClusterPolicyBindings() ClusterPolicyBindingInformer Policies() PolicyInformer PolicyBindings() PolicyBindingInformer DeploymentConfigs() DeploymentConfigInformer BuildConfigs() BuildConfigInformer Templates() TemplateInformer ImageStreams() ImageStreamInformer SecurityContextConstraints() SecurityContextConstraintsInformer ClusterResourceQuotas() ClusterResourceQuotaInformer KubernetesInformers() informers.SharedInformerFactory // TODO switch to the generated upstream informers once the kube 1.6 rebase is // in ReplicationControllers() ReplicationControllerInformer }
func NewInformerFactory ¶
func NewInformerFactory(kubeInformers informers.SharedInformerFactory, kubeClient kclientset.Interface, originClient oclient.Interface, customListerWatchers ListerWatcherOverrides, defaultResync time.Duration) InformerFactory
type ListerWatcherOverrides ¶
type ListerWatcherOverrides interface { // GetListerWatcher returns back a ListerWatcher for a given resource or nil if // no particular ListerWatcher was specified for the type GetListerWatcher(resource unversioned.GroupResource) cache.ListerWatcher }
ListerWatcherOverrides allows a caller to specify special behavior for particular ListerWatchers For instance, authentication and authorization types need to go direct to etcd, not through an API server
type PolicyBindingInformer ¶
type PolicyBindingInformer interface { Informer() cache.SharedIndexInformer // still use an indexer, no telling what someone will want to index on someday Indexer() cache.Indexer Lister() client.SyncedPolicyBindingsListerNamespacer }
type PolicyInformer ¶
type PolicyInformer interface { Informer() cache.SharedIndexInformer // still use an indexer, no telling what someone will want to index on someday Indexer() cache.Indexer Lister() client.SyncedPoliciesListerNamespacer }
type ReplicationControllerInformer ¶
type ReplicationControllerInformer interface { Informer() cache.SharedIndexInformer Indexer() cache.Indexer Lister() *cache.StoreToReplicationControllerLister }
type SecurityContextConstraintsInformer ¶
type SecurityContextConstraintsInformer interface { Informer() cache.SharedIndexInformer Indexer() cache.Indexer Lister() *oscache.IndexerToSecurityContextConstraintsLister }
type TemplateInformer ¶
type TemplateInformer interface { Informer() cache.SharedIndexInformer Indexer() cache.Indexer Lister() oscache.StoreToTemplateLister }
Click to show internal directories.
Click to hide internal directories.