DataMap

dev.hnaderi.k8s.DataMap
object DataMap extends DataMapPlatform

Utility for filling data in ConfigMap or Secret

Attributes

Source
DataMap.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
DataMap.type

Members list

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

Attributes

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

Attributes

Note

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

Source
DataMap.scala
def binaryFrom(values: Map[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

Attributes

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

Attributes

Note

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

Source
DataMap.scala

Inherited methods

def binaryFromDir(path: File): Map[String, String]

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

Attributes

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

Attributes

Note

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

Inherited from:
DataMapPlatform
Source
DataPlatform.scala