55 lines
2.2 KiB
Go
55 lines
2.2 KiB
Go
/*
|
|
The MIT License (MIT)
|
|
|
|
Copyright (c) 2016-2020 Containous SAS; 2020-2024 Traefik Labs
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
THE SOFTWARE.
|
|
*/
|
|
|
|
// Code generated by informer-gen. DO NOT EDIT.
|
|
|
|
package traefikio
|
|
|
|
import (
|
|
internalinterfaces "github.com/traefik/traefik/v2/pkg/provider/kubernetes/crd/generated/informers/externalversions/internalinterfaces"
|
|
v1alpha1 "github.com/traefik/traefik/v2/pkg/provider/kubernetes/crd/generated/informers/externalversions/traefikio/v1alpha1"
|
|
)
|
|
|
|
// Interface provides access to each of this group's versions.
|
|
type Interface interface {
|
|
// V1alpha1 provides access to shared informers for resources in V1alpha1.
|
|
V1alpha1() v1alpha1.Interface
|
|
}
|
|
|
|
type group 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 &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
|
|
}
|
|
|
|
// V1alpha1 returns a new v1alpha1.Interface.
|
|
func (g *group) V1alpha1() v1alpha1.Interface {
|
|
return v1alpha1.New(g.factory, g.namespace, g.tweakListOptions)
|
|
}
|