Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewRoundTripperWithConfig (1.17 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go

    	return NewRoundTripperWithConfig(RoundTripperConfig{
    		TLS:              tlsConfig,
    		Proxier:          proxier,
    		UpgradeTransport: nil,
    	})
    }
    
    // NewRoundTripperWithConfig creates a new SpdyRoundTripper with the specified
    // configuration. Returns an error if the SpdyRoundTripper is misconfigured.
    func NewRoundTripperWithConfig(cfg RoundTripperConfig) (*SpdyRoundTripper, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    			expectedTLSConfig: &tls.Config{InsecureSkipVerify: true},
    		},
    	}
    	for name, testCase := range testCases {
    		t.Run(name, func(t *testing.T) {
    			spdyRoundTripper, err := NewRoundTripperWithConfig(
    				RoundTripperConfig{
    					TLS:              testCase.tlsConfig,
    					Proxier:          testCase.proxier,
    					UpgradeTransport: testCase.upgradeTransport,
    				},
    			)
    			if testCase.errMsg != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
Back to top