| 1 |
/* |
| 2 |
Copyright The Kubernetes Authors. |
| 3 |
|
| 4 |
Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 |
you may not use this file except in compliance with the License. |
| 6 |
You may obtain a copy of the License at |
| 7 |
|
| 8 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 9 |
|
| 10 |
Unless required by applicable law or agreed to in writing, software |
| 11 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 12 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 |
See the License for the specific language governing permissions and |
| 14 |
limitations under the License. |
| 15 |
*/ |
| 16 |
|
| 17 |
// Code generated by informer-gen. DO NOT EDIT. |
| 18 |
|
| 19 |
package v1 |
| 20 |
|
| 21 |
import ( |
| 22 |
internalinterfaces "k8s.io/client-go/informers/internalinterfaces" |
| 23 |
) |
| 24 |
|
| 25 |
// Interface provides access to all the informers in this group version. |
| 26 |
type Interface interface { |
| 27 |
// ComponentStatuses returns a ComponentStatusInformer. |
| 28 |
ComponentStatuses() ComponentStatusInformer |
| 29 |
// ConfigMaps returns a ConfigMapInformer. |
| 30 |
ConfigMaps() ConfigMapInformer |
| 31 |
// Endpoints returns a EndpointsInformer. |
| 32 |
Endpoints() EndpointsInformer |
| 33 |
// Events returns a EventInformer. |
| 34 |
Events() EventInformer |
| 35 |
// LimitRanges returns a LimitRangeInformer. |
| 36 |
LimitRanges() LimitRangeInformer |
| 37 |
// Namespaces returns a NamespaceInformer. |
| 38 |
Namespaces() NamespaceInformer |
| 39 |
// Nodes returns a NodeInformer. |
| 40 |
Nodes() NodeInformer |
| 41 |
// PersistentVolumes returns a PersistentVolumeInformer. |
| 42 |
PersistentVolumes() PersistentVolumeInformer |
| 43 |
// PersistentVolumeClaims returns a PersistentVolumeClaimInformer. |
| 44 |
PersistentVolumeClaims() PersistentVolumeClaimInformer |
| 45 |
// Pods returns a PodInformer. |
| 46 |
Pods() PodInformer |
| 47 |
// PodTemplates returns a PodTemplateInformer. |
| 48 |
PodTemplates() PodTemplateInformer |
| 49 |
// ReplicationControllers returns a ReplicationControllerInformer. |
| 50 |
ReplicationControllers() ReplicationControllerInformer |
| 51 |
// ResourceQuotas returns a ResourceQuotaInformer. |
| 52 |
ResourceQuotas() ResourceQuotaInformer |
| 53 |
// Secrets returns a SecretInformer. |
| 54 |
Secrets() SecretInformer |
| 55 |
// Services returns a ServiceInformer. |
| 56 |
Services() ServiceInformer |
| 57 |
// ServiceAccounts returns a ServiceAccountInformer. |
| 58 |
ServiceAccounts() ServiceAccountInformer |
| 59 |
} |
| 60 |
|
| 61 |
type version struct { |
| 62 |
factory internalinterfaces.SharedInformerFactory |
| 63 |
namespace string |
| 64 |
tweakListOptions internalinterfaces.TweakListOptionsFunc |
| 65 |
} |
| 66 |
|
| 67 |
// New returns a new Interface. |
| 68 |
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { |
| 69 |
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} |
| 70 |
} |
| 71 |
|
| 72 |
// ComponentStatuses returns a ComponentStatusInformer. |
| 73 |
func (v *version) ComponentStatuses() ComponentStatusInformer { |
| 74 |
return &componentStatusInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} |
| 75 |
} |
| 76 |
|
| 77 |
// ConfigMaps returns a ConfigMapInformer. |
| 78 |
func (v *version) ConfigMaps() ConfigMapInformer { |
| 79 |
return &configMapInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 80 |
} |
| 81 |
|
| 82 |
// Endpoints returns a EndpointsInformer. |
| 83 |
func (v *version) Endpoints() EndpointsInformer { |
| 84 |
return &endpointsInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 85 |
} |
| 86 |
|
| 87 |
// Events returns a EventInformer. |
| 88 |
func (v *version) Events() EventInformer { |
| 89 |
return &eventInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 90 |
} |
| 91 |
|
| 92 |
// LimitRanges returns a LimitRangeInformer. |
| 93 |
func (v *version) LimitRanges() LimitRangeInformer { |
| 94 |
return &limitRangeInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 95 |
} |
| 96 |
|
| 97 |
// Namespaces returns a NamespaceInformer. |
| 98 |
func (v *version) Namespaces() NamespaceInformer { |
| 99 |
return &namespaceInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} |
| 100 |
} |
| 101 |
|
| 102 |
// Nodes returns a NodeInformer. |
| 103 |
func (v *version) Nodes() NodeInformer { |
| 104 |
return &nodeInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} |
| 105 |
} |
| 106 |
|
| 107 |
// PersistentVolumes returns a PersistentVolumeInformer. |
| 108 |
func (v *version) PersistentVolumes() PersistentVolumeInformer { |
| 109 |
return &persistentVolumeInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} |
| 110 |
} |
| 111 |
|
| 112 |
// PersistentVolumeClaims returns a PersistentVolumeClaimInformer. |
| 113 |
func (v *version) PersistentVolumeClaims() PersistentVolumeClaimInformer { |
| 114 |
return &persistentVolumeClaimInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 115 |
} |
| 116 |
|
| 117 |
// Pods returns a PodInformer. |
| 118 |
func (v *version) Pods() PodInformer { |
| 119 |
return &podInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 120 |
} |
| 121 |
|
| 122 |
// PodTemplates returns a PodTemplateInformer. |
| 123 |
func (v *version) PodTemplates() PodTemplateInformer { |
| 124 |
return &podTemplateInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 125 |
} |
| 126 |
|
| 127 |
// ReplicationControllers returns a ReplicationControllerInformer. |
| 128 |
func (v *version) ReplicationControllers() ReplicationControllerInformer { |
| 129 |
return &replicationControllerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 130 |
} |
| 131 |
|
| 132 |
// ResourceQuotas returns a ResourceQuotaInformer. |
| 133 |
func (v *version) ResourceQuotas() ResourceQuotaInformer { |
| 134 |
return &resourceQuotaInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 135 |
} |
| 136 |
|
| 137 |
// Secrets returns a SecretInformer. |
| 138 |
func (v *version) Secrets() SecretInformer { |
| 139 |
return &secretInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 140 |
} |
| 141 |
|
| 142 |
// Services returns a ServiceInformer. |
| 143 |
func (v *version) Services() ServiceInformer { |
| 144 |
return &serviceInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 145 |
} |
| 146 |
|
| 147 |
// ServiceAccounts returns a ServiceAccountInformer. |
| 148 |
func (v *version) ServiceAccounts() ServiceAccountInformer { |
| 149 |
return &serviceAccountInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} |
| 150 |
} |