- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for bar_3 (0.04 sec)
-
pkg/util/labels/labels_test.go
import ( "reflect" "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) func TestCloneAndAddLabel(t *testing.T) { labels := map[string]string{ "foo1": "bar1", "foo2": "bar2", "foo3": "bar3", } cases := []struct { labels map[string]string labelKey string labelValue string want map[string]string }{ { labels: labels, want: labels, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 17:34:12 UTC 2017 - 4.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/env_test.go
}, }, extraEnv: []kubeadmapi.EnvVar{ { EnvVar: v1.EnvVar{Name: "Foo3", Value: "Bar3"}, }, }, mergedEnv: []v1.EnvVar{ {Name: "Foo1", Value: "Bar1"}, {Name: "Foo2", Value: "Bar2"}, {Name: "Foo3", Value: "Bar3"}, }, }, { name: "extraEnv env take precedence over the proxyEnv", proxyEnv: []kubeadmapi.EnvVar{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 09:09:19 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/labels_test.go
*/ package v1 import ( "reflect" "testing" ) func TestCloneSelectorAndAddLabel(t *testing.T) { labels := map[string]string{ "foo1": "bar1", "foo2": "bar2", "foo3": "bar3", } matchExpressions := []LabelSelectorRequirement{ {Key: "foo", Operator: LabelSelectorOpIn, Values: []string{"foo"}}, } cases := []struct { labels map[string]string labelKey string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 07 11:09:05 UTC 2018 - 2.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/testdata/err2.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main /* #include <stdio.h> typedef struct foo foo_t; typedef struct bar bar_t; foo_t *foop; long double x = 0; static int transform(int x) { return x; } typedef void v; void F(v** p) {} void fvi(void *p, int x) {} void fppi(int** p) {} int i;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml
spec: containers: - args: - one - two - three - four - five - six - seven - eight - nine env: - name: VAR_3 valueFrom: secretKeyRef: key: some-other-key name: some-oher-name - name: VAR_2 valueFrom: secretKeyRef: key: other-key name: other-name
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/pod.yaml
spec: containers: - args: - one - two - three - four - five - six - seven - eight - nine env: - name: VAR_3 valueFrom: secretKeyRef: key: some-other-key name: some-oher-name - name: VAR_2 valueFrom: secretKeyRef: key: other-key name: other-name
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 25 19:51:58 UTC 2019 - 2.8K bytes - Viewed (0) -
pkg/filewatcher/fakefilewatcher_test.go
} if err := watcher.Remove(file); err == nil { t.Fatal("Removing a path that doesn't exist should fail") } } // verify Close() for _, file := range []string{"foo3", "bar3", "baz3"} { watcher.Add(file) } if err := watcher.Close(); err != nil { t.Fatalf("Close() failed: %v", err) } for _, file := range []string{"foo2", "bar2", "baz2"} {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 3.8K bytes - Viewed (0) -
pkg/kubelet/pod/mirror_client_test.go
"bar_foo": {Name: "bar", Namespace: "foo"}, "bar.org_foo.com": {Name: "bar.org", Namespace: "foo.com"}, "bar-bar_foo": {Name: "bar-bar", Namespace: "foo"}, } failedCases := []string{"barfoo", "bar_foo_foo", "", "bar_", "_foo"} for podFullName, expected := range successfulCases { name, namespace, err := kubecontainer.ParsePodFullName(podFullName) if err != nil { t.Errorf("unexpected error when parsing the full name: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 08 12:44:09 UTC 2023 - 4.2K bytes - Viewed (0)