Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Attach ¶
func Attach(ctx context.Context, opts *AttachOptions, args ...string) (*kcvolumes.AttachResponseItem, error)
Attach a KraftCloud persistent volume to an instance.
Types ¶
type AttachOptions ¶
type AttachOptions struct { At string `long:"at" usage:"The path the volume should be mounted to"` Auth *config.AuthConfig `noattribute:"true"` Client kcvolumes.VolumesService `noattribute:"true"` To string `long:"to" usage:"The instance the volume should be attached to"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.