Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for clientV3 (0.13 sec)

  1. internal/config/etcd/etcd.go

    	Enabled     bool   `json:"enabled"`
    	PathPrefix  string `json:"pathPrefix"`
    	CoreDNSPath string `json:"coreDNSPath"`
    	clientv3.Config
    }
    
    // New - initialize new etcd client.
    func New(cfg Config) (*clientv3.Client, error) {
    	if !cfg.Enabled {
    		return nil, nil
    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    	cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker_test.go

    				{endpointsVersion: []mockEndpointVersion{
    					{Version: "3.5.14", Endpoint: "localhost:2391"}},
    					expectedResult: true}},
    		},
    		{
    			testName: "Disabled - enabled success on first client, error on second client, disabled success on third client",
    			rounds: []testCase{
    				{endpointsVersion: []mockEndpointVersion{
    					{Version: "3.6.0", Endpoint: "localhost:2390"}},
    					expectedResult: true,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/feature/feature_support_checker.go

    	// Returns true if all endpoints in etcd clients are supporting the feature.
    	// If client A supports and client B doesn't support the feature, the `Supports` will
    	// first return true at client A initializtion and then return false on client B
    	// initialzation, it can flip the support at runtime.
    	Supports(feature storage.Feature) bool
    	// CheckClient works with etcd client to recalcualte feature support and cache it internally.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/caclient/providers/citadel/client.go

    )
    
    const (
    	bearerTokenPrefix = "Bearer "
    )
    
    var citadelClientLog = log.RegisterScope("citadelclient", "citadel client debugging")
    
    type CitadelClient struct {
    	// It means enable tls connection to Citadel if this is not nil.
    	tlsOpts  *TLSOptions
    	client   pb.IstioCertificateServiceClient
    	conn     *grpc.ClientConn
    	provider credentials.PerRPCCredentials
    	opts     *security.Options
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/plugin/client.go

    Patrick Ohly <******@****.***> 1712753446 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pkg/kubelet/apis/podresources/client.go

    	"google.golang.org/grpc/credentials/insecure"
    
    	"k8s.io/cri-client/pkg/util"
    	"k8s.io/kubelet/pkg/apis/podresources/v1"
    	"k8s.io/kubelet/pkg/apis/podresources/v1alpha1"
    )
    
    // Note: Consumers of the pod resources API should not be importing this package.
    // They should copy paste the function in their project.
    
    // GetV1alpha1Client returns a client for the PodResourcesLister grpc service
    // Note: This is deprecated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. internal/config/identity/openid/providercfg.go

    	}
    
    	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
    	if accessToken != "" {
    		req.Header.Set("Authorization", "Bearer "+accessToken)
    	}
    
    	client := &http.Client{
    		Transport: transport,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		return nil, err
    	}
    
    	defer xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		// uncomment this for debugging when needed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/crypto/tls/testdata/Client-TLSv12-SCT

    00000050  48 69 01 23 96                                    |Hi.#.|
    >>> Flow 4 (server to client)
    00000000  14 03 03 00 01 01 16 03  03 00 20 83 ae fc 0d dd  |.......... .....|
    00000010  a1 3a 55 b0 2e 5e 21 9c  57 f3 1b 94 80 6c 0e bb  |.:U..^!.W....l..|
    00000020  78 ae f4 6c 20 d5 7e 23  11 1e 7d                 |x..l .~#..}|
    >>> Flow 5 (client to server)
    00000000  17 03 03 00 16 d3 16 a3  f0 93 49 44 d4 82 60 35  |..........ID..`5|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/crypto/tls/testdata/Client-TLSv13-Ed25519

    >>> Flow 1 (client to server)
    00000000  16 03 01 00 fe 01 00 00  fa 03 03 00 00 00 00 00  |................|
    00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000020  00 00 00 00 00 00 00 00  00 00 00 20 00 00 00 00  |........... ....|
    00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 32 cc a9  |.............2..|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. internal/config/identity/openid/jwt.go

    	pCfg := r.arnProviderCfgsMap[arn]
    	if pCfg.JWKS.URL == nil || pCfg.JWKS.URL.String() == "" {
    		return nil
    	}
    
    	// Add client secret for the client ID for HMAC based signature.
    	r.pubKeys.add(pCfg.ClientID, []byte(pCfg.ClientSecret))
    
    	client := &http.Client{
    		Transport: r.transport,
    	}
    
    	resp, err := client.Get(pCfg.JWKS.URL.String())
    	if err != nil {
    		return err
    	}
    	defer r.closeRespFn(resp.Body)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top