- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,843 for lake (0.03 sec)
-
tests/test_tutorial/test_dependencies/test_tutorial006.py
"/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} ) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Key header invalid"} def test_get_valid_headers(): response = client.get( "/items/", headers={ "X-Token": "fake-super-secret-token", "X-Key": "fake-super-secret-key", }, )
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 5K bytes - Viewed (0) -
pkg/proxy/healthcheck/healthcheck_test.go
return &fakeListener{ openPorts: sets.Set[string]{}, } } func (fake *fakeListener) hasPort(addr string) bool { return fake.openPorts.Has(addr) } func (fake *fakeListener) Listen(addr string) (net.Listener, error) { fake.openPorts.Insert(addr) return &fakeNetListener{ parent: fake, addr: addr, }, nil } type fakeNetListener struct { parent *fakeListener addr string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 21.4K bytes - Viewed (0) -
tools/docker-builder/docker.go
fi docker buildx use container-builder`).Run() } // ConstructBakeFile constructs a docker-bake.json to be passed to `docker buildx bake`. // This command is an extremely powerful command to build many images in parallel, but is pretty undocumented. // Most info can be found from the source at https://github.com/docker/buildx/blob/master/bake/bake.go. func ConstructBakeFile(a Args) (map[string]string, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 26 01:07:39 UTC 2023 - 11K bytes - Viewed (0) -
cmd/kube-controller-manager/app/core_test.go
"k8s.io/client-go/discovery" fakediscovery "k8s.io/client-go/discovery/fake" "k8s.io/client-go/informers" clientset "k8s.io/client-go/kubernetes" fakeclientset "k8s.io/client-go/kubernetes/fake" restclient "k8s.io/client-go/rest" ) // TestClientBuilder inherits ClientBuilder and can accept a given fake clientset. type TestClientBuilder struct { clientset clientset.Interface }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 11:28:01 UTC 2023 - 5.1K bytes - Viewed (0) -
pkg/test/framework/components/registryredirector/registryredirector.go
type Config struct { // Cluster to be used in a multicluster environment Cluster cluster.Cluster // Upstream registry. Default is "gcr.io". TargetRegistry string // Docker image location of the fake registry. Default is "gcr.io/istio-testing/fake-registry:x.x". // Please refer to registry_redirector_server.yaml for the exact default image. Image string } // New returns a new instance of registry redirector.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 12 04:46:04 UTC 2022 - 2K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_utils_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ // If you make changes to this file, you should also make the corresponding change in ReplicationController. package replicaset import ( "fmt" "reflect" "testing" apps "k8s.io/api/apps/v1" "k8s.io/api/core/v1" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 19 20:18:23 UTC 2018 - 6.6K bytes - Viewed (0) -
docs_src/dependencies/tutorial012_an_py39.py
from typing_extensions import Annotated 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 - 756 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/doc.go
See the License for the specific language governing permissions and limitations under the License. */ // Code generated by client-gen. DO NOT EDIT. // Package fake has the automatically generated clients.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 08 09:52:48 UTC 2018 - 683 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/fake/doc.go
See the License for the specific language governing permissions and limitations under the License. */ // Code generated by client-gen. DO NOT EDIT. // Package fake has the automatically generated clients.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 08 09:52:48 UTC 2018 - 683 bytes - Viewed (0) -
pkg/controller/bootstrap/bootstrapsigner_test.go
coreinformers "k8s.io/client-go/informers/core/v1" "k8s.io/client-go/kubernetes/fake" core "k8s.io/client-go/testing" bootstrapapi "k8s.io/cluster-bootstrap/token/api" api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/controller" ) const testTokenID = "abc123" func newSigner() (*Signer, *fake.Clientset, coreinformers.SecretInformer, coreinformers.ConfigMapInformer, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 4.7K bytes - Viewed (0)