kubernetes/pkg/apis/core/v1/defaults_test.go

// TestWorkloadDefaults detects changes to defaults within PodTemplateSpec.
// Defaulting changes within this type can cause spurious rollouts of workloads on API server update.
func TestWorkloadDefaults(t *testing.T) {}

func testWorkloadDefaults(t *testing.T, featuresEnabled bool) {}

// TestPodDefaults detects changes to defaults within PodSpec.
// Defaulting changes within this type (*especially* within containers) can cause kubelets to restart containers on API server update.
func TestPodDefaults(t *testing.T) {}

func testPodDefaults(t *testing.T, featuresEnabled bool) {}

func TestPodHostNetworkDefaults(t *testing.T) {}

type testPath

func detectDefaults(t *testing.T, obj runtime.Object, v reflect.Value) map[string]string {}

func isPrimitive(k reflect.Kind) bool {}

func roundTrip(t *testing.T, obj runtime.Object) runtime.Object {}

func TestSetDefaultReplicationController(t *testing.T) {}

func TestSetDefaultReplicationControllerReplicas(t *testing.T) {}

type InitContainerValidator

func TestSetDefaultReplicationControllerInitContainers(t *testing.T) {}

func TestSetDefaultService(t *testing.T) {}

func TestSetDefaultServiceSessionAffinityConfig(t *testing.T) {}

func TestSetDefaultServiceLoadbalancerIPMode(t *testing.T) {}

func TestSetDefaultSecretVolumeSource(t *testing.T) {}

func TestSetDefaultConfigMapVolumeSource(t *testing.T) {}

func TestSetDefaultDownwardAPIVolumeSource(t *testing.T) {}

func TestSetDefaultProjectedVolumeSource(t *testing.T) {}

func TestSetDefaultSecret(t *testing.T) {}

func TestSetDefaultPersistentVolume(t *testing.T) {}

func TestSetDefaultPersistentVolumeClaim(t *testing.T) {}

func TestSetDefaultEphemeral(t *testing.T) {}

func TestSetDefaultEndpointsProtocol(t *testing.T) {}

func TestSetDefaultServiceTargetPort(t *testing.T) {}

func TestSetDefaultServicePort(t *testing.T) {}

func TestSetDefaultServiceExternalTraffic(t *testing.T) {}

func TestSetDefaultNamespace(t *testing.T) {}

func TestSetDefaultNamespaceLabels(t *testing.T) {}

func TestSetDefaultPodSpecHostNetwork(t *testing.T) {}

func TestSetDefaultNodeStatusAllocatable(t *testing.T) {}

func TestSetDefaultObjectFieldSelectorAPIVersion(t *testing.T) {}

func TestSetMinimumScalePod(t *testing.T) {}

func TestSetDefaultRequestsPod(t *testing.T) {}

func TestDefaultRequestIsNotSetForReplicationController(t *testing.T) {}

func TestSetDefaultLimitRangeItem(t *testing.T) {}

func TestSetDefaultProbe(t *testing.T) {}

func TestSetDefaultSchedulerName(t *testing.T) {}

func TestSetDefaultHostPathVolumeSource(t *testing.T) {}

func TestSetDefaultEnableServiceLinks(t *testing.T) {}

func TestSetDefaultServiceInternalTrafficPolicy(t *testing.T) {}

func TestSetDefaultResizePolicy(t *testing.T) {}

func TestSetDefaults_Volume(t *testing.T) {}