s3

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

type S3 struct {
	// Name of the upload storage
	Name string `json:"name" yaml:"name" hcl:"name,label"`
	// Region value
	Region string `json:"region" yaml:"region" hcl:"region"`
	// Key value
	Key string `json:"key" yaml:"key" hcl:"key"`
	// Secret value
	Secret string `json:"secret" yaml:"secret" hcl:"secret"`
	// Endpoint value
	Endpoint string `json:"endpoint" yaml:"endpoint" hcl:"endpoint"`
	// Bucket value
	Bucket string `json:"bucket" yaml:"bucket" hcl:"bucket"`
}

S3 upload storage config

func (*S3) Validate

func (cfg *S3) Validate() error

Validate config

Jump to

Keyboard shortcuts

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