awss3

package
v2.0.1-rc31 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMinio

func NewMinio() (plugin.Plugin, error)

Types

type CloudConfig

type CloudConfig struct {
	Minio S3Config `yaml:"minio" json:"minio"`
}

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