kubernetes/pkg/api/persistentvolumeclaim/util_test.go

func TestDropDisabledSnapshotDataSource(t *testing.T) {}

// TestPVCDataSourceSpecFilter checks to ensure the DropDisabledFields function behaves correctly for PVCDataSource featuregate
func TestPVCDataSourceSpecFilter(t *testing.T) {}

var coreGroup

var snapGroup

var genericGroup

var pvcKind

var snapKind

var genericKind

var podKind

func makeDataSource(apiGroup, kind, name string) *core.TypedLocalObjectReference {}

func makeDataSourceRef(apiGroup, kind, name string, namespace *string) *core.TypedObjectReference {}

// TestDataSourceFilter checks to ensure the AnyVolumeDataSource feature gate and CrossNamespaceVolumeDataSource works
func TestDataSourceFilter(t *testing.T) {}

// TestDataSourceRef checks to ensure the DataSourceRef field handles backwards
// compatibility with the DataSource field
func TestDataSourceRef(t *testing.T) {}

func TestDropDisabledVolumeAttributesClass(t *testing.T) {}

func TestDropDisabledFieldsFromStatus(t *testing.T) {}

func getPVC() *core.PersistentVolumeClaim {}

func withAllocatedResource(q string) *core.PersistentVolumeClaim {}

func withResizeStatus(status core.ClaimResourceStatus) *core.PersistentVolumeClaim {}

func withVolumeAttributesClassName(vacName string) *core.PersistentVolumeClaim {}

func withVolumeAttributesModifyStatus(target string, status core.PersistentVolumeClaimModifyVolumeStatus) *core.PersistentVolumeClaim {}

func TestWarnings(t *testing.T) {}