Documentation ¶
Overview ¶
Package tools provides utility functions for the service package.
Index ¶
- Variables
- type Service
- type Tools
- func (t *Tools) CreateConfig(_ context.Context, filePath string, configData string) error
- func (t *Tools) IgnoreTestSet(_ context.Context, _ string) error
- func (t *Tools) IgnoreTests(_ context.Context, _ string, _ []string) error
- func (t *Tools) SendTelemetry(event string, output ...map[string]interface{})
- func (t *Tools) Update(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrGitHubAPIUnresponsive = errors.New("GitHub API is unresponsive")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Update(ctx context.Context) error CreateConfig(ctx context.Context, filePath string, config string) error SendTelemetry(event string, output ...map[string]interface{}) IgnoreTests(ctx context.Context, testSetID string, testCaseIDs []string) error IgnoreTestSet(ctx context.Context, testSetID string) error }
type Tools ¶
type Tools struct {
// contains filtered or unexported fields
}
func (*Tools) CreateConfig ¶
func (*Tools) IgnoreTests ¶
func (*Tools) SendTelemetry ¶
Click to show internal directories.
Click to hide internal directories.