Documentation
¶
Index ¶
Constants ¶
View Source
const ( DockerComposeSpecType = "DockerCompose" ServicePlanSpecType = "ServicePlanSpec" )
View Source
const ( GitHubPATGenerateURL = "https://github.com/settings/tokens" ComposeFileName = "compose.yaml" DefaultProdEnvName = "Production" )
Variables ¶
View Source
var ( ServiceID string EnvironmentID string ProductTierID string )
View Source
var BuildCmd = &cobra.Command{ Use: "build [--file=file] [--spec-type=spec-type] [--name=service-name] [--description=service-description] [--service-logo-url=service-logo-url] [--environment=environment-name] [--environment-type=environment-type] [--release] [--release-as-preferred] [--release-description=release-description][--interactive] [--image=image-url] [--image-registry-auth-username=username] [--image-registry-auth-password=password] [--env-var=\"key=var\"]", Short: "Build Services from image, compose spec or service plan spec", Long: buildLong, Example: buildExample, RunE: runBuild, SilenceUsage: true, }
BuildCmd represents the build command
View Source
var BuildFromRepoCmd = &cobra.Command{ Use: "build-from-repo", Short: "Build Service from Git Repository", Long: "This command helps to build service from git repository. Run this command from the root of the repository. Make sure you have the Dockerfile in the repository and have the Docker daemon running on your machine.", Example: buildFromRepoExample, RunE: runBuildFromRepo, SilenceUsage: true, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.