Method
ExpiresOnSecondPageThenFullList
(ctx context.Context, options metav1.ListOptions)
Source from the content-addressed store, hash-verified
| 109 | } |
| 110 | |
| 111 | func (p *testPager) ExpiresOnSecondPageThenFullList(ctx context.Context, options metav1.ListOptions) (runtime.Object, error) { |
| 112 | if p.continuing { |
| 113 | p.reset() |
| 114 | p.expectPage = 0 |
| 115 | return nil, errors.NewResourceExpired("this list has expired") |
| 116 | } |
| 117 | return p.PagedList(ctx, options) |
| 118 | } |
| 119 | func TestListPager_List(t *testing.T) { |
| 120 | type fields struct { |
| 121 | PageSize int64 |
Callers
nothing calls this directly
Tested by
no test coverage detected