dsschema

package
v1.21.4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllPages added in v1.19.0

func AllPages[T any](ctx context.Context, listOnPage func(ctx context.Context, pageNum int) (PaginateResponse[T], *http.Response, error)) ([]T, error)

func PaginatedDSSchema

func PaginatedDSSchema(arguments, resultAttributes map[string]schema.Attribute) schema.Schema

Types

type PaginateResponse added in v1.19.0

type PaginateResponse[T any] interface {
	GetResults() []T
	GetTotalCount() int
}

Jump to

Keyboard shortcuts

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