kubernetes/pkg/registry/core/pod/storage/storage_test.go

func newStorage(t *testing.T) (*REST, *BindingREST, *StatusREST, *etcd3testing.EtcdTestServer) {}

func validNewPod() *api.Pod {}

func validChangedPod() *api.Pod {}

func TestCreate(t *testing.T) {}

func TestUpdate(t *testing.T) {}

func TestDelete(t *testing.T) {}

type FailDeletionStorage

func (f FailDeletionStorage) Delete(_ context.Context, key string, _ runtime.Object, _ *apiserverstorage.Preconditions, _ apiserverstorage.ValidateObjectFunc, _ runtime.Object, _ apiserverstorage.DeleteOptions) error {}

func newFailDeleteStorage(t *testing.T, called *bool) (*REST, *etcd3testing.EtcdTestServer) {}

func TestIgnoreDeleteNotFound(t *testing.T) {}

func TestCreateSetsFields(t *testing.T) {}

func TestResourceLocation(t *testing.T) {}

func TestGet(t *testing.T) {}

func TestList(t *testing.T) {}

func TestWatch(t *testing.T) {}

func TestConvertToTableList(t *testing.T) {}

func TestEtcdCreate(t *testing.T) {}

// Ensure that when scheduler creates a binding for a pod that has already been deleted
// by the API server, API server returns not-found error.
func TestEtcdCreateBindingNoPod(t *testing.T) {}

func TestEtcdCreateFailsWithoutNamespace(t *testing.T) {}

func TestEtcdCreateWithContainersNotFound(t *testing.T) {}

func TestEtcdCreateWithConflict(t *testing.T) {}

func TestEtcdCreateWithSchedulingGates(t *testing.T) {}

func validNewBinding() *api.Binding {}

func TestEtcdCreateBindingWithUIDAndResourceVersion(t *testing.T) {}

func TestEtcdCreateWithExistingContainers(t *testing.T) {}

func TestEtcdCreateBinding(t *testing.T) {}

func TestEtcdUpdateNotScheduled(t *testing.T) {}

func TestEtcdUpdateScheduled(t *testing.T) {}

func TestEtcdUpdateStatus(t *testing.T) {}

func TestShortNames(t *testing.T) {}

func TestCategories(t *testing.T) {}