Class KubernetesCredentialsStore
- java.lang.Object
-
- com.cloudbees.plugins.credentials.CredentialsStore
-
- com.cloudbees.jenkins.plugins.kubernetes_credentials_provider.KubernetesCredentialsStore
-
- All Implemented Interfaces:
Saveable
,AccessControlled
public class KubernetesCredentialsStore extends com.cloudbees.plugins.credentials.CredentialsStore
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KubernetesCredentialsStore.KubernetesCredentialsStoreAction
Expose the store.
-
Constructor Summary
Constructors Constructor Description KubernetesCredentialsStore(KubernetesCredentialProvider provider, ItemGroup<?> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addCredentials(com.cloudbees.plugins.credentials.domains.Domain domain, com.cloudbees.plugins.credentials.Credentials credentials)
ModelObject
getContext()
List<com.cloudbees.plugins.credentials.Credentials>
getCredentials(com.cloudbees.plugins.credentials.domains.Domain domain)
com.cloudbees.plugins.credentials.CredentialsStoreAction
getStoreAction()
boolean
hasPermission(Authentication authentication, Permission permission)
boolean
removeCredentials(com.cloudbees.plugins.credentials.domains.Domain domain, com.cloudbees.plugins.credentials.Credentials credentials)
boolean
updateCredentials(com.cloudbees.plugins.credentials.domains.Domain domain, com.cloudbees.plugins.credentials.Credentials current, com.cloudbees.plugins.credentials.Credentials replacement)
-
Methods inherited from class com.cloudbees.plugins.credentials.CredentialsStore
_isApplicable, addDomain, addDomain, checkPermission, getACL, getContextDisplayName, getCredentialsDescriptors, getDisplayName, getDomainByName, getDomains, getProvider, getProviderOrDie, getRelativeLinkTo, getRelativeLinkToAction, getRelativeLinkToContext, getScopes, hasPermission, isApplicable, isDomainsModifiable, removeDomain, save, updateDomain
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, hasAnyPermission, hasPermission2
-
-
-
-
Constructor Detail
-
KubernetesCredentialsStore
public KubernetesCredentialsStore(KubernetesCredentialProvider provider, ItemGroup<?> context)
-
-
Method Detail
-
getContext
@NonNull public ModelObject getContext()
- Specified by:
getContext
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
hasPermission
public boolean hasPermission(@NonNull Authentication authentication, @NonNull Permission permission)
- Specified by:
hasPermission
in interfaceAccessControlled
- Specified by:
hasPermission
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
getCredentials
@NonNull public List<com.cloudbees.plugins.credentials.Credentials> getCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain)
- Specified by:
getCredentials
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
addCredentials
public boolean addCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain, @NonNull com.cloudbees.plugins.credentials.Credentials credentials)
- Specified by:
addCredentials
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
removeCredentials
public boolean removeCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain, @NonNull com.cloudbees.plugins.credentials.Credentials credentials)
- Specified by:
removeCredentials
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
updateCredentials
public boolean updateCredentials(@NonNull com.cloudbees.plugins.credentials.domains.Domain domain, @NonNull com.cloudbees.plugins.credentials.Credentials current, @NonNull com.cloudbees.plugins.credentials.Credentials replacement)
- Specified by:
updateCredentials
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
getStoreAction
@Nullable public com.cloudbees.plugins.credentials.CredentialsStoreAction getStoreAction()
- Overrides:
getStoreAction
in classcom.cloudbees.plugins.credentials.CredentialsStore
-
-