Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for init (0.18 sec)

  1. operator/cmd/mesh/manifest_shared_test.go

    		schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Endpoints"})
    	// CRDs are not in the prune list, but must be considered for tests.
    	allClusterGVKs = helmreconciler.ClusterResources
    )
    
    func init() {
    	if kubeBuilderInstalled() {
    		// TestMode is required to not wait in the go client for resources that will never be created in the test server.
    		helmreconciler.TestMode = true
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  2. cni/pkg/plugin/plugin_test.go

    		eventURL,
    		ambientEnabled,
    		"mock",
    	)
    }
    
    func buildFakePodAndNSForClient() (*corev1.Pod, *corev1.Namespace) {
    	proxy := corev1.Container{Name: "mockContainer"}
    	app := corev1.Container{Name: "foo-init"}
    	fakePod := &corev1.Pod{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: "core/v1",
    			Kind:       "Pod",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        testPodName,
    			Namespace:   testNSName,
    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)
  3. istioctl/pkg/writer/envoy/configdump/listener.go

    func (c *ConfigWriter) setupListenerConfigWriter() (*tabwriter.Writer, []*listener.Listener, error) {
    	listeners, err := c.retrieveSortedListenerSlice()
    	if err != nil {
    		return nil, nil, err
    	}
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 1, ' ', 0)
    	return w, listeners, nil
    }
    
    func (c *ConfigWriter) retrieveSortedListenerSlice() ([]*listener.Listener, error) {
    	if c.configDump == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers_test.go

    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait for another two update events
    	// total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(5))
    
    	waitForMockCalls()
    
    	assertPodNotAnnotated(t, client, pod)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. cni/pkg/repair/repaircontroller.go

    		if _, ok := pod.ObjectMeta.Annotations[c.cfg.SidecarAnnotation]; !ok {
    			return false
    		}
    	}
    
    	// For each candidate pod, iterate across all init containers searching for
    	// crashlooping init containers that match our criteria
    	for _, container := range pod.Status.InitContainerStatuses {
    		// Skip the container if the InitContainerName is not a match and our
    		// InitContainerName filter is non-empty.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. cni/pkg/plugin/sidecar_redirect.go

    	}
    	return uint16(port), nil
    }
    
    func parsePorts(portsString string) ([]int, error) {
    	portsString = strings.TrimSpace(portsString)
    	ports := make([]int, 0)
    	if len(portsString) > 0 {
    		for _, portStr := range splitPorts(portsString) {
    			port, err := parsePort(portStr)
    			if err != nil {
    				return nil, err
    			}
    			ports = append(ports, int(port))
    		}
    	}
    	return ports, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. istioctl/pkg/multixds/gather.go

    	// XdsViaAgentsLimit is the maximum number of pods being visited by istioctl,
    	// when `XdsViaAgents` is true. This is only used in `proxy-status` command.
    	// 0 means that there is no limit.
    	XdsViaAgentsLimit int
    }
    
    var DefaultOptions = Options{
    	MessageWriter:     os.Stdout,
    	XdsViaAgents:      false,
    	XdsViaAgentsLimit: 0,
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    			&scopeLogLevel{
    				ScopeName:   scope.Name,
    				LogLevel:    scope.OutputLevel,
    				Description: scope.Description,
    			},
    		)
    	}
    	switch ga.outputFormat {
    	case "short":
    		w := new(tabwriter.Writer).Init(out, 0, 8, 3, ' ', 0)
    		_, _ = fmt.Fprintln(w, "ACTIVE SCOPE\tDESCRIPTION\tLOG LEVEL")
    		for _, sll := range resultScopeLogLevel {
    			_, _ = fmt.Fprintf(w, "%s\t%s\t%s\n", sll.ScopeName, sll.Description, sll.LogLevel)
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/ztunnelserver.go

    	}
    }
    
    func (z *ZtunnelConnection) sendMsgAndWaitForAck(msg *zdsapi.WorkloadRequest, fd *int) (*zdsapi.WorkloadResponse, error) {
    	data, err := proto.Marshal(msg)
    	if err != nil {
    		return nil, err
    	}
    	return z.sendDataAndWaitForAck(data, fd)
    }
    
    func (z *ZtunnelConnection) sendDataAndWaitForAck(data []byte, fd *int) (*zdsapi.WorkloadResponse, error) {
    	var rights []byte
    	if fd != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin.go

    	if k8sErr != nil {
    		log.Errorf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr)
    		return k8sErr
    	}
    
    	// Check if istio-init container is present; in that case exclude pod
    	if pi.Containers.Contains(ISTIOINIT) {
    		log.Infof("excluded due to being already injected with istio-init container")
    		return nil
    	}
    
    	if val, ok := pi.ProxyEnvironments["DISABLE_ENVOY"]; ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top