Documentation ¶
Index ¶
- Constants
- func AddOrReplaceEnvironment(newEnvName string, newEnvVal string) []string
- func BindRouteToApplication(app string, domain string, host string, path string)
- func CF(args ...string) *Session
- func CFWithStdin(stdin io.Reader, args ...string) *Session
- func GetAppGuid(appName string) string
- func PrefixedRandomName(namePrefix string) string
- func RandomName() string
- func UnbindRouteToApplication(app string, domain string, host string, path string)
- func WithSimpleApp(f func(dir string))
- type Assets
- type Domain
- type Plan
- type Route
- type ServiceBroker
Constants ¶
View Source
const ( DefaultMemoryLimit = "256M" DefaultDiskLimit = "1G" CFServiceBrokerLongTimeout = 1 * time.Minute )
View Source
const (
CFRouteLongTimeout = 30 * time.Second
)
View Source
const (
CFRouteMappingLongTimeout = 30 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func AddOrReplaceEnvironment ¶
func BindRouteToApplication ¶
func CFWithStdin ¶
func GetAppGuid ¶
func PrefixedRandomName ¶
func RandomName ¶
func RandomName() string
func WithSimpleApp ¶
func WithSimpleApp(f func(dir string))
Types ¶
type ServiceBroker ¶
type ServiceBroker struct { Name string Path string AppsDomain string Service struct { Name string `json:"name"` ID string `json:"id"` DashboardClient struct { ID string `json:"id"` Secret string `json:"secret"` RedirectUri string `json:"redirect_uri"` } } SyncPlans []Plan AsyncPlans []Plan }
func NewServiceBroker ¶
func (ServiceBroker) Configure ¶
func (b ServiceBroker) Configure()
func (ServiceBroker) Create ¶
func (b ServiceBroker) Create()
func (ServiceBroker) Delete ¶
func (b ServiceBroker) Delete()
func (ServiceBroker) Destroy ¶
func (b ServiceBroker) Destroy()
func (ServiceBroker) Push ¶
func (b ServiceBroker) Push()
func (ServiceBroker) ToJSON ¶
func (b ServiceBroker) ToJSON() string
Click to show internal directories.
Click to hide internal directories.