MCPcopy
hub / github.com/perkeep/perkeep / SetSigner

Method SetSigner

pkg/schema/blob.go:455–458  ·  view source on GitHub ↗

SetSigner sets the camliSigner field. Calling SetSigner is unnecessary if using Sign.

(signer blob.Ref)

Source from the content-addressed store, hash-verified

453// SetSigner sets the camliSigner field.
454// Calling SetSigner is unnecessary if using Sign.
455func (bb *Builder) SetSigner(signer blob.Ref) *Builder {
456 bb.m["camliSigner"] = signer.String()
457 return bb
458}
459
460// Sign sets the blob builder's camliSigner field with SetSigner
461// and returns the signed JSON using the provided signer.

Callers 15

SignAtMethod · 0.95
vivifyFunction · 0.80
SignMethod · 0.80
SignMethod · 0.80
populateFunction · 0.80
TestHandleGetViaSharingFunction · 0.80
TestAsClaimAndAsShareFunction · 0.80
setAttributeMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by 7

populateFunction · 0.64
TestHandleGetViaSharingFunction · 0.64
TestAsClaimAndAsShareFunction · 0.64