type SnapshotResource …
func CreateSnapshot(ctx context.Context, sDriver SnapshottableTestDriver, config *PerTestConfig, pattern TestPattern, pvcName string, pvcNamespace string, timeouts *framework.TimeoutContext, parameters map[string]string) (*unstructured.Unstructured, *unstructured.Unstructured) { … }
func CreateSnapshotResource(ctx context.Context, sDriver SnapshottableTestDriver, config *PerTestConfig, pattern TestPattern, pvcName string, pvcNamespace string, timeouts *framework.TimeoutContext, parameters map[string]string) *SnapshotResource { … }
func (sr *SnapshotResource) CleanupResource(ctx context.Context, timeouts *framework.TimeoutContext) error { … }
func getSnapshot(claimName string, ns, snapshotClassName string) *unstructured.Unstructured { … }
func getPreProvisionedSnapshot(snapName, ns, snapshotContentName string) *unstructured.Unstructured { … }
func getPreProvisionedSnapshotContent(snapcontentName, snapshotClassName string, snapshotContentAnnotations map[string]string, snapshotName, snapshotNamespace, snapshotHandle, deletionPolicy, csiDriverName string) *unstructured.Unstructured { … }
func getPreProvisionedSnapshotContentName(uuid types.UID) string { … }
func getPreProvisionedSnapshotName(uuid types.UID) string { … }