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

Function NewAttestationClient

app/controlplane/pkg/data/ent/client.go:556–558  ·  view source on GitHub ↗

NewAttestationClient returns a client for the Attestation from the given config.

(c config)

Source from the content-addressed store, hash-verified

554
555// NewAttestationClient returns a client for the Attestation from the given config.
556func NewAttestationClient(c config) *AttestationClient {
557 return &AttestationClient{config: c}
558}
559
560// Use adds a list of mutation hooks to the hooks stack.
561// A call to `Use(f, g, h)` equals to `attestation.Hooks(f(g(h())))`.

Callers 6

initMethod · 0.85
initMethod · 0.85
TxMethod · 0.85
BeginTxMethod · 0.85
QueryWorkflowrunMethod · 0.85
UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected