Documentation ¶
Index ¶
- func GetRepoInfo(repoPath string, repoProvider string, repoUrl string, repoHash string) map[string]string
- func ProcessBuildRequest(apiKey string, builderName string, releaseStage string, provider string, ...) error
- func SetBuilderName(name string) (string, error)
- type CreateBuild
- type Payload
- type SourceControl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRepoInfo ¶
func ProcessBuildRequest ¶
func SetBuilderName ¶
Types ¶
type CreateBuild ¶
type CreateBuild struct { BuilderName string `help:"The name of the entity that triggered the build. Could be a user, system etc."` Metadata map[string]string `help:"Additional build information"` ReleaseStage string `help:"The release stage (eg, production, staging) that is being released (if applicable)."` Provider string `help:"The name of the source control provider that contains the source code for the build."` Repository string `help:"The URL of the repository containing the source code being deployed."` Revision string `help:"The source control SHA-1 hash for the code that has been built (short or long hash)"` Path utils.UploadPaths `arg:"" name:"path" help:"Path to the project directory" type:"path" default:"."` VersionName string `help:"The version of the application." xor:"app-version,version-name"` AppVersion string `help:"(deprecated) The version of the application." xor:"app-version,version-name"` VersionCode string `help:"The version code for the application (Android only)." xor:"app-version-code,version-code"` AppVersionCode string `help:"(deprecated) The version code for the application (Android only)." xor:"app-version-code,version-code"` BundleVersion string `help:"The bundle version for the application (iOS only)." xor:"app-bundle-version,bundle-version"` AppBundleVersion string `help:"(deprecated) The bundle version for the application (iOS only)." xor:"app-bundle-version,bundle-version"` }
type Payload ¶
type Payload struct { ApiKey string `json:"apiKey,omitempty"` BuilderName string `json:"builderName,omitempty"` ReleaseStage string `json:"releaseStage,omitempty"` SourceControl SourceControl `json:"sourceControl,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` AppVersion string `json:"appVersion,omitempty"` AppVersionCode string `json:"appVersionCode,omitempty"` AppBundleVersion string `json:"appBundleVersion,omitempty"` }
type SourceControl ¶
Click to show internal directories.
Click to hide internal directories.