goss

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Aliyun  = "aliyun"
	Tencent = "tencent"
	Qiniu   = "qiniu"
	Huawei  = "huawei"
	S3      = "s3"
	Minio   = "minio"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Goss

type Goss struct {
	core.Kernel
}

Goss is the wrapper for core.Kernel

func New

func New(configPath string) (*Goss, error)

New creates a new instance based on the configuration file pointed to by configPath.

func NewFromUserHomeConfigPath

func NewFromUserHomeConfigPath() (*Goss, error)

NewFromUserHomeConfigPath creates a new instance based on the configuration file pointed to by user home directory.

func NewWithViper added in v2.1.0

func NewWithViper(v *viper.Viper) (*Goss, error)

NewWithViper creates a new instance based on the configuration file pointed to by viper.

Jump to

Keyboard shortcuts

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