MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewCloudControllerAppEventsRepository

Function NewCloudControllerAppEventsRepository

cf/api/appevents/app_events.go:23–28  ·  view source on GitHub ↗
(config coreconfig.Reader, gateway net.Gateway)

Source from the content-addressed store, hash-verified

21}
22
23func NewCloudControllerAppEventsRepository(config coreconfig.Reader, gateway net.Gateway) CloudControllerAppEventsRepository {
24 return CloudControllerAppEventsRepository{
25 config: config,
26 gateway: gateway,
27 }
28}
29
30func (repo CloudControllerAppEventsRepository) RecentEvents(appGUID string, limit int64) ([]models.EventFields, error) {
31 count := int64(0)

Callers 2

NewRepositoryLocatorFunction · 0.92
app_events_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected