- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,622 for lake (0.14 sec)
-
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) -
pkg/kube/inject/testdata/inject/native-sidecar.yaml
- name: other-sidecar restartPolicy: Always readinessProbe: httpGet: port: 3333 image: "fake.docker.io/google-samples/hello-go-gke:1.0" ports: - name: http containerPort: 80 containers: - name: hello image: "fake.docker.io/google-samples/hello-go-gke:1.0" ports: - name: http
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 03:10:51 UTC 2023 - 468 bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/dryrunclient.go
Verb: "patch", Resource: "*", Reaction: successfulModificationReactorFunc, }, } // The chain of reactors will look like this: // opts.PrependReactors | defaultReactorChain | opts.AppendReactors | client.Fake.ReactionChain (default reactors for the fake clientset) fullReactorChain := append(opts.PrependReactors, defaultReactorChain...) fullReactorChain = append(fullReactorChain, opts.AppendReactors...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 21 09:49:59 UTC 2022 - 10.3K 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) -
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) -
pilot/pkg/model/extensions_test.go
expected *core.AsyncDataSource }{ { url: "file://fake.wasm", wasmPlugin: &extensions.WasmPlugin{ Url: "file://fake.wasm", }, expected: &core.AsyncDataSource{ Specifier: &core.AsyncDataSource_Local{ Local: &core.DataSource{ Specifier: &core.DataSource_Filename{ Filename: "fake.wasm", }, }, }, }, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 14.4K bytes - Viewed (0) -
pkg/volume/iscsi/iscsi_test.go
tmpDir: utiltesting.MkTmpdirOrDie("iscsi_test"), } } func (fake *fakeDiskManager) Cleanup() { os.RemoveAll(fake.tmpDir) } func (fake *fakeDiskManager) MakeGlobalPDName(disk iscsiDisk) string { return fake.tmpDir } func (fake *fakeDiskManager) MakeGlobalVDPDName(disk iscsiDisk) string { return fake.tmpDir } func (fake *fakeDiskManager) AttachDisk(b iscsiDiskMounter) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 16.4K bytes - Viewed (0)