test

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Test_conf_env     = def.ConfProfile{"tencent": "$ENV"}
	Test_conf_file    = def.ConfProfile{"tencent": "file"}
	Test_conf_aliyun  = def.ConfProfile{"aliyun": "$ENV"}
	Test_conf_k8s     = def.ConfProfile{"k8s": "$ENV"}
	Test_conf_azure   = def.ConfProfile{"azure": "$ENV"}
	Test_conf_invalid = def.ConfProfile{}
)

Functions

This section is empty.

Types

type MockKeyNotSetAuthProvider

type MockKeyNotSetAuthProvider struct{}

func (*MockKeyNotSetAuthProvider) GetProfile

func (p *MockKeyNotSetAuthProvider) GetProfile(cloudType def.CloudType) (*viper.Viper, error)

func (*MockKeyNotSetAuthProvider) GetProfilePathname

func (p *MockKeyNotSetAuthProvider) GetProfilePathname(cloudType def.CloudType) (string, error)

Jump to

Keyboard shortcuts

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