EnvironmentKey

This models the key used to get a value out of the Environment using the standard Lens mechanic. Note that if your values contain commas, either use a EnvironmentKey.(mapping).multi.required()/optional()/defaulted() to retrieve the entire list, or override the comma separator in your initial Environment.

Types

Link copied to clipboard
object k8s

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun defaulted(name: String, default: String, description: String?, metadata: Map<String, Any>): BiDiLens<Environment, String>
open override fun defaulted(name: String, default: LensExtractor<Environment, String>, description: String?, metadata: Map<String, Any>): BiDiLens<Environment, String>
Link copied to clipboard
inline fun <T : Enum<T>> EnvironmentKey.enum(caseSensitive: Boolean = true): BiDiLensSpec<Environment, T>
Link copied to clipboard
Link copied to clipboard
fun <NEXT> map(nextIn: (String) -> NEXT, nextOut: (NEXT) -> String): BiDiLensSpec<Environment, NEXT>
fun <NEXT> map(nextIn: (String) -> NEXT): LensSpec<Environment, NEXT>
Link copied to clipboard
fun <NEXT> mapWithNewMeta(nextIn: (String) -> NEXT, nextOut: (NEXT) -> String, paramMeta: ParamMeta): BiDiLensSpec<Environment, NEXT>
Link copied to clipboard
open override fun optional(name: String, description: String?, metadata: Map<String, Any>): BiDiLens<Environment, String?>
Link copied to clipboard
Link copied to clipboard
open override fun required(name: String, description: String?, metadata: Map<String, Any>): BiDiLens<Environment, String>
Link copied to clipboard
Link copied to clipboard