func (w *wrapper) SetResourceVersion(resourceVersion string) {
	w.resourceVersion = resourceVersion
}
SetResourceVersion allows consumers to adjust the minimum resourceVersion
used by the underlying client.  It is not accessible via the standard
lister interface, but can be accessed through a user-defined interface and
an implementation check e.g. rvs, ok := foo.(ResourceVersionSetter)
package httpproxy
import (
	context "context"
	apisprojectcontourv1 "github.com/projectcontour/contour/apis/projectcontour/v1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	labels "k8s.io/apimachinery/pkg/labels"
	cache "k8s.io/client-go/tools/cache"
	versioned "knative.dev/net-contour/pkg/client/clientset/versioned"
	v1 "knative.dev/net-contour/pkg/client/informers/externalversions/projectcontour/v1"
	client "knative.dev/net-contour/pkg/client/injection/client"
	factory "knative.dev/net-contour/pkg/client/injection/informers/factory"
	projectcontourv1 "knative.dev/net-contour/pkg/client/listers/projectcontour/v1"
	controller "knative.dev/pkg/controller"
	injection "knative.dev/pkg/injection"
	logging "knative.dev/pkg/logging"
)
func init() {
	injection.Default.RegisterInformer(withInformer)
	injection.Dynamic.RegisterDynamicInformer(withDynamicInformer)
}
type Key struct{}
func withInformer(ctx context.Context) (context.Context, controller.Informer) {
	f := factory.Get(ctx)
	inf := f.Projectcontour().V1().HTTPProxies()
	return context.WithValue(ctx, Key{}, inf), inf.Informer()
}
func withDynamicInformer(ctx context.Context) context.Context {
	inf := &wrapper{client: client.Get(ctx), resourceVersion: injection.GetResourceVersion(ctx)}
	return context.WithValue(ctx, Key{}, inf)
}
func Get(ctx context.Context) v1.HTTPProxyInformer {
	untyped := ctx.Value(Key{})
	if untyped == nil {
		logging.FromContext(ctx).Panic(
			"Unable to fetch knative.dev/net-contour/pkg/client/informers/externalversions/projectcontour/v1.HTTPProxyInformer from context.")
	}
	return untyped.(v1.HTTPProxyInformer)
}
type wrapper struct {
	client versioned.Interface
	namespace string
	resourceVersion string
}
var _ v1.HTTPProxyInformer = (*wrapper)(nil)
var _ projectcontourv1.HTTPProxyLister = (*wrapper)(nil)
func (w *wrapper) Informer() cache.SharedIndexInformer {
	return cache.NewSharedIndexInformer(nil, &apisprojectcontourv1.HTTPProxy{}, 0, nil)
}
func (w *wrapper) Lister() projectcontourv1.HTTPProxyLister {
	return w
}
func (w *wrapper) HTTPProxies(namespace string) projectcontourv1.HTTPProxyNamespaceLister {
	return &wrapper{client: w.client, namespace: namespace, resourceVersion: w.resourceVersion}
}