public class KubernetesDeployContext extends com.microsoft.jenkins.azurecommons.command.BaseCommandContext implements DeploymentCommand.IDeploymentCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
KubernetesDeployContext.DescriptorImpl |
| Constructor and Description |
|---|
KubernetesDeployContext() |
| Modifier and Type | Method and Description |
|---|---|
ClientWrapperFactory |
clientFactory() |
void |
configure(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
String |
getConfigs() |
String |
getCredentialsType() |
KubernetesCredentialsType |
getCredentialsTypeEnum() |
com.microsoft.jenkins.azurecommons.command.IBaseCommandData |
getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand command) |
List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> |
getDockerCredentials() |
ConfigFileCredentials |
getKubeConfig() |
String |
getSecretName() |
String |
getSecretNamespace() |
SSHCredentials |
getSsh() |
TextCredentials |
getTextCredentials() |
boolean |
isEnableConfigSubstitution() |
List<ResolvedDockerRegistryEndpoint> |
resolveEndpoints(hudson.model.Item context) |
void |
setConfigs(String configs) |
void |
setCredentialsType(String credentialsType) |
void |
setDockerCredentials(List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> dockerCredentials) |
void |
setEnableConfigSubstitution(boolean enableConfigSubstitution) |
void |
setKubeConfig(ConfigFileCredentials kubeConfig) |
void |
setSecretName(String secretName) |
void |
setSecretNamespace(String secretNamespace) |
void |
setSsh(SSHCredentials ssh) |
void |
setTextCredentials(TextCredentials textCredentials) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
startImpl(org.jenkinsci.plugins.workflow.steps.StepContext context) |
configure, configure, executeCommands, getCommandService, getCommandState, getEnvVars, getJobContext, getLastCommandState, logError, logError, logError, logStatus, setCommandState, setLastCommandState, startpublic void configure(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getCredentialsType()
public KubernetesCredentialsType getCredentialsTypeEnum()
@DataBoundSetter public void setCredentialsType(String credentialsType)
public SSHCredentials getSsh()
@DataBoundSetter public void setSsh(SSHCredentials ssh)
public ConfigFileCredentials getKubeConfig()
@DataBoundSetter public void setKubeConfig(ConfigFileCredentials kubeConfig)
public TextCredentials getTextCredentials()
@DataBoundSetter public void setTextCredentials(TextCredentials textCredentials)
public String getSecretNamespace()
getSecretNamespace in interface DeploymentCommand.IDeploymentCommand@DataBoundSetter public void setSecretNamespace(String secretNamespace)
public String getConfigs()
getConfigs in interface DeploymentCommand.IDeploymentCommand@DataBoundSetter public void setConfigs(String configs)
public String getSecretName()
getSecretName in interface DeploymentCommand.IDeploymentCommand@DataBoundSetter public void setSecretName(String secretName)
public boolean isEnableConfigSubstitution()
isEnableConfigSubstitution in interface DeploymentCommand.IDeploymentCommand@DataBoundSetter public void setEnableConfigSubstitution(boolean enableConfigSubstitution)
public List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> getDockerCredentials()
@DataBoundSetter public void setDockerCredentials(List<org.jenkinsci.plugins.docker.commons.credentials.DockerRegistryEndpoint> dockerCredentials)
public List<ResolvedDockerRegistryEndpoint> resolveEndpoints(hudson.model.Item context) throws IOException
resolveEndpoints in interface DeploymentCommand.IDeploymentCommandIOExceptionpublic ClientWrapperFactory clientFactory()
clientFactory in interface DeploymentCommand.IDeploymentCommandpublic com.microsoft.jenkins.azurecommons.command.IBaseCommandData getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand command)
getDataForCommand in interface com.microsoft.jenkins.azurecommons.command.ICommandServiceDatagetDataForCommand in class com.microsoft.jenkins.azurecommons.command.BaseCommandContextCopyright © 2016–2017. All rights reserved.