Debian Codegraph @

informers/autoscaling/interface.go

raw
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 autoscaling
20
21 import (
22 v1 "k8s.io/client-go/informers/autoscaling/v1"
23 v2 "k8s.io/client-go/informers/autoscaling/v2"
24 v2beta1 "k8s.io/client-go/informers/autoscaling/v2beta1"
25 v2beta2 "k8s.io/client-go/informers/autoscaling/v2beta2"
26 internalinterfaces "k8s.io/client-go/informers/internalinterfaces"
27 )
28
29 // Interface provides access to each of this group's versions.
30 type Interface interface {
31 // V1 provides access to shared informers for resources in V1.
32 V1() v1.Interface
33 // V2 provides access to shared informers for resources in V2.
34 V2() v2.Interface
35 // V2beta1 provides access to shared informers for resources in V2beta1.
36 V2beta1() v2beta1.Interface
37 // V2beta2 provides access to shared informers for resources in V2beta2.
38 V2beta2() v2beta2.Interface
39 }
40
41 type group struct {
42 factory internalinterfaces.SharedInformerFactory
43 namespace string
44 tweakListOptions internalinterfaces.TweakListOptionsFunc
45 }
46
47 // New returns a new Interface.
48 func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
49 return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
50 }
51
52 // V1 returns a new v1.Interface.
53 func (g *group) V1() v1.Interface {
54 return v1.New(g.factory, g.namespace, g.tweakListOptions)
55 }
56
57 // V2 returns a new v2.Interface.
58 func (g *group) V2() v2.Interface {
59 return v2.New(g.factory, g.namespace, g.tweakListOptions)
60 }
61
62 // V2beta1 returns a new v2beta1.Interface.
63 func (g *group) V2beta1() v2beta1.Interface {
64 return v2beta1.New(g.factory, g.namespace, g.tweakListOptions)
65 }
66
67 // V2beta2 returns a new v2beta2.Interface.
68 func (g *group) V2beta2() v2beta2.Interface {
69 return v2beta2.New(g.factory, g.namespace, g.tweakListOptions)
70 }