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

Interface QueryResolver

pkg/graph/generated.go:171–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 DeletePipeline(ctx context.Context, id string) (*model.Pipeline, error)
170}
171type QueryResolver interface {
172 Models(ctx context.Context) ([]*model.Model, error)
173 GetModel(ctx context.Context, id string) (*model.Model, error)
174 Repositories(ctx context.Context) ([]*model.Repository, error)
175 GetRepository(ctx context.Context, id string) (*model.Repository, error)
176 Storages(ctx context.Context) ([]*model.Storage, error)
177 GetStorage(ctx context.Context, id string) (*model.Storage, error)
178 Pipelines(ctx context.Context) ([]*model.Pipeline, error)
179 GetPipeline(ctx context.Context, id string) (*model.Pipeline, error)
180 GetPipelineExecutions(ctx context.Context, id string) ([]*model.PipelineExecution, error)
181 SemanticSearch(ctx context.Context, query model.QueryInput) ([]*model.SearchResult, error)
182}
183
184type executableSchema struct {
185 schema *ast.Schema

Callers 20

ComplexityMethod · 0.65
_Query_modelsMethod · 0.65
ComplexityMethod · 0.65
_Query_getModelMethod · 0.65
ComplexityMethod · 0.65
_Query_repositoriesMethod · 0.65
ComplexityMethod · 0.65
_Query_getRepositoryMethod · 0.65
ComplexityMethod · 0.65
_Query_storagesMethod · 0.65
ComplexityMethod · 0.65
_Query_getStorageMethod · 0.65

Implementers 1

queryResolverpkg/graph/schema.resolvers.go

Calls

no outgoing calls

Tested by

no test coverage detected