Documentation ¶
Index ¶
- Constants
- func AddAnnotation(tr *v1beta1.TaskRun, ps versioned.Interface, key, value string, ...) error
- func AddRetry(tr *v1beta1.TaskRun, ps versioned.Interface, annotations map[string]string) error
- func HandleRetry(tr *v1beta1.TaskRun, ps versioned.Interface, annotations map[string]string) error
- func MarkFailed(tr *v1beta1.TaskRun, ps versioned.Interface, annotations map[string]string) error
- func MarkSigned(tr *v1beta1.TaskRun, ps versioned.Interface, annotations map[string]string) error
- func Reconciled(tr *v1beta1.TaskRun) bool
- func RetryAvailable(tr *v1beta1.TaskRun) bool
- type Signer
- type TaskRunSigner
- type TaskRunVerifier
- type Verifier
Constants ¶
View Source
const ( // ChainsAnnotation is the standard annotation to indicate a TR has been signed. ChainsAnnotation = "chains.tekton.dev/signed" RetryAnnotation = "chains.tekton.dev/retries" ChainsTransparencyAnnotation = "chains.tekton.dev/transparency" MaxRetries = 3 )
View Source
const (
RekorAnnotation = "chains.tekton.dev/transparency-upload"
)
Variables ¶
This section is empty.
Functions ¶
func AddAnnotation ¶ added in v0.4.0
func HandleRetry ¶ added in v0.4.0
func MarkFailed ¶ added in v0.4.0
func MarkSigned ¶
MarkSigned marks a TaskRun as signed.
func Reconciled ¶ added in v0.4.0
Reconciled determines whether a TaskRun has already passed through the reconcile loops, up to 3x
func RetryAvailable ¶ added in v0.4.0
Types ¶
type TaskRunSigner ¶
type TaskRunSigner struct { KubeClient kubernetes.Interface Pipelineclientset versioned.Interface SecretPath string }
func (*TaskRunSigner) SignTaskRun ¶
SignTaskRun signs a TaskRun, and marks it as signed.
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.