Documentation
¶
Overview ¶
Package cli is the mcloud command line.
Index ¶
Constants ¶
const PreviewLabel = "preview"
PreviewLabel is the pull request label that asks for a preview.
const ProjectFile = "maxcloud.yaml"
ProjectFile, in an app's repo, names the app so commands run there don't need it spelled out.
Variables ¶
var Version = ""
Version is set at build time (-ldflags "-X ...cli.Version=v0.1.0").
Functions ¶
func CredentialHelper ¶ added in v0.10.0
CredentialHelper is the docker credential helper protocol (https://github.com/docker/docker-credential-helpers): get prints a login for the server on stdin. The password is $MCLOUD_REGISTRY_TOKEN (a push token mcloud got for this build), or in GitHub Actions a fresh OIDC token of the workflow, whose audience is the registry's host (those last about 5 minutes, less than a build, hence asking on every get).
Types ¶
This section is empty.
Source Files
¶
- appapi.go
- apps.go
- bucket.go
- build.go
- ci.go
- ci_preview.go
- clusterbuild.go
- db.go
- dbdump.go
- deploy.go
- dev.go
- direct.go
- doctor.go
- env.go
- environments.go
- environments_status.go
- generate.go
- init.go
- login.go
- logs.go
- migrate.go
- observe.go
- output.go
- owners.go
- platform.go
- preview.go
- project_env.go
- queue.go
- rollback.go
- root.go
- run.go
- sandbox.go
- sandbox_forward.go
- sandbox_prompt.go
- sandbox_pull.go
- sandbox_ssh.go
- sdkversion.go
- secrets.go
- source.go
- status.go
- status_extras.go
- sync.go
- workflow.go