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 CertificationResult ¶
type ComplexityRoot ¶
type ComplexityRoot struct { CertificateSigningRequestInfo struct { KeyAlgorithm func(childComplexity int) int Subject func(childComplexity int) int } CertificationResult struct { CaCertificate func(childComplexity int) int CertificateChain func(childComplexity int) int ClientCertificate func(childComplexity int) int } Configuration struct { CertificateSigningRequestInfo func(childComplexity int) int ManagementPlaneInfo func(childComplexity int) int Token func(childComplexity int) int } ManagementPlaneInfo struct { CertificateSecuredConnectorURL func(childComplexity int) int DirectorURL func(childComplexity int) int } Mutation struct { RevokeCertificate func(childComplexity int) int SignCertificateSigningRequest func(childComplexity int, csr string) int } Query struct { Configuration func(childComplexity int) int } Token struct { Token func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type Configuration ¶
type Configuration struct { Token *Token `json:"token"` CertificateSigningRequestInfo *CertificateSigningRequestInfo `json:"certificateSigningRequestInfo"` ManagementPlaneInfo *ManagementPlaneInfo `json:"managementPlaneInfo"` }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type ManagementPlaneInfo ¶
type MutationResolver ¶
type QueryResolver ¶
type QueryResolver interface {
Configuration(ctx context.Context) (*Configuration, error)
}
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver }
Click to show internal directories.
Click to hide internal directories.