public class MockPod<C extends Client> extends BaseMockOperation<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.PodList,io.fabric8.kubernetes.api.model.DoneablePod,MockDoneablePod,ClientPodResource<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.DoneablePod>,MockPodResource<io.fabric8.kubernetes.api.model.Pod,MockDoneablePod,Boolean>> implements MockPodResource<io.fabric8.kubernetes.api.model.Pod,MockDoneablePod,Boolean>
Constructor and Description |
---|
MockPod() |
cascading, create, createNew, delete, delete, delete, edit, fromServer, get, getNested, inAnyNamespace, inNamespace, list, load, patch, replace, update, watch, watch, withField, withFields, withGracePeriod, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withName, withoutLabel, withoutLabel, withoutLabels, withResourceVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, createNew
fromServer
replace
update
withGracePeriod
withResourceVersion
public BaseMockOperation newInstance()
newInstance
in class BaseMockOperation<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.PodList,io.fabric8.kubernetes.api.model.DoneablePod,MockDoneablePod,ClientPodResource<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.DoneablePod>,MockPodResource<io.fabric8.kubernetes.api.model.Pod,MockDoneablePod,Boolean>>
public org.easymock.IExpectationSetters<String> getLog()
public org.easymock.IExpectationSetters<LogWatch> watchLog()
public org.easymock.IExpectationSetters<LogWatch> watchLog(OutputStream out)
public TtyExecOutputErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>> readingInput(InputStream in)
readingInput
in interface Inputable<InputStream,PipedOutputStream,TtyExecOutputErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>>>
public TtyExecOutputErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>> writingInput(PipedOutputStream out)
writingInput
in interface Inputable<InputStream,PipedOutputStream,TtyExecOutputErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>>>
public TtyExecOutputErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>> redirectingInput()
redirectingInput
in interface Inputable<InputStream,PipedOutputStream,TtyExecOutputErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>>>
public TtyExecErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>> writingOutput(OutputStream out)
writingOutput
in interface Outputable<OutputStream,PipedInputStream,TtyExecErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>>>
public TtyExecErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>> readingOutput(PipedInputStream in)
readingOutput
in interface Outputable<OutputStream,PipedInputStream,TtyExecErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>>>
public TtyExecErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>> redirectingOutput()
redirectingOutput
in interface Outputable<OutputStream,PipedInputStream,TtyExecErrorable<String,OutputStream,PipedInputStream,org.easymock.IExpectationSetters<ExecWatch>>>
public TtyExecable<String,org.easymock.IExpectationSetters<ExecWatch>> writingError(OutputStream err)
writingError
in interface Errorable<OutputStream,PipedInputStream,TtyExecable<String,org.easymock.IExpectationSetters<ExecWatch>>>
public TtyExecable<String,org.easymock.IExpectationSetters<ExecWatch>> readingError(PipedInputStream in)
readingError
in interface Errorable<OutputStream,PipedInputStream,TtyExecable<String,org.easymock.IExpectationSetters<ExecWatch>>>
public TtyExecable<String,org.easymock.IExpectationSetters<ExecWatch>> redirectingError()
redirectingError
in interface Errorable<OutputStream,PipedInputStream,TtyExecable<String,org.easymock.IExpectationSetters<ExecWatch>>>
public ExecListenable<String,org.easymock.IExpectationSetters<ExecWatch>> withTTY()
withTTY
in interface Ttyable<ExecListenable<String,org.easymock.IExpectationSetters<ExecWatch>>>
public ContainerResource<String,LogWatch,InputStream,PipedOutputStream,OutputStream,PipedInputStream,String,org.easymock.IExpectationSetters<ExecWatch>> inContainer(String containerId)
inContainer
in interface Containerable<String,ContainerResource<String,LogWatch,InputStream,PipedOutputStream,OutputStream,PipedInputStream,String,org.easymock.IExpectationSetters<ExecWatch>>>
public Loggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>> withPrettyOutput()
withPrettyOutput
in interface Prettyable<Loggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>>>
public PrettyLoggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>> tailingLines(int lines)
tailingLines
in interface Tailable<PrettyLoggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>>>
public TimeTailPrettyLoggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>> terminated()
terminated
in interface Terminateable<TimeTailPrettyLoggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>>>
public TailPrettyLoggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>> sinceTime(String timestamp)
sinceTime
in interface Timeable<TailPrettyLoggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>>>
public TailPrettyLoggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>> sinceSeconds(int seconds)
sinceSeconds
in interface Timeable<TailPrettyLoggable<org.easymock.IExpectationSetters<String>,org.easymock.IExpectationSetters<LogWatch>>>
public Execable<String,org.easymock.IExpectationSetters<ExecWatch>> usingListener(ExecListener listener)
usingListener
in interface Listenable<Execable<String,org.easymock.IExpectationSetters<ExecWatch>>,ExecListener>
public io.fabric8.kubernetes.client.mock.impl.MockPod.PodDelegate getDelegate()
getDelegate
in class BaseMockOperation<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.PodList,io.fabric8.kubernetes.api.model.DoneablePod,MockDoneablePod,ClientPodResource<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.DoneablePod>,MockPodResource<io.fabric8.kubernetes.api.model.Pod,MockDoneablePod,Boolean>>
public void verify()
verify
in interface Verifiable
verify
in class BaseMockOperation<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.PodList,io.fabric8.kubernetes.api.model.DoneablePod,MockDoneablePod,ClientPodResource<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.DoneablePod>,MockPodResource<io.fabric8.kubernetes.api.model.Pod,MockDoneablePod,Boolean>>
public Void replay()
replay
in interface Replayable<Void>
replay
in class BaseMockOperation<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.PodList,io.fabric8.kubernetes.api.model.DoneablePod,MockDoneablePod,ClientPodResource<io.fabric8.kubernetes.api.model.Pod,io.fabric8.kubernetes.api.model.DoneablePod>,MockPodResource<io.fabric8.kubernetes.api.model.Pod,MockDoneablePod,Boolean>>
Copyright © 2015–2018 Red Hat. All rights reserved.