mirror of
https://github.com/containers/image.git
synced 2025-04-18 19:44:05 +03:00
17 lines
333 B
Go
17 lines
333 B
Go
//go:build containers_image_rekor_stub
|
|
|
|
package rekor
|
|
|
|
import (
|
|
"fmt"
|
|
"net/url"
|
|
|
|
signerInternal "github.com/containers/image/v5/signature/sigstore/internal"
|
|
)
|
|
|
|
func WithRekor(rekorURL *url.URL) signerInternal.Option {
|
|
return func(s *signerInternal.SigstoreSigner) error {
|
|
return fmt.Errorf("rekor disabled at build time")
|
|
}
|
|
}
|