Documentation
¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_SERVICE_BINDINGS_ROOT = "/bindings"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingsSpec ¶
type BindingsSpec struct {
Host string `mapstructure:"host"`
Port uint16 `mapstructure:"port"`
Uri string `mapstructure:"uri"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
Database string `mapstructure:"database"`
SSL bool `mapstructure:"ssl"`
Provider string `mapstructure:"provider"`
Certificates []string `mapstructure:"certificates"`
PrivateKey string `mapstructure:"privatekey"`
Type string `mapstructure:"type"`
}
func NewBinding ¶
func NewBinding(bindingtype string) (*BindingsSpec, error)
type ServiceBinding ¶
type ServiceBinding struct {
Root string
}
func GetServiceBindingRoot ¶
func GetServiceBindingRoot() (*ServiceBinding, error)
Click to show internal directories.
Click to hide internal directories.