Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for clusterName (0.17 sec)

  1. istioctl/pkg/writer/envoy/configdump/endpoint.go

    			endpoints = append(endpoints, cla)
    		}
    	}
    	sort.Slice(endpoints, func(i, j int) bool {
    		iDirection, iSubset, iName, iPort := safelyParseSubsetKey(endpoints[i].ClusterName)
    		jDirection, jSubset, jName, jPort := safelyParseSubsetKey(endpoints[j].ClusterName)
    		if iName == jName {
    			if iSubset == jSubset {
    				if iPort == jPort {
    					return iDirection < jDirection
    				}
    				return iPort < jPort
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    )
    
    var (
    	fqdn, direction, subset string
    	port                    int
    	verboseProxyConfig      bool
    	waypointProxyConfig     bool
    
    	address, listenerType, statsType string
    
    	routeName string
    
    	clusterName, status string
    
    	// output format (json, yaml or short)
    	outputFormat string
    
    	proxyAdminPort int
    
    	configDumpFile string
    
    	labelSelector = ""
    	loggerName    string
    )
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret.go

    			clusterName: {
    				CertificateAuthorityData: caData,
    				Server:                   server,
    			},
    		},
    		AuthInfos: map[string]*api.AuthInfo{},
    		Contexts: map[string]*api.Context{
    			clusterName: {
    				Cluster:  clusterName,
    				AuthInfo: clusterName,
    			},
    		},
    		CurrentContext: clusterName,
    	}
    }
    
    func createBearerTokenKubeconfig(caData, token []byte, clusterName, server string) *api.Config {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    			haveTokenSecret: makeSecret("", "", "token"),
    			context:         "c0",
    			clusterName:     fakeClusterName,
    			wantErrStr:      errMissingRootCAKey.Error(),
    		},
    		{
    			name:            "missing token",
    			haveTokenSecret: makeSecret("", "caData", ""),
    			context:         "c0",
    			clusterName:     fakeClusterName,
    			wantErrStr:      errMissingTokenKey.Error(),
    		},
    		{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  5. cni/pkg/install/kubeconfig.go

    	if err != nil {
    		return kubeconfig{}, err
    	}
    
    	const contextName = "istio-cni-context"
    	const clusterName = "local"
    	const userName = "istio-cni"
    	kcfg := &api.Config{
    		Kind:        "Config",
    		APIVersion:  "v1",
    		Preferences: api.Preferences{},
    		Clusters: map[string]*api.Cluster{
    			clusterName: cluster,
    		},
    		AuthInfos: map[string]*api.AuthInfo{
    			userName: {
    				Token: string(token),
    			},
    		},
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    				}
    			}
    
    			// extract the cluster ID from the injector config (.Values.global.multiCluster.clusterName)
    			if !validateFlagIsSetManuallyOrNot(cmd, "clusterID") {
    				// extract the cluster ID from the injector config if it is not set by user
    				clusterName, err := extractClusterIDFromInjectionConfig(kubeClient, ctx.IstioNamespace())
    				if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    			if ss[1] == svc.ObjectMeta.Name && ss[2] == svc.ObjectMeta.Namespace {
    				return true
    			}
    		}
    	}
    
    	clusterName := ""
    	switch cs := vhRoute.GetRoute().GetClusterSpecifier().(type) {
    	case *route.RouteAction_Cluster:
    		clusterName = cs.Cluster
    	case *route.RouteAction_WeightedClusters:
    		clusterName = cs.WeightedClusters.Clusters[0].GetName()
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    		ci.UsedCapacity = dataUsageInfo.ObjectsTotalSize
    		ci.Info.NoOfBuckets = dataUsageInfo.BucketsCount
    		ci.Info.NoOfObjects = dataUsageInfo.ObjectsTotalCount
    
    		ci.DeploymentID = globalDeploymentID()
    		ci.ClusterName = fmt.Sprintf("%d-servers-%d-disks-%s", ci.Info.NoOfServers, ci.Info.NoOfDrives, ci.Info.MinioVersion)
    
    		select {
    		case resultCh <- ci:
    		case <-ctx.Done():
    			return
    		}
    	}()
    
    	select {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  9. istioctl/pkg/precheck/precheck.go

    		}, nil
    	}
    	return nil, nil
    }
    
    // clusterOrigin defines an Origin that refers to the cluster
    type clusterOrigin struct{}
    
    func (o clusterOrigin) ClusterName() istiocluster.ID {
    	return "Cluster"
    }
    
    func (o clusterOrigin) String() string {
    	return ""
    }
    
    func (o clusterOrigin) FriendlyName() string {
    	return "Cluster"
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top