- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,843 for lake (0.05 sec)
-
pkg/proxy/config/api_test.go
Spec: v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 30}}}} // Setup fake api client. client := fake.NewSimpleClientset() fakeWatch := watch.NewFake() client.PrependWatchReactor("services", ktesting.DefaultWatchReactor(fakeWatch, nil)) stopCh := make(chan struct{}) defer close(stopCh) handler := NewServiceHandlerMock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 8.2K bytes - Viewed (0) -
docs_src/dependencies/tutorial006.py
app = FastAPI() async def verify_token(x_token: str = Header()): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 583 bytes - Viewed (0) -
test/fixedbugs/issue19028.dir/main.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "reflect" fake "./a" // 2nd package with name "reflect" ) type T struct { _ fake.Type } func (T) f() {} func (T) G() (_ int) { return } func (T) H() (_, _ int) { return } func main() { var x T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 15 20:45:24 UTC 2020 - 569 bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/config_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/kubernetes/fake" core "k8s.io/client-go/testing" configutil "k8s.io/kubernetes/cmd/kubeadm/app/util/config" ) func TestCreateConfigMap(t *testing.T) { nodeName := "fake-node" client := fake.NewSimpleClientset() client.PrependReactor("get", "nodes", func(action core.Action) (bool, runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 02 12:34:30 UTC 2024 - 3K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/startup_live.yaml
containers: - name: hello image: "fake.docker.io/google-samples/hello-go-gke:1.0" ports: - name: http containerPort: 80 livenessProbe: httpGet: port: http startupProbe: httpGet: port: 3333 - name: world image: "fake.docker.io/google-samples/hello-go-gke:1.0" ports:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 18 21:43:45 UTC 2020 - 952 bytes - Viewed (0) -
docs_src/dependencies/tutorial012.py
from fastapi import Depends, FastAPI, Header, HTTPException async def verify_token(x_token: str = Header()): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 696 bytes - Viewed (0) -
docs_src/dependencies/tutorial006_an.py
app = FastAPI() async def verify_token(x_token: Annotated[str, Header()]): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: Annotated[str, Header()]): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 643 bytes - Viewed (0) -
docs_src/dependencies/tutorial006_an_py39.py
app = FastAPI() async def verify_token(x_token: Annotated[str, Header()]): if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: Annotated[str, Header()]): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 633 bytes - Viewed (0) -
src/go/token/example_test.go
fmt.Printf("%s: %s\n", fmtPosition, kind) } // Output: // // main.go:3:1: import // main.go:5:1: import // main.go:1:5[main.go:8:1]: type // main.go:3:1[main.go:10:1]: const // fake.go:42:11[main.go:13:1]: func // fake.go:7:9[main.go:17:14]: func
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:09:31 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/hello-probes-proxyHoldApplication-ProxyConfig.yaml
spec: containers: - name: hello image: "fake.docker.io/google-samples/hello-go-gke:1.0" ports: - name: http containerPort: 80 livenessProbe: httpGet: port: http readinessProbe: httpGet: port: 3333 - name: world image: "fake.docker.io/google-samples/hello-go-gke:1.0" ports:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Nov 13 08:52:02 UTC 2020 - 995 bytes - Viewed (0)