Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { App struct { Annotations func(childComplexity int) int Containers func(childComplexity int) int Labels func(childComplexity int) int Namespace func(childComplexity int) int Replicas func(childComplexity int) int Resources func(childComplexity int) int StoragePath func(childComplexity int) int } Container struct { Env func(childComplexity int) int Image func(childComplexity int) int Port func(childComplexity int) int } Mutation struct { CreateApp func(childComplexity int, input model.AppInput) int UpdateApp func(childComplexity int, input model.AppInput) int } Query struct { GetApp func(childComplexity int, namespace string) int } Resources struct { Memory func(childComplexity int) int Namespace func(childComplexity int) int Storage func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver }
Click to show internal directories.
Click to hide internal directories.