- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 220 for httpHost (0.23 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/root_test.go
See the License for the specific language governing permissions and limitations under the License. */ package discovery import ( "encoding/json" "fmt" "io/ioutil" "net/http" "net/http/httptest" "testing" "github.com/stretchr/testify/assert" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 08 22:33:50 UTC 2018 - 6K bytes - Viewed (0) -
.github/workflows/mint/nginx.conf
client_max_body_size 0; # To disable buffering proxy_buffering off; proxy_request_buffering off; location / { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_connect_timeout 300;
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.1K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
} for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { rec := httptest.NewRecorder() envoy := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if _, err := w.Write([]byte(tt.envoy)); err != nil { t.Fatalf("write failed: %v", err) } })) defer envoy.Close() app := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0) -
cmd/kubemark/app/hollow_node_test.go
See the License for the specific language governing permissions and limitations under the License. */ package app import ( "fmt" "net/http" "net/http/httptest" "os" "path/filepath" "testing" "time" "k8s.io/kubernetes/test/utils/ktesting" ) const fakeKubeconfig = ` apiVersion: v1 kind: Config clusters: - cluster:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 10:06:15 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/probe/tcp/tcp_test.go
limitations under the License. */ package tcp import ( "net" "net/http" "net/http/httptest" "strconv" "testing" "time" "k8s.io/kubernetes/pkg/probe" ) func TestTcpHealthChecker(t *testing.T) { // Setup a test server that responds to probing correctly server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) }))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 18:23:33 UTC 2017 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors_test.go
See the License for the specific language governing permissions and limitations under the License. */ package responsewriters import ( "errors" "net/http" "net/http/httptest" "net/url" "testing" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/serializer" "k8s.io/apiserver/pkg/authentication/user" "k8s.io/apiserver/pkg/authorization/authorizer"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 29 07:45:20 UTC 2022 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go
t.Errorf("unexpected value of err argument: %s", err) } } }, ) if tc.header { auth.ServeHTTP(httptest.NewRecorder(), &http.Request{Header: map[string][]string{"Authorization": {"Something"}}}) } else { auth.ServeHTTP(httptest.NewRecorder(), &http.Request{}) } assert.Equal(t, 1, called) }) } } func TestAuthenticateRequest(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.5K bytes - Viewed (0) -
docs/orchestration/docker-compose/nginx.conf
client_max_body_size 0; # To disable buffering proxy_buffering off; proxy_request_buffering off; location / { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_connect_timeout 300;
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Mar 05 06:32:39 UTC 2022 - 3K bytes - Viewed (0) -
cni/pkg/nodeagent/healthServer_test.go
package nodeagent import ( "net/http" "net/http/httptest" "testing" "istio.io/istio/cni/pkg/constants" "istio.io/istio/pkg/test/util/assert" ) func TestServer(t *testing.T) { router := http.NewServeMux() installReady, watchReady := initRouter(router) assert.Equal(t, installReady.Load(), false) assert.Equal(t, watchReady.Load(), false) server := httptest.NewServer(router) defer server.Close()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go
See the License for the specific language governing permissions and limitations under the License. */ package filters import ( "context" "errors" "net/http" "net/http/httptest" "reflect" "testing" "github.com/stretchr/testify/assert" batch "k8s.io/api/batch/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/serializer"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 5K bytes - Viewed (0)