Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParseName ¶
func MustParseName(name string) (invID invocations.ID, testID, exonerationID string)
MustParseName extracts invocation, test id and exoneration IDs from the name. Panics on failure.
func Read ¶
Read reads a test exoneration from Spanner. If it does not exist, the returned error is annotated with NotFound GRPC code.
func ToLimitedData ¶
func ToLimitedData(ctx context.Context, te *pb.TestExoneration) error
ToLimitedData limits the given TestExoneration to the fields allowed when the caller only has the listLimited permission for test exonerations.
Types ¶
type Query ¶
type Query struct { InvocationIDs invocations.IDSet Predicate *pb.TestExonerationPredicate PageSize int // must be positive PageToken string }
Query specifies test exonerations to fetch.
Click to show internal directories.
Click to hide internal directories.