package
0.18.0
Repository: https://github.com/hashicorp/boundary.git
Documentation: pkg.go.dev

# README

Boundary list pagination logic

This package encapsulates the logic used to attempt to fill every page in a request to a Boundary list endpoint. For example use, see example_test.go.

# Packages

No description provided by the author
Package purge implements a scheduler job used to purge old rows from the deleted IDs tables kept for pagination purposes.

# Functions

List returns a ListResponse.
ListPage returns a ListResponse.
ListRefresh returns a ListResponse.
ListRefreshPage returns a ListResponse.

# Structs

ListResponse represents the response from the paginated list operation.

# Interfaces

Item defines a subset of a boundary.Resource that can be used as an input to a DB operation for the purposes of pagination and sorting.

# Type aliases

EstimatedCountFunc is used to estimate the total number of items available for the resource that is being listed.
ListDeletedIDsFunc is used to list the IDs of the resources deleted since the given timestamp.
ListFilterFunc is a callback used to filter out resources that don't match some criteria.
ListItemsFunc returns a slice of T that are ordered after prevPageLastItem according to the implementation of the function.