Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + const DeployEnvFormat + const NotDeleteValue + const Web + type EnvConfig struct + func New(options ...Option) *EnvConfig + func (e *EnvConfig) Add(createReq *apistructs.EnvConfigAddOrUpdateRequest, namespace string, ...) error + func (e *EnvConfig) BatchUpdate(permission *permission.Permission, ...) error + func (e *EnvConfig) DeleteConfig(permission *permission.Permission, namespace, key, userID string) error + func (e *EnvConfig) GetConfigs(permission *permission.Permission, namespace, userID string, decrypt bool) ([]apistructs.EnvConfig, error) + func (e *EnvConfig) GetDeployConfigs(permission *permission.Permission, userID, namespace string) ([]apistructs.EnvConfig, error) + func (e *EnvConfig) GetMultiNamespaceConfigs(permission *permission.Permission, userID string, ...) (map[string][]apistructs.EnvConfig, error) + func (e *EnvConfig) ListConfigs(namespaceParams []apistructs.NamespaceParam) (map[string][]apistructs.EnvConfig, error) + func (e *EnvConfig) Update(permission *permission.Permission, ...) error + type Option func(*EnvConfig) + func WithBundle(bdl *bundle.Bundle) Option + func WithDBClient(db *dao.DBClient) Option