Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for IsConfig (0.21 sec)

  1. pkg/test/framework/components/cluster/topology.go

    	if _, f := knownClusterNames[c.Name()]; f {
    		return c.Name()
    	}
    	if c.IsPrimary() {
    		if c.IsConfig() {
    			prefix = "primary"
    		} else {
    			prefix = "externalistiod"
    		}
    	} else if c.IsRemote() {
    		if c.IsConfig() {
    			prefix = "config"
    		} else {
    			prefix = "remote"
    		}
    	}
    
    	return fmt.Sprintf("%s-%d", prefix, c.Index)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. pkg/test/framework/components/cluster/cluster.go

    	// IsPrimary returns true if this is a primary cluster, containing an instance
    	// of the Istio control plane.
    	IsPrimary() bool
    
    	// IsConfig returns true if this is a config cluster, used as the source of
    	// Istio config for one or more control planes.
    	IsConfig() bool
    
    	// IsRemote returns true if this is a remote cluster, which uses a control plane
    	// residing in another cluster.
    	IsRemote() bool
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/kube.go

    		// This MUST match the clusterName in the remote secret for this cluster.
    		clusterName := c.Name()
    		if !c.IsConfig() {
    			clusterName = c.ConfigName()
    		}
    		args.AppendSet("values.global.multiCluster.clusterName", clusterName)
    	}
    
    	if err := i.installer.Install(c, args); err != nil {
    		return err
    	}
    
    	if c.IsConfig() {
    		// this is a traditional primary cluster, install the eastwest gateway
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  4. pkg/test/framework/components/cluster/kube/cluster.go

    		return echo.Config{}, false
    	}
    	return config, true
    }
    
    func (c *Cluster) isVMSupported() bool {
    	// VMs can only be deployed on config clusters, since they assume the cluster ID of the control plane.
    	return c.IsConfig() && c.vmSupport
    }
    
    // OverrideTopology allows customizing the relationship between this and other clusters
    // for a single suite. This practice is discouraged, and separate test jobs should be created
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 17 22:54:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. pkg/test/framework/components/cluster/clusters.go

    	}, exclude(excluded...))
    }
    
    // Configs returns the subset that are config clusters.
    func (c Clusters) Configs(excluded ...Cluster) Clusters {
    	return c.filterClusters(func(cc Cluster) bool {
    		return cc.IsConfig()
    	}, exclude(excluded...))
    }
    
    // Remotes returns the subset that are remote clusters.
    func (c Clusters) Remotes(excluded ...Cluster) Clusters {
    	return c.filterClusters(func(cc Cluster) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. gorm.go

    func Open(dialector Dialector, opts ...Option) (db *DB, err error) {
    	config := &Config{}
    
    	sort.Slice(opts, func(i, j int) bool {
    		_, isConfig := opts[i].(*Config)
    		_, isConfig2 := opts[j].(*Config)
    		return isConfig && !isConfig2
    	})
    
    	for _, opt := range opts {
    		if opt != nil {
    			if applyErr := opt.Apply(config); applyErr != nil {
    				return nil, applyErr
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Aug 20 11:46:56 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. pkg/test/framework/suite.go

    	s.requireFns = append(s.requireFns, fn)
    	return s
    }
    
    func (s *suiteImpl) SkipExternalControlPlaneTopology() Suite {
    	fn := func(ctx resource.Context) error {
    		for _, c := range ctx.Clusters() {
    			if c.IsConfig() && !c.IsPrimary() {
    				s.Skip(fmt.Sprintf("Cluster %s is a config cluster, we can't run external control plane topology",
    					c.Name()))
    			}
    		}
    		return nil
    	}
    	s.requireFns = append(s.requireFns, fn)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/kube/deployment.go

    type deployment struct {
    	ctx             resource.Context
    	cfg             echo.Config
    	shouldCreateWLE bool
    }
    
    func newDeployment(ctx resource.Context, cfg echo.Config) (*deployment, error) {
    	if !cfg.Cluster.IsConfig() && cfg.DeployAsVM {
    		return nil, fmt.Errorf("cannot deploy %s/%s as VM on non-config %s",
    			cfg.Namespace.Name(),
    			cfg.Service,
    			cfg.Cluster.Name())
    	}
    
    	if cfg.DeployAsVM {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/tsconfig.json

    {
      /* Visit https://aka.ms/tsconfig.json to read more about this file */
      "compilerOptions": {
        "target": "ES2022",
        "module": "ES2022",
        "moduleResolution": "node",
    
        "strict": true,
        "allowUnusedLabels": false,
        "allowUnreachableCode": false,
        "exactOptionalPropertyTypes": true,
        "noFallthroughCasesInSwitch": true,
        "noImplicitOverride": true,
        "noImplicitReturns": true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 683 bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/internal/VisualStudioProjectRegistryTest.groovy

            def executableBinary = targetBinary("vsConfig")
            when:
            registry.addProjectConfiguration(executableBinary)
    
            then:
            def vsConfig = registry.getProjectConfiguration(executableBinary)
            vsConfig.type == "Makefile"
            vsConfig.project.name == "mainExe"
            vsConfig.configurationName == "vsConfig"
            vsConfig.platformName == "Win32"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top