Documentation
¶
Index ¶
- func ComputeDigest(in io.ReadSeeker, instanceName string) (*digest.InstanceNameDigest, error)
- func ComputeFileDigest(fullFilePath, instanceName string) (*digest.InstanceNameDigest, error)
- func GetActionResult(ctx context.Context, acClient repb.ActionCacheClient, ...) (*repb.ActionResult, error)
- func GetBlob(ctx context.Context, bsClient bspb.ByteStreamClient, ...) error
- func GetBlobAsProto(ctx context.Context, bsClient bspb.ByteStreamClient, ...) error
- func UploadActionResult(ctx context.Context, acClient repb.ActionCacheClient, ...) error
- func UploadBlob(ctx context.Context, bsClient bspb.ByteStreamClient, instanceName string, ...) (*repb.Digest, error)
- func UploadFile(ctx context.Context, bsClient bspb.ByteStreamClient, ...) (*repb.Digest, error)
- func UploadFromReader(ctx context.Context, bsClient bspb.ByteStreamClient, ...) (*repb.Digest, error)
- func UploadProto(ctx context.Context, bsClient bspb.ByteStreamClient, instanceName string, ...) (*repb.Digest, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeDigest ¶
func ComputeDigest(in io.ReadSeeker, instanceName string) (*digest.InstanceNameDigest, error)
func ComputeFileDigest ¶
func ComputeFileDigest(fullFilePath, instanceName string) (*digest.InstanceNameDigest, error)
func GetActionResult ¶
func GetActionResult(ctx context.Context, acClient repb.ActionCacheClient, ad *digest.InstanceNameDigest) (*repb.ActionResult, error)
func GetBlob ¶
func GetBlob(ctx context.Context, bsClient bspb.ByteStreamClient, d *digest.InstanceNameDigest, out io.Writer) error
func GetBlobAsProto ¶
func GetBlobAsProto(ctx context.Context, bsClient bspb.ByteStreamClient, d *digest.InstanceNameDigest, out proto.Message) error
func UploadActionResult ¶
func UploadActionResult(ctx context.Context, acClient repb.ActionCacheClient, ad *digest.InstanceNameDigest, ar *repb.ActionResult) error
func UploadBlob ¶
func UploadBlob(ctx context.Context, bsClient bspb.ByteStreamClient, instanceName string, in io.ReadSeeker) (*repb.Digest, error)
func UploadFile ¶
func UploadFromReader ¶
func UploadFromReader(ctx context.Context, bsClient bspb.ByteStreamClient, ad *digest.InstanceNameDigest, in io.ReadSeeker) (*repb.Digest, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.