interface.go 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. Copyright The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. // Code generated by informer-gen. DO NOT EDIT.
  14. package v1beta1
  15. import (
  16. internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
  17. )
  18. // Interface provides access to all the informers in this group version.
  19. type Interface interface {
  20. // ControllerRevisions returns a ControllerRevisionInformer.
  21. ControllerRevisions() ControllerRevisionInformer
  22. // Deployments returns a DeploymentInformer.
  23. Deployments() DeploymentInformer
  24. // StatefulSets returns a StatefulSetInformer.
  25. StatefulSets() StatefulSetInformer
  26. }
  27. type version struct {
  28. factory internalinterfaces.SharedInformerFactory
  29. namespace string
  30. tweakListOptions internalinterfaces.TweakListOptionsFunc
  31. }
  32. // New returns a new Interface.
  33. func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
  34. return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
  35. }
  36. // ControllerRevisions returns a ControllerRevisionInformer.
  37. func (v *version) ControllerRevisions() ControllerRevisionInformer {
  38. return &controllerRevisionInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
  39. }
  40. // Deployments returns a DeploymentInformer.
  41. func (v *version) Deployments() DeploymentInformer {
  42. return &deploymentInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
  43. }
  44. // StatefulSets returns a StatefulSetInformer.
  45. func (v *version) StatefulSets() StatefulSetInformer {
  46. return &statefulSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
  47. }