Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyOptions ¶
type DeleteOptions ¶
type DeleteOptions struct { ImageIds []int // contains filtered or unexported fields }
type DoCommand ¶
type DoCommand struct {
*DoImages
}
DoCommand implements the images various interfaces, such as Fetcher, Deleter, Modifier, etc..
func NewCommand ¶
NewCommand returns a new instance of DoCommand
type DoImages ¶
type DoImages struct {
// contains filtered or unexported fields
}
DoImages is responsible of managing DigitalOcean images
func (*DoImages) CopyImages ¶
func (d *DoImages) CopyImages(opts *CopyOptions) error
Copy transfers the images to other regions
func (*DoImages) DeleteImages ¶
func (d *DoImages) DeleteImages(opts *DeleteOptions) error
Delete deletes the given images.
func (*DoImages) RenameImages ¶
func (d *DoImages) RenameImages(opts *RenameOptions) error
RenameImages renames the images to the given new names
func (*DoImages) UserImages ¶
type RenameOptions ¶
Click to show internal directories.
Click to hide internal directories.