AppSpec

data class AppSpec(val alerts: List<AppSpecAlert>? = null, val databases: List<AppSpecDatabase>? = null, val domainNames: List<AppSpecDomainName>? = null, val domains: List<String>? = null, val envs: List<AppSpecEnv>? = null, val functions: List<AppSpecFunction>? = null, val jobs: List<AppSpecJob>? = null, val name: String, val region: String? = null, val services: List<AppSpecService>? = null, val staticSites: List<AppSpecStaticSite>? = null, val workers: List<AppSpecWorker>? = null)

Constructors

Link copied to clipboard
fun AppSpec(alerts: List<AppSpecAlert>? = null, databases: List<AppSpecDatabase>? = null, domainNames: List<AppSpecDomainName>? = null, domains: List<String>? = null, envs: List<AppSpecEnv>? = null, functions: List<AppSpecFunction>? = null, jobs: List<AppSpecJob>? = null, name: String, region: String? = null, services: List<AppSpecService>? = null, staticSites: List<AppSpecStaticSite>? = null, workers: List<AppSpecWorker>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val alerts: List<AppSpecAlert>? = null

Describes an alert policy for the component.

Link copied to clipboard
Link copied to clipboard

Describes a domain where the application will be made available.

Link copied to clipboard
val domains: List<String>? = null
Link copied to clipboard
val envs: List<AppSpecEnv>? = null

Describes an environment variable made available to an app competent.

Link copied to clipboard
Link copied to clipboard
val jobs: List<AppSpecJob>? = null
Link copied to clipboard

The name of the component.

Link copied to clipboard
val region: String? = null

The slug for the DigitalOcean data center region hosting the app.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val workers: List<AppSpecWorker>? = null