Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Ball (0.12 sec)

  1. istioctl/pkg/multixds/gather.go

    		err       error
    	)
    
    	if options.XdsViaAgents {
    		responses, err = queryDebugSynczViaAgents(all, dr, istioNamespace, kubeClient, centralOpts, options)
    	} else {
    		// Self-administered case.  Find all Istiods in revision using K8s, port-forward and call each in turn
    		responses, err = queryEachShard(all, dr, istioNamespace, kubeClient, centralOpts)
    	}
    	if err != nil {
    		if _, ok := err.(ControlPlaneNotFoundError); ok {
    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)
  2. cni/pkg/nodeagent/net.go

    }
    
    // addPodToHostNSIpset:
    // 1. get pod manifest
    // 2. Get all pod ips (might be several, v6/v4)
    // 3. update ipsets accordingly
    func addPodToHostNSIpset(pod *corev1.Pod, podIPs []netip.Addr, hostsideProbeSet *ipset.IPSet) error {
    	// Add the pod UID as an ipset entry comment, so we can (more) easily find and delete
    	// all relevant entries for a pod later.
    	podUID := string(pod.ObjectMeta.UID)
    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)
  3. operator/cmd/mesh/manifest_shared_test.go

    	s.AddKnownTypes(v1alpha1.SchemeGroupVersion, &v1alpha1.IstioOperator{})
    
    	testClient = fake.NewClientBuilder().WithScheme(s).WithInterceptorFuncs(interceptorFunc).Build()
    }
    
    // runManifestCommands runs all testedManifestCmds commands with the given input IOP file, flags and chartSource.
    // It returns an ObjectSet for each cmd type.
    // nolint: unparam
    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. istioctl/pkg/workload/workload_test.go

    				t.Errorf("want %s, got %s", c.want, str)
    			}
    		})
    	}
    }
    
    // TestWorkloadEntryConfigureNilProxyMetadata tests a particular use case when the
    // proxyMetadata is nil, no metadata would be generated at all.
    func TestWorkloadEntryConfigureNilProxyMetadata(t *testing.T) {
    	testdir := "testdata/vmconfig-nil-proxy-metadata"
    	noClusterID := "failed to automatically determine the --clusterID"
    
    	t.Cleanup(func() {
    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)
  5. istioctl/pkg/writer/envoy/configdump/listener.go

    		}
    		descrs = append(descrs, fmt.Sprintf("Addr: %s%s", strings.Join(pf, ","), port))
    	} else if port != "" {
    		descrs = append(descrs, fmt.Sprintf("Addr: *%s", port))
    	}
    	if len(descrs) == 0 {
    		descrs = []string{"ALL"}
    	}
    	return strings.Join(descrs, "; ")
    }
    
    func getFilterType(filters []*listener.Filter) string {
    	for _, filter := range filters {
    		if filter.Name == HTTPListener {
    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)
  6. cni/pkg/nodeagent/net_test.go

    	// make sure the uid was taken from cache and netns closed
    	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()
    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)
  7. cni/pkg/iptables/iptables.go

    		ext:    ext,
    		nlDeps: nlDeps,
    		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
    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)
  8. cni/test/install_cni.go

    				t.Logf("PASS: File %v was removed from %v", f, tempCNIBinDir)
    				return nil
    			}
    		}
    	}
    
    	return fmt.Errorf("no files, or unrecognized op")
    }
    
    // checkTempFilesCleaned verifies that all temporary files have been cleaned up
    func checkTempFilesCleaned(tempCNIConfDir string, t *testing.T) {
    	t.Helper()
    	files, err := os.ReadDir(tempCNIConfDir)
    	if err != nil {
    		t.Fatalf("Failed to list files, err: %v", err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/ztunnelserver.go

    	return len(c.connectionSet)
    }
    
    type ztunnelServer struct {
    	listener *net.UnixListener
    
    	// connections to pod delivered map
    	// add pod goes to newest connection
    	// delete pod goes to all connections
    	conns *connMgr
    	pods  PodNetnsCache
    }
    
    var _ ZtunnelServer = &ztunnelServer{}
    
    func newZtunnelServer(addr string, pods PodNetnsCache) (*ztunnelServer, error) {
    	if addr == "" {
    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. istioctl/pkg/dashboard/dashboard.go

    	client kube.CLIClient, writer io.Writer, browser bool,
    ) error {
    	// port preference:
    	// - If --listenPort is specified, use it
    	// - without --listenPort, prefer the remotePort but fall back to a random port
    	var portPrefs []int
    	if listenPort != 0 {
    		portPrefs = []int{listenPort}
    	} else {
    		portPrefs = []int{remotePort, 0}
    	}
    
    	var err error
    	for _, localPort := range portPrefs {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
Back to top