Documentation ¶
Index ¶
Constants ¶
View Source
const (
// GoogleBucketURL is an url go GCS bucket with results of Google-run tests.
GoogleBucketURL = "https://storage.googleapis.com/kubernetes-jenkins/logs"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinishedFile ¶
FinishedFile is a type in which we store test result in GCS as finished.json
type Utils ¶
type Utils struct {
// contains filtered or unexported fields
}
Utils is a struct handling all communication with a given bucket
func (*Utils) CheckFinishedStatus ¶
CheckFinishedStatus reads the finished.json file for a given job and build number. It returns true if the result stored there is success, and false otherwise.
func (*Utils) GetFileFromJenkinsGoogleBucket ¶
func (u *Utils) GetFileFromJenkinsGoogleBucket(job string, buildNumber int, path string) (*http.Response, error)
GetFileFromJenkinsGoogleBucket reads data from Google project's GCS bucket for the given job and buildNumber. Returns a response with file stored under a given (relative) path or an error.
Click to show internal directories.
Click to hide internal directories.