Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for Map (0.13 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cni/pkg/nodeagent/pod_cache.go

    type PodNetnsCache interface {
    	ReadCurrentPodSnapshot() map[string]WorkloadInfo
    }
    
    // Hold a cache of node local pods with their netns
    // if we don't know the netns, the pod will still be here with a nil netns.
    type podNetnsCache struct {
    	openNetns func(nspath string) (NetnsCloser, error)
    
    	currentPodCache map[string]WorkloadInfo
    	mu              sync.RWMutex
    }
    
    type WorkloadInfo struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/node/v1beta1/generated.proto

    // Overhead structure represents the resource overhead associated with running a pod.
    message Overhead {
      // podFixed represents the fixed resource overhead associated with running a pod.
      // +optional
      map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> podFixed = 1;
    }
    
    // RuntimeClass defines a class of container runtime supported in the cluster.
    // The RuntimeClass is used to determine which container runtime is used to run
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. istioctl/pkg/authz/listener.go

    		return
    	}
    
    	actionToPolicy := map[rbacpb.RBAC_Action]map[string]struct{}{}
    	policyToRule := map[string]map[string]struct{}{}
    
    	addPolicy := func(action rbacpb.RBAC_Action, name string, rule string) {
    		if actionToPolicy[action] == nil {
    			actionToPolicy[action] = map[string]struct{}{}
    		}
    		if policyToRule[name] == nil {
    			policyToRule[name] = map[string]struct{}{}
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top