s3

package
v0.0.0-...-2c27dae Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector struct {
	abstract.ConfigurableConnector

	Bucket string
	Prefix string
	Region string
	// contains filtered or unexported fields
}

Connector ... S3 connector

func NewS3Connector

func NewS3Connector() *Connector

NewS3Connector factory

func (*Connector) CloseConnection

func (c *Connector) CloseConnection()

CloseConnection ... terminates the connection

func (*Connector) GetClient

func (c *Connector) GetClient() *minio.Client

GetClient ... Returns the client from the connector

func (*Connector) InitConnection

func (c *Connector) InitConnection(def *conf.DataSourceDefinition)

InitConnection ... inits connection

Jump to

Keyboard shortcuts

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