@Extension public class ConduitCredentialConvertor extends com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
ConduitCredentialsImpl.ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
ConduitCredentialConvertor() |
| Modifier and Type | Method and Description |
|---|---|
static String |
base64DecodeToString(String s)
Convert a String representation of the base64 encoded bytes of a UTF-8 String back to a String.
|
boolean |
canConvert(String type) |
com.uber.jenkins.phabricator.credentials.ConduitCredentialsImpl |
convert(io.fabric8.kubernetes.api.model.Secret secret) |
public boolean canConvert(String type)
canConvert in class com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverterpublic com.uber.jenkins.phabricator.credentials.ConduitCredentialsImpl convert(io.fabric8.kubernetes.api.model.Secret secret)
throws com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.CredentialsConvertionException
convert in class com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConvertercom.cloudbees.jenkins.plugins.kubernetes_credentials_provider.CredentialsConvertionException@CheckForNull public static String base64DecodeToString(String s)
s - the base64 encoded String representation of the bytes.null if the string could not be converted.Copyright © 2016–2019. All rights reserved.