1 Star 0 Fork 0

j-mirrors / knative-serving

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
interface.go 1.81 KB
Copy Edit Raw Blame History
/*
Copyright 2020 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by informer-gen. DO NOT EDIT.
package v1alpha1
import (
internalinterfaces "knative.dev/serving/pkg/client/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.
type Interface interface {
// Metrics returns a MetricInformer.
Metrics() MetricInformer
// PodAutoscalers returns a PodAutoscalerInformer.
PodAutoscalers() PodAutoscalerInformer
}
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}
}
// Metrics returns a MetricInformer.
func (v *version) Metrics() MetricInformer {
return &metricInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
// PodAutoscalers returns a PodAutoscalerInformer.
func (v *version) PodAutoscalers() PodAutoscalerInformer {
return &podAutoscalerInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}

Comment ( 0 )

Sign in to post a comment

1
https://gitee.com/j-mirrors/knative-serving.git
git@gitee.com:j-mirrors/knative-serving.git
j-mirrors
knative-serving
knative-serving
v0.14.3

Search