in pkg/client/clientset/versioned/typed/networking/v1/healthcheckpolicy.go [81:95]
func (c *healthCheckPolicies) List(ctx context.Context, opts metav1.ListOptions) (result *v1.HealthCheckPolicyList, err error) {
var timeout time.Duration
if opts.TimeoutSeconds != nil {
timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
}
result = &v1.HealthCheckPolicyList{}
err = c.client.Get().
Namespace(c.ns).
Resource("healthcheckpolicies").
VersionedParams(&opts, scheme.ParameterCodec).
Timeout(timeout).
Do(ctx).
Into(result)
return
}