types

package
v0.4.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSISnapshotRestoreArgs

type CSISnapshotRestoreArgs struct {
	StorageClass        string
	VolumeSnapshotClass string
	Namespace           string
	RunAsUser           int64
	ContainerImage      string
	Cleanup             bool
	SkipCFSCheck        bool
}

func (*CSISnapshotRestoreArgs) Validate

func (a *CSISnapshotRestoreArgs) Validate() error

type CSISnapshotRestoreResults

type CSISnapshotRestoreResults struct {
	OriginalPVC *v1.PersistentVolumeClaim
	OriginalPod *v1.Pod
	Snapshot    *snapv1.VolumeSnapshot
	ClonedPVC   *v1.PersistentVolumeClaim
	ClonedPod   *v1.Pod
}

type CreateFromSourceCheckArgs

type CreateFromSourceCheckArgs struct {
	VolumeSnapshotClass string
	SnapshotName        string
	Namespace           string
}

func (*CreateFromSourceCheckArgs) Validate

func (c *CreateFromSourceCheckArgs) Validate() error

type CreatePVCArgs

type CreatePVCArgs struct {
	GenerateName string
	StorageClass string
	Namespace    string
	DataSource   *v1.TypedLocalObjectReference
	RestoreSize  *resource.Quantity
}

func (*CreatePVCArgs) Validate

func (c *CreatePVCArgs) Validate() error

type CreatePodArgs

type CreatePodArgs struct {
	GenerateName   string
	PVCName        string
	Namespace      string
	Cmd            string
	RunAsUser      int64
	ContainerImage string
}

func (*CreatePodArgs) Validate

func (c *CreatePodArgs) Validate() error

type CreateSnapshotArgs

type CreateSnapshotArgs struct {
	Namespace           string
	PVCName             string
	VolumeSnapshotClass string
	SnapshotName        string
}

func (*CreateSnapshotArgs) Validate

func (c *CreateSnapshotArgs) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL