sigs.k8s.io/kueue@v0.6.2/client-go/informers/externalversions/kueue/v1alpha1/interface.go (about) 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 // Code generated by informer-gen. DO NOT EDIT. 17 18 package v1alpha1 19 20 import ( 21 internalinterfaces "sigs.k8s.io/kueue/client-go/informers/externalversions/internalinterfaces" 22 ) 23 24 // Interface provides access to all the informers in this group version. 25 type Interface interface { 26 // MultiKueueClusters returns a MultiKueueClusterInformer. 27 MultiKueueClusters() MultiKueueClusterInformer 28 // MultiKueueConfigs returns a MultiKueueConfigInformer. 29 MultiKueueConfigs() MultiKueueConfigInformer 30 } 31 32 type version struct { 33 factory internalinterfaces.SharedInformerFactory 34 namespace string 35 tweakListOptions internalinterfaces.TweakListOptionsFunc 36 } 37 38 // New returns a new Interface. 39 func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 40 return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 41 } 42 43 // MultiKueueClusters returns a MultiKueueClusterInformer. 44 func (v *version) MultiKueueClusters() MultiKueueClusterInformer { 45 return &multiKueueClusterInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} 46 } 47 48 // MultiKueueConfigs returns a MultiKueueConfigInformer. 49 func (v *version) MultiKueueConfigs() MultiKueueConfigInformer { 50 return &multiKueueConfigInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} 51 }