service

package
v0.0.0-...-0342304 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TkoParseRequest

type TkoParseRequest struct {
	// Path to test results to upload
	ResultsDir string
	// Job name to be passed to tko-parse
	JobName string
}

TkoParseRequest holds information needed by tko/parse CLI.

type TkoPublishService

type TkoPublishService struct {
	LocalArtifactPath string
	RetryCount        int
	JobName           string
}

TkoPublishService serves only one publish request. Not to be confused with a server that creates a new service instance for each request.

func NewTkoPublishService

func NewTkoPublishService(req *api.PublishRequest) (*TkoPublishService, error)

func (*TkoPublishService) UploadToTko

func (ts *TkoPublishService) UploadToTko(ctx context.Context) error

Jump to

Keyboard shortcuts

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