Documentation ¶
Index ¶
- Constants
- Variables
- func Execute(buildInfo node.BuildInfo, githubAuthDemo node.GitHubAuthDemo)
- func InitWunderGraphApiClient() *v2wundergraphapi.Client
- func InitWunderGraphApiClientWithToken(token string) *v2wundergraphapi.Client
- 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 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 InitWunderGraphApiClient ¶
func InitWunderGraphApiClient() *v2wundergraphapi.Client
func InitWunderGraphApiClientWithToken ¶
func InitWunderGraphApiClientWithToken(token string) *v2wundergraphapi.Client
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(idleHander func()) Option
Source Files ¶
Click to show internal directories.
Click to hide internal directories.