Versions in this module Expand all Collapse all v0 v0.1.1 Sep 15, 2023 Changes in this version + var TAC_CONFIG_FILE_GLOBAL = filepath.FromSlash("/etc/tcr-access-control/config.yaml") + var TAC_CONFIG_FILE_HOME = filepath.FromSlash(os.Getenv("HOME") + "/.tcr_access_control.yaml") v0.1.0 Sep 13, 2023 Changes in this version + const AesEncryptKey + var ClientProfile *profile.ClientProfile + var Config *config.Config + var Credential *common.Credential + var GitCommit = "" + var REGION_ENV_NAME = "TENCENT_CLOUD_REGION" + var REGISTRY_ID_ENV_NAME = "TENCENT_CLOUD_REGISTRY_ID" + var SECRET_ID_ENV_NAME = "TENCENT_CLOUD_SECRET_ID" + var SECRET_KEY_ENV_NAME = "TENCENT_CLOUD_SECRET_KEY" + var TAC_CONFIG_FILE = path.Join(os.Getenv("HOME"), ".tcr_access_control.yaml") + var Version = "v0.1.0" + func DecryptAES(key string, e string) (string, error) + func EncryptAES(key string, text string) (string, error) + func Init(configPath string) error + func Pointer[T valueTypes](i T) *T + func Value[T valueTypes](p *T) T