appInstances

package
v0.8.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

func ClearAppInstancesMetadata

func ClearAppInstancesMetadata(appId string)

func LoadAppInstancesCache

func LoadAppInstancesCache(cliConnection plugin.CliConnection, appId string) error

Types

type AppInstance

type AppInstance struct {
	Details   string     `json:"details"`
	Since     float64    `json:"since"`
	State     string     `json:"state"`
	Uptime    int64      `json:"uptime"`
	StartTime *time.Time // This will be populated on post-processing of response

}

type AppInstances

type AppInstances struct {
	CacheTime *time.Time
	Data      map[string]*AppInstance
}

**************************************************************** The following are used used calling API: /v2/apps/APP_GUID/instances ****************************************************************

func FindAppInstancesMetadata

func FindAppInstancesMetadata(appId string) *AppInstances

func FindAppInstancesMetadataInternal

func FindAppInstancesMetadataInternal(appId string) *AppInstances

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL