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 { ApplicationsData struct { ArchKind func(childComplexity int) int Info func(childComplexity int) int LastModified func(childComplexity int) int Name func(childComplexity int) int ObtainedFrom func(childComplexity int) int Path func(childComplexity int) int SignedBy func(childComplexity int) int Version func(childComplexity int) int } Query struct { App func(childComplexity int, name *string) int SysApps func(childComplexity int) int SysInfo func(childComplexity int) int } SoftwareData struct { BootMode func(childComplexity int) int BootVolume func(childComplexity int) int KernelVersion func(childComplexity int) int LocalHostname func(childComplexity int) int OsVersion func(childComplexity int) int SecureVM func(childComplexity int) int SystemIntegrity func(childComplexity int) int Uptime func(childComplexity int) int UserName func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface {
Query() QueryResolver
}
Click to show internal directories.
Click to hide internal directories.