Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 211 for traits (0.12 sec)

  1. pilot/pkg/controllers/untaint/nodeuntainter.go

    	return nil
    }
    
    // deleteTaint removes all the taints that have the same key and effect to given taintToDelete.
    func deleteTaint(taints []v1.Taint) []v1.Taint {
    	newTaints := []v1.Taint{}
    	for i := range taints {
    		if taints[i].Key == TaintName {
    			continue
    		}
    		newTaints = append(newTaints, taints[i])
    	}
    	return newTaints
    }
    
    func hasTaint(n *v1.Node) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/resources/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest/restoresClassesOnCompilationFailure/NewIPerson.scala

    trait IPerson {
        def getName(): String
        def getAddress(): String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 72 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/scala/force/kotlin/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    trait Named {
      def names: List[String]
    
      def importedList: GrowthList
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 156 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/scala/zinc/groovy/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    trait Named {
      def names: List[String]
    
      def importedList: GrowthList
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 156 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/scala/zinc/kotlin/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    trait Named {
      def names: List[String]
    
      def importedList: GrowthList
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 156 bytes
    - Viewed (0)
  6. pkg/apis/core/toleration_test.go

    	tolerationToMatchSeconds := int64(3)
    	testCases := []struct {
    		description       string
    		toleration        *Toleration
    		tolerationToMatch *Toleration
    		expectMatch       bool
    	}{
    		{
    			description: "two taints with the same key,operator,value,effect should match",
    			toleration: &Toleration{
    				Key:      "foo",
    				Operator: "Exists",
    				Value:    "bar",
    				Effect:   TaintEffectNoSchedule,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 01:44:27 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/scala/force/groovy/src/main/scala/org/gradle/sample/Named.scala

    package org.gradle.sample
    
    import org.apache.commons.collections.list.GrowthList
    
    trait Named {
      def names: List[String]
    
      def importedList: GrowthList
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 156 bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/integTest/resources/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest/restoresClassesOnCompilationFailure/src/main/scala/IPerson.scala

    trait IPerson {
        def getName(): String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 43 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/mutation/mock_test.go

    	objectType := types.NewObjectType(name, common.ObjectTraits)
    	return &mockTypeRef{
    		objectType: objectType,
    		resolver:   resolver,
    	}
    }
    
    func (m *mockTypeRef) HasTrait(trait int) bool {
    	return common.ObjectTraits|trait != 0
    }
    
    func (m *mockTypeRef) TypeName() string {
    	return m.objectType.TypeName()
    }
    
    func (m *mockTypeRef) CELType() *types.Type {
    	return types.NewTypeTypeWithParam(m.objectType)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. pkg/util/flag/flags.go

    	if err != nil {
    		return err
    	}
    	var taints []v1.Taint
    	for _, ct := range corev1Taints {
    		taints = append(taints, v1.Taint{Key: ct.Key, Value: ct.Value, Effect: ct.Effect})
    	}
    	*t.Value = taints
    	return nil
    }
    
    // String returns the flag value
    func (t RegisterWithTaintsVar) String() string {
    	if len(*t.Value) == 0 {
    		return ""
    	}
    	var taints []string
    	for _, taint := range *t.Value {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 19 03:30:46 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top