Versions in this module Expand all Collapse all v3 v3.0.0 Aug 3, 2026 Changes in this version + var ErrRetryTimeout = errors.New("request retry timeout") + type AuthError struct + Message string + func (e *AuthError) Error() string + type BadRequestError struct + Message string + func (e *BadRequestError) Error() string + type BillingError struct + Message string + func (e *BillingError) Error() string + type Client struct + OrganizationSlug string + ServerBaseURL string + UploadBaseURL string + func NewClient(cfg ClientConfig) *Client + func (c *Client) UploadTestResults(ctx context.Context, token string, filePath string, format string, ...) error + func (c Client) CreateTestPlan(ctx context.Context, suiteSlug string, params TestPlanParams) (plan.TestPlan, error) + func (c Client) CreateTestPlanRaw(ctx context.Context, suiteSlug string, params TestPlanParams) (plan.TestPlan, json.RawMessage, error) + func (c Client) FetchCommitList(ctx context.Context, suiteSlug string, days int) ([]string, error) + func (c Client) FetchFilesTiming(ctx context.Context, suiteSlug string, files []string) (map[string]time.Duration, error) + func (c Client) FetchTestPlan(ctx context.Context, suiteSlug string, identifier string, jobRetryCount int) (*plan.TestPlan, error) + func (c Client) FilterTests(ctx context.Context, suiteSlug string, params FilterTestsParams) ([]FilteredTest, error) + func (c Client) GetSuite(ctx context.Context, suiteSlug string) (Suite, error) + func (c Client) PostTestPlanMetadata(ctx context.Context, suiteSlug string, identifier string, ...) error + func (c Client) PresignUpload(ctx context.Context, suiteSlug string) (PresignedUploadResponse, error) + type ClientConfig struct + AccessToken string + OrganizationSlug string + ServerBaseURL string + UploadBaseURL string + type FilterTestsParams struct + Env config.EnvPayload + Files []TestPlanFile + MaxParallelism int + TargetTime float64 + type FilteredTest struct + Path string + type FilteredTestResponse struct + Tests []FilteredTest + type ForbiddenError struct + Message string + func (e *ForbiddenError) Error() string + type NotFoundError struct + Message string + func (e *NotFoundError) Error() string + type PresignedUploadResponse struct + Form upload.PresignedUploadForm + OrganizationID string + SuiteID string + URI string + type RetryTimeoutError struct + LastError error + func (e *RetryTimeoutError) Error() string + func (e *RetryTimeoutError) Is(target error) bool + func (e *RetryTimeoutError) Unwrap() error + type SelectionParams struct + Params map[string]string + Strategy string + type Suite struct + ID string + OrganizationID string + type TestPlanExample struct + Format plan.TestCaseFormat + Identifier string + Name string + Path string + Scope string + type TestPlanFile struct + Path string + type TestPlanMetadataParams struct + Env config.EnvPayload + Statistics runner.RunStatistics + Timeline []Timeline + Version string + type TestPlanParams struct + Branch string + Identifier string + LocationPrefix string + MaxParallelism int + Metadata map[string]string + Parallelism int + Runner string + Selection *SelectionParams + TargetTime float64 + Tests TestPlanParamsTest + type TestPlanParamsSelector struct + Value string + type TestPlanParamsTest struct + Examples []TestPlanExample + Files []TestPlanFile + Selectors []TestPlanParamsSelector + type Timeline struct + Event string + Timestamp string + type UnprocessableEntityError struct + Message string + func (e *UnprocessableEntityError) Error() string Other modules containing this package github.com/buildkite/test-engine-client github.com/buildkite/test-engine-client/v2