appInstances

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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 AppInstanceMetadataManager added in v0.9.0

type AppInstanceMetadataManager struct {
	*common.CommonMetadataManager
	// contains filtered or unexported fields
}

func NewAppInstanceMetadataManager added in v0.9.0

func NewAppInstanceMetadataManager(mdGlobalManager common.MdGlobalManagerInterface) *AppInstanceMetadataManager

func (*AppInstanceMetadataManager) FindItem added in v0.9.0

func (mdMgr *AppInstanceMetadataManager) FindItem(appId string) *AppInstances

func (*AppInstanceMetadataManager) LoadItemInternal added in v0.9.0

func (mdMgr *AppInstanceMetadataManager) LoadItemInternal(guid string) (common.IMetadata, error)

func (*AppInstanceMetadataManager) NewItemById added in v0.9.0

func (mdMgr *AppInstanceMetadataManager) NewItemById(guid string) common.IMetadata

type AppInstances

type AppInstances struct {
	//*common.BaseMetadataItem
	*common.Metadata
	*common.EntityCommon
	Data map[string]*AppInstance
	Guid string
	Name string
}

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

func NewAppInstances added in v0.9.0

func NewAppInstances(appId string) *AppInstances

func NewAppInstancesWithData added in v0.9.0

func NewAppInstancesWithData(appId string, data map[string]*AppInstance) *AppInstances

func (*AppInstances) GetGuid added in v0.9.0

func (metadataItem *AppInstances) GetGuid() string

func (*AppInstances) GetName added in v0.9.0

func (metadataItem *AppInstances) GetName() string

Jump to

Keyboard shortcuts

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