testutil

package
v0.0.0-...-864d242 Latest Latest
Warning

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

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

Documentation

Overview

Package testutil contains util functions for testing buildbucket RPCs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PutBucket

func PutBucket(ctx context.Context, project, bucket string, cfg *pb.Bucket)

PutBucket saves a *model.Bucket to datastore for test usage.

func PutBuilder

func PutBuilder(ctx context.Context, project, bucket, builder string, backend string)

PutBuilder saves a *model.Builder to datastore for test usage.

Types

This section is empty.

Jump to

Keyboard shortcuts

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