Documentation ¶
Index ¶
- Constants
- Variables
- func Affirm(msg string, envKey string) bool
- func Affirmed(fn func(*cli.Context) error, msg string, envKey string) func(*cli.Context) error
- func CaptureStdout(app *cli.App, arg []string) (string, error)
- func CommitMsg(c *cli.Context) string
- func Confirm(msg string, envKey string) bool
- func CryptoInit(c *cli.Context) error
- func GetIdAndName(input string) (id, name *string)
- func GitCommand(args ...string) *exec.Cmd
- func GitConfig(name, val string) error
- func HandleClone(c *cli.Context) error
- func HandleDown(_ *cli.Context) error
- func HandleImport(c *cli.Context) error
- func HandleLogin(c *cli.Context) error
- func HandleUnlock(_ *cli.Context) error
- func InitKubeconfig(fn func(*cli.Context) error) func(*cli.Context) error
- func KubeInit(_ *cli.Context) error
- func LatestVersion(fn func(*cli.Context) error) func(*cli.Context) error
- func Preflights(c *cli.Context) error
- func PrintListNodes(nodes *v1.NodeList) error
- func RequireArgs(fn func(*cli.Context) error, args []string) func(*cli.Context) error
- func RunPreflights(c *cli.Context) (provider.Provider, error)
- func Tracked(fn func(*cli.Context) error, event string) func(*cli.Context) error
- func VersionInfo(_ *cli.Context) error
Constants ¶
View Source
const ( AffirmUp = "" /* 139-byte string literal not displayed */ AffirmDown = "Are you ready to destroy your plural infrastructure? This will destroy all k8s clusters and any data stored within" )
View Source
const ( GitAttributesFile = ".gitattributes" GitIgnoreFile = ".gitignore" )
View Source
const BackupMsg = "" /* 126-byte string literal not displayed */
View Source
const Gitattributes = `` /* 756-byte string literal not displayed */
View Source
const Gitignore = `/**/.terraform
/**/.terraform*
/**/terraform.tfstate*
/bin
*~
.idea
*.swp
*.swo
.DS_STORE
.vscode
`
Variables ¶
View Source
var ( Version = versionPlaceholder Commit = "" Date = "" )
View Source
var (
ErrUnlock = fmt.Errorf("could not decrypt your repo, this is likely due to using the wrong key at ~/.plural/key. The original key might be in a backup or on your previous machine.")
)
Functions ¶
func CryptoInit ¶
func GetIdAndName ¶
func GitCommand ¶
func HandleClone ¶
func HandleDown ¶
func HandleImport ¶
func HandleLogin ¶
func HandleUnlock ¶
func Preflights ¶
func PrintListNodes ¶
func RequireArgs ¶
func VersionInfo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.