versioning

package
v0.0.0-...-9eda336 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package versioning contains utilities to convert types to/from CV API versions as well as tests to avoid regressions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LegacyTryjobResultStatusV0

func LegacyTryjobResultStatusV0(s tryjob.Result_Status) apiv0pb.Tryjob_Result_Status

LegacyTryjobResultStatusV0 converts internal Tryjob Result status to an APIv0 equivalent.

func LegacyTryjobStatusV0

func LegacyTryjobStatusV0(s tryjob.Status) apiv0pb.Tryjob_Status

LegacyTryjobStatusV0 converts internal Tryjob status to an APIv0 equivalent.

func RunStatusV0

func RunStatusV0(s run.Status) apiv0pb.Run_Status

RunStatusV0 converts internal Run status to an APIv0 equivalent.

func RunStatusV1

func RunStatusV1(s run.Status) apiv1pb.Run_Status

RunStatusV1 converts internal Run status to an APIv1 equivalent.

func TryjobStatusV0

func TryjobStatusV0(tjs tryjob.Status, tjrs tryjob.Result_Status) apiv0pb.TryjobStatus

TryjobStatusV0 converts internal Tryjob statuses to an APIv0 equivalent.

Types

This section is empty.

Jump to

Keyboard shortcuts

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