Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for ContainerType (0.24 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/AbstractDomainObjectContainerIntegrationTest.groovy

                "${containerType}#TaskProvider.get()":   "unrealized.get()",
                "${containerType}#iterator()":           "for (def element : testContainer) { println element.name }",
            ]
        }
    
        Map<String, String> getMutationMethods() {
            [
                "${containerType}#create(String)": "testContainer.create('mutate')",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 16 08:04:01 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/model/collection/internal/BridgedCollections.java

            private final ModelType<C> containerType;
    
            public ExtractFromParentContainer(String name, ModelType<C> containerType) {
                this.name = name;
                this.containerType = containerType;
            }
    
            @Override
            public I transform(MutableModelNode modelNode) {
                return modelNode.getParent().getPrivateData(containerType).getByName(name);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 20 10:28:05 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/types_test.go

    	ephemeralType := reflect.TypeOf(EphemeralContainerCommon{})
    	containerType := reflect.TypeOf(Container{})
    
    	ephemeralFields := ephemeralType.NumField()
    	containerFields := containerType.NumField()
    	if containerFields != ephemeralFields {
    		t.Fatalf("%v has %d fields, %v has %d fields", ephemeralType, ephemeralFields, containerType, containerFields)
    	}
    	for i := 0; i < ephemeralFields; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 03:01:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. pkg/api/pod/util.go

    func VisitPodSecretNames(pod *api.Pod, visitor Visitor, containerType ContainerType) bool {
    	visitor = skipEmptyNames(visitor)
    	for _, reference := range pod.Spec.ImagePullSecrets {
    		if !visitor(reference.Name) {
    			return false
    		}
    	}
    	VisitContainers(&pod.Spec, containerType, func(c *api.Container, containerType ContainerType) bool {
    		return visitContainerSecretNames(c, visitor)
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  5. pkg/apis/core/types_test.go

    	ephemeralType := reflect.TypeOf(EphemeralContainerCommon{})
    	containerType := reflect.TypeOf(Container{})
    
    	ephemeralFields := ephemeralType.NumField()
    	containerFields := containerType.NumField()
    	if containerFields != ephemeralFields {
    		t.Fatalf("%v has %d fields, %v has %d fields", ephemeralType, ephemeralFields, containerType, containerFields)
    	}
    	for i := 0; i < ephemeralFields; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 03:01:07 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. pkg/api/v1/pod/util.go

    		}
    	case intstr.Int:
    		return portName.IntValue(), nil
    	}
    
    	return 0, fmt.Errorf("no suitable port for manifest: %s", pod.UID)
    }
    
    // ContainerType signifies container type
    type ContainerType int
    
    const (
    	// Containers is for normal containers
    	Containers ContainerType = 1 << iota
    	// InitContainers is for init containers
    	InitContainers
    	// EphemeralContainers is for ephemeral containers
    	EphemeralContainers
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 17:18:04 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  7. pkg/security/apparmor/validate.go

    		return nil
    	}
    
    	if v.ValidateHost() != nil {
    		return v.validateHostErr
    	}
    
    	var retErr error
    	podutil.VisitContainers(&pod.Spec, podutil.AllContainers, func(container *v1.Container, containerType podutil.ContainerType) bool {
    		profile := GetProfile(pod, container)
    		if profile == nil {
    			return true
    		}
    
    		// TODO(#64841): This would ideally be part of validation.ValidateAppArmorProfileFormat, but
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. pkg/kubelet/container/helpers.go

    func GetContainerSpec(pod *v1.Pod, containerName string) *v1.Container {
    	var containerSpec *v1.Container
    	podutil.VisitContainers(&pod.Spec, podutil.AllFeatureEnabledContainers(), func(c *v1.Container, containerType podutil.ContainerType) bool {
    		if containerName == c.Name {
    			containerSpec = c
    			return false
    		}
    		return true
    	})
    	return containerSpec
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/mutation/common/constants.go

    const RootTypeReferenceName = "Object"
    
    // ObjectTraits is the bitmask that represents traits that an object should have.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 897 bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/CodeGenerator.kt

    
    private
    fun inaccessibleExistingContainerElementAccessorFor(containerType: String, name: AccessorNameSpec, elementType: TypeAccessibility.Inaccessible): String = name.run {
        """
            /**
             * Provides the existing `$original` element.
             *
             * ${documentInaccessibilityReasons(name, elementType)}
             */
            val $containerType.`$kotlinIdentifier`: NamedDomainObjectProvider<Any>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top