AppSpecFunction

data class AppSpecFunction(val alerts: List<AppSpecFunctionAlert>? = null, val bitbucket: AppSpecFunctionBitbucket? = null, val cors: AppSpecFunctionCors? = null, val envs: List<AppSpecFunctionEnv>? = null, val git: AppSpecFunctionGit? = null, val github: AppSpecFunctionGithub? = null, val gitlab: AppSpecFunctionGitlab? = null, val logDestinations: List<AppSpecFunctionLogDestination>? = null, val name: String, val routes: List<AppSpecFunctionRoute>? = null, val sourceDir: String? = null)

Constructors

Link copied to clipboard
constructor(alerts: List<AppSpecFunctionAlert>? = null, bitbucket: AppSpecFunctionBitbucket? = null, cors: AppSpecFunctionCors? = null, envs: List<AppSpecFunctionEnv>? = null, git: AppSpecFunctionGit? = null, github: AppSpecFunctionGithub? = null, gitlab: AppSpecFunctionGitlab? = null, logDestinations: List<AppSpecFunctionLogDestination>? = null, name: String, routes: List<AppSpecFunctionRoute>? = null, sourceDir: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Describes an alert policy for the component.

Link copied to clipboard

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, bitbucket, gitlab, or image may be set.

Link copied to clipboard

The CORS policies of the app.

Link copied to clipboard

Describes an environment variable made available to an app competent.

Link copied to clipboard
val git: AppSpecFunctionGit? = null

A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of git, github or gitlab may be set.

Link copied to clipboard

A GitHub repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Link copied to clipboard

A Gitlab repo to use as the component's source. DigitalOcean App Platform must have access to the repository. Only one of git, github, gitlab, or image may be set.

Link copied to clipboard

Describes a log forwarding destination.

Link copied to clipboard

The name of the component.

Link copied to clipboard

An HTTP paths that should be routed to this component.

Link copied to clipboard
val sourceDir: String? = null

An optional path to the working directory to use for the build.