func startupProbeInUse(podSpec *api.PodSpec) bool {
	if podSpec == nil {
		return false
	}

	var inUse bool
	VisitContainers(podSpec, AllContainers, func(c *api.Container, containerType ContainerType) bool {
		if c.StartupProbe != nil {
			inUse = true
			return false
		}
		return true
	})

	return inUse
}
// startupProbeInUse returns true if the pod spec is non-nil and has a container that has a startupProbe defined
startupProbeInUse returns true if the pod spec is non-nil and has a container that has a startupProbe defined
// startupProbeInUse returns true if the pod spec is non - nil and has a container that has a startupProbe defined
func startupProbeInUse(podSpec *api.PodSpec) bool {
	if podSpec == nil {
		return false
	}
	var inUse bool
	VisitContainers(podSpec, AllContainers, func(c *api.Container, containerType ContainerType) bool {
		if c.StartupProbe != nil {
			inUse = true
			return false
		}
		return true
	})
	return inUse
}
func startupProbeInUse ( podSpec * api . PodSpec ) bool { if podSpec == nil { return false } var inUse bool VisitContainers ( podSpec , AllContainers , func ( c * api . Container , containerType ContainerType ) bool { if c . StartupProbe != nil { inUse = true return false } return true } ) return inUse }
startupProbeInUse returns true if the pod spec is non-nil and has a container that has a startupProbe defined
startupProbeInUse returns true if the pod spec is non - nil and has a container that has a startupProbe defined