protoutil

package
v0.0.0-...-d3da680 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package protoutil contains the utility functions to convert to protobuf.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CulpritActionsForSuspect

func CulpritActionsForSuspect(suspect *model.Suspect) []*pb.CulpritAction

func CulpritToPb

func CulpritToPb(ctx context.Context, culprit *model.Suspect, nsa *model.TestNthSectionAnalysis, culpritMask *mask.Mask) (c *pb.TestCulprit, err error)

func TestFailureAnalysisToPb

func TestFailureAnalysisToPb(ctx context.Context, tfa *model.TestFailureAnalysis, tfaMask *mask.Mask) (analysis *pb.TestAnalysis, err error)

TestFailureAnalysisToPb converts model.TestFailureAnalysis to pb.TestAnalysis

func TestFailureBundleToPb

func TestFailureBundleToPb(ctx context.Context, bundle *model.TestFailureBundle, mask *mask.Mask) []*pb.TestFailure

Types

This section is empty.

Jump to

Keyboard shortcuts

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