github.com/Thanhphan1147/cloudfoundry-cli@v7.1.0+incompatible/actor/v3action/noaa_client.go (about)

     1  package v3action
     2  
     3  import "github.com/cloudfoundry/sonde-go/events"
     4  
     5  //go:generate counterfeiter . NOAAClient
     6  
     7  // NOAAClient is a client for getting logs.
     8  type NOAAClient interface {
     9  	Close() error
    10  	RecentLogs(appGUID string, authToken string) ([]*events.LogMessage, error)
    11  	SetOnConnectCallback(cb func())
    12  	TailingLogs(appGUID, authToken string) (<-chan *events.LogMessage, <-chan error)
    13  }