-
Notifications
You must be signed in to change notification settings - Fork 9
/
interface.go
83 lines (67 loc) · 3.11 KB
/
interface.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
The GNU AFFERO GENERAL PUBLIC LICENSE
Copyright (c) 2020-2024 Traefik Labs
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
// Code generated by informer-gen. DO NOT EDIT.
package v1alpha1
import (
internalinterfaces "github.com/traefik/hub-crds/pkg/client/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.
type Interface interface {
// APIs returns a APIInformer.
APIs() APIInformer
// APIAccesses returns a APIAccessInformer.
APIAccesses() APIAccessInformer
// APIPortals returns a APIPortalInformer.
APIPortals() APIPortalInformer
// APIRateLimits returns a APIRateLimitInformer.
APIRateLimits() APIRateLimitInformer
// APIVersions returns a APIVersionInformer.
APIVersions() APIVersionInformer
// AccessControlPolicies returns a AccessControlPolicyInformer.
AccessControlPolicies() AccessControlPolicyInformer
}
type version struct {
factory internalinterfaces.SharedInformerFactory
namespace string
tweakListOptions internalinterfaces.TweakListOptionsFunc
}
// New returns a new Interface.
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
}
// APIs returns a APIInformer.
func (v *version) APIs() APIInformer {
return &aPIInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// APIAccesses returns a APIAccessInformer.
func (v *version) APIAccesses() APIAccessInformer {
return &aPIAccessInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// APIPortals returns a APIPortalInformer.
func (v *version) APIPortals() APIPortalInformer {
return &aPIPortalInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// APIRateLimits returns a APIRateLimitInformer.
func (v *version) APIRateLimits() APIRateLimitInformer {
return &aPIRateLimitInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// APIVersions returns a APIVersionInformer.
func (v *version) APIVersions() APIVersionInformer {
return &aPIVersionInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// AccessControlPolicies returns a AccessControlPolicyInformer.
func (v *version) AccessControlPolicies() AccessControlPolicyInformer {
return &accessControlPolicyInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}