Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, opts *CreateOptions, args ...string) (*kraftcloudvolumes.Volume, error)
Create a KraftCloud persistent volume.
Types ¶
type CreateOptions ¶
type CreateOptions struct { Auth *config.AuthConfig `noattribute:"true"` Client kraftcloudvolumes.VolumesService `noattribute:"true"` Metro string `noattribute:"true"` Name string `local:"true" size:"name" short:"n"` SizeMB int `local:"true" long:"size" short:"s" usage:"Size in MB"` Token string `noattribute:"true"` }
Click to show internal directories.
Click to hide internal directories.