Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for bar_ (0.13 sec)

  1. pkg/kubelet/pod/mirror_client_test.go

    		Name      string
    		Namespace string
    	}
    	successfulCases := map[string]nameTuple{
    		"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 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:44:09 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. pkg/kubelet/pod_workers_test.go

    				"uid-0": {
    					fullname: "foo_",
    				},
    				"uid-1": {
    					fullname: "bar_",
    				},
    			},
    			startedStaticPodsByFullname: map[string]types.UID{
    				"bar_": types.UID("uid-1"),
    			},
    			expectedStartedStaticPodsByFullname: map[string]types.UID{
    				"foo_": types.UID("uid-0"),
    				"bar_": types.UID("uid-1"),
    			},
    			allowed:     true,
    			allowedEver: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  3. tests/test_generate_unique_id_function.py

    
    def custom_generate_unique_id(route: APIRoute):
        return f"foo_{route.name}"
    
    
    def custom_generate_unique_id2(route: APIRoute):
        return f"bar_{route.name}"
    
    
    def custom_generate_unique_id3(route: APIRoute):
        return f"baz_{route.name}"
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class Message(BaseModel):
        title: str
        description: str
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    				makeGCContainer("foo3", "bar3", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo3", "bar3", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo4", "bar4", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo4", "bar4", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    		"bar": sets.New[string]("dev-bar1", "dev-bar2", "dev-bar3", "dev-bar4"),
    		"baz": sets.New[string]("dev-baz1", "dev-baz2", "dev-baz3", "dev-bar4"),
    	}
    	resp = devs.Filter(cond)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. pkg/util/taints/taints_test.go

    			taintToFind:    &v1.Taint{Key: "foo_1", Value: "bar_1", Effect: v1.TaintEffectNoExecute},
    			expectedResult: true,
    		},
    		{
    			name:           "different key",
    			taintToFind:    &v1.Taint{Key: "no_such_key", Value: "bar_1", Effect: v1.TaintEffectNoExecute},
    			expectedResult: false,
    		},
    		{
    			name:           "different effect",
    			taintToFind:    &v1.Taint{Key: "foo_1", Value: "bar_1", Effect: v1.TaintEffectNoSchedule},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 09:23:35 UTC 2022
    - 22.6K bytes
    - Viewed (0)
  7. pkg/util/labels/labels_test.go

    package labels
    
    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)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/labels_test.go

    limitations under the License.
    */
    
    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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 11:09:05 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/env_test.go

    				{
    					EnvVar: v1.EnvVar{Name: "Foo1", Value: "Bar1"},
    				},
    				{
    					EnvVar: v1.EnvVar{Name: "Foo2", Value: "Bar2"},
    				},
    			},
    			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"},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 09:09:19 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactoryTest.groovy

            then:
            attributes.getAttribute(FOO) == "foo"
            attributes.findEntry(FOO).get() == "foo"
            attributes.findEntry("foo").get() == "foo"
    
            attributes.getAttribute(BAR) == "bar"
            attributes.findEntry(BAR).get() == "bar"
            attributes.findEntry("bar").get() == "bar"
    
            attributes.getAttribute(BAZ) == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 07 17:59:06 UTC 2022
    - 8.9K bytes
    - Viewed (0)
Back to top