Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateImageName ¶
CreateImageName create image name
Types ¶
type ErrorBuild ¶
type ErrorBuild struct {
Code int
}
ErrorBuild build error
func (*ErrorBuild) Error ¶
func (e *ErrorBuild) Error() string
type MediumType ¶
type MediumType string
MediumType Build output medium type
var ImageMediumType MediumType = "image"
ImageMediumType image type
var SlugMediumType MediumType = "slug"
SlugMediumType slug type
type Request ¶
type Request struct {
TenantID string
SourceDir string
CacheDir string
TGZDir string
RepositoryURL string
Branch string
ServiceAlias string
ServiceID string
DeployVersion string
Runtime string
ServerType string
Commit Commit
Lang code.Lang
BuildEnvs map[string]string
Logger event.Logger
DockerClient *client.Client
}
Request build input
type Response ¶
type Response struct {
MediumPath string
MediumType MediumType
}
Response build result
Click to show internal directories.
Click to hide internal directories.