Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteOptions ¶
type DeleteOptions struct { Names []string // contains filtered or unexported fields }
type DeprecateOptions ¶
type GceCommand ¶
type GceCommand struct {
*GceImages
}
GceCommand implements the images various interfaces, such as Fetcher, Deleter, Modifier, etc..
func NewCommand ¶
func NewCommand(args []string) (*GceCommand, []string, error)
NewCommand returns a new instance of GceImages
func (*GceCommand) Delete ¶
func (g *GceCommand) Delete(args []string) error
func (*GceCommand) Help ¶
func (g *GceCommand) Help(command string) string
Help prints the help message for the given command
func (*GceCommand) List ¶
func (g *GceCommand) List(args []string) error
List implements the command.Lister interface
func (*GceCommand) Modify ¶
func (g *GceCommand) Modify(args []string) error
Modify renames the given images
type GceImages ¶
type GceImages struct {
// contains filtered or unexported fields
}
GceImages is responsible of managing GCE images
func (*GceImages) DeleteImages ¶
func (g *GceImages) DeleteImages(opts *DeleteOptions) error
Delete deletes the given images.
func (*GceImages) DeprecateImages ¶
func (g *GceImages) DeprecateImages(opts *DeprecateOptions) error
Modify renames the given images
func (*GceImages) ProjectImages ¶
Click to show internal directories.
Click to hide internal directories.