juju: github.com/juju/juju/apiserver/facades/controller/cleaner Index | Files

package cleaner

import "github.com/juju/juju/apiserver/facades/controller/cleaner"

Index

Package Files

cleaner.go state.go

type CleanerAPI Uses

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

CleanerAPI implements the API used by the cleaner worker.

func NewCleanerAPI Uses

func NewCleanerAPI(
    st *state.State,
    res facade.Resources,
    authorizer facade.Authorizer,
) (*CleanerAPI, error)

NewCleanerAPI creates a new instance of the Cleaner API.

func (*CleanerAPI) Cleanup Uses

func (api *CleanerAPI) Cleanup() error

Cleanup triggers a state cleanup

func (*CleanerAPI) WatchCleanups Uses

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

WatchChanges watches for cleanups to be perfomed in state

type StateInterface Uses

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

Package cleaner imports 5 packages (graph) and is imported by 3 packages. Updated 2018-07-18. Refresh now. Tools for package owners.