Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Int64N (0.16 sec)

  1. istioctl/pkg/multixds/gather.go

    		return response, nil
    	}
    
    	responses := []*discovery.DiscoveryResponse{}
    	if all {
    		token := ""
    		touchedPods := 0
    
    	GetProxyLoop:
    		for {
    			list, err := kubeClient.GetProxyPods(context.TODO(), int64(kubeClientGetPodLimit), token)
    			if err != nil {
    				return nil, err
    			}
    			// Iterate all the pod.
    			for _, pod := range list.Items {
    				touchedPods++
    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/ztunnelserver.go

    }
    
    func (c *connMgr) addConn(conn *ZtunnelConnection) {
    	log.Debug("ztunnel connected")
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	c.connectionSet[conn] = struct{}{}
    	c.latestConn = conn
    	ztunnelConnected.RecordInt(int64(len(c.connectionSet)))
    }
    
    func (c *connMgr) LatestConn() *ZtunnelConnection {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	return c.latestConn
    }
    
    func (c *connMgr) deleteConn(conn *ZtunnelConnection) {
    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)
  3. cni/pkg/plugin/kubernetes.go

    type PodInfo struct {
    	Containers        sets.String
    	Labels            map[string]string
    	Annotations       map[string]string
    	ProxyType         string
    	ProxyEnvironments map[string]string
    	ProxyUID          *int64
    	ProxyGID          *int64
    }
    
    // newK8sClient returns a Kubernetes client
    func newK8sClient(conf Config) (kubernetes.Interface, error) {
    	// Some config can be passed in a kubeconfig file
    	kubeconfig := conf.Kubernetes.Kubeconfig
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_dryrun_test.go

    	)
    }
    
    func TestIPTablesRuleGeneration(t *testing.T) {
    	cniConf := buildDryrunConf()
    
    	customUID := int64(1000670000)
    	customGID := int64(1000670001)
    	zero := int64(0)
    
    	tests := []struct {
    		name        string
    		annotations map[string]string
    		proxyEnv    []corev1.EnvVar
    		customUID   *int64
    		customGID   *int64
    		golden      string
    	}{
    		{
    			name:        "basic",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/pod_cache_test.go

    	}
    	if nil != p.Take(string(pod.UID)) {
    		// expect nil because we already took it
    		t.Fatalf("Expected nil Netns for the same uid twice")
    	}
    }
    
    var counter atomic.Int64
    
    func inc() uintptr {
    	return uintptr(counter.Add(1))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    	}
    
    	// TODO QueryParams, maybe Gateways
    	return strings.TrimSpace(retval)
    }
    
    func printPod(writer io.Writer, pod *corev1.Pod, revision string) {
    	ports := []string{}
    	UserID := int64(1337)
    	for _, container := range pod.Spec.Containers {
    		for _, port := range container.Ports {
    			var protocol string
    			// Suppress /<protocol> for TCP, print it for everything else
    			if port.Protocol != "TCP" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  7. istioctl/pkg/wait/wait_test.go

    				newUnstructured("networking.istio.io/v1alpha3", "virtualservice", "default", "foo", int64(1)),
    				metav1.CreateOptions{})
    			k.Dynamic().Resource(gvr.VirtualService).Namespace("default").Create(context.Background(),
    				newUnstructured("networking.istio.io/v1alpha3", "virtualservice", "default", "bar", int64(3)),
    				metav1.CreateOptions{})
    			verifyExecTestOutput(t, Cmd(cl), c)
    		})
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (1)
  8. istioctl/pkg/cli/mock_client.go

    	if !ok {
    		return nil, fmt.Errorf("unable to retrieve Pod: pods %q not found", podName)
    	}
    	return results, nil
    }
    
    func (c MockClient) CreatePerRPCCredentials(_ context.Context, _, _ string, _ []string, _ int64,
    ) (credentials.PerRPCCredentials, error) {
    	return nil, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. operator/cmd/mesh/test-util_test.go

    		out["nodeName"] = nodeName
    	}
    	return out
    }
    
    // portVal returns a map having service port type. A value of -1 for port or targetPort leaves those keys unset.
    func portVal(name string, port, targetPort int64) map[string]any {
    	out := make(map[string]any)
    	if name != "" {
    		out["name"] = name
    	}
    	if port != -1 {
    		out["port"] = port
    	}
    	if targetPort != -1 {
    		out["targetPort"] = targetPort
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate_test.go

    		for _, o := range objs.kind(name.HPAStr).objSlice {
    			ou := o.Unstructured()
    			g.Expect(ou).Should(HavePathValueEqual(PathValue{"spec.minReplicas", int64(1)}))
    			g.Expect(ou).Should(HavePathValueEqual(PathValue{"spec.maxReplicas", int64(5)}))
    		}
    
    		checkRoleBindingsReferenceRoles(g, objs)
    	}
    }
    
    func TestManifestGenerateWithDuplicateMutatingWebhookConfig(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top