Documentation ¶
Overview ¶
Package tiles contains methods to work with tlog based verifiable logs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageInfosIndex ¶
ImageInfosIndex returns a map from payload to its index in the transparency log according to the image_info.txt.
Types ¶
type HashReader ¶
type HashReader struct {
URL string
}
HashReader implements tlog.HashReader, reading from tlog-based log located at URL.
func (HashReader) ReadHashes ¶
func (h HashReader) ReadHashes(indices []int64) ([]tlog.Hash, error)
ReadHashes implements tlog.HashReader's ReadHashes. See: https://pkg.go.dev/golang.org/x/mod/sumdb/tlog#HashReader.
Click to show internal directories.
Click to hide internal directories.