Documentation ¶
Index ¶
- Constants
- func DeleteImageFromOpenStack(p *gophercloud.ProviderClient, imageUUID string) error
- func UploadImageToOpenStack(p *gophercloud.ProviderClient, imagePath string, imageName string) (*images.Image, error)
- func WithBootedImageInOpenStack(p *gophercloud.ProviderClient, imageID, userData string, ...) (retErr error)
Constants ¶
View Source
const WaitTimeout = 30 * 60 // 30 minutes in seconds
Variables ¶
This section is empty.
Functions ¶
func DeleteImageFromOpenStack ¶
func DeleteImageFromOpenStack(p *gophercloud.ProviderClient, imageUUID string) error
func UploadImageToOpenStack ¶
func UploadImageToOpenStack(p *gophercloud.ProviderClient, imagePath string, imageName string) (*images.Image, error)
func WithBootedImageInOpenStack ¶
func WithBootedImageInOpenStack(p *gophercloud.ProviderClient, imageID, userData string, f func(address string) error) (retErr error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.