obsimpl

package
v0.0.0-...-f4a3ab8 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOBS

func NewOBS(cfg *Config) (dobs.OBS, error)

Types

type Config

type Config struct {
	OBSUtilPath string `json:"obsutil_path"  required:"true"`
	AccessKey   string `json:"access_key"    required:"true"`
	SecretKey   string `json:"secret_key"    required:"true"`
	Endpoint    string `json:"endpoint"      required:"true"`
	Bucket      string `json:"bucket"        required:"true"`
}

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