MCPcopy Create free account
hub / github.com/cortexproject/cortex / Sign

Method Sign

pkg/util/grpcclient/signing_handler.go:34–34  ·  view source on GitHub ↗

Sign returns the signature for the given request

(context.Context)

Source from the content-addressed store, hash-verified

32type SignRequest interface {
33 // Sign returns the signature for the given request
34 Sign(context.Context) (string, error)
35 // VerifySign returns true if the signature is valid
36 VerifySign(context.Context, string) (bool, error)
37}

Callers 3

BenchmarkSignRequestFunction · 0.65
TestWriteRequest_SignFunction · 0.65

Implementers 1

WriteRequestpkg/cortexpb/cortex.pb.go

Calls

no outgoing calls

Tested by 2

BenchmarkSignRequestFunction · 0.52
TestWriteRequest_SignFunction · 0.52