interface.go 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. // CertificateSigningRequests returns a CertificateSigningRequestInformer.
  21. CertificateSigningRequests() CertificateSigningRequestInformer
  22. }
  23. type version struct {
  24. factory internalinterfaces.SharedInformerFactory
  25. namespace string
  26. tweakListOptions internalinterfaces.TweakListOptionsFunc
  27. }
  28. // New returns a new Interface.
  29. func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
  30. return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
  31. }
  32. // CertificateSigningRequests returns a CertificateSigningRequestInformer.
  33. func (v *version) CertificateSigningRequests() CertificateSigningRequestInformer {
  34. return &certificateSigningRequestInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
  35. }