Documentation ¶
Index ¶
- Constants
- func Compute(in io.Reader) (*repb.Digest, error)
- func ComputeForMessage(in proto.Message) (*repb.Digest, error)
- func DownloadResourceName(d *repb.Digest, instanceName string) string
- func UploadResourceName(d *repb.Digest, instanceName string) (string, error)
- func Validate(d *repb.Digest) (string, error)
- type InstanceNameDigest
Constants ¶
View Source
const ( EmptySha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" EmptyHash = "" )
Variables ¶
This section is empty.
Functions ¶
func UploadResourceName ¶
Types ¶
type InstanceNameDigest ¶
func NewInstanceNameDigest ¶
func NewInstanceNameDigest(d *repb.Digest, instanceName string) *InstanceNameDigest
func (*InstanceNameDigest) GetInstanceName ¶
func (i *InstanceNameDigest) GetInstanceName() string
Click to show internal directories.
Click to hide internal directories.