prow/spyglass/podlogartifact.go
func NewPodLogArtifact(jobName string, buildID string, sizeLimit int64, ja jobAgent) (*PodLogArtifact, error) {
	if jobName == "" {
		return nil, errInsufficientJobInfo
	}
	if buildID == "" {
		return nil, errInsufficientJobInfo
	}
	if sizeLimit < 0 {
		return nil, errInvalidSizeLimit
	}
	return &PodLogArtifact{
		name:      jobName,
		buildID:   buildID,
		sizeLimit: sizeLimit,
		jobAgent:  ja,
	}, nil
}
func NewPodLogArtifact(jobName string, buildID string, sizeLimit int64, ja jobAgent) (*PodLogArtifact, error) {
	if jobName == "" {
		return nil, errInsufficientJobInfo
	}
	if buildID == "" {
		return nil, errInsufficientJobInfo
	}
	if sizeLimit < 0 {
		return nil, errInvalidSizeLimit
	}
	return &PodLogArtifact{
		name:      jobName,
		buildID:   buildID,
		sizeLimit: sizeLimit,
		jobAgent:  ja,
	}, nil
}
func NewPodLogArtifact ( jobName string , buildID string , sizeLimit int64 , ja jobAgent ) ( * PodLogArtifact , error ) { if jobName == " " { return nil , errInsufficientJobInfo } if buildID == " " { return nil , errInsufficientJobInfo } if sizeLimit < 0 { return nil , errInvalidSizeLimit } return & PodLogArtifact { name : jobName , buildID : buildID , sizeLimit : sizeLimit , jobAgent : ja , } , nil }
// NewPodLogArtifact creates a new PodLogArtifact
NewPodLogArtifact creates a new PodLogArtifact