Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

API provides access to the Cleaner API facade.

func NewAPI

func NewAPI(caller base.APICaller) *API

NewAPI creates a new client-side Cleaner facade.

func (*API) Cleanup

func (api *API) Cleanup() error

Cleanup calls the server-side Cleanup method.

func (*API) WatchCleanups

func (api *API) WatchCleanups() (watcher.NotifyWatcher, error)

WatchCleanups calls the server-side WatchCleanups method.

Source Files