Documentation ¶
Index ¶
- type Pump
- type PumpImpl
- func (impl PumpImpl) StartK8sStreamWithHeartBeat(w http.ResponseWriter, isReconnect bool, stream io.ReadCloser, err error)
- func (impl PumpImpl) StartMessage(w http.ResponseWriter, resp proto.Message, perr error)
- func (impl PumpImpl) StartStream(w http.ResponseWriter, recv func() (proto.Message, error), err error)
- func (impl PumpImpl) StartStreamWithHeartBeat(w http.ResponseWriter, isReconnect bool, ...)
- func (impl PumpImpl) StartStreamWithTransformer(w http.ResponseWriter, recv func() (proto.Message, error), err error, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pump ¶
type Pump interface { StartStream(w http.ResponseWriter, recv func() (proto.Message, error), err error) StartStreamWithHeartBeat(w http.ResponseWriter, isReconnect bool, recv func() (*application.LogEntry, error), err error) StartMessage(w http.ResponseWriter, resp proto.Message, perr error) StartStreamWithTransformer(w http.ResponseWriter, recv func() (proto.Message, error), err error, transformer func(interface{}) interface{}) StartK8sStreamWithHeartBeat(w http.ResponseWriter, isReconnect bool, stream io.ReadCloser, err error) }
type PumpImpl ¶
type PumpImpl struct {
// contains filtered or unexported fields
}
func NewPumpImpl ¶
func NewPumpImpl(logger *zap.SugaredLogger) *PumpImpl
func (PumpImpl) StartK8sStreamWithHeartBeat ¶ added in v0.3.14
func (impl PumpImpl) StartK8sStreamWithHeartBeat(w http.ResponseWriter, isReconnect bool, stream io.ReadCloser, err error)
func (PumpImpl) StartMessage ¶
func (PumpImpl) StartStream ¶
func (PumpImpl) StartStreamWithHeartBeat ¶
func (impl PumpImpl) StartStreamWithHeartBeat(w http.ResponseWriter, isReconnect bool, recv func() (*application.LogEntry, error), err error)
func (PumpImpl) StartStreamWithTransformer ¶ added in v0.3.14
Click to show internal directories.
Click to hide internal directories.