github.com/liamawhite/cli-with-i18n@v6.32.1-0.20171122084555-dede0a5c3448+incompatible/cf/models/environment.go (about) 1 package models 2 3 func NewEnvironment() *Environment { 4 return &Environment{ 5 System: make(map[string]interface{}), 6 Application: make(map[string]interface{}), 7 Environment: make(map[string]interface{}), 8 Running: make(map[string]interface{}), 9 Staging: make(map[string]interface{}), 10 } 11 } 12 13 type Environment struct { 14 System map[string]interface{} `json:"system_env_json,omitempty"` 15 Environment map[string]interface{} `json:"environment_json,omitempty"` 16 Running map[string]interface{} `json:"running_env_json,omitempty"` 17 Staging map[string]interface{} `json:"staging_env_json,omitempty"` 18 Application map[string]interface{} `json:"application_env_json,omitempty"` 19 }