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

Function NewWorkflowClient

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

NewWorkflowClient returns a client for the Workflow from the given config.

(c config)

Source from the content-addressed store, hash-verified

3189
3190// NewWorkflowClient returns a client for the Workflow from the given config.
3191func NewWorkflowClient(c config) *WorkflowClient {
3192 return &WorkflowClient{config: c}
3193}
3194
3195// Use adds a list of mutation hooks to the hooks stack.
3196// A call to `Use(f, g, h)` equals to `workflow.Hooks(f(g(h())))`.

Callers 13

QueryRobotaccountsMethod · 0.85
QueryWorkflowrunsMethod · 0.85
QueryOrganizationMethod · 0.85
QueryContractMethod · 0.85
QueryProjectMethod · 0.85
QueryReferrersMethod · 0.85
UpdateMethod · 0.85
initMethod · 0.85
initMethod · 0.85
TxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected