blob: 668c91d94b532cb4522854a144c1da87df5d47b4 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Package resultstore is an abstraction over the ResultStore Upload API proto definitions.
//
// UploadClient is a wrapper around the ResultStoreUpload client libraries. Each of the
// entities in this package wrap individual messages, and convert to and from their
// counterparts. These wrappers are more easily filled from user input than raw proto messages.
//
// See https://github.com/googleapis/googleapis/tree/master/google/devtools/resultstore/v2
// for more details on the proto definitions.
//
// Run 'go generate ./...' to regenerate mock sources in this package.
//
//go:generate mockgen -destination=mocks/proto_mocks.go -package=mock_resultstore google.golang.org/genproto/googleapis/devtools/resultstore/v2 ResultStoreUploadClient
//go:generate mockgen -destination=mocks/mock_upload_client.go -package=mock_resultstore fuchsia.googlesource.com/infra/infra/resultstore UploadClient
//
// Do not forget to add the Fuchsia copyright header at the top of the generated file.
package resultstore