Class DockerServerCredentialsTokenSource
java.lang.Object
jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthCertificate,org.jenkinsci.plugins.docker.commons.credentials.DockerServerCredentials>
org.jenkinsci.plugins.kubernetes.tokensource.DockerServerCredentialsTokenSource
- All Implemented Interfaces:
ExtensionPoint
@Extension(optional=true)
public class DockerServerCredentialsTokenSource
extends jenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthCertificate,org.jenkinsci.plugins.docker.commons.credentials.DockerServerCredentials>
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(org.jenkinsci.plugins.docker.commons.credentials.DockerServerCredentials credential) Methods inherited from class jenkins.authentication.tokens.api.AuthenticationTokenSource
consumes, consumes, fits, isFit, matcher, produces
-
Constructor Details
-
DockerServerCredentialsTokenSource
public DockerServerCredentialsTokenSource()
-
-
Method Details
-
convert
@NonNull public KubernetesAuthCertificate convert(@NonNull org.jenkinsci.plugins.docker.commons.credentials.DockerServerCredentials credential) throws jenkins.authentication.tokens.api.AuthenticationTokenException - Specified by:
convert
in classjenkins.authentication.tokens.api.AuthenticationTokenSource<KubernetesAuthCertificate,
org.jenkinsci.plugins.docker.commons.credentials.DockerServerCredentials> - Throws:
jenkins.authentication.tokens.api.AuthenticationTokenException
-