commands

package
v0.146.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 39 Imported by: 1

Documentation

Index

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

func NewWunderGraphNode(ctx context.Context) (*node.Node, error)

func StartWunderGraphNode added in v0.112.0

func StartWunderGraphNode(n *node.Node, opts ...Option) error

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

func WithRequestLogging(debugMode bool) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL