kubernetes/pkg/registry/core/pod/strategy_test.go

func TestMatchPod(t *testing.T) {}

func getResourceList(cpu, memory string) api.ResourceList {}

func getResourceRequirements(requests, limits api.ResourceList) api.ResourceRequirements {}

func newContainer(name string, requests api.ResourceList, limits api.ResourceList) api.Container {}

func newPod(name string, containers []api.Container) *api.Pod {}

func TestGetPodQOS(t *testing.T) {}

func TestSchedulingGatedCondition(t *testing.T) {}

func TestCheckGracefulDelete(t *testing.T) {}

type mockPodGetter

func (g mockPodGetter) Get(context.Context, string, *metav1.GetOptions) (runtime.Object, error) {}

func TestCheckLogLocation(t *testing.T) {}

func TestSelectableFieldLabelConversions(t *testing.T) {}

type mockConnectionInfoGetter

func (g mockConnectionInfoGetter) GetConnectionInfo(ctx context.Context, nodeName types.NodeName) (*client.ConnectionInfo, error) {}

func TestPortForwardLocation(t *testing.T) {}

func TestGetPodIP(t *testing.T) {}

type fakeTransport

func (f fakeTransport) RoundTrip(*http.Request) (*http.Response, error) {}

var fakeSecureRoundTripper

var fakeInsecureRoundTripper

func TestPodIndexFunc(t *testing.T) {}

func newPodWithHugePageValue(resourceName api.ResourceName, value resource.Quantity) *api.Pod {}

func TestPodStrategyValidate(t *testing.T) {}

func TestEphemeralContainerStrategyValidateUpdate(t *testing.T) {}

func TestPodStrategyValidateUpdate(t *testing.T) {}

func TestDropNonEphemeralContainerUpdates(t *testing.T) {}

func TestNodeInclusionPolicyEnablementInCreating(t *testing.T) {}

func TestNodeInclusionPolicyEnablementInUpdating(t *testing.T) {}

func Test_mutatePodAffinity(t *testing.T) {}

func TestPodLifecycleSleepActionEnablement(t *testing.T) {}

func TestApplyAppArmorVersionSkew(t *testing.T) {}

type warningRecorder

var _

func (w *warningRecorder) AddWarning(_, text string) {}