Documentation
¶
Index ¶
Constants ¶
View Source
const PACKAGR_ENGINE_TYPE_CHEF = "chef"
View Source
const PACKAGR_ENGINE_TYPE_GENERIC = "generic"
View Source
const PACKAGR_ENGINE_TYPE_GOLANG = "golang"
View Source
const PACKAGR_ENGINE_TYPE_NODE = "node"
View Source
const PACKAGR_ENGINE_TYPE_PYTHON = "python"
View Source
const PACKAGR_ENGINE_TYPE_RUBY = "ruby"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
Init(pipelineData *pipeline.Data, config config.Interface, sourceScm scm.Interface) error
PopulateReleaseVersion() error
GetNextMetadata() interface{}
// Validate that required executables are available for the following build/test/package/etc steps
ValidateTools() error
// Commit any local changes and create a git tag. Nothing should be pushed to remote repository yet.
// Make sure you remove any unnecessary files from the repo before making the commit
// CAN NOT override
// MUST set ReleaseCommit
// MUST set ReleaseVersion
// REQUIRES pipelineData.GitLocalPath
// REQUIRES NextMetadata
// USES mgr_keep_lock_file
PackageStep() error
}
Create mock using: mockgen -source=pkg/engine/interface.go -destination=pkg/engine/mock/mock_engine.go
Click to show internal directories.
Click to hide internal directories.