Class StatusMessage
- java.lang.Object
-
- io.fabric8.mockwebserver.internal.WebSocketMessage
-
- io.fabric8.kubernetes.client.server.mock.StatusMessage
-
public class StatusMessage extends io.fabric8.mockwebserver.internal.WebSocketMessageWebSocketMessagethat outputs aStatusmessage.
-
-
Constructor Summary
Constructors Constructor Description StatusMessage(int exitCode)Create websocket message that returns aStatuswith the given status code on the error channel.StatusMessage(io.fabric8.kubernetes.api.model.Status status)Create websocket message that returnsStatuson the error channel.
-
-
-
Constructor Detail
-
StatusMessage
public StatusMessage(io.fabric8.kubernetes.api.model.Status status)
Create websocket message that returnsStatuson the error channel.- Parameters:
status- status response
-
StatusMessage
public StatusMessage(int exitCode)
Create websocket message that returns aStatuswith the given status code on the error channel.- Parameters:
exitCode- exit code
-
-