awss3

package
v2.1.1-rc6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

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" validate:"nonzero"`
	Sk         string        `yaml:"sk" json:"sk" validate:"nonzero"`
	Region     string        `yaml:"region" json:"region" default:"us-east-1"`
	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