statushistory

package
v0.0.0-...-2608902 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 License: AGPL-3.0 Imports: 3 Imported by: 0

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 is the concrete implementation of the Pruner endpoint..

func NewAPI

func NewAPI(st *state.State, _ *common.Resources, auth common.Authorizer) (*API, error)

NewAPI returns an API Instance.

func (*API) Prune

func (api *API) Prune(p params.StatusHistoryPruneArgs) error

Prune endpoint removes status history entries until only the N newest records per unit remain.

Jump to

Keyboard shortcuts

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