client

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(url string, httpclient *http.Client) (afero.Fs, error)

func New

func New(fs proxy.Filesystem) afero.Fs

Types

type Config

type Config struct {
	URL       string `flag:"url,Proxy URL" reg:"URL"`
	KeyId     string `flag:"keyid,Access Key ID" reg:"KeyID"`
	KeySecret string `flag:"secret,Access Key Secret" reg:"KeySecret"`
}

func (*Config) ToFileSystem

func (c *Config) ToFileSystem(logger zerolog.Logger) (afero.Fs, error)

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