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

Method Create

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

Create returns a builder for creating a Attestation entity.

()

Source from the content-addressed store, hash-verified

571
572// Create returns a builder for creating a Attestation entity.
573func (c *AttestationClient) Create() *AttestationCreate {
574 mutation := newAttestationMutation(c.config, OpCreate)
575 return &AttestationCreate{config: c.config, hooks: c.Hooks(), mutation: mutation}
576}
577
578// CreateBulk returns a builder for creating a bulk of Attestation entities.
579func (c *AttestationClient) CreateBulk(builders ...*AttestationCreate) *AttestationCreateBulk {

Callers 1

MapCreateBulkMethod · 0.95

Calls 2

HooksMethod · 0.95
newAttestationMutationFunction · 0.85

Tested by

no test coverage detected