Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Build = func(istr string) (attestation.Repository, error) { return New(WithReference(istr)) }
Implement the factory function
View Source
var TypeMoniker = "coci"
Functions ¶
func WithReference ¶
func WithReference(ref string) optFn
Types ¶
type Collector ¶
type Collector struct {
Options Options
}
func (*Collector) Fetch ¶
func (c *Collector) Fetch(ctx context.Context, opts attestation.FetchOptions) ([]attestation.Envelope, error)
Fetch queries the repository and retrieves any attestations matching the query
Click to show internal directories.
Click to hide internal directories.