Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for IsPrimary (0.31 sec)

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

    		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)
    }
    
    func (c Topology) IsPrimary() bool {
    	return c.Primary().Name() == c.Name()
    }
    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. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirConstructorSymbol.kt

        }
    
        override val containingClassId: ClassId?
            get() = withValidityAssertion { firSymbol.containingClassLookupTag()?.classId?.takeUnless { it.isLocal } }
    
        override val isPrimary: Boolean get() = withValidityAssertion { firSymbol.isPrimary }
        override val isActual: Boolean get() = withValidityAssertion { firSymbol.isActual }
        override val isExpect: Boolean get() = withValidityAssertion { firSymbol.isExpect }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. pkg/test/framework/components/cluster/cluster.go

    	// MaxKubeVersion returns true if the cluster is at most the version specified,
    	// false otherwise
    	MaxKubeVersion(minor uint) bool
    
    	// 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
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. pkg/test/framework/components/cluster/clusters.go

    		}
    	}
    	return out
    }
    
    // Primaries returns the subset that are primary clusters.
    func (c Clusters) Primaries(excluded ...Cluster) Clusters {
    	return c.filterClusters(func(cc Cluster) bool {
    		return cc.IsPrimary()
    	}, exclude(excluded...))
    }
    
    // Exclude returns all clusters not given as input.
    func (c Clusters) Exclude(excluded ...Cluster) Clusters {
    	return c.filterClusters(func(cc Cluster) bool {
    		return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. pkg/test/framework/suite.go

    	return s.RequireMinClusters(1).RequireMaxClusters(1)
    }
    
    func (s *suiteImpl) RequireMultiPrimary() Suite {
    	fn := func(ctx resource.Context) error {
    		for _, c := range ctx.Clusters() {
    			if !c.IsPrimary() {
    				s.Skip(fmt.Sprintf("Cluster %s is not using a local control plane",
    					c.Name()))
    			}
    		}
    		return nil
    	}
    
    	s.requireFns = append(s.requireFns, fn)
    	return s
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. tests/integration/telemetry/api/dashboard_test.go

    			go setupDashboardTest(c.Done())
    			for _, d := range dashboards {
    				d := d
    				t.NewSubTest(d.name).Run(func(t framework.TestContext) {
    					for _, cl := range t.Clusters() {
    						if !cl.IsPrimary() && d.requirePrimary {
    							// Skip verification of dashboards that won't be present on non primary(remote) clusters.
    							continue
    						}
    						t.Logf("Verifying %s for cluster %s", d.name, cl.Name())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. pkg/test/framework/test.go

    					t.goTest.Name(), c.Name(), t.minKubernetesMinorVersion)
    				return
    			}
    		}
    	}
    
    	if t.requireLocalIstiod {
    		for _, c := range ctx.Clusters() {
    			if !c.IsPrimary() {
    				t.goTest.Skipf(fmt.Sprintf("Skipping %q: cluster %s is not using a local control plane",
    					t.goTest.Name(), c.Name()))
    				return
    			}
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        }
    
        return KaFe10DescConstructorSymbol(this, analysisContext)
    }
    
    internal val CallableMemberDescriptor.ktHasStableParameterNames: Boolean
        get() = when {
            this is ConstructorDescriptor && isPrimary && constructedClass.kind == ClassKind.ANNOTATION_CLASS -> true
            isExpect -> false
            else -> when (this) {
                is JavaCallableMemberDescriptor -> false
                else -> hasStableParameterNames()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top