public class ServiceAccount extends KubernetesResource implements IServiceAccount
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, 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, asBoolean, asInt, asInt, asMap, asSet, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getMetadata, getModifiableCapabilities, getName, getNamespace, getNamespaceName, getNode, getPath, getProject, getPropertyKeys, getResourceVersion, has, hashCode, isAnnotatedWith, refresh, removeAnnotation, set, set, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, setNode, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonpublic Collection<String> getSecrets()
IServiceAccountgetSecrets in interface IServiceAccountpublic void addSecret(String secret)
IServiceAccountaddSecret in interface IServiceAccountsecret - - secret namepublic Collection<String> getImagePullSecrets()
IServiceAccountgetImagePullSecrets in interface IServiceAccountpublic void addImagePullSecret(String imagePullSecret)
IServiceAccountaddImagePullSecret in interface IServiceAccountimagePullSecret - - imagePullSecretNameCopyright © 2019 Red Hat, Inc. All Rights Reserved.