Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CanDeploy (0.09 sec)

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

    	kube.CLIClient
    
    	// Topology is embedded to include common functionality.
    	cluster.Topology
    }
    
    // CanDeploy for a kube cluster returns true if the config is a non-vm, or if the cluster supports
    // fake pod-based VMs.
    func (c *Cluster) CanDeploy(config echo.Config) (echo.Config, bool) {
    	if config.DeployAsVM && !c.isVMSupported() {
    		return echo.Config{}, false
    	}
    	return config, true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 17 22:54:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/deployment/builder.go

    		ec, ok := c.(echo.Cluster)
    		if !ok {
    			b.errs = multierror.Append(b.errs, fmt.Errorf("attempted to deploy to %s but it does not implement echo.Cluster", c.Name()))
    			continue
    		}
    		perClusterConfig, ok := ec.CanDeploy(cfg)
    		if !ok {
    			continue
    		}
    		if !b.validateTemplates(perClusterConfig, c) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/config.go

    )
    
    // Cluster that can deploy echo instances.
    // TODO putting this here for now to deal with circular imports, needs to be moved
    type Cluster interface {
    	cluster.Cluster
    
    	CanDeploy(Config) (Config, bool)
    }
    
    // Configurable is and object that has Config.
    type Configurable interface {
    	Config() Config
    
    	// ServiceName is the name of this service within the namespace.
    	ServiceName() string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top