features

package
v0.172.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package features perform feature detection in the current WunderGraph application

Index

Constants

View Source
const (
	OIDC                = Feature("oidc")
	Auth0               = Feature("auth0")
	Prometheus          = Feature("prometheus")
	OpenTelemetry       = Feature("opentelemetry")
	GraphQLEndpoint     = Feature("graphql-endpoint")
	SchemaExtension     = Feature("schema-extension")
	HttpProxy           = Feature("http-proxy")
	MTLS                = Feature("mtls")
	CustomJSONScalars   = Feature("custom-json-scalars")
	CustomIntScalars    = Feature("custom-int-scalars")
	CustomFloatScalars  = Feature("custom-float-scalars")
	S3Uploads           = Feature("s3-uploads")
	TokenAuth           = Feature("token-auth")
	ORM                 = Feature("orm")
	OpenAI              = Feature("openai")
	AdvancedHooks       = Feature("advanced-hooks")
	AuthenticationHooks = Feature("authentication-hooks")
	Federation          = Feature("federation")
	SQLServer           = Feature("sql-server")
	SOAP                = Feature("soap")
	ClaimInjection      = Feature("claim-injection")
)

Variables

This section is empty.

Functions

func IsEnterprise

func IsEnterprise(feat Feature) bool

IsEnterprise returns true iff feat is only available with an enterprise license

Types

type Feature

type Feature string

func EnabledFeatures

func EnabledFeatures(wunderGraphDir string) ([]Feature, error)

EnabledFeatures returns the features that are enabled in the WunderGraph application at the given wunderGraphDir

Jump to

Keyboard shortcuts

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