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

Method fieldContext_Query_storages

pkg/graph/generated.go:3235–3258  ·  view source on GitHub ↗
(ctx context.Context, field graphql.CollectedField)

Source from the content-addressed store, hash-verified

3233}
3234
3235func (ec *executionContext) fieldContext_Query_storages(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
3236 fc = &graphql.FieldContext{
3237 Object: "Query",
3238 Field: field,
3239 IsMethod: true,
3240 IsResolver: true,
3241 Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
3242 switch field.Name {
3243 case "id":
3244 return ec.fieldContext_Storage_id(ctx, field)
3245 case "name":
3246 return ec.fieldContext_Storage_name(ctx, field)
3247 case "type":
3248 return ec.fieldContext_Storage_type(ctx, field)
3249 case "status":
3250 return ec.fieldContext_Storage_status(ctx, field)
3251 case "deployment":
3252 return ec.fieldContext_Storage_deployment(ctx, field)
3253 }
3254 return nil, fmt.Errorf("no field named %q was found under type Storage", field.Name)
3255 },
3256 }
3257 return fc, nil
3258}
3259
3260func (ec *executionContext) _Query_getStorage(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
3261 fc, err := ec.fieldContext_Query_getStorage(ctx, field)

Callers 1

_Query_storagesMethod · 0.95

Tested by

no test coverage detected