mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 17:42:19 +08:00
27 lines
905 B
Go
27 lines
905 B
Go
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
// Code generated by informer-gen. DO NOT EDIT.
|
|
|
|
package internalinterfaces
|
|
|
|
import (
|
|
time "time"
|
|
|
|
versioned "github.com/grafana/grafana/pkg/generated/clientset/versioned"
|
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
cache "k8s.io/client-go/tools/cache"
|
|
)
|
|
|
|
// NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer.
|
|
type NewInformerFunc func(versioned.Interface, time.Duration) cache.SharedIndexInformer
|
|
|
|
// SharedInformerFactory a small interface to allow for adding an informer without an import cycle
|
|
type SharedInformerFactory interface {
|
|
Start(stopCh <-chan struct{})
|
|
InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer
|
|
}
|
|
|
|
// TweakListOptionsFunc is a function that transforms a v1.ListOptions.
|
|
type TweakListOptionsFunc func(*v1.ListOptions)
|