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