Class NonConfigurableKubernetesCloud
java.lang.Object
hudson.model.AbstractModelObject
hudson.model.Actionable
hudson.slaves.Cloud
org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud
org.csanchez.jenkins.plugins.kubernetes.NonConfigurableKubernetesCloud
- All Implemented Interfaces:
ExtensionPoint
,Describable<Cloud>
,ModelObject
,SearchableModelObject
,SearchItem
,AccessControlled
,ModelObjectWithContextMenu
,PodTemplateGroup
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud
KubernetesCloud.PodTemplateSourceImpl
Nested classes/interfaces inherited from class hudson.slaves.Cloud
Cloud.CloudState
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Nested classes/interfaces inherited from interface jenkins.model.ModelObjectWithContextMenu
ModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem, ModelObjectWithContextMenu.MenuItemType
-
Field Summary
Fields inherited from class org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud
DEFAULT_CONNECT_TIMEOUT_SECONDS, DEFAULT_MAX_REQUESTS_PER_HOST, DEFAULT_POD_LABELS, DEFAULT_READ_TIMEOUT_SECONDS, DEFAULT_RETENTION_TIMEOUT_MINUTES, DEFAULT_WAIT_FOR_POD_SEC, JNLP_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTemplate
(PodTemplate template) Add a new template to the cloudreconfigure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) void
removeTemplate
(PodTemplate template) Remove avoid
replaceTemplate
(PodTemplate oldTemplate, PodTemplate newTemplate) Replaces the old template with the new template.Methods inherited from class org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud
addDynamicTemplate, canProvision, connect, doCreate, equals, getAllTemplates, getConnectTimeout, getContainerCap, getContainerCapStr, getCredentialsId, getDefaultsProviderTemplate, getGarbageCollection, getJenkinsTunnel, getJenkinsUrl, getJenkinsUrlOrDie, getJenkinsUrlOrNull, getJnlpregistry, getLabels, getMatchingTemplates, getMaxRequestsPerHost, getMaxRequestsPerHostStr, getNamespace, getPodLabels, getPodRetention, getPodTemplateGroupUrl, getReadTimeout, getRetentionTimeout, getServerCertificate, getServerUrl, getTemplate, getTemplate, getTemplateById, getTemplateDescriptor, getTemplatesFor, getUnwrappedTemplate, getWaitForPodSec, hashCode, hpiRunInit, isAddMasterProxyEnvVars, isCapOnlyOnAlivePods, isDirectConnection, isRestrictedPssSecurityContext, isSkipTlsVerify, isUsageRestricted, isUseJenkinsProxy, isWebSocket, provision, registerPodInformer, removeDynamicTemplate, setAddMasterProxyEnvVars, setCapOnlyOnAlivePods, setConnectTimeout, setContainerCap, setContainerCapStr, setCredentialsId, setDefaultsProviderTemplate, setDirectConnection, setGarbageCollection, setJenkinsTunnel, setJenkinsUrl, setJnlpregistry, setLabels, setMaxRequestsPerHost, setMaxRequestsPerHostStr, setNamespace, setPodLabels, setPodRetention, setReadTimeout, setRestrictedPssSecurityContext, setRetentionTimeout, setServerCertificate, setServerUrl, setSkipTlsVerify, setTemplates, setUsageRestricted, setUseJenkinsProxy, setWaitForPodSec, setWebSocket, toString
Methods inherited from class hudson.slaves.Cloud
all, canProvision, doConfigSubmit, doDoDelete, getACL, getDescriptor, getDisplayName, getIcon, getIconAltText, getIconClassName, getSearchUrl, getUrl, provision, registerPermissions
Methods inherited from class hudson.model.Actionable
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission, hasPermission2
-
Constructor Details
-
NonConfigurableKubernetesCloud
-
-
Method Details
-
replaceTemplate
Description copied from interface:PodTemplateGroup
Replaces the old template with the new template.- Specified by:
replaceTemplate
in interfacePodTemplateGroup
- Overrides:
replaceTemplate
in classKubernetesCloud
- Parameters:
oldTemplate
- the old template to replacenewTemplate
- the new template to replace with
-
addTemplate
Description copied from class:KubernetesCloud
Add a new template to the cloud- Specified by:
addTemplate
in interfacePodTemplateGroup
- Overrides:
addTemplate
in classKubernetesCloud
- Parameters:
template
- docker template
-
removeTemplate
Description copied from class:KubernetesCloud
Remove a- Specified by:
removeTemplate
in interfacePodTemplateGroup
- Overrides:
removeTemplate
in classKubernetesCloud
- Parameters:
template
- docker template
-
reconfigure
public Cloud reconfigure(@NonNull org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject form) throws Descriptor.FormException - Overrides:
reconfigure
in classKubernetesCloud
- Throws:
Descriptor.FormException
-
getTemplates
- Overrides:
getTemplates
in classKubernetesCloud
-