cleaner

package
v0.0.0-...-f88c608 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WithTracer = base.WithTracer

WithTracer returns an Option that configures the Client to use the supplied tracer.

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, options ...Option) *API

NewAPI creates a new client-side Cleaner facade.

func (*API) Cleanup

func (api *API) Cleanup(ctx context.Context) error

Cleanup calls the server-side Cleanup method.

func (*API) WatchCleanups

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

WatchCleanups calls the server-side WatchCleanups method.

type Option

type Option = base.Option

Option is a function that can be used to configure a Client.

Jump to

Keyboard shortcuts

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