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

Method Query

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

Query returns a query builder for CASMapping.

()

Source from the content-addressed store, hash-verified

948
949// Query returns a query builder for CASMapping.
950func (c *CASMappingClient) Query() *CASMappingQuery {
951 return &CASMappingQuery{
952 config: c.config,
953 ctx: &QueryContext{Type: TypeCASMapping},
954 inters: c.Interceptors(),
955 }
956}
957
958// Get returns a CASMapping entity by its id.
959func (c *CASMappingClient) Get(ctx context.Context, id uuid.UUID) (*CASMapping, error) {

Callers 1

GetMethod · 0.95

Calls 1

InterceptorsMethod · 0.95

Tested by

no test coverage detected