object Templates
- Source
- Templates.scala
- Alphabetic
- By Inheritance
- Templates
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
InvalidTemplate(msg: String) extends LintTemplateResult with Product with Serializable
The lint-template had an error
-
final
case class
LintTemplateError(exitCode: Int, msg: String) extends RuntimeException with Product with Serializable
We couldn't call lint-template
-
sealed abstract
class
LintTemplateResult extends Product with Serializable
The result of a lint-template validation
-
final
case class
TemplateTimeout(msg: String) extends LintTemplateResult with Product with Serializable
The lint-template job timed out.
The lint-template job timed out. It might be okay, but we gave up trying.
-
final
case class
TemplateValidation(unitRef: UnitRef, resources: Set[String], template: String) extends Product with Serializable
A template that we want to render in Nelson
A template that we want to render in Nelson
- unitRef
the name of the unit that owns the template
- resources
a set of resources the unit depends on
- template
the content of the template
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
renderTemplate(ec: ExecutionContext, scheduler: ScheduledExecutorService, templateConfig: TemplateConfig, dockerConfig: DockerConfig, path: Path, vaultToken: String, env: Map[String, String] = Map.empty): IO[LintTemplateResult]
- Annotations
- @SuppressWarnings()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validateTemplate(tv: TemplateValidation): NelsonK[LintTemplateResult]
Validate a template according to a template validation request
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
object
Rendered extends LintTemplateResult with Product with Serializable
The lint-template rendered correctly.