executers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

View Source
const (
	FailedToRetrieve          = "Failed to retrieve"
	FromBothArtifactoryAndVcs = "from both Artifactory and VCS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GoPackage

type GoPackage interface {
	PopulateModAndPublish(targetRepo string, cache *cache.DependenciesCache, serviceManager artifactory.ArtifactoryServicesManager) error
	Init() error

	New(cachePath string, dependency Package) GoPackage
	// contains filtered or unexported methods
}

type Package

type Package struct {
	// contains filtered or unexported fields
}

Represent go dependency package.

func GetDependencies

func GetDependencies(cachePath string, moduleSlice map[string]bool) ([]Package, error)

func (*Package) Dependencies

func (dependencyPackage *Package) Dependencies() []buildinfo.Dependency

func (*Package) GetId

func (dependencyPackage *Package) GetId() string

func (*Package) GetModContent

func (dependencyPackage *Package) GetModContent() []byte

func (*Package) GetZipPath

func (dependencyPackage *Package) GetZipPath() string

func (*Package) Init

func (dependencyPackage *Package) Init() error

Init the dependency information if needed.

func (*Package) New

func (dependencyPackage *Package) New(cachePath string, dep Package) GoPackage

func (*Package) PopulateModAndPublish

func (dependencyPackage *Package) PopulateModAndPublish(targetRepo string, cache *cache.DependenciesCache, serviceManager artifactory.ArtifactoryServicesManager) error

func (*Package) PopulateZip added in v0.5.3

func (dependencyPackage *Package) PopulateZip() error

PopulateZip adds the zip file as build-info dependency

func (*Package) Publish

func (dependencyPackage *Package) Publish(summary string, targetRepo string, servicesManager artifactory.ArtifactoryServicesManager) error

func (*Package) SetModContent

func (dependencyPackage *Package) SetModContent(modContent []byte)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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