- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for ContainerType (4.47 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
return new Iterator(this, container_.end()); } private: typedef typename ::std::vector<T> ContainerType; class Iterator : public ParamIteratorInterface<T> { public: Iterator(const ParamGeneratorInterface<T>* base, typename ContainerType::const_iterator iterator) : base_(base), iterator_(iterator) {} virtual ~Iterator() {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.6K bytes - Viewed (0) -
pkg/volume/util/nested_volumes.go
retval = append(retval, mp[len(myMPSlash):]) } } return nil } var retErr error podutil.VisitContainers(&pod.Spec, podutil.AllFeatureEnabledContainers(), func(c *v1.Container, containerType podutil.ContainerType) bool { retErr = checkContainer(c) return retErr == nil }) if retErr != nil { return nil, retErr } return retval, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 18 12:19:17 UTC 2022 - 4.1K bytes - Viewed (0)