postgres

package
v1.8.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postgres

type Postgres struct {
	// contains filtered or unexported fields
}

Postgres represents PostgreSQL output binding.

func NewPostgres

func NewPostgres(logger logger.Logger) *Postgres

NewPostgres returns a new PostgreSQL output binding.

func (*Postgres) Close added in v1.4.4

func (p *Postgres) Close() error

Close close PostgreSql instance.

func (*Postgres) Init

func (p *Postgres) Init(metadata bindings.Metadata) error

Init initializes the PostgreSql binding.

func (*Postgres) Invoke

func (p *Postgres) Invoke(ctx context.Context, req *bindings.InvokeRequest) (resp *bindings.InvokeResponse, err error)

Invoke handles all invoke operations.

func (*Postgres) Operations

func (p *Postgres) Operations() []bindings.OperationKind

Operations returns list of operations supported by PostgreSql binding.

Jump to

Keyboard shortcuts

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