Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for insert (0.14 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

    /**
     * Tests {@link LegacyRepositorySystem}.
     *
     */
    @PlexusTest
    @Deprecated
    class LegacyRepositorySystemTest {
        @Inject
        private LegacyRepositorySystem repositorySystem;
    
        @Inject
        private ResolutionErrorHandler resolutionErrorHandler;
    
        @Inject
        private PlexusContainer container;
    
        protected List<ArtifactRepository> getRemoteRepositories() throws Exception {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/cni-watcher_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestProcessAddEventGoodPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    	addEvent, err := processAddEvent(payload)
    
    	assert.NoError(t, err)
    	assert.Equal(t, valid, addEvent)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    
    import java.nio.file.Path;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.stream.Stream;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_test.go

    	"k8s.io/apimachinery/pkg/runtime"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    const (
    	testPodName          = "testPod"
    	testNSName           = "testNS"
    	testSandboxDirectory = "/tmp"
    	invalidVersion       = "0.1.0"
    	preVersion           = "0.2.0"
    )
    
    var mockConfTmpl = `{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. istioctl/pkg/injector/injector-list_test.go

    		}),
    	}
    
    	client := kube.NewFakeClient(nss...)
    	expected := sets.New[string]("default", "no-ambient")
    	actual, err := getNamespaces(context.TODO(), client, "istio-system")
    	assert.NoError(t, err)
    	for _, ns := range actual {
    		assert.Equal(t, true, expected.Contains(ns.Name))
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. manifests/charts/ztunnel/templates/daemonset.yaml

          app: ztunnel
      template:
        metadata:
          labels:
            sidecar.istio.io/inject: "false"
            istio.io/dataplane-mode: none
            app: ztunnel
    {{ with .Values.podLabels -}}{{ toYaml . | indent 8 }}{{ end }}
          annotations:
            sidecar.istio.io/inject: "false"
    {{ with .Values.podAnnotations -}}{{ toYaml . | indent 8 }}{{ end }}
        spec:
          nodeSelector:
            kubernetes.io/os: linux
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/templates/deployment.yaml

            prometheus.io/scrape: "true"
            {{- end }}
            sidecar.istio.io/inject: "false"
            {{- if .Values.pilot.podAnnotations }}
    {{ toYaml .Values.pilot.podAnnotations | indent 8 }}
            {{- end }}
        spec:
    {{- if .Values.pilot.nodeSelector }}
          nodeSelector:
    {{ toYaml .Values.pilot.nodeSelector | indent 8 }}
    {{- end }}
    {{- with .Values.pilot.affinity }}
          affinity:
    {{- toYaml . | nindent 8 }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. cni/pkg/util/podutil_test.go

    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestGetPodIPIfPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "derp",
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    
    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 1)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/templates/daemonset.yaml

          maxUnavailable: {{ .Values.cni.rollingMaxUnavailable }}
      template:
        metadata:
          labels:
            k8s-app: istio-cni-node
            sidecar.istio.io/inject: "false"
            istio.io/dataplane-mode: none
          annotations:
            sidecar.istio.io/inject: "false"
            # Add Prometheus Scrape annotations
            prometheus.io/scrape: 'true'
            prometheus.io/port: "15014"
            prometheus.io/path: '/metrics'
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. docs/auditlog/auditlog-echo.go

    	if err != nil {
    		log.Printf("Error reading request body: %v", err)
    		w.WriteHeader(http.StatusBadRequest)
    		return
    	}
    
    	log.Printf(">>> %s %s\n", r.Method, r.URL.Path)
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "    ")
    	log.Printf("%s\n", out.String())
    
    	w.WriteHeader(http.StatusOK)
    }
    
    func main() {
    	flag.Parse()
    	http.HandleFunc("/", mainHandler)
    
    	log.Printf("Listening on :%d\n", port)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top