awss3

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VirtualHost = "virtualHost"
)

Variables

This section is empty.

Functions

func New

func New() (plugin.Plugin, error)

Types

type CloudConfig

type CloudConfig struct {
	AWSS3 *S3Config `yaml:"awss3" json:"awss3"`
}

CloudConfig baetyl-cloud config

type S3Config

type S3Config struct {
	Endpoint      string        `yaml:"endpoint" json:"endpoint"`
	Ak            string        `yaml:"ak" json:"ak" binding:"nonzero"`
	Sk            string        `yaml:"sk" json:"sk" binding:"nonzero"`
	Region        string        `yaml:"region" json:"region" default:"us-east-1"`
	AddressFormat string        `yaml:"addressFormat" json:"addressFormat" default:"pathStyle"`
	Expiration    time.Duration `yaml:"expiration" json:"expiration" default:"1h"`
}

Jump to

Keyboard shortcuts

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