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 { CPU func(childComplexity int) int Env func(childComplexity int) int Image func(childComplexity int) int Memory func(childComplexity int) int Name func(childComplexity int) int Namespace func(childComplexity int) int Ports func(childComplexity int) int Replicas func(childComplexity int) int State func(childComplexity int) int Status 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, name string, namespace string) int } State struct { Statefulset func(childComplexity int) int StoragePath func(childComplexity int) int StorageSize func(childComplexity int) int } Status struct { Deployment func(childComplexity int) int LoadBalancer func(childComplexity int) int Namespace 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.