mysql

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMysql

func NewMysql(logger logger.Logger) bindings.OutputBinding

NewMysql returns a new MySQL output binding.

Types

type Mysql

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

Mysql represents MySQL output bindings.

func (*Mysql) Close

func (m *Mysql) Close() error

Close will close the DB.

func (*Mysql) GetComponentMetadata added in v1.11.0

func (m *Mysql) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*Mysql) Init

func (m *Mysql) Init(ctx context.Context, md bindings.Metadata) error

Init initializes the MySQL binding.

func (*Mysql) Invoke

Invoke handles all invoke operations.

func (*Mysql) Operations

func (m *Mysql) Operations() []bindings.OperationKind

Operations returns list of operations supported by Mysql binding.

Jump to

Keyboard shortcuts

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