util

package
v0.0.0-...-d9594ae Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentDigestToBase64

func ContentDigestToBase64(digest *remoteexecution.Digest) string

func ResourcePathToContentDigest

func ResourcePathToContentDigest(resourceName string) (*remoteexecution.Digest, error)

ResourceToContentDigest translates the bytestream resource name into a Digest object.

See `resource_name` in the documentation of `ContentAddressableStorage`.

  • {instance_name}/blobs/{hash}/{size}
  • {instance_name}/uploads/{uuid}/blobs/{hash}/{size}/foo/bar/baz.cc
  • {instance_name}/blobs/{hash}/{size}

Types

This section is empty.

Jump to

Keyboard shortcuts

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