Documentation
¶
Index ¶
Constants ¶
View Source
const (
RekorAnnotation = "chains.tekton.dev/transparency-upload"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectSigner ¶ added in v0.13.0
type ObjectSigner struct {
// Backends: store payload and signature
// The keys are different storage option's name. {docdb, gcs, grafeas, oci, tekton}
// The values are the actual storage backends that will be used to store and retrieve provenance.
Backends map[string]storage.Backend
SecretPath string
Pipelineclientset versioned.Interface
Recorder metrics.Recorder
}
func (*ObjectSigner) Sign ¶ added in v0.13.0
func (o *ObjectSigner) Sign(ctx context.Context, tektonObj objects.TektonObject) error
Sign TaskRun and PipelineRun objects, as well as generates attestations for each. Follows process of extract payload, sign payload, store payload and signature.
type TaskRunVerifier ¶ added in v0.6.0
type TaskRunVerifier struct {
KubeClient kubernetes.Interface
Pipelineclientset versioned.Interface
SecretPath string
}
func (*TaskRunVerifier) VerifyTaskRun ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.