Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for done (0.12 sec)

  1. istioctl/pkg/xds/client.go

    func DialOptions(opts clioptions.CentralControlPlaneOptions,
    	ns, serviceAccount string, kubeClient kube.CLIClient,
    ) ([]grpc.DialOption, error) {
    	ctx := context.TODO()
    	// If we are using the insecure 15010 don't bother getting a token
    	if opts.Plaintext || opts.CertDir != "" {
    		return make([]grpc.DialOption, 0), nil
    	}
    	// Use bearer token
    	aud := tokenAudiences
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. internal/rest/client.go

    	case offline:
    		// client offline, return last error captured.
    		return nil, &NetworkError{Err: c.LastError()}
    	}
    
    	// client is still connected, attempt the request.
    
    	// Shallow copy. We don't modify the *UserInfo, if set.
    	// All other fields are copied.
    	u := *c.url
    	u.Path = path.Join(u.Path, method)
    	u.RawQuery = values.Encode()
    
    	req, err := c.newRequest(ctx, u, body)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
Back to top