Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logs ¶
func Logs(ctx context.Context, opts GetOptions) (io.ReadCloser, error)
Logs returns a ReadCloser with the logs or log metadata requested via HTTP to a cedar service.
Types ¶
type GetOptions ¶
type GetOptions struct {
// The cedar service's base HTTP URL for the request.
BaseURL string
// The user cookie for cedar authorization. Optional.
Cookie *http.Cookie
// User API key and name for request header.
UserKey string
UserName string
// Request information. See cedar's REST documentation for more
// information:
// `https://github.com/evergreen-ci/cedar/wiki/Rest-V1-Usage`.
ID string
TaskID string
TestName string
GroupID string
Start time.Time
End time.Time
Execution int
ProcessName string
Tags []string
PrintTime bool
PrintPriority bool
Tail int
Limit int
Meta bool
}
GetOptions specify the required and optional information to create the buildlogger HTTP GET request to cedar.
Click to show internal directories.
Click to hide internal directories.