{"modulePath":"github.com/SovereignCloudStack/csctl","version":"v0.0.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\nPackage cmd implements important functions for command.\n\n## Variables\n\n```go\nvar (\n\t// Version of csctl.\n\tVersion = \"dev\"\n\t// Commit against which csctl version is cut.\n\tCommit = \"unknown\"\n)\n```\n\n## Functions\n\n```go\nfunc Execute()\n```\nExecute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.\n\n## Types\n\n```go\ntype CreateOptions struct {\n\tClusterStackPath       string\n\tClusterStackReleaseDir string\n\tConfig                 *clusterstack.CsctlConfig\n\tMetadata               *clusterstack.MetaData\n\tCurrentReleaseHash     hash.ReleaseHash\n\tLatestReleaseHash      hash.ReleaseHash\n\tNodeImageRegistry      string\n\t// contains filtered or unexported fields\n}\n```\nCreateOptions contains config for creating a release.\n\n```go\nfunc GetCreateOptions(ctx context.Context, clusterStackPath string) (*CreateOptions, error)\n```\nGetCreateOptions create a Create Option for create command.\n\n","path":"github.com/SovereignCloudStack/csctl/pkg/cmd","name":"cmd","synopsis":"Package cmd implements important functions for command.","isRedistributable":true}
