Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for HTTPHeader (0.14 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/httpheader.go

    // HTTPHeaderApplyConfiguration represents an declarative configuration of the HTTPHeader type for use
    // with apply.
    type HTTPHeaderApplyConfiguration struct {
    	Name  *string `json:"name,omitempty"`
    	Value *string `json:"value,omitempty"`
    }
    
    // HTTPHeaderApplyConfiguration constructs an declarative configuration of the HTTPHeader type for use with
    // apply.
    func HTTPHeader() *HTTPHeaderApplyConfiguration {
    	return &HTTPHeaderApplyConfiguration{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. pkg/probe/http/request_test.go

    func TestHeaderConversion(t *testing.T) {
    	testCases := []struct {
    		headers  []v1.HTTPHeader
    		expected http.Header
    	}{
    		{
    			[]v1.HTTPHeader{
    				{
    					Name:  "Accept",
    					Value: "application/json",
    				},
    			},
    			http.Header{
    				"Accept": []string{"application/json"},
    			},
    		},
    		{
    			[]v1.HTTPHeader{
    				{Name: "accept", Value: "application/json"},
    			},
    			http.Header{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 05:05:36 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. pkg/kubelet/lifecycle/handlers_test.go

    		Lifecycle: &v1.Lifecycle{
    			PostStart: &v1.LifecycleHandler{
    				HTTPGet: &v1.HTTPGetAction{
    					Host: "foo",
    					Port: intstr.FromInt32(8080),
    					Path: "/bar",
    					HTTPHeaders: []v1.HTTPHeader{
    						{Name: "Foo", Value: "bar"},
    					},
    				},
    			},
    		},
    	}
    	pod := v1.Pod{}
    	pod.ObjectMeta.Name = "podFoo"
    	pod.ObjectMeta.Namespace = "nsFoo"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/NtlmAuthenticator.groovy

     */
    
    package org.gradle.test.fixtures.server.http
    
    import groovy.transform.CompileStatic
    import jcifs.http.NtlmSsp
    import jcifs.smb.NtlmPasswordAuthentication
    import org.eclipse.jetty.http.HttpHeader
    import org.eclipse.jetty.security.ServerAuthException
    import org.eclipse.jetty.security.UserAuthentication
    import org.eclipse.jetty.security.authentication.LoginAuthenticator
    import org.eclipse.jetty.server.Authentication
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/LoggingHandler.groovy

     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.server.http
    
    import groovy.transform.CompileStatic
    import org.eclipse.jetty.http.HttpHeader
    import org.eclipse.jetty.server.Request
    import org.eclipse.jetty.server.handler.AbstractHandler
    
    import javax.servlet.ServletException
    import javax.servlet.http.HttpServletRequest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. pkg/kube/apimirror/probe.go

    	URISchemeHTTP URIScheme = "HTTP"
    	// URISchemeHTTPS means that the scheme used will be https://
    	URISchemeHTTPS URIScheme = "HTTPS"
    )
    
    // HTTPHeader describes a custom header to be used in HTTP probes
    type HTTPHeader struct {
    	// The header field name
    	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
    	// The header field value
    	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. pkg/probe/http/request.go

    		}
    	}
    	u.Scheme = scheme
    	u.Host = net.JoinHostPort(host, strconv.Itoa(port))
    	return u
    }
    
    // v1HeaderToHTTPHeader takes a list of HTTPHeader <name, value> string pairs
    // and returns a populated string->[]string http.Header map.
    func v1HeaderToHTTPHeader(headerList []v1.HTTPHeader) http.Header {
    	headers := make(http.Header)
    	for _, header := range headerList {
    		headers.Add(header.Name, header.Value)
    	}
    	return headers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 07:39:55 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AuthScheme.groovy

     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.server.http
    
    import org.apache.http.HttpHeaders
    import org.eclipse.jetty.http.HttpHeader
    import org.eclipse.jetty.security.Authenticator
    import org.eclipse.jetty.security.ConstraintMapping
    import org.eclipse.jetty.security.ConstraintSecurityHandler
    import org.eclipse.jetty.security.ServerAuthException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. testing/soak/src/integTest/groovy/org/gradle/resolve/DependencyResolutionStressTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.resolve
    
    import org.eclipse.jetty.http.HttpHeader
    import org.eclipse.jetty.server.Request
    import org.eclipse.jetty.server.Server
    import org.eclipse.jetty.server.ServerConnector
    import org.eclipse.jetty.server.handler.AbstractHandler
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/status/server_test.go

    	testCases := []struct {
    		name          string
    		originHeaders http.Header
    		proxyHeaders  []apimirror.HTTPHeader
    		want          http.Header
    	}{
    		{
    			name: "Only Origin",
    			originHeaders: http.Header{
    				testHeader: []string{testHeaderValue},
    			},
    			proxyHeaders: []apimirror.HTTPHeader{},
    			want: http.Header{
    				testHeader:   []string{testHeaderValue},
    				"Connection": []string{"close"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top