()
| 49 | } |
| 50 | |
| 51 | func (c *nodeClient) GetClient() *ent.Client { |
| 52 | return c.client |
| 53 | } |
| 54 | |
| 55 | func (c *nodeClient) ListActiveNodes(ctx context.Context, subset []int) ([]*ent.Node, error) { |
| 56 | stm := c.client.Node.Query().Where(node.StatusEQ(node.StatusActive)) |
nothing calls this directly
no outgoing calls
no test coverage detected