Documentation
¶
Index ¶
- func DetectChefBerkshelf(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) bool
- func DetectGeneric(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) bool
- func DetectGolangDep(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) bool
- func DetectGolangGlide(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) bool
- func DetectGolangMod(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) bool
- func DetectNodeNpm(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) bool
- func DetectNodeYarn(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) bool
- func DetectPythonPip(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) bool
- func DetectRubyBundler(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) bool
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectChefBerkshelf ¶
func DetectGeneric ¶
func DetectGolangDep ¶
func DetectGolangGlide ¶
func DetectGolangMod ¶
func DetectNodeNpm ¶
func DetectNodeYarn ¶
func DetectPythonPip ¶
Types ¶
type Interface ¶
type Interface interface {
Init(pipelineData *pipeline.Data, myconfig config.Interface, client *http.Client) error
// Validate that required executables are available for the following build/test/package/etc steps
MgrValidateTools() error
// Push the release to the package repository (ie. npm, chef supermarket, rubygems)
// Should validate any required credentials are specified.
// CAN override
// REQUIRES pipelineData.GitLocalPath
// REQUIRES NextMetadata
// USES chef_supermarket_username
// USES chef_supermarket_key
// USES npm_auth_token
// USES pypi_repository
// USES pypi_username
// USES pypi_password
// USES rubygems_api_key
MgrDistStep(nextMetadata interface{}) error
}
Create mock using: mockgen -source=pkg/mgr/interface.go -destination=pkg/mgr/mock/mock_mgr.go
Source Files
¶
Click to show internal directories.
Click to hide internal directories.