Documentation ¶
Index ¶
- func IsDisabledModuleError(err error) bool
- func MakePluggableFunc(informer cache.SharedIndexInformer) func(PluggableModule)
- type DisabledModuleError
- type Pluggable
- func (p *Pluggable) Disable(disableModule func(disabledErr error))
- func (p *Pluggable) Enable()
- func (p *Pluggable) EnableAndSyncCache(sync func(stopCh chan struct{}))
- func (p *Pluggable) EnableAndSyncInformerFactory(informerFactory SharedInformerFactory, onSync func())
- func (p *Pluggable) IsEnabled() bool
- func (p *Pluggable) Name() string
- func (p *Pluggable) StopCacheSyncOnClose(stopCh <-chan struct{})
- type PluggableModule
- type SharedInformerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDisabledModuleError ¶
func MakePluggableFunc ¶
func MakePluggableFunc(informer cache.SharedIndexInformer) func(PluggableModule)
Types ¶
type DisabledModuleError ¶
type DisabledModuleError struct {
ModuleName string
}
func NewDisabledModuleError ¶
func NewDisabledModuleError(moduleName string) *DisabledModuleError
func (*DisabledModuleError) Error ¶
func (e *DisabledModuleError) Error() string
type Pluggable ¶
type Pluggable struct { SyncCh chan bool // contains filtered or unexported fields }
func NewPluggable ¶
func (*Pluggable) EnableAndSyncCache ¶
func (p *Pluggable) EnableAndSyncCache(sync func(stopCh chan struct{}))
func (*Pluggable) EnableAndSyncInformerFactory ¶
func (p *Pluggable) EnableAndSyncInformerFactory(informerFactory SharedInformerFactory, onSync func())
func (*Pluggable) StopCacheSyncOnClose ¶
func (p *Pluggable) StopCacheSyncOnClose(stopCh <-chan struct{})
type PluggableModule ¶
type SharedInformerFactory ¶
type SharedInformerFactory interface {}
Click to show internal directories.
Click to hide internal directories.