interface.go 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 v1alpha2
  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. // PodSchedulingContexts returns a PodSchedulingContextInformer.
  21. PodSchedulingContexts() PodSchedulingContextInformer
  22. // ResourceClaims returns a ResourceClaimInformer.
  23. ResourceClaims() ResourceClaimInformer
  24. // ResourceClaimTemplates returns a ResourceClaimTemplateInformer.
  25. ResourceClaimTemplates() ResourceClaimTemplateInformer
  26. // ResourceClasses returns a ResourceClassInformer.
  27. ResourceClasses() ResourceClassInformer
  28. }
  29. type version struct {
  30. factory internalinterfaces.SharedInformerFactory
  31. namespace string
  32. tweakListOptions internalinterfaces.TweakListOptionsFunc
  33. }
  34. // New returns a new Interface.
  35. func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
  36. return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
  37. }
  38. // PodSchedulingContexts returns a PodSchedulingContextInformer.
  39. func (v *version) PodSchedulingContexts() PodSchedulingContextInformer {
  40. return &podSchedulingContextInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
  41. }
  42. // ResourceClaims returns a ResourceClaimInformer.
  43. func (v *version) ResourceClaims() ResourceClaimInformer {
  44. return &resourceClaimInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
  45. }
  46. // ResourceClaimTemplates returns a ResourceClaimTemplateInformer.
  47. func (v *version) ResourceClaimTemplates() ResourceClaimTemplateInformer {
  48. return &resourceClaimTemplateInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
  49. }
  50. // ResourceClasses returns a ResourceClassInformer.
  51. func (v *version) ResourceClasses() ResourceClassInformer {
  52. return &resourceClassInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
  53. }