bindings

package module
v0.0.0-...-4fa7a1c Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 9 Imported by: 1

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)

Jump to

Keyboard shortcuts

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