Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, opts *CreateOptions) (*kcvolumes.CreateResponseItem, error)
Create a KraftCloud persistent volume.
Types ¶
type CreateOptions ¶
type CreateOptions struct { Auth *config.AuthConfig `noattribute:"true"` Client kcvolumes.VolumesService `noattribute:"true"` Metro string `noattribute:"true"` Name string `local:"true" size:"name" short:"n" usage:"Name of the volume"` Size string `local:"true" long:"size" short:"s" usage:"Size (MiB increments or suffixes like Mi, Gi, etc.)"` Token string `noattribute:"true"` }
Click to show internal directories.
Click to hide internal directories.