new tools.go file to get code-generator dependency + updated codegen + remove Glide files and update docs

This commit is contained in:
Felix Kunde
2019-10-02 15:51:20 +02:00
parent fd89e90d38
commit 77330e22f7
22 changed files with 461 additions and 454 deletions
@@ -33,6 +33,7 @@ import (
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
@@ -41,4 +42,5 @@ type SharedInformerFactory interface {
InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer
}
// TweakListOptionsFunc is a function that transforms a v1.ListOptions.
type TweakListOptionsFunc func(*v1.ListOptions)