prow/spyglass/podlogartifact.go
func (a *PodLogArtifact) Size() (int64, error) {
	logs, err := a.jobAgent.GetJobLog(a.name, a.buildID)
	if err != nil {
		return 0, fmt.Errorf("error getting size of pod log: %v", err)
	}
	return int64(len(logs)), nil

}
func (a *PodLogArtifact) Size() (int64, error) {
	logs, err := a.jobAgent.GetJobLog(a.name, a.buildID)
	if err != nil {
		return 0, fmt.Errorf("error getting size of pod log: %v", err)
	}
	return int64(len(logs)), nil

}
func ( a * PodLogArtifact ) Size ( ) ( int64 , error ) { logs , err := a . jobAgent . GetJobLog ( a . name , a . buildID ) if err != nil { return 0 , fmt . Errorf ( " " , err ) } return int64 ( len ( logs ) ) , nil }
// Size gets the size of the pod log. Note: this function makes the same network call as reading the entire file.
Size gets the size of the pod log . Note : this function makes the same network call as reading the entire file .