cleaner

package
v0.0.0-...-298751d Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(registry facade.FacadeRegistry)

Register is called to expose a package of facades onto a given registry.

Types

type CleanerAPI

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

CleanerAPI implements the API used by the cleaner worker.

func (*CleanerAPI) Cleanup

func (api *CleanerAPI) Cleanup() error

Cleanup triggers a state cleanup

func (*CleanerAPI) WatchCleanups

func (api *CleanerAPI) WatchCleanups() (params.NotifyWatchResult, error)

WatchCleanups watches for cleanups to be performed in state.

type StateInterface

type StateInterface interface {
	Cleanup() error
	WatchCleanups() state.NotifyWatcher
}

Jump to

Keyboard shortcuts

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