...
1
2
3 package internalinterfaces
4
5 import (
6 time "time"
7
8 versioned "github.com/openshift/client-go/console/clientset/versioned"
9 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
10 runtime "k8s.io/apimachinery/pkg/runtime"
11 cache "k8s.io/client-go/tools/cache"
12 )
13
14
15 type NewInformerFunc func(versioned.Interface, time.Duration) cache.SharedIndexInformer
16
17
18 type SharedInformerFactory interface {
19 Start(stopCh <-chan struct{})
20 InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer
21 }
22
23
24 type TweakListOptionsFunc func(*v1.ListOptions)
25
View as plain text