filewatch

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const DetectedOverflowErrMsg = `` /* 189-byte string literal not displayed */
View Source
const MaxFileEventHistory = 20

MaxFileEventHistory is the maximum number of file events that will be retained on the FileWatch status.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	ctrlclient.Client
	Store store.RStore
	// contains filtered or unexported fields
}

Controller reconciles a FileWatch object

func NewController

func NewController(store store.RStore, fsWatcherMaker fsevent.WatcherMaker, timerMaker fsevent.TimerMaker) *Controller

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*Controller) SetClient

func (c *Controller) SetClient(client ctrlclient.Client)

func (*Controller) SetupWithManager

func (c *Controller) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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