caching

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppInfo added in v1.2.0

type AppInfo struct {
	Name      string `json:"name"`
	Org       string `json:"org"`
	OrgID     string `json:"orgId"`
	Space     string `json:"space"`
	SpaceID   string `json:"spaceId"`
	Monitored bool   `json:"monitored"`
}

type Caching

type Caching struct {
	// contains filtered or unexported fields
}

func (*Caching) GetAppInfo added in v1.2.0

func (c *Caching) GetAppInfo(appGuid string) AppInfo

func (*Caching) GetEnvironmentName added in v1.1.0

func (c *Caching) GetEnvironmentName() string

func (*Caching) GetInstanceName

func (c *Caching) GetInstanceName() string

func (*Caching) Initialize

func (c *Caching) Initialize(loadApps bool)

type CachingClient

type CachingClient interface {
	GetAppInfo(string) AppInfo
	GetInstanceName() string
	GetEnvironmentName() string
	Initialize(bool)
}

func NewCaching

func NewCaching(config *cfclient.Config, logger lager.Logger, environment string, spaceFilter string) CachingClient

Jump to

Keyboard shortcuts

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