public static interface V1.SecretOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsData(String key)
Data contains the secret data.
|
boolean |
containsStringData(String key)
stringData allows specifying non-binary secret data in string form.
|
Map<String,com.google.protobuf.ByteString> |
getData()
Deprecated.
|
int |
getDataCount()
Data contains the secret data.
|
Map<String,com.google.protobuf.ByteString> |
getDataMap()
Data contains the secret data.
|
com.google.protobuf.ByteString |
getDataOrDefault(String key,
com.google.protobuf.ByteString defaultValue)
Data contains the secret data.
|
com.google.protobuf.ByteString |
getDataOrThrow(String key)
Data contains the secret data.
|
boolean |
getImmutable()
Immutable, if set to true, ensures that data stored in the Secret cannot
be updated (only object metadata can be modified).
|
Meta.ObjectMeta |
getMetadata()
Standard object's metadata.
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Standard object's metadata.
|
Map<String,String> |
getStringData()
Deprecated.
|
int |
getStringDataCount()
stringData allows specifying non-binary secret data in string form.
|
Map<String,String> |
getStringDataMap()
stringData allows specifying non-binary secret data in string form.
|
String |
getStringDataOrDefault(String key,
String defaultValue)
stringData allows specifying non-binary secret data in string form.
|
String |
getStringDataOrThrow(String key)
stringData allows specifying non-binary secret data in string form.
|
String |
getType()
Used to facilitate programmatic handling of secret data.
|
com.google.protobuf.ByteString |
getTypeBytes()
Used to facilitate programmatic handling of secret data.
|
boolean |
hasImmutable()
Immutable, if set to true, ensures that data stored in the Secret cannot
be updated (only object metadata can be modified).
|
boolean |
hasMetadata()
Standard object's metadata.
|
boolean |
hasType()
Used to facilitate programmatic handling of secret data.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;Meta.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;boolean hasImmutable()
Immutable, if set to true, ensures that data stored in the Secret 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. +optional
optional bool immutable = 5;boolean getImmutable()
Immutable, if set to true, ensures that data stored in the Secret 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. +optional
optional bool immutable = 5;int getDataCount()
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;boolean containsData(String key)
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;@Deprecated Map<String,com.google.protobuf.ByteString> getData()
getDataMap() instead.Map<String,com.google.protobuf.ByteString> getDataMap()
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;com.google.protobuf.ByteString getDataOrDefault(String key, com.google.protobuf.ByteString defaultValue)
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;com.google.protobuf.ByteString getDataOrThrow(String key)
Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 +optional
map<string, bytes> data = 2;int getStringDataCount()
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;boolean containsStringData(String key)
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;@Deprecated Map<String,String> getStringData()
getStringDataMap() instead.Map<String,String> getStringDataMap()
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;String getStringDataOrDefault(String key, String defaultValue)
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;String getStringDataOrThrow(String key)
stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API. +k8s:conversion-gen=false +optional
map<string, string> stringData = 4;boolean hasType()
Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types +optional
optional string type = 3;String getType()
Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types +optional
optional string type = 3;com.google.protobuf.ByteString getTypeBytes()
Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types +optional
optional string type = 3;Copyright © 2023. All rights reserved.