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 AppReadme(name string, dryRun bool) error
- func Apply(c *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 Diffed(_ *cli.Context) error
- func DoBuild(client api.Client, installation *api.Installation, force bool) error
- func DownloadReadme(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 HandleDiff(_ *cli.Context) error
- func HandleDown(_ *cli.Context) error
- func HandleHelmTemplate(c *cli.Context) error
- func HandleImport(c *cli.Context) error
- func HandleInfo(c *cli.Context) error
- func HandleLogin(c *cli.Context) error
- func HandleRepair(c *cli.Context) error
- func HandleScaffold(c *cli.Context) error
- func HandleServe(c *cli.Context) error
- func HandleUnlock(_ *cli.Context) error
- func HandleWait(c *cli.Context) error
- func HandleWatch(c *cli.Context) error
- func Highlighted(fn func(*cli.Context) error) func(*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 Owned(fn func(*cli.Context) error) func(*cli.Context) error
- func Preflights(c *cli.Context) error
- func PrintListNodes(nodes *v1.NodeList) error
- func RepoRoot() error
- func RequireArgs(fn func(*cli.Context) error, args []string) func(*cli.Context) error
- func RequireKind(fn func(*cli.Context) error) func(*cli.Context) error
- func Rooted(fn func(*cli.Context) error) func(*cli.Context) error
- func RunPreflights(c *cli.Context) (provider.Provider, error)
- func TestTemplate(c *cli.Context) error
- func Tracked(fn func(*cli.Context) error, event string) func(*cli.Context) error
- func UpstreamSynced(fn func(*cli.Context) error) func(*cli.Context) error
- func ValidateOwner() error
- func VersionInfo(_ *cli.Context) error
- func VersionValid(vsn string) bool
- type GrafanaDashboard
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 ( ErrNoGit = fmt.Errorf("Could not compare current workspace to origin. Do you have an `origin` remote configured, or does your repo not have an initial commit?") ErrRemoteDiff = fmt.Errorf("Your local workspace is not in sync with remote. Either `git pull` recent changes or `git push` any missed changes. Also confirm you can authenticate to the origin remote, which you can see with `git remote -v`") 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.") )
View Source
var ( Version = versionPlaceholder Commit = "" Date = "" )
View Source
var BootstrapMode bool
Functions ¶
func CryptoInit ¶
func DownloadReadme ¶
func GetIdAndName ¶
func GitCommand ¶
func HandleClone ¶
func HandleDiff ¶
func HandleDown ¶
func HandleHelmTemplate ¶
func HandleImport ¶
func HandleInfo ¶
func HandleLogin ¶
func HandleRepair ¶
func HandleScaffold ¶
func HandleServe ¶
func HandleUnlock ¶
func HandleWait ¶
func HandleWatch ¶
func Preflights ¶
func PrintListNodes ¶
func RequireArgs ¶
func TestTemplate ¶
func ValidateOwner ¶
func ValidateOwner() error
func VersionInfo ¶
func VersionValid ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.