datavolume

package
v0.0.0-...-7a8ee34 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestDataVolume

type TestDataVolume struct {
	Data           *v1beta12.DataVolume
	AttachmentType TestDataVolumeAttachmentType
	DiskName       string
}

func NewBlankDataVolume

func NewBlankDataVolume(name string) *TestDataVolume

func (*TestDataVolume) AttachAs

func (d *TestDataVolume) AttachAs(attachmentType TestDataVolumeAttachmentType) *TestDataVolume

func (*TestDataVolume) AttachWithDiskName

func (d *TestDataVolume) AttachWithDiskName(diskName string) *TestDataVolume

func (*TestDataVolume) Build

func (d *TestDataVolume) Build() *v1beta12.DataVolume

func (*TestDataVolume) ToString

func (t *TestDataVolume) ToString() string

func (*TestDataVolume) WithGenerateName

func (d *TestDataVolume) WithGenerateName(generateName string) *TestDataVolume

func (*TestDataVolume) WithNamespace

func (d *TestDataVolume) WithNamespace(namespace string) *TestDataVolume

func (*TestDataVolume) WithRegistrySource

func (d *TestDataVolume) WithRegistrySource(registryURL string) *TestDataVolume

func (*TestDataVolume) WithSize

func (d *TestDataVolume) WithSize(size int64, scale resource.Scale) *TestDataVolume

func (*TestDataVolume) WithURLSource

func (d *TestDataVolume) WithURLSource(url string) *TestDataVolume

func (*TestDataVolume) WithoutTypeMeta

func (d *TestDataVolume) WithoutTypeMeta() *TestDataVolume

type TestDataVolumeAttachmentType

type TestDataVolumeAttachmentType string
const (
	OwnedPVC TestDataVolumeAttachmentType = "owned-pvc"
	PVC      TestDataVolumeAttachmentType = "pvc"
	DV       TestDataVolumeAttachmentType = "dv"
	OwnedDV  TestDataVolumeAttachmentType = "owned-dv"
)

Jump to

Keyboard shortcuts

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