public class ServiceAccount extends KubernetesResource implements IServiceAccount
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, KIND, LABELS, METADATA_NAME, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, TYPE, VALUE
Constructor and Description |
---|
ServiceAccount(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
Modifier and Type | Method and Description |
---|---|
void |
addImagePullSecret(String imagePullSecret)
Add new imagePullSecret name
|
void |
addSecret(String secret)
Add new secret name
|
Collection<String> |
getImagePullSecrets()
Get the collection of all imagePullSecrets
|
Collection<String> |
getSecrets()
Get the collection of all secrets
|
accept, addLabel, asBoolean, asInt, asInt, asMap, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getModifiableCapabilities, getName, getNamespace, getNode, getPath, getProject, hashCode, isAnnotatedWith, refresh, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, supports, toJson, toJson, toPrettyString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addLabel, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJson
accept, getCapability, supports
public Collection<String> getSecrets()
IServiceAccount
getSecrets
in interface IServiceAccount
public void addSecret(String secret)
IServiceAccount
addSecret
in interface IServiceAccount
secret
- - secret namepublic Collection<String> getImagePullSecrets()
IServiceAccount
getImagePullSecrets
in interface IServiceAccount
public void addImagePullSecret(String imagePullSecret)
IServiceAccount
addImagePullSecret
in interface IServiceAccount
imagePullSecret
- - imagePullSecretNameCopyright © 2016 Red Hat, Inc. All rights reserved.