tools

package
v2.2.0-alpha29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package tools provides utility functions for the service package.

Index

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{})
}

func NewTools

func NewTools(logger *zap.Logger, telemetry teleDB) Service

type Tools

type Tools struct {
	// contains filtered or unexported fields
}

func (*Tools) CreateConfig

func (t *Tools) CreateConfig(_ context.Context, filePath string, configData string) error

func (*Tools) IgnoreTestSet

func (t *Tools) IgnoreTestSet(_ context.Context, _ string) error

func (*Tools) IgnoreTests

func (t *Tools) IgnoreTests(_ context.Context, _ string, _ []string) error

func (*Tools) SendTelemetry

func (t *Tools) SendTelemetry(event string, output ...map[string]interface{})

func (*Tools) Update

func (t *Tools) Update(ctx context.Context) error

Update initiates the tools process for the Keploy binary file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL