public interface IOpenShiftExec extends ITimedOpenShiftPlugin, com.openshift.restclient.api.capabilities.IPodExec.IPodExecOutputListener
ITimedOpenShiftPlugin.TimeoutUnit
Modifier and Type | Field and Description |
---|---|
static String |
DISPLAY_NAME |
ANNOTATION_FAILURE, BUILD_NUMBER, BUILD_URL_ANNOTATION, BUILD_URL_ENV_KEY, JOB_NAME, KUBERNETES_MASTER_ENV_KEY, KUBERNETES_SERVICE_HOST_ENV_KEY, KUBERNETES_SERVICE_PORT_ENV_KEY, NAMESPACE_ENV_VAR, NAMESPACE_FILE, NAMESPACE_SYNC_BUILD_CAUSE, STATE_CANCELLED, STATE_COMPLETE, STATE_ERROR, STATE_FAILED, STATE_RUNNING
Modifier and Type | Method and Description |
---|---|
default boolean |
coreLogic(hudson.Launcher launcher,
hudson.model.TaskListener listener,
Map<String,String> overrides) |
List<Argument> |
getArguments() |
default List<Argument> |
getArguments(Map<String,String> overrides) |
default com.openshift.restclient.IClient |
getClient(hudson.model.TaskListener listener,
String displayName,
Map<String,String> overrides,
String token) |
String |
getCommand() |
default String |
getCommand(Map<String,String> overrides) |
String |
getContainer() |
default String |
getContainer(Map<String,String> overrides) |
default String |
getDisplayName() |
default long |
getGlobalTimeoutConfiguration() |
String |
getPod() |
default String |
getPod(Map<String,String> overrides) |
default void |
onClose(int code,
String reason) |
default void |
onExecErr(String message) |
default void |
onFailure(IOException e) |
default void |
onOpen() |
default void |
onStdErr(String message) |
default void |
onStdOut(String message) |
getTimeout, getWaitTime, getWaitUnit
annotateJobInfoToResource, consolidateEnvVars, constructBuildUrl, didAllImagesChangeIfNeeded, didICTCauseDeployment, didImageChangeFromPreviousVersion, doesDCTriggerOnImageTag, doIt, doIt, doItCore, getApiURL, getApiURL, getAuth, getAuthToken, getAuthToken, getBaseClassName, getClient, getLatestReplicationController, getNamespace, getNamespace, getReplicationControllerState, getVerbose, getVerbose, httpGet, isBuildFinished, isBuildRunning, isDeployFinished, isReplicationControllerScaledAppropriately, setAuth, verifyBuild
getOverride, pruneKey
static final String DISPLAY_NAME
String getPod()
String getContainer()
String getCommand()
default String getDisplayName()
getDisplayName
in interface IOpenShiftPlugin
default long getGlobalTimeoutConfiguration()
getGlobalTimeoutConfiguration
in interface ITimedOpenShiftPlugin
default com.openshift.restclient.IClient getClient(hudson.model.TaskListener listener, String displayName, Map<String,String> overrides, String token)
getClient
in interface IOpenShiftPlugin
default boolean coreLogic(hudson.Launcher launcher, hudson.model.TaskListener listener, Map<String,String> overrides)
coreLogic
in interface IOpenShiftPlugin
default void onOpen()
onOpen
in interface com.openshift.restclient.api.capabilities.IPodExec.IPodExecOutputListener
default void onStdOut(String message)
onStdOut
in interface com.openshift.restclient.api.capabilities.IPodExec.IPodExecOutputListener
default void onStdErr(String message)
onStdErr
in interface com.openshift.restclient.api.capabilities.IPodExec.IPodExecOutputListener
default void onExecErr(String message)
onExecErr
in interface com.openshift.restclient.api.capabilities.IPodExec.IPodExecOutputListener
default void onClose(int code, String reason)
onClose
in interface com.openshift.restclient.api.capabilities.IPodExec.IPodExecOutputListener
default void onFailure(IOException e)
onFailure
in interface com.openshift.restclient.api.capabilities.IPodExec.IPodExecOutputListener
Copyright © 2004-2020 Red Hat, Inc. All Rights Reserved.