Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for marshalWorkloadEntryPodPorts (0.28 sec)

  1. istioctl/pkg/workload/workload.go

    	md["TRUST_DOMAIN"] = meshConfig.TrustDomain
    
    	md["ISTIO_META_CLUSTER_ID"] = clusterID
    	md["ISTIO_META_MESH_ID"] = meshConfig.DefaultConfig.MeshId
    	md["ISTIO_META_NETWORK"] = we.Network
    	if portsStr := marshalWorkloadEntryPodPorts(we.Ports); portsStr != "" {
    		md["ISTIO_META_POD_PORTS"] = portsStr
    	}
    	md["ISTIO_META_WORKLOAD_NAME"] = wg.Name
    	lbls[label.ServiceCanonicalName.Name] = md["CANONICAL_SERVICE"]
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload_test.go

    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.description), func(t *testing.T) {
    			str := marshalWorkloadEntryPodPorts(c.ports)
    			if c.want != str {
    				t.Errorf("want %s, got %s", c.want, str)
    			}
    		})
    	}
    }
    
    // TestWorkloadEntryConfigureNilProxyMetadata tests a particular use case when the
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top