MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / WithAuthRawToken

Function WithAuthRawToken

pkg/attestation/crafter/crafter.go:91–96  ·  view source on GitHub ↗
(token string)

Source from the content-addressed store, hash-verified

89type NewOpt func(c *Crafter) error
90
91func WithAuthRawToken(token string) NewOpt {
92 return func(c *Crafter) error {
93 c.AuthRawToken = token
94 return nil
95 }
96}
97
98func WithLogger(l *zerolog.Logger) NewOpt {
99 return func(c *Crafter) error {

Callers 3

NewAttestationStatusFunction · 0.92
NewAttestationPushFunction · 0.92
NewAttestationInitFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected