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, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJson
accept, getCapability, supports
void addData(String key, InputStream data)
key
- - the name under which the data are mount in containerdata
- void addData(String key, byte[] data)
key
- - the name under which the data are mount in containerdata
- byte[] getData(String key)
key
- void setType(String type)
type
- String getType()
Copyright © 2016 Red Hat, Inc. All rights reserved.