Documentation ¶
Index ¶
- func AppReport(appName string)
- func GetAppGuid(appName string) string
- func LastAppUsageEventGuid(testSetup *workflowhelpers.ReproducibleTestSuiteSetup) string
- func UsageEventsInclude(events []AppUsageEvent, event AppUsageEvent) bool
- type AppDroplet
- type AppUsageEvent
- type AppUsageEvents
- type Entity
- type Metadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppGuid ¶
func LastAppUsageEventGuid ¶
func LastAppUsageEventGuid(testSetup *workflowhelpers.ReproducibleTestSuiteSetup) string
func UsageEventsInclude ¶
func UsageEventsInclude(events []AppUsageEvent, event AppUsageEvent) bool
Types ¶
type AppDroplet ¶
type AppDroplet struct {
// contains filtered or unexported fields
}
func NewAppDroplet ¶
func NewAppDroplet(appGuid string, config config.CatsConfig) *AppDroplet
func (*AppDroplet) DownloadTo ¶
func (droplet *AppDroplet) DownloadTo(downloadPath string) (string, error)
func (*AppDroplet) UploadFrom ¶
func (droplet *AppDroplet) UploadFrom(uploadPath string)
type AppUsageEvent ¶
func UsageEventsAfterGuid ¶
func UsageEventsAfterGuid(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.