Documentation ¶
Index ¶
- Variables
- func BuildListQueryArgs(f datastore.FilterParams) (string, string, map[string]interface{})
- func NewFilterArgs() graphql.FieldConfigArgument
- func NewLabelsQuery(r datastore.Index) *graphql.Field
- func NewListQuery(index datastore.Index) *graphql.Field
- func NewQuery(index datastore.Index, compilationIndex compilationdatastore.Index, ...) *graphql.Field
Constants ¶
This section is empty.
Variables ¶
View Source
var ListedRelease = graphql.NewObject( graphql.ObjectConfig{ Name: "ReleaseSummary", Description: "A specific version of a release.", Fields: graphql.Fields{ "name": nameField, "version": versionField, "labels": labelsField, "tarball": tarballField, }, }, )
View Source
var ReleaseLabel = graphql.NewObject( graphql.ObjectConfig{ Name: "ReleaseLabel", Description: "A release label.", Fields: graphql.Fields{ "name": &graphql.Field{ Type: graphql.String, Resolve: func(p graphql.ResolveParams) (interface{}, error) { if source, ok := p.Source.(string); ok { return source, nil } return nil, nil }, }, }, }, )
Functions ¶
func BuildListQueryArgs ¶
func BuildListQueryArgs(f datastore.FilterParams) (string, string, map[string]interface{})
func NewFilterArgs ¶
func NewFilterArgs() graphql.FieldConfigArgument
func NewQuery ¶
func NewQuery(index datastore.Index, compilationIndex compilationdatastore.Index, analysisGetter analysisdatastore.NamedGetter) *graphql.Field
TODO compilation should be optional
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.