Documentation ¶
Index ¶
- Variables
- type Build
- func (b *Build) AddReportEntry(e string)
- func (b *Build) AddReportEntryf(f string, a ...interface{})
- func (b *Build) GetArtifact() string
- func (b *Build) GetArtifactDir() string
- func (b *Build) GetBuildDir() string
- func (b *Build) GetCloneDir() string
- func (b *Build) GetProjectDir() string
- func (b *Build) GetReport() string
- func (b *Build) GetStatus() entity.BuildStatus
- func (b *Build) Pack(ctx context.Context) error
- func (b *Build) SetArtifact(a string)
- func (b *Build) SetStatus(s entity.BuildStatus)
- func (b *Build) Setup(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCanceled = errors.New("build: canceled by context")
)
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct {
// contains filtered or unexported fields
}
func (*Build) AddReportEntry ¶
func (*Build) AddReportEntryf ¶
func (*Build) GetArtifact ¶
func (*Build) GetArtifactDir ¶
func (*Build) GetBuildDir ¶
func (*Build) GetCloneDir ¶
func (*Build) GetProjectDir ¶
func (*Build) GetStatus ¶
func (b *Build) GetStatus() entity.BuildStatus
func (*Build) Pack ¶
Pack packs the Build (the content from the build folder) into a zip file and puts the path to the resulting zip file into the artifact field.
func (*Build) SetArtifact ¶
func (*Build) SetStatus ¶
func (b *Build) SetStatus(s entity.BuildStatus)
Click to show internal directories.
Click to hide internal directories.