Documentation ¶
Index ¶
- type TestDataVolume
- func (d *TestDataVolume) AttachAs(attachmentType TestDataVolumeAttachmentType) *TestDataVolume
- func (d *TestDataVolume) AttachWithDiskName(diskName string) *TestDataVolume
- func (d *TestDataVolume) Build() *v1beta12.DataVolume
- func (t *TestDataVolume) ToString() string
- func (d *TestDataVolume) WithGenerateName(generateName string) *TestDataVolume
- func (d *TestDataVolume) WithNamespace(namespace string) *TestDataVolume
- func (d *TestDataVolume) WithRegistrySource(registryURL string) *TestDataVolume
- func (d *TestDataVolume) WithSize(size int64, scale resource.Scale) *TestDataVolume
- func (d *TestDataVolume) WithURLSource(url string) *TestDataVolume
- func (d *TestDataVolume) WithoutTypeMeta() *TestDataVolume
- type TestDataVolumeAttachmentType
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" )
Click to show internal directories.
Click to hide internal directories.