utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Provider     = "provider"
	Id           = "id"
	AccessKey    = "access_key"
	SecretKey    = "secret_key"
	SessionToken = "session_token"
)
View Source
const (
	Aliyun       = "aliyun"
	TencentCloud = "tencent cloud"
	HuaweiCloud  = "huawei cloud"
	Ctyun        = "ctyun"
	BaiduCloud   = "baidu cloud"
	CuCloud      = "cu cloud"
)

Variables

This section is empty.

Functions

func Contains

func Contains(s []string, e string) bool

func DivideList

func DivideList(list []string, n int) [][]string

func ReadConfig

func ReadConfig(configFile string) (schema.Options, error)

Types

type ErrNoSuchKey

type ErrNoSuchKey struct {
	Name string
}

func (*ErrNoSuchKey) Error

func (e *ErrNoSuchKey) Error() string

Jump to

Keyboard shortcuts

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