Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger log.Logger = &log.LoggerFuncs{ DebugFunc: func(s string, i ...interface{}) { klog.V(4).Infof(s, i...) }, InfoFunc: func(s string, i ...interface{}) { klog.V(2).Infof(s, i...) }, WarnFunc: func(s string, i ...interface{}) { klog.Warningf(s, i...) }, ErrorFunc: func(s string, i ...interface{}) { klog.Errorf(s, i...) }, }
Functions ¶
func DebugSnapshot ¶
func DebugSnapshot(snapshot *cache.Snapshot) string
Types ¶
type EmptyNodeID ¶
type EmptyNodeID struct{}
EmptyNodeID satisfies cachev3.NodeHash but always return empty string
type Snapshotter ¶
func New ¶
func New(client kubernetes.Interface) *Snapshotter
func (*Snapshotter) MuxCache ¶
func (s *Snapshotter) MuxCache() *cache.MuxCache
Source Files ¶
Click to show internal directories.
Click to hide internal directories.