Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for We (0.11 sec)

  1. cni/pkg/nodeagent/net.go

    	}
    	return nil
    }
    
    func realDependencies() *dep.RealDependencies {
    	return &dep.RealDependencies{
    		CNIMode:          false, // we are in cni, but as we do the netns ourselves, we should keep this as false.
    		NetworkNamespace: "",
    	}
    }
    
    // Remove pod from mesh: pod is not deleted, we just want to remove it from the mesh.
    func (s *NetServer) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  2. istioctl/pkg/workload/workload_test.go

    				if !strings.Contains(output, noClusterID) {
    					t.Fatal(err)
    				}
    			}
    
    			checkFiles := map[string]bool{
    				// inputs that we allow to exist, if other files seep in unexpectedly we fail the test
    				".gitignore": false, "meshconfig.yaml": false, "workloadgroup.yaml": false,
    			}
    			for k, v := range generated {
    				checkFiles[k] = v
    			}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest_shared_test.go

    	cmdApply cmdType = "istioctl install"
    	// in-cluster controller
    	cmdController cmdType = "operator controller"
    )
    
    // Golden output files add a lot of noise to pull requests. Use a unique suffix so
    // we can hide them by default. This should match one of the `linuguist-generated=true`
    // lines in istio.io/istio/.gitattributes.
    const (
    	goldenFileSuffixHideChangesInReview = ".golden.yaml"
    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)
  4. cni/pkg/iptables/iptables.go

    		cfg:    cfg,
    	}
    
    	// By detecting iptables versions *here* once-for-all we are
    	// committing to using the same binary/variant (legacy or nft)
    	// within all pods as we do on the host.
    	//
    	// This should be fine, as the host binaries are all we have to work with here anyway,
    	// as we are running within a privileged container - and we don't want to take the time to
    	// redetect for each pod anyway.
    	//
    	// Extreme corner case:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/ztunnelserver.go

    	PodDeleted(ctx context.Context, uid string) error
    	PodAdded(ctx context.Context, pod *v1.Pod, netns Netns) error
    	Close() error
    }
    
    /*
    To clean up stale ztunnels
    
    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    	so that we can remove stale entries when the ztunnel pod is deleted
    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    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)
  6. cni/pkg/nodeagent/informers_test.go

    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{Name: "test"},
    		// TODO: once we if the add pod bug, re-enable this and remove the patch below
    		//		Labels: map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient},
    
    	}
    
    	client := kube.NewFakeClient(ns, pod)
    
    	// We are expecting at most 2 calls to the mock, wait for them
    	wg, waitForMockCalls := NewWaitForNCalls(t, 2)
    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)
  7. istioctl/pkg/multixds/gather.go

    						" which can be set by `--xds-via-agents-limit` flag.\n", options.XdsViaAgentsLimit)
    					break GetProxyLoop
    				}
    				namespacedName := pod.Name + "." + pod.Namespace
    				if visited[namespacedName] {
    					// If we already have information about the pod, skip it.
    					continue
    				}
    				resp, err := queryToOnePod(&pod)
    				if err != nil {
    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. cni/pkg/nodeagent/net_test.go

    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    	runtime.GC()
    	assertNSClosed(t, closed)
    }
    
    func TestServerDeletePod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	setupLogging()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/listener.go

    	switch v := match.GetOnNoMatch().GetOnMatch().(type) {
    	case *matcher.Matcher_OnMatch_Action:
    		if v.Action.GetName() == name {
    			// TODO this only makes sense in context of a chain... do we need a way to give it context
    			return []string{"ANY"}, true
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(name, v.Matcher)
    		if !f {
    			return []string{"NONE"}, true
    		}
    		return ms, true
    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)
  10. cni/pkg/install/cniconfig.go

    		} else {
    			conf, err := libcni.ConfFromFile(confFile)
    			if err != nil {
    				installLog.Warnf("Error loading CNI config file %s: %v", confFile, err)
    				continue
    			}
    			// Ensure the config has a "type" so we know what plugin to run.
    			// Also catches the case where somebody put a conflist into a conf file.
    			if conf.Network.Type == "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top