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

Method GetPipeline

pkg/graph/schema.resolvers.go:114–116  ·  view source on GitHub ↗

GetPipeline is the resolver for the getPipeline field.

(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

112
113// GetPipeline is the resolver for the getPipeline field.
114func (r *queryResolver) GetPipeline(ctx context.Context, id string) (*model.Pipeline, error) {
115 return pipelines.Get(ctx, id)
116}
117
118// GetPipelineExecutions is the resolver for the getPipelineExecutions field.
119func (r *queryResolver) GetPipelineExecutions(ctx context.Context, id string) ([]*model.PipelineExecution, error) {

Callers

nothing calls this directly

Calls 1

GetFunction · 0.92

Tested by

no test coverage detected