Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactManager ¶
type ArtifactManager interface { // PublishArtifact takes in a jobID and path inside the job and // moves the artifact to the artifact stores and returns a key // that references the artifact PublishArtifact(jobID, path string) (key string, err error) // RetrieveArtifact takes in a jobID, keys slice and // moves the artifact to the original path inside the job. If the keys is nil, all artifacts will be // moved into the job. The original path is the path from where the artifact was pushed in // PublishArtifact RetrieveArtifact(jobID string, keys []string) error }
func NewDockerArtifactsManager ¶
func NewDockerArtifactsManager(artifactsDir string) ArtifactManager
type DockerArtifactsManager ¶
type DockerArtifactsManager struct {
// contains filtered or unexported fields
}
func (*DockerArtifactsManager) PublishArtifact ¶
func (d *DockerArtifactsManager) PublishArtifact(jobID, path string) (string, error)
func (*DockerArtifactsManager) RetrieveArtifact ¶
func (d *DockerArtifactsManager) RetrieveArtifact(jobID string, keys []string) error
Click to show internal directories.
Click to hide internal directories.