prow/spyglass/podlogartifact_fetcher.go
func (af *PodLogArtifactFetcher) artifact(jobName, buildID string, sizeLimit int64) (lenses.Artifact, error) {

	podLog, err := NewPodLogArtifact(jobName, buildID, sizeLimit, af.jobAgent)
	if err != nil {
		return nil, fmt.Errorf("Error accessing pod log from given source: %v", err)
	}
	return podLog, nil
}
func (af *PodLogArtifactFetcher) artifact(jobName, buildID string, sizeLimit int64) (lenses.Artifact, error) {

	podLog, err := NewPodLogArtifact(jobName, buildID, sizeLimit, af.jobAgent)
	if err != nil {
		return nil, fmt.Errorf("Error accessing pod log from given source: %v", err)
	}
	return podLog, nil
}
// artifact constructs an artifact handle for the given job build