bindings

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 9 Imported by: 4

README

Page 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)

Directories

Path Synopsis
bindings module

Jump to

Keyboard shortcuts

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