Documentation ¶
Index ¶
- Constants
- func ContainerDiskFor(name ContainerDisk) string
- func ContainerDiskFromRegistryFor(registry string, name ContainerDisk) string
- func DataVolumeImportUrlForContainerDisk(name ContainerDisk) string
- func DataVolumeImportUrlFromRegistryForContainerDisk(registry string, name ContainerDisk) string
- type ContainerDisk
Constants ¶
View Source
const ( FedoraVolumeSize = "6Gi" CirrosVolumeSize = "512Mi" BlankVolumeSize = "64Mi" )
Variables ¶
This section is empty.
Functions ¶
func ContainerDiskFor ¶
func ContainerDiskFor(name ContainerDisk) string
ContainerDiskFor takes the name of an image and returns the full registry diks image path. Use the ContainerDisk* constants as input values.
func ContainerDiskFromRegistryFor ¶ added in v0.46.0
func ContainerDiskFromRegistryFor(registry string, name ContainerDisk) string
func DataVolumeImportUrlForContainerDisk ¶ added in v0.44.2
func DataVolumeImportUrlForContainerDisk(name ContainerDisk) string
func DataVolumeImportUrlFromRegistryForContainerDisk ¶ added in v0.46.0
func DataVolumeImportUrlFromRegistryForContainerDisk(registry string, name ContainerDisk) string
Types ¶
type ContainerDisk ¶
type ContainerDisk string
const ( ContainerDiskCirrosCustomLocation ContainerDisk = "cirros-custom" ContainerDiskCirros ContainerDisk = "cirros" ContainerDiskAlpine ContainerDisk = "alpine" ContainerDiskAlpineTestTooling ContainerDisk = "alpine-with-test-tooling" ContainerDiskFedoraTestTooling ContainerDisk = "fedora-with-test-tooling" ContainerDiskVirtio ContainerDisk = "virtio-container-disk" ContainerDiskEmpty ContainerDisk = "empty" ContainerDiskFedoraRealtime ContainerDisk = "fedora-realtime" )
Click to show internal directories.
Click to hide internal directories.