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

Method AddModelDeployment

pkg/graph/schema.resolvers.go:24–26  ·  view source on GitHub ↗

AddModelDeployment is the resolver for the addModelDeployment field.

(ctx context.Context, input model.AddModelDeploymentInput)

Source from the content-addressed store, hash-verified

22
23// AddModelDeployment is the resolver for the addModelDeployment field.
24func (r *mutationResolver) AddModelDeployment(ctx context.Context, input model.AddModelDeploymentInput) (*model.Model, error) {
25 return models.AddDeployment(ctx, input)
26}
27
28// DeleteModel is the resolver for the deleteModel field.
29func (r *mutationResolver) DeleteModel(ctx context.Context, id string) (*model.Model, error) {

Callers

nothing calls this directly

Calls 1

AddDeploymentFunction · 0.92

Tested by

no test coverage detected