case class ConfigMap(binaryData: Optional[Map[String, Chunk[Byte]]] = Optional.Absent, data: Optional[Map[String, String]] = Optional.Absent, immutable: Optional[Boolean] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent) extends Product with Serializable
ConfigMap holds configuration data for pods to consume.
- binaryData
BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.
- data
Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.
- immutable
Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
- Alphabetic
- By Inheritance
- ConfigMap
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ConfigMap(binaryData: Optional[Map[String, Chunk[Byte]]] = Optional.Absent, data: Optional[Map[String, String]] = Optional.Absent, immutable: Optional[Boolean] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent)
- binaryData
BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.
- data
Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.
- immutable
Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
Value Members
- val binaryData: Optional[Map[String, Chunk[Byte]]]
- val data: Optional[Map[String, String]]
-
def
getBinaryData: IO[K8sFailure, Map[String, Chunk[Byte]]]
BinaryData contains the binary data.
BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getData: IO[K8sFailure, Map[String, String]]
Data contains the configuration data.
Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getImmutable: IO[K8sFailure, Boolean]
Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified).
Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val immutable: Optional[Boolean]
- val metadata: Optional[ObjectMeta]