github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/actor/v7action/noaa_client.go (about)

     1  package v7action
     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  }