watcher

package
v0.0.0-...-d14f77f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

type Informer

type Informer interface {
	AddEventHandler(handler handlers.EventHandler)
	HasSynced() bool
	Start(ch <-chan struct{})
}

type NewInformerFunc

type NewInformerFunc func(client *Client) (*multiResourceInformer, error)

func NewMultiResourceInformer

func NewMultiResourceInformer(resyncPeriod time.Duration) NewInformerFunc

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher() (*Watcher, error)

func (*Watcher) Run

func (w *Watcher) Run(stopCh chan struct{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL