mysql

package
v5.1.11-release+incomp... Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager db manager

func CreateManager

func CreateManager(config config.Config) (*Manager, error)

CreateManager create manager

func (*Manager) AppBackupDao

func (m *Manager) AppBackupDao() dao.AppBackupDao

AppBackupDao group app backup info

func (*Manager) AppBackupDaoTransactions

func (m *Manager) AppBackupDaoTransactions(db *gorm.DB) dao.AppBackupDao

AppBackupDaoTransactions -

func (*Manager) AppDao

func (m *Manager) AppDao() dao.AppDao

AppDao app export and import info

func (*Manager) Begin

func (m *Manager) Begin() *gorm.DB

Begin begin a transaction

func (*Manager) CertificateDao

func (m *Manager) CertificateDao() dao.CertificateDao

CertificateDao CertificateDao

func (*Manager) CertificateDaoTransactions

func (m *Manager) CertificateDaoTransactions(db *gorm.DB) dao.CertificateDao

CertificateDaoTransactions CertificateDaoTransactions

func (*Manager) CheckTable

func (m *Manager) CheckTable()

CheckTable check and create tables

func (*Manager) CloseManager

func (m *Manager) CloseManager() error

CloseManager 关闭管理器

func (*Manager) CodeCheckResultDao

func (m *Manager) CodeCheckResultDao() dao.CodeCheckResultDao

CodeCheckResultDao CodeCheckResultDao

func (*Manager) CodeCheckResultDaoTransactions

func (m *Manager) CodeCheckResultDaoTransactions(db *gorm.DB) dao.CodeCheckResultDao

CodeCheckResultDaoTransactions CodeCheckResultDaoTransactions

func (*Manager) EndpointsDao

func (m *Manager) EndpointsDao() dao.EndpointsDao

EndpointsDao returns a new EndpointDaoImpl with default *gorm.DB.

func (*Manager) EndpointsDaoTransactions

func (m *Manager) EndpointsDaoTransactions(db *gorm.DB) dao.EndpointsDao

EndpointsDaoTransactions returns a new EndpointDaoImpl with the givem *gorm.DB.

func (*Manager) EnsureEndTransactionFunc

func (m *Manager) EnsureEndTransactionFunc() func(tx *gorm.DB)

EnsureEndTransactionFunc -

func (*Manager) GwRuleConfigDao

func (m *Manager) GwRuleConfigDao() dao.GwRuleConfigDao

GwRuleConfigDao creates a new dao.GwRuleConfigDao.

func (*Manager) GwRuleConfigDaoTransactions

func (m *Manager) GwRuleConfigDaoTransactions(db *gorm.DB) dao.GwRuleConfigDao

GwRuleConfigDaoTransactions creates a new dao.GwRuleConfigDao with special transaction.

func (*Manager) HTTPRuleDao

func (m *Manager) HTTPRuleDao() dao.HTTPRuleDao

HTTPRuleDao HTTPRuleDao

func (*Manager) HTTPRuleDaoTransactions

func (m *Manager) HTTPRuleDaoTransactions(db *gorm.DB) dao.HTTPRuleDao

HTTPRuleDaoTransactions -

func (*Manager) LicenseDao

func (m *Manager) LicenseDao() dao.LicenseDao

LicenseDao LicenseDao

func (*Manager) LocalSchedulerDao

func (m *Manager) LocalSchedulerDao() dao.LocalSchedulerDao

LocalSchedulerDao 本地调度信息

func (*Manager) NotificationEventDao

func (m *Manager) NotificationEventDao() dao.NotificationEventDao

NotificationEventDao NotificationEventDao

func (*Manager) Print

func (m *Manager) Print(v ...interface{})

Print Print

func (*Manager) RegionAPIClassDao

func (m *Manager) RegionAPIClassDao() dao.RegionAPIClassDao

RegionAPIClassDao RegionAPIClassDao

func (*Manager) RegionAPIClassDaoTransactions

func (m *Manager) RegionAPIClassDaoTransactions(db *gorm.DB) dao.RegionAPIClassDao

RegionAPIClassDaoTransactions RegionAPIClassDaoTransactions

func (*Manager) RegionProcotolsDao

func (m *Manager) RegionProcotolsDao() dao.RegionProcotolsDao

RegionProcotolsDao RegionProcotolsDao

func (*Manager) RegionProcotolsDaoTransactions

func (m *Manager) RegionProcotolsDaoTransactions(db *gorm.DB) dao.RegionProcotolsDao

RegionProcotolsDaoTransactions RegionProcotolsDao

func (*Manager) RegionUserInfoDao

func (m *Manager) RegionUserInfoDao() dao.RegionUserInfoDao

RegionUserInfoDao RegionUserInfoDao

func (*Manager) RegionUserInfoDaoTransactions

func (m *Manager) RegionUserInfoDaoTransactions(db *gorm.DB) dao.RegionUserInfoDao

RegionUserInfoDaoTransactions RegionUserInfoDaoTransactions

func (*Manager) RegisterTableModel

func (m *Manager) RegisterTableModel()

RegisterTableModel register table model

func (*Manager) RuleExtensionDao

func (m *Manager) RuleExtensionDao() dao.RuleExtensionDao

RuleExtensionDao RuleExtensionDao

func (*Manager) RuleExtensionDaoTransactions

func (m *Manager) RuleExtensionDaoTransactions(db *gorm.DB) dao.RuleExtensionDao

RuleExtensionDaoTransactions RuleExtensionDaoTransactions

func (*Manager) ServiceEventDao

func (m *Manager) ServiceEventDao() dao.EventDao

ServiceEventDao TenantServicePluginRelationDao

func (*Manager) ServiceEventDaoTransactions

func (m *Manager) ServiceEventDaoTransactions(db *gorm.DB) dao.EventDao

ServiceEventDaoTransactions TenantServicePluginRelationDaoTransactions

func (*Manager) ServiceProbeDao

func (m *Manager) ServiceProbeDao() dao.ServiceProbeDao

ServiceProbeDao ServiceProbeDao

func (*Manager) ServiceProbeDaoTransactions

func (m *Manager) ServiceProbeDaoTransactions(db *gorm.DB) dao.ServiceProbeDao

ServiceProbeDaoTransactions ServiceProbeDaoTransactions

func (*Manager) ServiceSourceDao

func (m *Manager) ServiceSourceDao() dao.ServiceSourceDao

ServiceSourceDao service source db impl

func (*Manager) TCPRuleDao

func (m *Manager) TCPRuleDao() dao.TCPRuleDao

TCPRuleDao TCPRuleDao

func (*Manager) TCPRuleDaoTransactions

func (m *Manager) TCPRuleDaoTransactions(db *gorm.DB) dao.TCPRuleDao

TCPRuleDaoTransactions TCPRuleDaoTransactions

func (*Manager) TenantDao

func (m *Manager) TenantDao() dao.TenantDao

TenantDao 租户数据

func (*Manager) TenantDaoTransactions

func (m *Manager) TenantDaoTransactions(db *gorm.DB) dao.TenantDao

TenantDaoTransactions 租户数据,带操作事务

func (*Manager) TenantPluginBuildVersionDao

func (m *Manager) TenantPluginBuildVersionDao() dao.TenantPluginBuildVersionDao

TenantPluginBuildVersionDao TenantPluginBuildVersionDao

func (*Manager) TenantPluginBuildVersionDaoTransactions

func (m *Manager) TenantPluginBuildVersionDaoTransactions(db *gorm.DB) dao.TenantPluginBuildVersionDao

TenantPluginBuildVersionDaoTransactions TenantPluginBuildVersionDaoTransactions

func (*Manager) TenantPluginDao

func (m *Manager) TenantPluginDao() dao.TenantPluginDao

TenantPluginDao TenantPluginDao

func (*Manager) TenantPluginDaoTransactions

func (m *Manager) TenantPluginDaoTransactions(db *gorm.DB) dao.TenantPluginDao

TenantPluginDaoTransactions TenantPluginDaoTransactions

func (*Manager) TenantPluginDefaultENVDao

func (m *Manager) TenantPluginDefaultENVDao() dao.TenantPluginDefaultENVDao

TenantPluginDefaultENVDao TenantPluginDefaultENVDao

func (*Manager) TenantPluginDefaultENVDaoTransactions

func (m *Manager) TenantPluginDefaultENVDaoTransactions(db *gorm.DB) dao.TenantPluginDefaultENVDao

TenantPluginDefaultENVDaoTransactions TenantPluginDefaultENVDaoTransactions

func (*Manager) TenantPluginVersionConfigDao

func (m *Manager) TenantPluginVersionConfigDao() dao.TenantPluginVersionConfigDao

TenantPluginVersionConfigDao TenantPluginVersionENVDao

func (*Manager) TenantPluginVersionConfigDaoTransactions

func (m *Manager) TenantPluginVersionConfigDaoTransactions(db *gorm.DB) dao.TenantPluginVersionConfigDao

TenantPluginVersionConfigDaoTransactions TenantPluginVersionConfigDaoTransactions

func (*Manager) TenantPluginVersionENVDao

func (m *Manager) TenantPluginVersionENVDao() dao.TenantPluginVersionEnvDao

TenantPluginVersionENVDao TenantPluginVersionENVDao

func (*Manager) TenantPluginVersionENVDaoTransactions

func (m *Manager) TenantPluginVersionENVDaoTransactions(db *gorm.DB) dao.TenantPluginVersionEnvDao

TenantPluginVersionENVDaoTransactions TenantPluginVersionENVDaoTransactions

func (*Manager) TenantServceAutoscalerRuleMetricsDao

func (m *Manager) TenantServceAutoscalerRuleMetricsDao() dao.TenantServceAutoscalerRuleMetricsDao

TenantServceAutoscalerRuleMetricsDao -

func (*Manager) TenantServceAutoscalerRuleMetricsDaoTransactions

func (m *Manager) TenantServceAutoscalerRuleMetricsDaoTransactions(db *gorm.DB) dao.TenantServceAutoscalerRuleMetricsDao

TenantServceAutoscalerRuleMetricsDaoTransactions -

func (*Manager) TenantServceAutoscalerRulesDao

func (m *Manager) TenantServceAutoscalerRulesDao() dao.TenantServceAutoscalerRulesDao

TenantServceAutoscalerRulesDao -

func (*Manager) TenantServceAutoscalerRulesDaoTransactions

func (m *Manager) TenantServceAutoscalerRulesDaoTransactions(db *gorm.DB) dao.TenantServceAutoscalerRulesDao

TenantServceAutoscalerRulesDaoTransactions -

func (*Manager) TenantServiceConfigFileDao

func (m *Manager) TenantServiceConfigFileDao() dao.TenantServiceConfigFileDao

TenantServiceConfigFileDao TenantServiceConfigFileDao

func (*Manager) TenantServiceConfigFileDaoTransactions

func (m *Manager) TenantServiceConfigFileDaoTransactions(db *gorm.DB) dao.TenantServiceConfigFileDao

TenantServiceConfigFileDaoTransactions -

func (*Manager) TenantServiceDao

func (m *Manager) TenantServiceDao() dao.TenantServiceDao

TenantServiceDao TenantServiceDao

func (*Manager) TenantServiceDaoTransactions

func (m *Manager) TenantServiceDaoTransactions(db *gorm.DB) dao.TenantServiceDao

TenantServiceDaoTransactions TenantServiceDaoTransactions

func (*Manager) TenantServiceDeleteDao

func (m *Manager) TenantServiceDeleteDao() dao.TenantServiceDeleteDao

TenantServiceDeleteDao TenantServiceDeleteDao

func (*Manager) TenantServiceDeleteDaoTransactions

func (m *Manager) TenantServiceDeleteDaoTransactions(db *gorm.DB) dao.TenantServiceDeleteDao

TenantServiceDeleteDaoTransactions TenantServiceDeleteDaoTransactions

func (*Manager) TenantServiceEnvVarDao

func (m *Manager) TenantServiceEnvVarDao() dao.TenantServiceEnvVarDao

TenantServiceEnvVarDao TenantServiceEnvVarDao

func (*Manager) TenantServiceEnvVarDaoTransactions

func (m *Manager) TenantServiceEnvVarDaoTransactions(db *gorm.DB) dao.TenantServiceEnvVarDao

TenantServiceEnvVarDaoTransactions TenantServiceEnvVarDaoTransactions

func (*Manager) TenantServiceLBMappingPortDao

func (m *Manager) TenantServiceLBMappingPortDao() dao.TenantServiceLBMappingPortDao

TenantServiceLBMappingPortDao TenantServiceLBMappingPortDao

func (*Manager) TenantServiceLBMappingPortDaoTransactions

func (m *Manager) TenantServiceLBMappingPortDaoTransactions(db *gorm.DB) dao.TenantServiceLBMappingPortDao

TenantServiceLBMappingPortDaoTransactions TenantServiceLBMappingPortDaoTransactions

func (*Manager) TenantServiceLabelDao

func (m *Manager) TenantServiceLabelDao() dao.TenantServiceLabelDao

TenantServiceLabelDao TenantServiceLabelDao

func (*Manager) TenantServiceLabelDaoTransactions

func (m *Manager) TenantServiceLabelDaoTransactions(db *gorm.DB) dao.TenantServiceLabelDao

TenantServiceLabelDaoTransactions TenantServiceLabelDaoTransactions

