Documentation
¶
Index ¶
- func AppReport(appName string, timeout time.Duration)
- func DisableDiego(appName string)
- func DisableDiegoAndCheckResponse(appName, expectedSubstring string)
- func EnableDiego(appName string)
- func GetAppGuid(appName string) string
- func LastAppUsageEventGuid(testSetup *workflowhelpers.ReproducibleTestSuiteSetup) string
- func SetBackend(appName string)
- func UsageEventsInclude(events []AppUsageEvent, event AppUsageEvent) bool
- type AppUsageEvent
- type AppUsageEvents
- type Entity
- type Metadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableDiego ¶
func DisableDiego(appName string)
func DisableDiegoAndCheckResponse ¶
func DisableDiegoAndCheckResponse(appName, expectedSubstring string)
func EnableDiego ¶
func EnableDiego(appName string)
func GetAppGuid ¶
func LastAppUsageEventGuid ¶
func LastAppUsageEventGuid(testSetup *workflowhelpers.ReproducibleTestSuiteSetup) string
func SetBackend ¶
func SetBackend(appName string)
func UsageEventsInclude ¶
func UsageEventsInclude(events []AppUsageEvent, event AppUsageEvent) bool
Types ¶
type AppUsageEvent ¶
func UsageEventsAfterGuid ¶
func UsageEventsAfterGuid(testSetup *workflowhelpers.ReproducibleTestSuiteSetup, guid string) []AppUsageEvent
Returns all app usage events that occured since the given app usage event guid
type AppUsageEvents ¶
type AppUsageEvents struct { Resources []AppUsageEvent `struct:"resources"` NextUrl string `json:"next_url"` }
type Entity ¶
type Entity struct { AppName string `json:"app_name"` AppGuid string `json:"app_guid"` State string `json:"state"` BuildpackName string `json:"buildpack_name"` BuildpackGuid string `json:"buildpack_guid"` ParentAppName string `json:"parent_app_name"` ParentAppGuid string `json:"parent_app_guid"` ProcessType string `json:"process_type"` TaskGuid string `json:"task_guid"` }
Click to show internal directories.
Click to hide internal directories.