service

package
v0.0.0-...-6700e38 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Overview

Package service provides the API handlers for ants publish.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntsPublishService

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

func NewAntsPublishService

func NewAntsPublishService(ctx context.Context, req *api.PublishRequest) (*AntsPublishService, error)

NewAntsPublishService creates a new publish service to interact with Ants.

func (*AntsPublishService) UploadArtifacts

func (aps *AntsPublishService) UploadArtifacts(ctx context.Context) error

func (*AntsPublishService) UploadToAnts

func (aps *AntsPublishService) UploadToAnts(ctx context.Context) error

UploadToAnts uploads test results to Ants.

type InvocationSealedError

type InvocationSealedError struct {
	InvocationID string
	State        string
}

func (*InvocationSealedError) Error

func (ie *InvocationSealedError) Error() string

Jump to

Keyboard shortcuts

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