Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for generateDot (0.21 sec)

  1. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	// Namespace must be lowercase (nsA doesn't work)
    	pods := []*v1.Pod{
    		generatePod("128.0.0.1", "cpod1", "nsa", "", "", map[string]string{"app": "test-app"}, map[string]string{}),
    		generatePod("128.0.0.2", "cpod2", "nsa", "", "", map[string]string{"app": "prod-app-1"}, map[string]string{}),
    		generatePod("128.0.0.3", "cpod3", "nsb", "", "", map[string]string{"app": "prod-app-2"}, map[string]string{}),
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. pilot/pkg/controllers/untaint/nodeuntainter_test.go

    	t.Helper()
    	ip := "1.2.3.4"
    	name := "istio-cni-" + node
    	if ns == "" {
    		ns = systemNS
    	}
    	pod := generatePod(ip, name, ns, "sa", node, labels, nil)
    
    	p := s.pc.Get(name, pod.Namespace)
    	if p == nil {
    		// Apiserver doesn't allow Create to modify the pod status; in real world it's a 2 part process
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomCustomizationIntegTest.groovy

            def mavenModule = mavenRepo.module("org.gradle.test", "generatePom", "1.0")
            mavenModule.assertNotPublished()
    
            and:
            file('build/generated-pom.xml').assertIsFile()
            def pom = new org.gradle.test.fixtures.maven.MavenPom(file('build/generated-pom.xml'))
            pom.groupId == "org.gradle.test"
            pom.artifactId == "generatePom"
            pom.version == "1.0"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    }
    
    func TestController_GetPodLocality(t *testing.T) {
    	pod1 := generatePod("128.0.1.1", "pod1", "nsA", "", "node1", map[string]string{"app": "prod-app"}, map[string]string{})
    	pod2 := generatePod("128.0.1.2", "pod2", "nsB", "", "node2", map[string]string{"app": "prod-app"}, map[string]string{})
    	podOverride := generatePod("128.0.1.2", "pod2", "nsB", "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. hack/_update-generated-protobuf-dockerized.sh

    # core Google protobuf types
    PATH="${KUBE_ROOT}/_output/bin:${PATH}" \
      go-to-protobuf \
      -v "${KUBE_VERBOSE}" \
      --go-header-file "${KUBE_ROOT}/hack/boilerplate/boilerplate.generatego.txt" \
      --output-dir="${KUBE_ROOT}/staging/src" \
      --proto-import="${KUBE_ROOT}/staging/src" \
      --proto-import="${KUBE_ROOT}/vendor" `# required for gogo.proto` \
      --proto-import="${KUBE_ROOT}/third_party/protobuf" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. hack/boilerplate/boilerplate.py

        extension = file_extension(filename)
        if generated:
            if extension == "go":
                extension = "generatego"
    
        if extension != "":
            ref = refs[extension]
        else:
            ref = refs[basename]
    
        # remove extra content from the top of files
        if extension in ("go", "generatego"):
            data, found = regexs["go_build_constraints"].subn("", data, 1)
        elif extension in ["sh", "py"]:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/network_test.go

    	}
    
    	pc := clienttest.NewWriter[*corev1.Pod](t, s.client)
    	sc := clienttest.NewWriter[*corev1.Service](t, s.client)
    	pod1 := generatePod("127.0.0.1", "pod1", testNS, "sa1", "node1", map[string]string{"app": "a"}, nil)
    	pc.CreateOrUpdateStatus(pod1)
    	fx.WaitOrFail(t, "xds")
    
    	pod2 := generatePod("127.0.0.2", "pod2", testNS, "sa2", "node1", map[string]string{"app": "a"}, nil)
    	pc.CreateOrUpdateStatus(pod2)
    	fx.WaitOrFail(t, "xds")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/endpointslice_test.go

    	node := generateNode("node1", map[string]string{
    		NodeZoneLabel:              "zone1",
    		NodeRegionLabel:            "region1",
    		label.TopologySubzone.Name: "subzone1",
    	})
    	addNodes(t, controller, node)
    
    	pod := generatePod("128.0.0.1", "pod1", ns, "svcaccount", "node1",
    		map[string]string{"app": appName}, map[string]string{})
    	pods := []*corev1.Pod{pod}
    	addPods(t, controller, fx, pods...)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. hack/lib/protoc.sh

    # $1: Full path to the directory where the api.proto file is
    function kube::protoc::format() {
      local package=${1}
    
      # Update boilerplate for the generated file.
      cat hack/boilerplate/boilerplate.generatego.txt "${package}/api.pb.go" > tmpfile && mv tmpfile "${package}/api.pb.go"
    
      # Run gofmt to clean up the generated code.
      kube::golang::setup_env
      gofmt -s -w "${package}/api.pb.go"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 20:53:13 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			expect: authorizer.DecisionAllow,
    		},
    	}
    
    	podToAdd, _ := generatePod("testwrite", "ns0", "node0", "default", opts)
    
    	b.ResetTimer()
    	for _, testWriteContention := range []bool{false, true} {
    
    		shouldWrite := int32(1)
    		writes := int64(0)
    		_1ms := int64(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
Back to top