Documentation
¶
Index ¶
Constants ¶
View Source
const (
StorageBackendOCI = "oci"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func NewStorageBackend ¶
func NewStorageBackend(logger *zap.SugaredLogger, client kubernetes.Interface, tr *v1beta1.TaskRun, cfg config.Config) (*Backend, error)
NewStorageBackend returns a new OCI StorageBackend that stores signatures in an OCI registry
func (*Backend) RetrievePayload ¶ added in v0.6.0
func (b *Backend) RetrievePayload(opts config.StorageOpts) (string, error)
func (*Backend) RetrieveSignature ¶ added in v0.6.0
func (b *Backend) RetrieveSignature(opts config.StorageOpts) (string, error)
func (*Backend) StorePayload ¶
func (b *Backend) StorePayload(rawPayload []byte, signature string, storageOpts config.StorageOpts) error
StorePayload implements the Payloader interface.
Click to show internal directories.
Click to hide internal directories.