compconts3

package
v0.0.0-...-dffcbd1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const TypeID compcont.ComponentTypeID = "contrib.s3"

Variables

This section is empty.

Functions

func Build

func Build(cc compcont.IComponentContainer, cfg Config) (c *s3.Client, err error)

func MustRegister

func MustRegister(registry compcont.IFactoryRegistry)

Types

type Config

type Config struct {
	Credentials   CredentialsConfig `ccf:"credentials"`
	Region        string            `ccf:"region"`
	Endpoint      string            `ccf:"endpoint"`
	ClientLogMode []string          `ccf:"client_log_mode"`
	UsePathStyle  bool              `ccf:"use_path_style"`
}

type CredentialsConfig

type CredentialsConfig struct {
	AccessKeyID     string `ccf:"access_key_id"`
	SecretAccessKey string `ccf:"secret_access_key"`
}

Jump to

Keyboard shortcuts

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