 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const (
	// SignatureAnnotation is the key of signature in annotation map
	SignatureAnnotation = "tekton.dev/signature"
)
    Variables ¶
This section is empty.
Functions ¶
func ComputeSha256Checksum ¶
ComputeSha256Checksum computes the sha256 checksum of the tekton object.
func PrepareObjectMeta ¶
func PrepareObjectMeta(in metav1.Object) metav1.ObjectMeta
PrepareObjectMeta will remove annotations not configured from user side -- "kubectl-client-side-apply" and "kubectl.kubernetes.io/last-applied-configuration" (added when an object is created with `kubectl apply`) to avoid verification failure and extract the signature. Returns a copy of the input object metadata with the annotations removed and the object's signature, if it is present in the metadata.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.