engine

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2023 License: MIT Imports: 19 Imported by: 0

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

func Create

func Create(engineType string, pipelineData *pipeline.Data, configImpl config.Interface, sourceImpl scm.Interface) (Interface, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL