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

Method Query

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

Query returns a query builder for User.

()

Source from the content-addressed store, hash-verified

3104
3105// Query returns a query builder for User.
3106func (c *UserClient) Query() *UserQuery {
3107 return &UserQuery{
3108 config: c.config,
3109 ctx: &QueryContext{Type: TypeUser},
3110 inters: c.Interceptors(),
3111 }
3112}
3113
3114// Get returns a User entity by its id.
3115func (c *UserClient) Get(ctx context.Context, id uuid.UUID) (*User, error) {

Callers 15

GetMethod · 0.95
QueryOrganizationMethod · 0.45
QueryProjectMethod · 0.45
QueryWorkflowMethod · 0.45
QueryWorkflowrunMethod · 0.45
QueryOrganizationMethod · 0.45
QueryWorkflowRunMethod · 0.45
QueryCasBackendMethod · 0.45
QueryOrganizationMethod · 0.45
QueryProjectMethod · 0.45
QueryGroupMembershipsMethod · 0.45
QueryOrganizationMethod · 0.45

Calls 1

InterceptorsMethod · 0.95

Tested by

no test coverage detected