protected class OpenShiftBinaryPodLogRetrieval.PodLogs extends AbstractOpenShiftBinaryCapability
AbstractOpenShiftBinaryCapability.CommandLineBuilderIBinaryCapability.OpenShiftBinaryOption, IBinaryCapability.SkipTlsVerify| Modifier and Type | Field and Description |
|---|---|
static String |
LOGS_COMMAND |
OPENSHIFT_BINARY_LOCATION, SKIP_TLS_VERIFY| Modifier | Constructor and Description |
|---|---|
protected |
PodLogs(IClient client,
boolean follow,
String container,
IBinaryCapability.OpenShiftBinaryOption... options) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildArgs(List<IBinaryCapability.OpenShiftBinaryOption> options)
Callback for building args to be sent to the
oc command. |
protected void |
cleanup()
Cleanup required when stopping the process
|
InputStream |
getLogs() |
String |
getName()
Well known name of the capability
|
boolean |
isSupported()
Allow the implementation of the capability to determine if it is supported on
the OpenShift server.
|
protected boolean |
validate()
Validate arguments before starting process
|
getClient, getOpenShiftBinaryLocation, getProcess, start, startProcess, stoppublic static final String LOGS_COMMAND
protected PodLogs(IClient client, boolean follow, String container, IBinaryCapability.OpenShiftBinaryOption... options)
public InputStream getLogs()
public boolean isSupported()
ICapabilitypublic String getName()
ICapabilityprotected void cleanup()
AbstractOpenShiftBinaryCapabilitycleanup in class AbstractOpenShiftBinaryCapabilityprotected boolean validate()
AbstractOpenShiftBinaryCapabilityvalidate in class AbstractOpenShiftBinaryCapabilityprotected String buildArgs(List<IBinaryCapability.OpenShiftBinaryOption> options)
AbstractOpenShiftBinaryCapabilityoc command.buildArgs in class AbstractOpenShiftBinaryCapabilityoc command.Copyright © 2020 Red Hat, Inc. All Rights Reserved.