 Documentation
      ¶
      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 ¶
func HandleFileWatchUpdateStatusEvent ¶ added in v0.21.0
func HandleFileWatchUpdateStatusEvent(ctx context.Context, state *store.EngineState, action FileWatchUpdateStatusAction)
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(client ctrlclient.Client, store store.RStore, fsWatcherMaker fsevent.WatcherMaker, timerMaker fsevent.TimerMaker, scheme *runtime.Scheme, clock clockwork.Clock) *Controller
func (*Controller) CreateBuilder ¶ added in v0.20.9
type FileWatchUpdateStatusAction ¶ added in v0.21.0
type FileWatchUpdateStatusAction struct {
	ObjectMeta *metav1.ObjectMeta
	Status     *filewatches.FileWatchStatus
}
    func NewFileWatchUpdateStatusAction ¶ added in v0.21.0
func NewFileWatchUpdateStatusAction(fw *filewatches.FileWatch) FileWatchUpdateStatusAction
func (FileWatchUpdateStatusAction) Action ¶ added in v0.21.0
func (FileWatchUpdateStatusAction) Action()
func (FileWatchUpdateStatusAction) Summarize ¶ added in v0.21.0
func (a FileWatchUpdateStatusAction) Summarize(_ *store.ChangeSummary)
 Click to show internal directories. 
   Click to hide internal directories.