MCPcopy
hub / github.com/kubernetes/client-go / ExpiresOnSecondPage

Method ExpiresOnSecondPage

tools/pager/pager_test.go:103–109  ·  view source on GitHub ↗
(ctx context.Context, options metav1.ListOptions)

Source from the content-addressed store, hash-verified

101}
102
103func (p *testPager) ExpiresOnSecondPage(ctx context.Context, options metav1.ListOptions) (runtime.Object, error) {
104 if p.continuing {
105 p.done = true
106 return nil, errors.NewResourceExpired("this list has expired")
107 }
108 return p.PagedList(ctx, options)
109}
110
111func (p *testPager) ExpiresOnSecondPageThenFullList(ctx context.Context, options metav1.ListOptions) (runtime.Object, error) {
112 if p.continuing {

Callers

nothing calls this directly

Calls 1

PagedListMethod · 0.95

Tested by

no test coverage detected