kubernetes/staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go

func newStorage(t *testing.T) (customresource.CustomResourceStorage, *etcd3testing.EtcdTestServer) {}

// createCustomResource is a helper function that returns a CustomResource with the updated resource version.
func createCustomResource(storage *customresource.REST, cr unstructured.Unstructured, t *testing.T) (unstructured.Unstructured, error) {}

func validNewCustomResource() *unstructured.Unstructured {}

var validCustomResource

func TestCreate(t *testing.T) {}

func TestGet(t *testing.T) {}

func TestList(t *testing.T) {}

func TestDelete(t *testing.T) {}

func TestGenerationNumber(t *testing.T) {}

func TestCategories(t *testing.T) {}

func TestColumns(t *testing.T) {}

func TestStatusUpdate(t *testing.T) {}

func TestScaleGet(t *testing.T) {}

func TestScaleGetWithoutSpecReplicas(t *testing.T) {}

func TestScaleUpdate(t *testing.T) {}

func TestScaleUpdateWithoutSpecReplicas(t *testing.T) {}

func TestScaleUpdateWithoutResourceVersion(t *testing.T) {}

func TestScaleUpdateWithoutResourceVersionWithConflicts(t *testing.T) {}

func TestScaleUpdateWithResourceVersionWithConflicts(t *testing.T) {}

func setSpecReplicas(u *unstructured.Unstructured, replicas int64) {}

func getSpecReplicas(u *unstructured.Unstructured) int64 {}

func setStatusReplicas(u *unstructured.Unstructured, replicas int64) {}

func getStatusReplicas(u *unstructured.Unstructured) int64 {}

func setNestedField(u *unstructured.Unstructured, value interface{}