Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CommitHash represents the Git commit hash at built time CommitHash string // BuildDate represents the date when this tool suite was built BuildDate string )
View Source
var CopyCmd = &cobra.Command{
Use: "copy",
Short: "Copy a zero-os resource",
}
CopyCmd represents the copy subcommand
View Source
var DeleteCmd = &cobra.Command{
Use: "delete",
Short: "Delete a zero-os resource",
}
DeleteCmd represents the delete subcommand
View Source
var ExportCmd = &cobra.Command{
Use: "export",
Short: "Export a zero-os resource",
}
ExportCmd represents the export subcommand
View Source
var ImportCmd = &cobra.Command{
Use: "import",
Short: "Import a zero-os resource",
}
ImportCmd represents the export subcommand
View Source
var ListCmd = &cobra.Command{
Use: "list",
Short: "List zero-os resources",
}
ListCmd represents the list subcommand
View Source
var RestoreCmd = &cobra.Command{
Use: "restore",
Short: "Restore a zero-os resource",
}
RestoreCmd represents the restore subcommand
View Source
var RootCmd = &cobra.Command{
Use: "zeroctl",
Long: `zeroctl controls the zero-os resources
Find more information at github.com/zero-os/0-Disk/zeroctl.`,
}
RootCmd represents the base command when called without any subcommands
View Source
var VersionCmd = &cobra.Command{
Use: "version",
Short: "Output the version information",
Long: "Outputs the tool version, runtime information, and optionally the commit hash.",
Run: outputVersion,
}
VersionCmd represents the version subcommand
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.