List a set of apiserver resources
(options metav1.ListOptions)
| 102 | |
| 103 | // List a set of apiserver resources |
| 104 | func (lw *ListWatch) List(options metav1.ListOptions) (runtime.Object, error) { |
| 105 | if !lw.DisableChunking { |
| 106 | return pager.New(pager.SimplePageFunc(lw.ListFunc)).List(context.TODO(), options) |
| 107 | } |
| 108 | return lw.ListFunc(options) |
| 109 | } |
| 110 | |
| 111 | // Watch a set of apiserver resources |
| 112 | func (lw *ListWatch) Watch(options metav1.ListOptions) (watch.Interface, error) { |
nothing calls this directly
no test coverage detected