public interface ISecret extends IResource
| Modifier and Type | Method and Description |
|---|---|
void |
addData(String key,
byte[] data)
Sets the container port exposed by the image
|
void |
addData(String key,
InputStream data)
Sets the container port exposed by the image
|
byte[] |
getData(String key)
Get the data stored under the key
|
String |
getType()
Returns the type of Secrete - default Opaque return
|
void |
setType(String type)
Sets the type of Secrete - default Opaque
|
addLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonvoid addData(String key, InputStream data)
key - - the name under which the data are mount in containervoid addData(String key, byte[] data)
key - - the name under which the data are mount in containerbyte[] getData(String key)
key - void setType(String type)
String getType()
Copyright © 2019 Red Hat, Inc. All Rights Reserved.