func (*Manager) TenantServiceMountRelationDao

func (m *Manager) TenantServiceMountRelationDao() dao.TenantServiceMountRelationDao

TenantServiceMountRelationDao TenantServiceMountRelationDao

func (*Manager) TenantServiceMountRelationDaoTransactions

func (m *Manager) TenantServiceMountRelationDaoTransactions(db *gorm.DB) dao.TenantServiceMountRelationDao

TenantServiceMountRelationDaoTransactions TenantServiceMountRelationDaoTransactions

func (*Manager) TenantServicePluginRelationDao

func (m *Manager) TenantServicePluginRelationDao() dao.TenantServicePluginRelationDao

TenantServicePluginRelationDao TenantServicePluginRelationDao

func (*Manager) TenantServicePluginRelationDaoTransactions

func (m *Manager) TenantServicePluginRelationDaoTransactions(db *gorm.DB) dao.TenantServicePluginRelationDao

TenantServicePluginRelationDaoTransactions TenantServicePluginRelationDaoTransactions

func (*Manager) TenantServiceRelationDao

func (m *Manager) TenantServiceRelationDao() dao.TenantServiceRelationDao

TenantServiceRelationDao TenantServiceRelationDao

func (*Manager) TenantServiceRelationDaoTransactions

func (m *Manager) TenantServiceRelationDaoTransactions(db *gorm.DB) dao.TenantServiceRelationDao

TenantServiceRelationDaoTransactions TenantServiceRelationDaoTransactions

func (*Manager) TenantServiceScalingRecordsDao

func (m *Manager) TenantServiceScalingRecordsDao() dao.TenantServiceScalingRecordsDao

TenantServiceScalingRecordsDao -

func (*Manager) TenantServiceScalingRecordsDaoTransactions

func (m *Manager) TenantServiceScalingRecordsDaoTransactions(db *gorm.DB) dao.TenantServiceScalingRecordsDao

TenantServiceScalingRecordsDaoTransactions -

func (*Manager) TenantServiceVolumeDao

func (m *Manager) TenantServiceVolumeDao() dao.TenantServiceVolumeDao

TenantServiceVolumeDao TenantServiceVolumeDao

func (*Manager) TenantServiceVolumeDaoTransactions

func (m *Manager) TenantServiceVolumeDaoTransactions(db *gorm.DB) dao.TenantServiceVolumeDao

TenantServiceVolumeDaoTransactions TenantServiceVolumeDaoTransactions

func (*Manager) TenantServicesPortDao

func (m *Manager) TenantServicesPortDao() dao.TenantServicesPortDao

TenantServicesPortDao TenantServicesPortDao

func (*Manager) TenantServicesPortDaoTransactions

func (m *Manager) TenantServicesPortDaoTransactions(db *gorm.DB) dao.TenantServicesPortDao

TenantServicesPortDaoTransactions TenantServicesPortDaoTransactions

func (*Manager) TenantServicesStreamPluginPortDao

func (m *Manager) TenantServicesStreamPluginPortDao() dao.TenantServicesStreamPluginPortDao

TenantServicesStreamPluginPortDao TenantServicesStreamPluginPortDao

func (*Manager) TenantServicesStreamPluginPortDaoTransactions

func (m *Manager) TenantServicesStreamPluginPortDaoTransactions(db *gorm.DB) dao.TenantServicesStreamPluginPortDao

TenantServicesStreamPluginPortDaoTransactions TenantServicesStreamPluginPortDaoTransactions

func (*Manager) ThirdPartySvcDiscoveryCfgDao

func (m *Manager) ThirdPartySvcDiscoveryCfgDao() dao.ThirdPartySvcDiscoveryCfgDao

ThirdPartySvcDiscoveryCfgDao returns a new ThirdPartySvcDiscoveryCfgDao.

func (*Manager) ThirdPartySvcDiscoveryCfgDaoTransactions

func (m *Manager) ThirdPartySvcDiscoveryCfgDaoTransactions(db *gorm.DB) dao.ThirdPartySvcDiscoveryCfgDao

ThirdPartySvcDiscoveryCfgDaoTransactions returns a new ThirdPartySvcDiscoveryCfgDao.

func (*Manager) VersionInfoDao

func (m *Manager) VersionInfoDao() dao.VersionInfoDao

VersionInfoDao VersionInfoDao

func (*Manager) VersionInfoDaoTransactions

func (m *Manager) VersionInfoDaoTransactions(db *gorm.DB) dao.VersionInfoDao

VersionInfoDaoTransactions VersionInfoDaoTransactions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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