MCPcopy Create free account
hub / github.com/encoder-run/operator / TriggerPipeline

Method TriggerPipeline

pkg/graph/schema.resolvers.go:69–71  ·  view source on GitHub ↗

TriggerPipeline is the resolver for the triggerPipeline field.

(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

67
68// TriggerPipeline is the resolver for the triggerPipeline field.
69func (r *mutationResolver) TriggerPipeline(ctx context.Context, id string) (*model.PipelineExecution, error) {
70 return pipelines.Trigger(ctx, id)
71}
72
73// DeletePipeline is the resolver for the deletePipeline field.
74func (r *mutationResolver) DeletePipeline(ctx context.Context, id string) (*model.Pipeline, error) {

Callers

nothing calls this directly

Calls 1

TriggerFunction · 0.92

Tested by

no test coverage detected