Skip to content

GitLab CI Kotlin DSLopensavvy.gitlab.ci.yamlYamlCollection

Collection

sealed class Collection : Yaml

Inheritors

Types

ListLiteral

data class ListLiteral(val children: List<Yaml>) : Yaml.Collection

MapLiteral

data class MapLiteral(val contents: Map<Yaml, Yaml>) : Yaml.Collection

Functions

toYaml

open override fun toYaml(): Yaml

Converts this object into a Yaml object.

toYamlString

abstract fun toYamlString(indentation: Int): CharSequence