Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 136 for Map (0.12 sec)

  1. istioctl/pkg/describe/describe_test.go

    					},
    				},
    				&corev1.Service{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "ingress",
    						Namespace: "default",
    						Labels: map[string]string{
    							"istio": "ingressgateway",
    						},
    					},
    					Spec: corev1.ServiceSpec{
    						Selector: map[string]string{
    							"istio": "ingressgateway",
    						},
    						Ports: []corev1.ServicePort{
    							{
    								Name:       "http",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/testdata/configdump_diff.json

                                      }
                                    },
                                    "exact_match_map": {
                                      "map": {
                                        "80": {
                                          "action": {
                                            "name": "inbound-vip|80||sleep.default.svc.cluster.local-http",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 51.6K bytes
    - Viewed (1)
  3. istioctl/pkg/xds/google.go

    	k8sCreds credentials.PerRPCCredentials
    	gcpCreds credentials.PerRPCCredentials
    	project  string
    }
    
    func (c *meshAuthCredentials) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error) {
    	ret := map[string]string{
    		"x-goog-user-project": c.project,
    	}
    	if err := updateAuthHdrs(ctx, uri, "k8s", c.k8sCreds, ret, "x-mesh-authorization"); err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  4. cni/pkg/install/install_test.go

    		cniConfigFilename string
    		cniConfName       string
    		chainedCNIPlugin  bool
    		existingConfFiles map[string]string // {srcFilename: targetFilename, ...}
    	}{
    		{
    			name:              "preempted config",
    			expectedFailure:   true,
    			cniConfigFilename: "list.conflist",
    			chainedCNIPlugin:  true,
    			existingConfFiles: map[string]string{"bridge.conf": "bridge.conf", "list.conflist.golden": "list.conflist"},
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. cni/pkg/plugin/kubernetes.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/util/sets"
    )
    
    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
    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)
  6. istioctl/pkg/util/configdump/workload.go

    	Namespace string         `json:"namespace"`
    	Hostname  string         `json:"hostname"`
    	Addresses []string       `json:"addresses"`
    	Ports     map[string]int `json:"ports"`
    }
    
    type ZtunnelDump struct {
    	Workloads    map[string]*ZtunnelWorkload `json:"by_addr"`
    	Services     map[string]*ZtunnelService  `json:"by_vip"`
    	Certificates []*CertsDump                `json:"certificates"`
    }
    
    type CertsDump struct {
    Go
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Fri Mar 22 16:24:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/revision.go

    	EgressGatewayPods  []*PodFilteredInfo           `json:"egress_gateways,omitempty"`
    	NamespaceSummary   map[string]*NsInfo           `json:"namespace_summary,omitempty"`
    }
    
    func ListRevisionDescriptions(client kube.CLIClient) (map[string]*RevisionDescription, error) {
    	revisions := map[string]*RevisionDescription{}
    
    	// Get a list of control planes which are installed in remote clusters
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  8. cni/pkg/repair/repair_test_helpers.go

    		PodName: "broken-pod-terminating",
    		Annotations: map[string]string{
    			"sidecar.istio.io/status": "something",
    		},
    		Labels: map[string]string{
    			"testlabel": "true",
    		},
    		NodeName:            "test-node",
    		InitContainerStatus: &brokenInitContainerTerminating,
    	})
    
    	brokenPodWaiting = makePod(makePodArgs{
    		PodName: "broken-pod-waiting",
    		Annotations: map[string]string{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload_test.go

    		name string
    		arg  []string
    		want map[string]string
    	}{
    		{name: "empty", arg: []string{""}, want: map[string]string{"": ""}},
    		{name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}},
    		{name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}},
    		{name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}},
    	}
    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)
  10. istioctl/pkg/validate/validate.go

    	}
    	return out
    }
    
    func transformInterfaceMap(in map[any]any) map[string]any {
    	out := make(map[string]any, len(in))
    	for k, v := range in {
    		out[fmt.Sprintf("%v", k)] = transformMapValue(v)
    	}
    	return out
    }
    
    func transformMapValue(in any) any {
    	switch v := in.(type) {
    	case []any:
    		return transformInterfaceArray(v)
    	case map[any]any:
    		return transformInterfaceMap(v)
    	default:
    		return v
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top