routingcoverage

package
v1.261116.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoutingCoverageCommand

func NewRoutingCoverageCommand(d *shared.Deps) *ffcli.Command

NewRoutingCoverageCommand returns the routing coverage command group, built on d.

func ReplaceRoutingCoverageWithPreparedFile added in v1.260810.0

func ReplaceRoutingCoverageWithPreparedFile(ctx context.Context, client *asc.Client, versionID, currentCoverageID string, file PreparedRoutingCoverageFile) (*asc.RoutingAppCoverageResponse, error)

ReplaceRoutingCoverageWithPreparedFile revalidates the upload source before deleting the current routing coverage, then creates, uploads, and commits its replacement from the same open source handle. A post-create error returns the replacement response alongside the error when cleanup cannot remove it.

func ReplaceRoutingCoverageWithPreparedFileWith

func ReplaceRoutingCoverageWithPreparedFileWith(ctx context.Context, d *shared.Deps, client *asc.Client, versionID, currentCoverageID string, file PreparedRoutingCoverageFile) (*asc.RoutingAppCoverageResponse, error)

ReplaceRoutingCoverageWithPreparedFileWith is ReplaceRoutingCoverageWithPreparedFile on the given dependencies.

func RevalidatePreparedRoutingCoverageFile added in v1.260810.0

func RevalidatePreparedRoutingCoverageFile(file PreparedRoutingCoverageFile) error

RevalidatePreparedRoutingCoverageFile verifies that the prepared source has not changed since it was initially validated.

func UploadPreparedRoutingCoverageFile added in v1.260810.0

func UploadPreparedRoutingCoverageFile(ctx context.Context, client *asc.Client, versionID string, file PreparedRoutingCoverageFile) (*asc.RoutingAppCoverageResponse, error)

UploadPreparedRoutingCoverageFile creates, uploads, and commits routing coverage. A post-create error returns the reservation response alongside the error when cleanup cannot remove it, so callers can report the retained reservation ID.

func UploadPreparedRoutingCoverageFileWith

func UploadPreparedRoutingCoverageFileWith(ctx context.Context, d *shared.Deps, client *asc.Client, versionID string, file PreparedRoutingCoverageFile) (*asc.RoutingAppCoverageResponse, error)

UploadPreparedRoutingCoverageFileWith is UploadPreparedRoutingCoverageFile on the given dependencies.

Types

type PreparedRoutingCoverageFile added in v1.260810.0

type PreparedRoutingCoverageFile struct {
	Path     string
	FileName string
	FileSize int64
	Checksum string
	// contains filtered or unexported fields
}

PreparedRoutingCoverageFile is a validated routing coverage upload source.

func PrepareRoutingCoverageFile added in v1.260810.0

func PrepareRoutingCoverageFile(path string) (PreparedRoutingCoverageFile, error)

PrepareRoutingCoverageFile validates and fingerprints a routing coverage file.

Jump to

Keyboard shortcuts

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