MCPcopy
hub / github.com/goauthentik/authentik / PaginatorRequest

Interface PaginatorRequest

internal/outpost/ak/api_utils.go:14–18  ·  view source on GitHub ↗

Generic interface that mimics a generated request by the API client Requires mainly `Treq` which will be the actual request type, and `Tres` which is the response type

Source from the content-addressed store, hash-verified

12// Requires mainly `Treq` which will be the actual request type, and
13// `Tres` which is the response type
14type PaginatorRequest[Treq any, Tres any] interface {
15 Page(page int32) Treq
16 PageSize(size int32) Treq
17 Execute() (Tres, *http.Response, error)
18}
19
20// Generic interface that mimics a generated response by the API client
21type PaginatorResponse[Tobj any] interface {

Callers 10

PaginatorFunction · 0.65
PaginatorFunction · 0.65
WarmUpMethod · 0.65
getInitialChallengeMethod · 0.65
solveFlowChallengeMethod · 0.65
GetEAPSettingsMethod · 0.65
NewAPIControllerFunction · 0.65
OnRefreshMethod · 0.65
getFingerprintMethod · 0.65

Implementers 8

ApiOutpostsInstancesListRequestpackages/client-go/api_outposts.go
ApiOutpostsLdapListRequestpackages/client-go/api_outposts.go
ApiOutpostsProxyListRequestpackages/client-go/api_outposts.go
ApiOutpostsRadiusListRequestpackages/client-go/api_outposts.go
ApiCoreBrandsListRequestpackages/client-go/api_core.go
ApiCoreGroupsListRequestpackages/client-go/api_core.go
ApiCoreUsersListRequestpackages/client-go/api_core.go
fakeAPIRequestinternal/outpost/ak/api_utils_test.go

Calls

no outgoing calls

Tested by

no test coverage detected