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(ctx context.Context) error
Cleanup triggers a state cleanup
func (*CleanerAPI) WatchCleanups ¶
func (api *CleanerAPI) WatchCleanups(ctx context.Context) (params.NotifyWatchResult, error)
WatchCleanups watches for cleanups to be performed in state.
type StateInterface ¶
type StateInterface interface { Cleanup(context.Context, objectstore.ObjectStore, state.MachineRemover, state.ApplicationAndUnitRemover) error WatchCleanups() state.NotifyWatcher }
Click to show internal directories.
Click to hide internal directories.