cmd

package
v0.0.0-...-cd06882 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CleanImagesCmd = &subcommands.Command{
	UsageLine: "clean-images",
	ShortDesc: "clean up VM images in the GCP project",
	CommandRun: func() subcommands.CommandRun {
		c := &cleanImagesRun{}
		c.cleanImagesFlags.register(&c.Flags)
		return c
	},
}
View Source
var CleanupInstancesCmd = &subcommands.Command{
	UsageLine: "cleanup-instances",
	ShortDesc: "clean up VM instances in the given config and filters",
	CommandRun: func() subcommands.CommandRun {
		c := &cleanupInstancesRun{}
		c.cleanupInstancesFlags.register(&c.Flags)
		return c
	},
}
View Source
var ImageCmd = &subcommands.Command{
	UsageLine: "image",
	ShortDesc: "import a VM image from GCS to GCE",
	CommandRun: func() subcommands.CommandRun {
		c := &imageRun{}
		c.imageFlags.register(&c.Flags)
		return c
	},
}
View Source
var LeaseCmd = &subcommands.Command{
	UsageLine: "lease",
	ShortDesc: "lease a virtual machine from given inputs",
	CommandRun: func() subcommands.CommandRun {
		c := &leaseRun{}
		c.leaseFlags.register(&c.Flags)
		c.gcloudBackendFlags.register(&c.Flags)
		return c
	},
}
View Source
var ReleaseCmd = &subcommands.Command{
	UsageLine: "release",
	ShortDesc: "release a virtual machine from given inputs",
	CommandRun: func() subcommands.CommandRun {
		c := &releaseRun{}
		c.releaseFlags.register(&c.Flags)
		return c
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL