DataMap

object DataMap extends DataMapPlatform

Utility for filling data in ConfigMap or Secret

Source:
DataMap.scala
class Object
trait Matchable
class Any
DataMap.type

Value members

Concrete methods

def apply(values: (String, Data)*): Map[String, String]

String data map, useful for ConfigMap data and Secret stringData

String data map, useful for ConfigMap data and Secret stringData

Note:

this is not a safe operation and might have side effects and throw exceptions too

Source:
DataMap.scala
def binary(values: (String, Data)*): Map[String, String]

Binary base64 encoded data map, useful for ConfigMap binaryData and Secret data

Binary base64 encoded data map, useful for ConfigMap binaryData and Secret data

Note:

this is not a safe operation and might have side effects and throw exceptions too

Source:
DataMap.scala

Binary base64 encoded data map, useful for ConfigMap binaryData and Secret data

Binary base64 encoded data map, useful for ConfigMap binaryData and Secret data

Note:

this is not a safe operation and might have side effects and throw exceptions too

Source:
DataMap.scala
def from(values: Map[String, Data]): Map[String, String]

String data map, useful for ConfigMap data and Secret stringData

String data map, useful for ConfigMap data and Secret stringData

Note:

this is not a safe operation and might have side effects and throw exceptions too

Source:
DataMap.scala

Inherited methods

Binary data map from all files in a directory, keys are file names and values are file content

Binary data map from all files in a directory, keys are file names and values are file content

Note:

this is not a safe operation and might have side effects and throw exceptions too

Inherited from:
DataMapPlatform
Source:
DataPlatform.scala
def fromDir(path: File): Map[String, String]

String data map from all files in a directory, keys are file names and values are file content

String data map from all files in a directory, keys are file names and values are file content

Note:

this is not a safe operation and might have side effects and throw exceptions too

Inherited from:
DataMapPlatform
Source:
DataPlatform.scala