s3

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Endpoint   string `json:"endpoint"`
	BucketName string `json:"bucketName"`
	Region     string `json:"region"`
	AccessKey  string `json:"accessKey"`
	SecretKey  string `json:"secretKey"`
}

Client represents the S3 storage client.

func NewClient

func NewClient(
	endpoint, bucketName,
	Region, AccessKey, SecretKey string,
) (c *Client)

NewClient creates a new S3 client.

func (Client) GetConnectionID

func (c Client) GetConnectionID() string

func (Client) GetConnectionPool

func (c Client) GetConnectionPool(logr.Logger) protoc.ConnectionPool

func (Client) GetCredential

func (c Client) GetCredential() any

func (Client) GetS3API

func (c Client) GetS3API() protoc.S3API

func (Client) GetURI

func (c Client) GetURI() string

Jump to

Keyboard shortcuts

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