Documentation ¶
Index ¶
- Constants
- Variables
- func Execute(buildInfo node.BuildInfo, githubAuthDemo node.GitHubAuthDemo)
- func FlushTelemetry()
- func NewWunderGraphNode(ctx context.Context) (*node.Node, error)
- func StartWunderGraphNode(n *node.Node, opts ...Option) error
- type BuildTimeConfig
- type DatabaseIntrospectionResult
- type Option
Constants ¶
View Source
const LoadOperationsCmdName = "loadoperations"
View Source
const UpCmdName = "up"
Variables ¶
View Source
var ( BuildInfo node.BuildInfo GitHubAuthDemo node.GitHubAuthDemo TelemetryClient telemetry.Client DotEnvFile string )
Functions ¶
func Execute ¶
func Execute(buildInfo node.BuildInfo, githubAuthDemo node.GitHubAuthDemo)
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func FlushTelemetry ¶ added in v0.120.0
func FlushTelemetry()
func NewWunderGraphNode ¶ added in v0.112.0
Types ¶
type BuildTimeConfig ¶
type BuildTimeConfig struct {
DefaultApiEndpoint string
}
type DatabaseIntrospectionResult ¶
type DatabaseIntrospectionResult struct { PrismaSchema string `json:"prisma_schema"` GraphQLSchema string `json:"graphql_schema"` Dmmf json.RawMessage `json:"dmmf"` }
type Option ¶ added in v0.114.0
type Option func(options *options)
func WithHooksServerHealthCheck ¶ added in v0.114.0
func WithHooksServerHealthCheck() Option
func WithIdleHandler ¶ added in v0.114.0
func WithIdleHandler(idleHandler func()) Option
func WithRequestLogging ¶ added in v0.139.0
Click to show internal directories.
Click to hide internal directories.