aliyun

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AHAS = "ahas"
)

Variables

View Source
var (
	// flag
	RegionId    string
	Environment string
)
View Source
var ImageRepoForAliyun = func() string {
	if RegionId == publicRegion {
		if Environment == prodEnv {
			return fmt.Sprintf("registry.cn-hangzhou.aliyuncs.com/ahascr-public/chaosblade-tool")
		}
		return fmt.Sprintf("registry.cn-hangzhou.aliyuncs.com/ahas-public/chaosblade-tool")
	}
	if Environment == prodEnv {
		return fmt.Sprintf("registry-vpc.%s.aliyuncs.com/ahascr/chaosblade-tool", RegionId)
	}
	return fmt.Sprintf("registry-vpc.%s.aliyuncs.com/ahas/chaosblade-tool", RegionId)
}

Functions

func FlagSet

func FlagSet() *pflag.FlagSet

Types

This section is empty.

Jump to

Keyboard shortcuts

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