Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for loads (0.16 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    )
    
    // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := ZtunnelDump{}
    	// TODO(fisherxu): migrate this to jsonpb when issue fixed in golang
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    		inputFile   string
    		wantErr     bool
    	}{
    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    			wantErr:     true,
    		},
    		{
    			name:        "loads valid ztunnel config_dump",
    			inputFile:   "testdata/dump.json",
    			wantConfigs: 27,
    			wantErr:     false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cw := &ConfigWriter{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/clusters/clusters.go

    type EndpointCluster struct {
    	address            string
    	port               int
    	cluster            string
    	status             core.HealthStatus
    	failedOutlierCheck bool
    }
    
    // Prime loads the clusters output into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := clusters.Wrapper{}
    	err := json.Unmarshal(b, &cd)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/configdump.go

    }
    
    // includeConfigType is a flag to indicate whether to include the config type in the output
    var includeConfigType bool
    
    func SetPrintConfigTypeInSummary(p bool) {
    	includeConfigType = p
    }
    
    // Prime loads the config dump into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	w := &configdump.Wrapper{}
    	err := w.UnmarshalJSON(b)
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net_test.go

    	err := netServer.RemovePodFromMesh(ctx, pod)
    	assert.NoError(t, err)
    	assert.Equal(t, ztunnelServer.deletedPods.Load(), 1)
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/core/v1/generated.proto

    }
    
    // LoadBalancerIngress represents the status of a load-balancer ingress point:
    // traffic intended for the service should be sent to an ingress point.
    message LoadBalancerIngress {
      // IP is set for load-balancer ingress points that are IP based
      // (typically GCE or OpenStack load-balancers)
      // +optional
      optional string ip = 1;
    
      // Hostname is set for load-balancer ingress points that are DNS based
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  7. bin/diff_yaml.py

    def normalize(rl, args):
        for i in range(len(rl)):
            rl[i] = normalize_res(rl[i], args)
    
        return rl
    
    
    def compare(args):
        j0 = normalize(list(yaml.safe_load_all(open(args.orig))), args)
        j1 = normalize(list(yaml.safe_load_all(open(args.new))), args)
    
        q0 = {by_resource_name(res): res for res in j0 if res is not None}
        q1 = {by_resource_name(res): res for res in j1 if res is not None}
    
    Python
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 03 16:14:57 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/networking/v1/generated.proto

      repeated Ingress items = 2;
    }
    
    // IngressLoadBalancerIngress represents the status of a load-balancer ingress point.
    message IngressLoadBalancerIngress {
      // ip is set for load-balancer ingress points that are IP based.
      // +optional
      optional string ip = 1;
    
      // hostname is set for load-balancer ingress points that are DNS based.
      // +optional
      optional string hostname = 2;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    {} # Setup how istiod Service is configured. See https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services ipFamilyPolicy: "" ipFamilies: [] # To generate an internal load balancer: # --set serviceAnnotations.cloud.google.com/load-balancer-type=internal #serviceAnnotations: # cloud.google.com/load-balancer-type: "internal" podAnnotations: {} type: LoadBalancer #change to NodePort, ClusterIP or LoadBalancer if need be ########## secretVolumes: - name: ingressgateway-certs secretName:...
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  10. common/scripts/kind_provisioner.sh

          ((n++))
          log "Command failed. Attempt $n/$max:"
          sleep $delay;
        else
          log "The command has failed after $n attempts."  >&2
          return 2
        fi
      done
    }
    
    # load_cluster_topology function reads cluster configuration topology file and
    # sets up environment variables used by other functions. So this should be called
    # before anything else.
    #
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
Back to top