adapters

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	GetData(args []AdapterAttribute) (interface{}, error)
	GetParameters(args map[string]interface{}) ([]AdapterAttribute, error)
}

type AdapterAttribute

type AdapterAttribute struct {
	Name  string
	Type  string
	Value interface{}
}

type DynamoDBAdapter

type DynamoDBAdapter interface {
	Adapter
}

func NewDynamoDBAdapter

func NewDynamoDBAdapter(region, table, accessKeyId, secretAccessKey string) DynamoDBAdapter

type RedisAdapter

type RedisAdapter interface {
	Adapter
}

func NewRedisAdapter

func NewRedisAdapter(endpoint, pass, keyPattern string, attributes map[string]interface{}) RedisAdapter

type RestAdapter

type RestAdapter interface {
	Adapter
}

func NewRestAdapter

func NewRestAdapter(cfg *types.Config, baseUrl, endpoint string, auth bool, attributes, headers map[string]interface{}) RestAdapter

type S3Adapter

type S3Adapter interface {
	Adapter
}

func NewS3Adapter

func NewS3Adapter(region, bucket, accessKeyId, secretAccessKey string) S3Adapter

Jump to

Keyboard shortcuts

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