GetAppSpecFunction

data class GetAppSpecFunction(val alerts: List<GetAppSpecFunctionAlert>? = null, val bitbucket: GetAppSpecFunctionBitbucket? = null, val cors: GetAppSpecFunctionCors? = null, val envs: List<GetAppSpecFunctionEnv>? = null, val git: GetAppSpecFunctionGit? = null, val github: GetAppSpecFunctionGithub? = null, val gitlab: GetAppSpecFunctionGitlab? = null, val logDestinations: List<GetAppSpecFunctionLogDestination>? = null, val name: String, val routes: List<GetAppSpecFunctionRoute>, val sourceDir: String? = null)

Constructors

Link copied to clipboard
constructor(alerts: List<GetAppSpecFunctionAlert>? = null, bitbucket: GetAppSpecFunctionBitbucket? = null, cors: GetAppSpecFunctionCors? = null, envs: List<GetAppSpecFunctionEnv>? = null, git: GetAppSpecFunctionGit? = null, github: GetAppSpecFunctionGithub? = null, gitlab: GetAppSpecFunctionGitlab? = null, logDestinations: List<GetAppSpecFunctionLogDestination>? = null, name: String, routes: List<GetAppSpecFunctionRoute>, 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 Bitbucket repo to use as component's source. Only one of git, github, bitbucket, gitlab, or image may be set. To read your repo, App Platform must be authorized to access your Bitbucket account. Go to this URL to link App Platform to your Bitbucket account: https://cloud.digitalocean.com/apps/bitbucket/install.

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

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, bitbucket, 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, bitbucket, 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
Link copied to clipboard
val sourceDir: String? = null

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