vantagectl/ becomes the repository root, so the module is gitea.hostxtra.co.uk/vantage/vantage-ctl and the image is vantage/vantage-ctl. The command keeps the name vantagectl. Release tags become a bare v*: the vantagectl/ prefix existed to namespace one component inside a shared repository, and unlike the agent's agent/v* nothing reads this one programmatically.
20 lines
379 B
Go
20 lines
379 B
Go
// Command vantagectl backs up and restores a Vantage control plane.
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"gitea.hostxtra.co.uk/vantage/vantage-ctl/internal/cmd"
|
|
)
|
|
|
|
// Version is stamped at build time with -ldflags "-X main.Version=...".
|
|
var Version = "dev"
|
|
|
|
func main() {
|
|
if err := cmd.Execute(Version); err != nil {
|
|
fmt.Fprintln(os.Stderr, "error:", err)
|
|
os.Exit(1)
|
|
}
|
|
}
|