Versions in this module Expand all Collapse all v1 v1.18.0 Mar 24, 2019 Changes in this version type Service + VolumeMounts []map[string]string v1.17.0 Mar 14, 2017 Changes in this version + func IsRunningOnCF() bool v1.16.0 Mar 14, 2017 v1.15.0 Mar 3, 2017 Changes in this version type App + AppID string + CFAPI string + InstanceID string + Limits *Limits + type Limits struct + Disk int + FDs int + Mem int type Service + func (s *Service) CredentialString(key string) (string, bool) v1.14.0 May 26, 2016 Changes in this version + func CurrentEnv() map[string]string + func Env(env []string) map[string]string + type App struct + ApplicationURIs []string + Home string + Host string + ID string + Index int + MemoryLimit string + Name string + Port int + Services Services + SpaceID string + SpaceName string + TempDir string + User string + Version string + WorkingDir string + func Current() (*App, error) + func New(env map[string]string) (*App, error) + type Service struct + Credentials map[string]interface{} + Label string + Name string + Plan string + Tags []string + type Services map[string][]Service + func (s *Services) WithLabel(label string) ([]Service, error) + func (s *Services) WithName(name string) (*Service, error) + func (s *Services) WithNameUsingPattern(namePattern string) ([]Service, error) + func (s *Services) WithTag(tag string) ([]Service, error) + func (s *Services) WithTagUsingPattern(tagPattern string) ([]Service, error)