Class GithubAppCredentialsConvertor
- java.lang.Object
-
- com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
-
- org.jenkinsci.plugins.github_app_kubernetes_credentials.GithubAppCredentialsConvertor
-
- All Implemented Interfaces:
ExtensionPoint
@OptionalExtension(requirePlugins={"github-branch-source","kubernetes-credentials-provider"}) public class GithubAppCredentialsConvertor extends com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GithubAppCredentialsConvertor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConvert(String type)
org.jenkinsci.plugins.github_branch_source.GitHubAppCredentials
convert(io.fabric8.kubernetes.api.model.Secret secret)
-
-
-
Method Detail
-
canConvert
public boolean canConvert(String type)
- Specified by:
canConvert
in classcom.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
-
convert
public org.jenkinsci.plugins.github_branch_source.GitHubAppCredentials convert(io.fabric8.kubernetes.api.model.Secret secret) throws com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.CredentialsConvertionException
- Specified by:
convert
in classcom.cloudbees.jenkins.plugins.kubernetes_credentials_provider.SecretToCredentialConverter
- Throws:
com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.CredentialsConvertionException
-
-