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

Method List

tools/cache/listwatch.go:104–109  ·  view source on GitHub ↗

List a set of apiserver resources

(options metav1.ListOptions)

Source from the content-addressed store, hash-verified

102
103// List a set of apiserver resources
104func (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
112func (lw *ListWatch) Watch(options metav1.ListOptions) (watch.Interface, error) {

Callers

nothing calls this directly

Calls 3

NewFunction · 0.92
SimplePageFuncFunction · 0.92
ListMethod · 0.65

Tested by

no test coverage detected