Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend interface {
StorePayload(ctx context.Context, obj objects.TektonObject, rawPayload []byte, signature string, opts config.StorageOpts) error
// RetrievePayloads maps [ref]:[payload] for a TaskRun
RetrievePayloads(ctx context.Context, obj objects.TektonObject, opts config.StorageOpts) (map[string]string, error)
// RetrieveSignatures maps [ref]:[list of signatures] for a TaskRun
RetrieveSignatures(ctx context.Context, obj objects.TektonObject, opts config.StorageOpts) (map[string][]string, error)
// Type is the string representation of the backend
Type() string
}
Backend is an interface to store a chains Payload
Click to show internal directories.
Click to hide internal directories.