Documentation ¶
Index ¶
- Variables
- func AgreedToProviderTos(ctx context.Context, providerName string, orgId string) (bool, error)
- func Discover(ctx context.Context, provider gql.AddOnType) (addOn *gql.AddOnData, app *gql.AppData, err error)
- func DisplayTosAgreement(ctx context.Context, provider gql.ExtensionProviderData, ...) error
- func GetExcludedRegions(ctx context.Context, provider gql.ExtensionProviderData) (excludedRegions []string, err error)
- func OpenDashboard(ctx context.Context, extensionName string) (err error)
- func SetSecrets(ctx context.Context, app *gql.AppData, secrets map[string]interface{}) error
- func WaitForProvision(ctx context.Context, name string) error
- type Extension
Constants ¶
This section is empty.
Variables ¶
View Source
var PlatformMap = map[string]string{
"AdonisJS": "node",
"Bun": "javascript",
"Django": "python-django",
"Deno": "node",
".NET": "dotnet",
"Elixir": "elixir",
"Gatsby": "node",
"Go": "go",
"NodeJS": "node",
"NodeJS/Prisma": "node",
"Laravel": "php-laravel",
"NestJS": "node",
"NextJS": "javascript-nextjs",
"Nuxt": "javascript-vue",
"NuxtJS": "javascript-vue",
"Phoenix": "elixir",
"Python": "python",
"Rails": "ruby-rails",
"RedwoodJS": "javascript-react",
"Remix": "javscript-remix",
"Remix/Prisma": "javscript-remix",
"Ruby": "ruby",
}
View Source
var Platforms = []string{
"android",
"apple-ios",
"apple-macos",
"capacitor",
"cocoa-objc",
"cocoa-swift",
"cordova",
"csharp",
"dart",
"dart-flutter",
"dotnet",
"dotnet-aspnet",
"dotnet-aspnetcore",
"dotnet-awslambda",
"dotnet-gcpfunctions",
"dotnet-maui",
"dotnet-winforms",
"dotnet-wpf",
"dotnet-xamarin",
"electron",
"elixir",
"flutter",
"go",
"go-http",
"ionic",
"java",
"java-android",
"java-appengine",
"java-log4j",
"java-log4j2",
"java-logback",
"java-logging",
"java-spring",
"java-spring-boot",
"javascript",
"javascript-angular",
"javascript-angularjs",
"javascript-backbone",
"javascript-capacitor",
"javascript-cordova",
"javascript-electron",
"javascript-ember",
"javascript-gatsby",
"javascript-nextjs",
"javascript-react",
"javascript-remix",
"javascript-svelte",
"javascript-vue",
"kotlin",
"minidump",
"native",
"native-breakpad",
"native-crashpad",
"native-minidump",
"native-qt",
"node",
"node-awslambda",
"node-azurefunctions",
"node-connect",
"node-express",
"node-gcpfunctions",
"node-koa",
"perl",
"php",
"php-laravel",
"php-monolog",
"php-symfony2",
"python",
"python-awslambda",
"python-azurefunctions",
"python-bottle",
"python-celery",
"python-django",
"python-fastapi",
"python-flask",
"python-gcpfunctions",
"python-pylons",
"python-pyramid",
"python-rq",
"python-sanic",
"python-starlette",
"python-tornado",
"react-native",
"ruby",
"ruby-rack",
"ruby-rails",
"rust",
"unity",
"unreal",
}
Supported Sentry Platforms from https://github.com/getsentry/sentry/blob/master/src/sentry/utils/platform_categories.py If other extensions require platform detection, this list can be abstracted further
Functions ¶
func AgreedToProviderTos ¶ added in v0.1.76
func DisplayTosAgreement ¶ added in v0.1.76
func DisplayTosAgreement(ctx context.Context, provider gql.ExtensionProviderData, org gql.AppDataOrganization, auto bool) error
func GetExcludedRegions ¶
func SetSecrets ¶ added in v0.1.71
Types ¶
Click to show internal directories.
Click to hide internal directories.