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