Documentation ¶
Index ¶
- type AppBackupDao
- type AppDao
- type CertificateDao
- type CodeCheckResultDao
- type Dao
- type DelDao
- type EventDao
- type HTTPRuleDao
- type IPPoolDao
- type IPPortDao
- type LicenseDao
- type LocalSchedulerDao
- type MockAppBackupDao
- func (_m *MockAppBackupDao) AddModel(_param0 model.Interface) error
- func (_m *MockAppBackupDao) CheckHistory(groupID string, version string) bool
- func (_m *MockAppBackupDao) DeleteAppBackup(backupID string) error
- func (_m *MockAppBackupDao) EXPECT() *_MockAppBackupDaoRecorder
- func (_m *MockAppBackupDao) GetAppBackup(backupID string) (*model.AppBackup, error)
- func (_m *MockAppBackupDao) GetAppBackups(groupID string) ([]*model.AppBackup, error)
- func (_m *MockAppBackupDao) GetDeleteAppBackup(backupID string) (*model.AppBackup, error)
- func (_m *MockAppBackupDao) GetDeleteAppBackups() ([]*model.AppBackup, error)
- func (_m *MockAppBackupDao) UpdateModel(_param0 model.Interface) error
- type MockAppDao
- func (_m *MockAppDao) AddModel(_param0 model.Interface) error
- func (_m *MockAppDao) DeleteModelByEventId(eventID string) error
- func (_m *MockAppDao) EXPECT() *_MockAppDaoRecorder
- func (_m *MockAppDao) GetByEventId(eventID string) (*model.AppStatus, error)
- func (_m *MockAppDao) UpdateModel(_param0 model.Interface) error
- type MockCertificateDao
- func (_m *MockCertificateDao) AddModel(_param0 model.Interface) error
- func (_m *MockCertificateDao) AddOrUpdate(mo model.Interface) error
- func (_m *MockCertificateDao) DeleteCertificateByID(certificateID string) error
- func (_m *MockCertificateDao) EXPECT() *_MockCertificateDaoRecorder
- func (_m *MockCertificateDao) GetCertificateByID(certificateID string) (*model.Certificate, error)
- func (_m *MockCertificateDao) UpdateModel(_param0 model.Interface) error
- type MockCodeCheckResultDao
- func (_m *MockCodeCheckResultDao) AddModel(_param0 model.Interface) error
- func (_m *MockCodeCheckResultDao) EXPECT() *_MockCodeCheckResultDaoRecorder
- func (_m *MockCodeCheckResultDao) GetCodeCheckResult(serviceID string) (*model.CodeCheckResult, error)
- func (_m *MockCodeCheckResultDao) UpdateModel(_param0 model.Interface) error
- type MockDao
- type MockDelDao
- type MockEventDao
- func (_m *MockEventDao) AddModel(_param0 model.Interface) error
- func (_m *MockEventDao) DelEventByServiceID(serviceID string) error
- func (_m *MockEventDao) EXPECT() *_MockEventDaoRecorder
- func (_m *MockEventDao) GetEventByEventID(eventID string) (*model.ServiceEvent, error)
- func (_m *MockEventDao) GetEventByEventIDs(eventIDs []string) ([]*model.ServiceEvent, error)
- func (_m *MockEventDao) GetEventByServiceID(serviceID string) ([]*model.ServiceEvent, error)
- func (_m *MockEventDao) UpdateModel(_param0 model.Interface) error
- type MockHTTPRuleDao
- func (_m *MockHTTPRuleDao) AddModel(_param0 model.Interface) error
- func (_m *MockHTTPRuleDao) DeleteHttpRuleByID(id string) error
- func (_m *MockHTTPRuleDao) EXPECT() *_MockHTTPRuleDaoRecorder
- func (_m *MockHTTPRuleDao) GetHttpRuleByID(id string) (*model.HTTPRule, error)
- func (_m *MockHTTPRuleDao) GetHttpRuleByServiceIDAndContainerPort(serviceID string, containerPort int) ([]*model.HTTPRule, error)
- func (_m *MockHTTPRuleDao) UpdateModel(_param0 model.Interface) error
- type MockIPPortDao
- func (_m *MockIPPortDao) AddModel(_param0 model.Interface) error
- func (_m *MockIPPortDao) EXPECT() *_MockIPPortDaoRecorder
- func (_m *MockIPPortDao) GetIPByPort(port int) ([]*model.IPPort, error)
- func (_m *MockIPPortDao) GetIPPortByIPAndPort(ip string, port int) (*model.IPPort, error)
- func (_m *MockIPPortDao) UpdateModel(_param0 model.Interface) error
- type MockLicenseDao
- type MockLocalSchedulerDao
- func (_m *MockLocalSchedulerDao) AddModel(_param0 model.Interface) error
- func (_m *MockLocalSchedulerDao) EXPECT() *_MockLocalSchedulerDaoRecorder
- func (_m *MockLocalSchedulerDao) GetLocalScheduler(serviceID string) ([]*model.LocalScheduler, error)
- func (_m *MockLocalSchedulerDao) UpdateModel(_param0 model.Interface) error
- type MockNotificationEventDao
- func (_m *MockNotificationEventDao) AddModel(_param0 model.Interface) error
- func (_m *MockNotificationEventDao) EXPECT() *_MockNotificationEventDaoRecorder
- func (_m *MockNotificationEventDao) GetNotificationEventByHash(hash string) (*model.NotificationEvent, error)
- func (_m *MockNotificationEventDao) GetNotificationEventByKind(kind string, kindID string) ([]*model.NotificationEvent, error)
- func (_m *MockNotificationEventDao) GetNotificationEventByTime(start time.Time, end time.Time) ([]*model.NotificationEvent, error)
- func (_m *MockNotificationEventDao) GetNotificationEventNotHandle() ([]*model.NotificationEvent, error)
- func (_m *MockNotificationEventDao) UpdateModel(_param0 model.Interface) error
- type MockRegionAPIClassDao
- func (_m *MockRegionAPIClassDao) AddModel(_param0 model.Interface) error
- func (_m *MockRegionAPIClassDao) DeletePrefixInClass(apiClass string, prefix string) error
- func (_m *MockRegionAPIClassDao) EXPECT() *_MockRegionAPIClassDaoRecorder
- func (_m *MockRegionAPIClassDao) GetPrefixesByClass(apiClass string) ([]*model.RegionAPIClass, error)
- func (_m *MockRegionAPIClassDao) UpdateModel(_param0 model.Interface) error
- type MockRegionProcotolsDao
- func (_m *MockRegionProcotolsDao) AddModel(_param0 model.Interface) error
- func (_m *MockRegionProcotolsDao) EXPECT() *_MockRegionProcotolsDaoRecorder
- func (_m *MockRegionProcotolsDao) GetAllSupportProtocol(version string) ([]*model.RegionProcotols, error)
- func (_m *MockRegionProcotolsDao) GetProtocolGroupByProtocolChild(version string, protocolChild string) (*model.RegionProcotols, error)
- func (_m *MockRegionProcotolsDao) UpdateModel(_param0 model.Interface) error
- type MockRegionUserInfoDao
- func (_m *MockRegionUserInfoDao) AddModel(_param0 model.Interface) error
- func (_m *MockRegionUserInfoDao) EXPECT() *_MockRegionUserInfoDaoRecorder
- func (_m *MockRegionUserInfoDao) GetALLTokenInValidityPeriod() ([]*model.RegionUserInfo, error)
- func (_m *MockRegionUserInfoDao) GetTokenByEid(eid string) (*model.RegionUserInfo, error)
- func (_m *MockRegionUserInfoDao) GetTokenByTokenID(token string) (*model.RegionUserInfo, error)
- func (_m *MockRegionUserInfoDao) UpdateModel(_param0 model.Interface) error
- type MockRuleExtensionDao
- func (_m *MockRuleExtensionDao) AddModel(_param0 model.Interface) error
- func (_m *MockRuleExtensionDao) DeleteRuleExtensionByRuleID(ruleID string) error
- func (_m *MockRuleExtensionDao) EXPECT() *_MockRuleExtensionDaoRecorder
- func (_m *MockRuleExtensionDao) GetRuleExtensionByRuleID(ruleID string) ([]*model.RuleExtension, error)
- func (_m *MockRuleExtensionDao) UpdateModel(_param0 model.Interface) error
- type MockServiceProbeDao
- func (_m *MockServiceProbeDao) AddModel(_param0 model.Interface) error
- func (_m *MockServiceProbeDao) DELServiceProbesByServiceID(serviceID string) error
- func (_m *MockServiceProbeDao) DeleteModel(serviceID string, arg ...interface{}) error
- func (_m *MockServiceProbeDao) EXPECT() *_MockServiceProbeDaoRecorder
- func (_m *MockServiceProbeDao) GetServiceProbes(serviceID string) ([]*model.TenantServiceProbe, error)
- func (_m *MockServiceProbeDao) GetServiceUsedProbe(serviceID string, mode string) (*model.TenantServiceProbe, error)
- func (_m *MockServiceProbeDao) UpdateModel(_param0 model.Interface) error
- type MockServiceSourceDao
- func (_m *MockServiceSourceDao) AddModel(_param0 model.Interface) error
- func (_m *MockServiceSourceDao) EXPECT() *_MockServiceSourceDaoRecorder
- func (_m *MockServiceSourceDao) GetServiceSource(serviceID string) ([]*model.ServiceSourceConfig, error)
- func (_m *MockServiceSourceDao) UpdateModel(_param0 model.Interface) error
- type MockTCPRuleDao
- func (_m *MockTCPRuleDao) AddModel(_param0 model.Interface) error
- func (_m *MockTCPRuleDao) DeleteTcpRule(tcpRule *model.TCPRule) error
- func (_m *MockTCPRuleDao) EXPECT() *_MockTCPRuleDaoRecorder
- func (_m *MockTCPRuleDao) GetTcpRuleByID(id string) (*model.TCPRule, error)
- func (_m *MockTCPRuleDao) GetTcpRuleByServiceIDAndContainerPort(serviceID string, containerPort int) ([]*model.TCPRule, error)
- func (_m *MockTCPRuleDao) UpdateModel(_param0 model.Interface) error
- type MockTenantDao
- func (_m *MockTenantDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantDao) EXPECT() *_MockTenantDaoRecorder
- func (_m *MockTenantDao) GetALLTenants() ([]*model.Tenants, error)
- func (_m *MockTenantDao) GetPagedTenants(offset int, len int) ([]*model.Tenants, error)
- func (_m *MockTenantDao) GetTenantByEid(eid string) ([]*model.Tenants, error)
- func (_m *MockTenantDao) GetTenantByUUID(uuid string) (*model.Tenants, error)
- func (_m *MockTenantDao) GetTenantByUUIDIsExist(uuid string) bool
- func (_m *MockTenantDao) GetTenantIDByName(tenantName string) (*model.Tenants, error)
- func (_m *MockTenantDao) GetTenantIDsByNames(names []string) ([]string, error)
- func (_m *MockTenantDao) GetTenantLimitsByNames(names []string) (map[string]int, error)
- func (_m *MockTenantDao) UpdateModel(_param0 model.Interface) error
- type MockTenantPluginBuildVersionDao
- func (_m *MockTenantPluginBuildVersionDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantPluginBuildVersionDao) DeleteBuildVersionByPluginID(pluginID string) error
- func (_m *MockTenantPluginBuildVersionDao) DeleteBuildVersionByVersionID(versionID string) error
- func (_m *MockTenantPluginBuildVersionDao) EXPECT() *_MockTenantPluginBuildVersionDaoRecorder
- func (_m *MockTenantPluginBuildVersionDao) GetBuildVersionByDeployVersion(pluginID string, versionID string, deployVersion string) (*model.TenantPluginBuildVersion, error)
- func (_m *MockTenantPluginBuildVersionDao) GetBuildVersionByPluginID(pluginID string) ([]*model.TenantPluginBuildVersion, error)
- func (_m *MockTenantPluginBuildVersionDao) GetBuildVersionByVersionID(pluginID string, versionID string) (*model.TenantPluginBuildVersion, error)
- func (_m *MockTenantPluginBuildVersionDao) GetLastBuildVersionByVersionID(pluginID string, versionID string) (*model.TenantPluginBuildVersion, error)
- func (_m *MockTenantPluginBuildVersionDao) UpdateModel(_param0 model.Interface) error
- type MockTenantPluginDao
- func (_m *MockTenantPluginDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantPluginDao) DeletePluginByID(pluginID string, tenantID string) error
- func (_m *MockTenantPluginDao) EXPECT() *_MockTenantPluginDaoRecorder
- func (_m *MockTenantPluginDao) GetPluginByID(pluginID string, tenantID string) (*model.TenantPlugin, error)
- func (_m *MockTenantPluginDao) GetPluginsByTenantID(tenantID string) ([]*model.TenantPlugin, error)
- func (_m *MockTenantPluginDao) UpdateModel(_param0 model.Interface) error
- type MockTenantPluginDefaultENVDao
- func (_m *MockTenantPluginDefaultENVDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantPluginDefaultENVDao) DeleteAllDefaultENVByPluginID(PluginID string) error
- func (_m *MockTenantPluginDefaultENVDao) DeleteDefaultENVByName(pluginID string, name string, versionID string) error
- func (_m *MockTenantPluginDefaultENVDao) DeleteDefaultENVByPluginIDAndVersionID(pluginID string, versionID string) error
- func (_m *MockTenantPluginDefaultENVDao) EXPECT() *_MockTenantPluginDefaultENVDaoRecorder
- func (_m *MockTenantPluginDefaultENVDao) GetALLMasterDefultENVs(pluginID string) ([]*model.TenantPluginDefaultENV, error)
- func (_m *MockTenantPluginDefaultENVDao) GetDefaultENVByName(pluginID string, name string, versionID string) (*model.TenantPluginDefaultENV, error)
- func (_m *MockTenantPluginDefaultENVDao) GetDefaultENVSByPluginID(pluginID string, versionID string) ([]*model.TenantPluginDefaultENV, error)
- func (_m *MockTenantPluginDefaultENVDao) GetDefaultEnvWhichCanBeSetByPluginID(pluginID string, versionID string) ([]*model.TenantPluginDefaultENV, error)
- func (_m *MockTenantPluginDefaultENVDao) UpdateModel(_param0 model.Interface) error
- type MockTenantPluginVersionEnvDao
- func (_m *MockTenantPluginVersionEnvDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantPluginVersionEnvDao) DeleteEnvByEnvName(envName string, pluginID string, serviceID string) error
- func (_m *MockTenantPluginVersionEnvDao) DeleteEnvByPluginID(serviceID string, pluginID string) error
- func (_m *MockTenantPluginVersionEnvDao) DeleteEnvByServiceID(serviceID string) error
- func (_m *MockTenantPluginVersionEnvDao) EXPECT() *_MockTenantPluginVersionEnvDaoRecorder
- func (_m *MockTenantPluginVersionEnvDao) GetVersionEnvByEnvName(serviceID string, pluginID string, envName string) (*model.TenantPluginVersionEnv, error)
- func (_m *MockTenantPluginVersionEnvDao) GetVersionEnvByServiceID(serviceID string, pluginID string) ([]*model.TenantPluginVersionEnv, error)
- func (_m *MockTenantPluginVersionEnvDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServiceDao
- func (_m *MockTenantServiceDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServiceDao) DeleteServiceByServiceID(serviceID string) error
- func (_m *MockTenantServiceDao) EXPECT() *_MockTenantServiceDaoRecorder
- func (_m *MockTenantServiceDao) GetAllServicesID() ([]*model.TenantServices, error)
- func (_m *MockTenantServiceDao) GetPagedTenantService(offset int, len int, serviceIDs []string) ([]map[string]interface{}, int, error)
- func (_m *MockTenantServiceDao) GetServiceAliasByIDs(uids []string) ([]*model.TenantServices, error)
- func (_m *MockTenantServiceDao) GetServiceByID(serviceID string) (*model.TenantServices, error)
- func (_m *MockTenantServiceDao) GetServiceByIDs(serviceIDs []string) ([]*model.TenantServices, error)
- func (_m *MockTenantServiceDao) GetServiceByServiceAlias(serviceAlias string) (*model.TenantServices, error)
- func (_m *MockTenantServiceDao) GetServiceByTenantIDAndServiceAlias(tenantID string, serviceName string) (*model.TenantServices, error)
- func (_m *MockTenantServiceDao) GetServiceMemoryByServiceIDs(serviceIDs []string) (map[string]map[string]interface{}, error)
- func (_m *MockTenantServiceDao) GetServiceMemoryByTenantIDs(tenantIDs []string, serviceIDs []string) (map[string]map[string]interface{}, error)
- func (_m *MockTenantServiceDao) GetServicesAllInfoByTenantID(tenantID string) ([]*model.TenantServices, error)
- func (_m *MockTenantServiceDao) GetServicesByTenantID(tenantID string) ([]*model.TenantServices, error)
- func (_m *MockTenantServiceDao) GetServicesByTenantIDs(tenantIDs []string) ([]*model.TenantServices, error)
- func (_m *MockTenantServiceDao) SetTenantServiceStatus(serviceID string, status string) error
- func (_m *MockTenantServiceDao) UpdateDeployVersion(serviceID string, deployversion string) error
- func (_m *MockTenantServiceDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServiceDeleteDao
- func (_m *MockTenantServiceDeleteDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServiceDeleteDao) DeleteTenantServicesDelete(record *model.TenantServicesDelete) error
- func (_m *MockTenantServiceDeleteDao) EXPECT() *_MockTenantServiceDeleteDaoRecorder
- func (_m *MockTenantServiceDeleteDao) GetTenantServicesDeleteByCreateTime(createTime time.Time) ([]*model.TenantServicesDelete, error)
- func (_m *MockTenantServiceDeleteDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServiceEnvVarDao
- func (_m *MockTenantServiceEnvVarDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServiceEnvVarDao) DELServiceEnvsByServiceID(serviceID string) error
- func (_m *MockTenantServiceEnvVarDao) DeleteModel(serviceID string, arg ...interface{}) error
- func (_m *MockTenantServiceEnvVarDao) EXPECT() *_MockTenantServiceEnvVarDaoRecorder
- func (_m *MockTenantServiceEnvVarDao) GetDependServiceEnvs(serviceIDs []string, scopes []string) ([]*model.TenantServiceEnvVar, error)
- func (_m *MockTenantServiceEnvVarDao) GetEnv(serviceID string, envName string) (*model.TenantServiceEnvVar, error)
- func (_m *MockTenantServiceEnvVarDao) GetServiceEnvs(serviceID string, scopes []string) ([]*model.TenantServiceEnvVar, error)
- func (_m *MockTenantServiceEnvVarDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServiceLBMappingPortDao
- func (_m *MockTenantServiceLBMappingPortDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServiceLBMappingPortDao) CreateTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error)
- func (_m *MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceID(serviceID string) error
- func (_m *MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceIDAndPort(serviceID string, lbPort int) error
- func (_m *MockTenantServiceLBMappingPortDao) EXPECT() *_MockTenantServiceLBMappingPortDaoRecorder
- func (_m *MockTenantServiceLBMappingPortDao) GetLBMappingPortByServiceIDAndPort(serviceID string, port int) (*model.TenantServiceLBMappingPort, error)
- func (_m *MockTenantServiceLBMappingPortDao) GetLBPortByTenantAndPort(tenantID string, lbport int) (*model.TenantServiceLBMappingPort, error)
- func (_m *MockTenantServiceLBMappingPortDao) GetLBPortsASC() ([]*model.TenantServiceLBMappingPort, error)
- func (_m *MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error)
- func (_m *MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPortByService(serviceID string) ([]*model.TenantServiceLBMappingPort, error)
- func (_m *MockTenantServiceLBMappingPortDao) PortExists(port int) bool
- func (_m *MockTenantServiceLBMappingPortDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServiceLabelDao
- func (_m *MockTenantServiceLabelDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServiceLabelDao) DelTenantServiceLabelsByLabelValuesAndServiceID(serviceID string) error
- func (_m *MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKey(serviceID string, labelKey string) error
- func (_m *MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKeyValue(serviceID string, labelKey string, labelValue string) error
- func (_m *MockTenantServiceLabelDao) DeleteLabelByServiceID(serviceID string) error
- func (_m *MockTenantServiceLabelDao) DeleteModel(serviceID string, arg ...interface{}) error
- func (_m *MockTenantServiceLabelDao) EXPECT() *_MockTenantServiceLabelDaoRecorder
- func (_m *MockTenantServiceLabelDao) GetLabelByNodeSelectorKey(serviceID string, labelValue string) (*model.TenantServiceLable, error)
- func (_m *MockTenantServiceLabelDao) GetTenantNodeAffinityLabel(serviceID string) (*model.TenantServiceLable, error)
- func (_m *MockTenantServiceLabelDao) GetTenantServiceAffinityLabel(serviceID string) ([]*model.TenantServiceLable, error)
- func (_m *MockTenantServiceLabelDao) GetTenantServiceLabel(serviceID string) ([]*model.TenantServiceLable, error)
- func (_m *MockTenantServiceLabelDao) GetTenantServiceNodeSelectorLabel(serviceID string) ([]*model.TenantServiceLable, error)
- func (_m *MockTenantServiceLabelDao) GetTenantServiceTypeLabel(serviceID string) (*model.TenantServiceLable, error)
- func (_m *MockTenantServiceLabelDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServiceMountRelationDao
- func (_m *MockTenantServiceMountRelationDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServiceMountRelationDao) DELTenantServiceMountRelationByServiceID(serviceID string) error
- func (_m *MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByDepService(serviceID string, depServiceID string) error
- func (_m *MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByServiceAndName(serviceID string, mntDir string) error
- func (_m *MockTenantServiceMountRelationDao) EXPECT() *_MockTenantServiceMountRelationDaoRecorder
- func (_m *MockTenantServiceMountRelationDao) GetTenantServiceMountRelationsByService(serviceID string) ([]*model.TenantServiceMountRelation, error)
- func (_m *MockTenantServiceMountRelationDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServicePluginRelationDao
- func (_m *MockTenantServicePluginRelationDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServicePluginRelationDao) CheckSomeModelLikePluginByServiceID(serviceID string, pluginModel string) (bool, error)
- func (_m *MockTenantServicePluginRelationDao) CheckSomeModelPluginByServiceID(serviceID string, pluginModel string) (bool, error)
- func (_m *MockTenantServicePluginRelationDao) DeleteALLRelationByPluginID(pluginID string) error
- func (_m *MockTenantServicePluginRelationDao) DeleteALLRelationByServiceID(serviceID string) error
- func (_m *MockTenantServicePluginRelationDao) DeleteRelationByServiceIDAndPluginID(serviceID string, pluginID string) error
- func (_m *MockTenantServicePluginRelationDao) EXPECT() *_MockTenantServicePluginRelationDaoRecorder
- func (_m *MockTenantServicePluginRelationDao) GetALLRelationByServiceID(serviceID string) ([]*model.TenantServicePluginRelation, error)
- func (_m *MockTenantServicePluginRelationDao) GetRelateionByServiceIDAndPluginID(serviceID string, pluginID string) (*model.TenantServicePluginRelation, error)
- func (_m *MockTenantServicePluginRelationDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServiceRelationDao
- func (_m *MockTenantServiceRelationDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServiceRelationDao) DELRelationsByServiceID(serviceID string) error
- func (_m *MockTenantServiceRelationDao) DeleteModel(serviceID string, arg ...interface{}) error
- func (_m *MockTenantServiceRelationDao) DeleteRelationByDepID(serviceID string, depID string) error
- func (_m *MockTenantServiceRelationDao) EXPECT() *_MockTenantServiceRelationDaoRecorder
- func (_m *MockTenantServiceRelationDao) GetTenantServiceRelations(serviceID string) ([]*model.TenantServiceRelation, error)
- func (_m *MockTenantServiceRelationDao) GetTenantServiceRelationsByDependServiceID(dependServiceID string) ([]*model.TenantServiceRelation, error)
- func (_m *MockTenantServiceRelationDao) HaveRelations(serviceID string) bool
- func (_m *MockTenantServiceRelationDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServiceVolumeDao
- func (_m *MockTenantServiceVolumeDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServiceVolumeDao) DeleteByServiceIDAndVolumePath(serviceID string, volumePath string) error
- func (_m *MockTenantServiceVolumeDao) DeleteModel(serviceID string, arg ...interface{}) error
- func (_m *MockTenantServiceVolumeDao) DeleteTenantServiceVolumesByServiceID(serviceID string) error
- func (_m *MockTenantServiceVolumeDao) EXPECT() *_MockTenantServiceVolumeDaoRecorder
- func (_m *MockTenantServiceVolumeDao) GetAllVolumes() ([]*model.TenantServiceVolume, error)
- func (_m *MockTenantServiceVolumeDao) GetTenantServiceVolumesByServiceID(serviceID string) ([]*model.TenantServiceVolume, error)
- func (_m *MockTenantServiceVolumeDao) GetVolumeByServiceIDAndName(serviceID string, name string) (*model.TenantServiceVolume, error)
- func (_m *MockTenantServiceVolumeDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServicesPortDao
- func (_m *MockTenantServicesPortDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServicesPortDao) DELPortsByServiceID(serviceID string) error
- func (_m *MockTenantServicesPortDao) DeleteModel(serviceID string, arg ...interface{}) error
- func (_m *MockTenantServicesPortDao) EXPECT() *_MockTenantServicesPortDaoRecorder
- func (_m *MockTenantServicesPortDao) GetInnerPorts(serviceID string) ([]*model.TenantServicesPort, error)
- func (_m *MockTenantServicesPortDao) GetOuterPorts(serviceID string) ([]*model.TenantServicesPort, error)
- func (_m *MockTenantServicesPortDao) GetPort(serviceID string, port int) (*model.TenantServicesPort, error)
- func (_m *MockTenantServicesPortDao) GetPortsByServiceID(serviceID string) ([]*model.TenantServicesPort, error)
- func (_m *MockTenantServicesPortDao) UpdateModel(_param0 model.Interface) error
- type MockTenantServicesStreamPluginPortDao
- func (_m *MockTenantServicesStreamPluginPortDao) AddModel(_param0 model.Interface) error
- func (_m *MockTenantServicesStreamPluginPortDao) DeleteAllPluginMappingPortByServiceID(serviceID string) error
- func (_m *MockTenantServicesStreamPluginPortDao) DeletePluginMappingPortByContainerPort(serviceID string, pluginModel string, containerPort int) error
- func (_m *MockTenantServicesStreamPluginPortDao) EXPECT() *_MockTenantServicesStreamPluginPortDaoRecorder
- func (_m *MockTenantServicesStreamPluginPortDao) GetPluginMappingPortByServiceIDAndContainerPort(serviceID string, pluginModel string, containerPort int) (*model.TenantServicesStreamPluginPort, error)
- func (_m *MockTenantServicesStreamPluginPortDao) GetPluginMappingPorts(serviceID string, pluginModel string) ([]*model.TenantServicesStreamPluginPort, error)
- func (_m *MockTenantServicesStreamPluginPortDao) SetPluginMappingPort(tenantID string, serviceID string, pluginModel string, containerPort int) (int, error)
- func (_m *MockTenantServicesStreamPluginPortDao) UpdateModel(_param0 model.Interface) error
- type MockVersionInfoDao
- func (_m *MockVersionInfoDao) AddModel(_param0 model.Interface) error
- func (_m *MockVersionInfoDao) DeleteFailureVersionInfo(timePoint time.Time, status string, serviceIdList []string) error
- func (_m *MockVersionInfoDao) DeleteVersionByEventID(eventID string) error
- func (_m *MockVersionInfoDao) DeleteVersionByServiceID(serviceID string) error
- func (_m *MockVersionInfoDao) DeleteVersionInfo(obj *model.VersionInfo) error
- func (_m *MockVersionInfoDao) EXPECT() *_MockVersionInfoDaoRecorder
- func (_m *MockVersionInfoDao) GetVersionByDeployVersion(version string, serviceID string) (*model.VersionInfo, error)
- func (_m *MockVersionInfoDao) GetVersionByEventID(eventID string) (*model.VersionInfo, error)
- func (_m *MockVersionInfoDao) GetVersionByServiceID(serviceID string) ([]*model.VersionInfo, error)
- func (_m *MockVersionInfoDao) GetVersionInfo(timePoint time.Time, serviceIdList []string) ([]*model.VersionInfo, error)
- func (_m *MockVersionInfoDao) SearchVersionInfo() ([]*model.VersionInfo, error)
- func (_m *MockVersionInfoDao) UpdateModel(_param0 model.Interface) error
- type NotificationEventDao
- type RegionAPIClassDao
- type RegionProcotolsDao
- type RegionUserInfoDao
- type RuleExtensionDao
- type ServiceProbeDao
- type ServiceSourceDao
- type TCPRuleDao
- type TenantDao
- type TenantPluginBuildVersionDao
- type TenantPluginDao
- type TenantPluginDefaultENVDao
- type TenantPluginVersionEnvDao
- type TenantServiceConfigFileDao
- type TenantServiceDao
- type TenantServiceDeleteDao
- type TenantServiceEnvVarDao
- type TenantServiceLBMappingPortDao
- type TenantServiceLabelDao
- type TenantServiceMountRelationDao
- type TenantServicePluginRelationDao
- type TenantServiceRelationDao
- type TenantServiceVolumeDao
- type TenantServicesPortDao
- type TenantServicesStreamPluginPortDao
- type VersionInfoDao
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppBackupDao ¶
type AppBackupDao interface { Dao CheckHistory(groupID, version string) bool GetAppBackups(groupID string) ([]*model.AppBackup, error) DeleteAppBackup(backupID string) error GetAppBackup(backupID string) (*model.AppBackup, error) GetDeleteAppBackup(backupID string) (*model.AppBackup, error) GetDeleteAppBackups() ([]*model.AppBackup, error) }
AppBackupDao group app backup history
type AppDao ¶
type AppDao interface { Dao GetByEventId(eventID string) (*model.AppStatus, error) DeleteModelByEventId(eventID string) error }
AppDao tenant dao
type CertificateDao ¶
type CertificateDao interface { Dao AddOrUpdate(mo model.Interface) error GetCertificateByID(certificateID string) (*model.Certificate, error) DeleteCertificateByID(certificateID string) error }
CertificateDao -
type CodeCheckResultDao ¶
type CodeCheckResultDao interface { Dao GetCodeCheckResult(serviceID string) (*model.CodeCheckResult, error) }
CodeCheckResultDao CodeCheckResultDao
type EventDao ¶
type EventDao interface { Dao GetEventByEventID(eventID string) (*model.ServiceEvent, error) GetEventByEventIDs(eventIDs []string) ([]*model.ServiceEvent, error) GetEventByServiceID(serviceID string) ([]*model.ServiceEvent, error) DelEventByServiceID(serviceID string) error }
EventDao EventDao
type HTTPRuleDao ¶
type HTTPRuleDao interface { Dao GetHttpRuleByID(id string) (*model.HTTPRule, error) GetHttpRuleByServiceIDAndContainerPort(serviceID string, containerPort int) ([]*model.HTTPRule, error) DeleteHttpRuleByID(id string) error ListByServiceID(serviceID string) ([]*model.HTTPRule, error) }
HTTPRuleDao -
type IPPortDao ¶
type IPPortDao interface { Dao DeleteByIPAndPort(ip string, port int) error GetIPByPort(port int) ([]*model.IPPort, error) GetIPPortByIPAndPort(ip string, port int) (*model.IPPort, error) }
IPPortDao -
type LicenseDao ¶
type LicenseDao interface { Dao //DeleteLicense(token string) error ListLicenses() ([]*model.LicenseInfo, error) }
LicenseDao LicenseDao
type LocalSchedulerDao ¶
type LocalSchedulerDao interface { Dao GetLocalScheduler(serviceID string) ([]*model.LocalScheduler, error) }
LocalSchedulerDao 本地调度信息
type MockAppBackupDao ¶
type MockAppBackupDao struct {
// contains filtered or unexported fields
}
Mock of AppBackupDao interface
func NewMockAppBackupDao ¶
func NewMockAppBackupDao(ctrl *gomock.Controller) *MockAppBackupDao
func (*MockAppBackupDao) AddModel ¶
func (_m *MockAppBackupDao) AddModel(_param0 model.Interface) error
func (*MockAppBackupDao) CheckHistory ¶
func (_m *MockAppBackupDao) CheckHistory(groupID string, version string) bool
func (*MockAppBackupDao) DeleteAppBackup ¶
func (_m *MockAppBackupDao) DeleteAppBackup(backupID string) error
func (*MockAppBackupDao) EXPECT ¶
func (_m *MockAppBackupDao) EXPECT() *_MockAppBackupDaoRecorder
func (*MockAppBackupDao) GetAppBackup ¶
func (_m *MockAppBackupDao) GetAppBackup(backupID string) (*model.AppBackup, error)
func (*MockAppBackupDao) GetAppBackups ¶
func (_m *MockAppBackupDao) GetAppBackups(groupID string) ([]*model.AppBackup, error)
func (*MockAppBackupDao) GetDeleteAppBackup ¶
func (_m *MockAppBackupDao) GetDeleteAppBackup(backupID string) (*model.AppBackup, error)
func (*MockAppBackupDao) GetDeleteAppBackups ¶
func (_m *MockAppBackupDao) GetDeleteAppBackups() ([]*model.AppBackup, error)
func (*MockAppBackupDao) UpdateModel ¶
func (_m *MockAppBackupDao) UpdateModel(_param0 model.Interface) error
type MockAppDao ¶
type MockAppDao struct {
// contains filtered or unexported fields
}
Mock of AppDao interface
func NewMockAppDao ¶
func NewMockAppDao(ctrl *gomock.Controller) *MockAppDao
func (*MockAppDao) DeleteModelByEventId ¶
func (_m *MockAppDao) DeleteModelByEventId(eventID string) error
func (*MockAppDao) EXPECT ¶
func (_m *MockAppDao) EXPECT() *_MockAppDaoRecorder
func (*MockAppDao) GetByEventId ¶
func (_m *MockAppDao) GetByEventId(eventID string) (*model.AppStatus, error)
func (*MockAppDao) UpdateModel ¶
func (_m *MockAppDao) UpdateModel(_param0 model.Interface) error
type MockCertificateDao ¶
type MockCertificateDao struct {
// contains filtered or unexported fields
}
Mock of CertificateDao interface
func NewMockCertificateDao ¶
func NewMockCertificateDao(ctrl *gomock.Controller) *MockCertificateDao
func (*MockCertificateDao) AddModel ¶
func (_m *MockCertificateDao) AddModel(_param0 model.Interface) error
func (*MockCertificateDao) AddOrUpdate ¶
func (_m *MockCertificateDao) AddOrUpdate(mo model.Interface) error
func (*MockCertificateDao) DeleteCertificateByID ¶
func (_m *MockCertificateDao) DeleteCertificateByID(certificateID string) error
func (*MockCertificateDao) EXPECT ¶
func (_m *MockCertificateDao) EXPECT() *_MockCertificateDaoRecorder
func (*MockCertificateDao) GetCertificateByID ¶
func (_m *MockCertificateDao) GetCertificateByID(certificateID string) (*model.Certificate, error)
func (*MockCertificateDao) UpdateModel ¶
func (_m *MockCertificateDao) UpdateModel(_param0 model.Interface) error
type MockCodeCheckResultDao ¶
type MockCodeCheckResultDao struct {
// contains filtered or unexported fields
}
Mock of CodeCheckResultDao interface
func NewMockCodeCheckResultDao ¶
func NewMockCodeCheckResultDao(ctrl *gomock.Controller) *MockCodeCheckResultDao
func (*MockCodeCheckResultDao) AddModel ¶
func (_m *MockCodeCheckResultDao) AddModel(_param0 model.Interface) error
func (*MockCodeCheckResultDao) EXPECT ¶
func (_m *MockCodeCheckResultDao) EXPECT() *_MockCodeCheckResultDaoRecorder
func (*MockCodeCheckResultDao) GetCodeCheckResult ¶
func (_m *MockCodeCheckResultDao) GetCodeCheckResult(serviceID string) (*model.CodeCheckResult, error)
func (*MockCodeCheckResultDao) UpdateModel ¶
func (_m *MockCodeCheckResultDao) UpdateModel(_param0 model.Interface) error
type MockDao ¶
type MockDao struct {
// contains filtered or unexported fields
}
Mock of Dao interface
func NewMockDao ¶
func NewMockDao(ctrl *gomock.Controller) *MockDao
type MockDelDao ¶
type MockDelDao struct {
// contains filtered or unexported fields
}
Mock of DelDao interface
func NewMockDelDao ¶
func NewMockDelDao(ctrl *gomock.Controller) *MockDelDao
func (*MockDelDao) DeleteModel ¶
func (_m *MockDelDao) DeleteModel(serviceID string, arg ...interface{}) error
func (*MockDelDao) EXPECT ¶
func (_m *MockDelDao) EXPECT() *_MockDelDaoRecorder
type MockEventDao ¶
type MockEventDao struct {
// contains filtered or unexported fields
}
Mock of EventDao interface
func NewMockEventDao ¶
func NewMockEventDao(ctrl *gomock.Controller) *MockEventDao
func (*MockEventDao) DelEventByServiceID ¶
func (_m *MockEventDao) DelEventByServiceID(serviceID string) error
func (*MockEventDao) EXPECT ¶
func (_m *MockEventDao) EXPECT() *_MockEventDaoRecorder
func (*MockEventDao) GetEventByEventID ¶
func (_m *MockEventDao) GetEventByEventID(eventID string) (*model.ServiceEvent, error)
func (*MockEventDao) GetEventByEventIDs ¶
func (_m *MockEventDao) GetEventByEventIDs(eventIDs []string) ([]*model.ServiceEvent, error)
func (*MockEventDao) GetEventByServiceID ¶
func (_m *MockEventDao) GetEventByServiceID(serviceID string) ([]*model.ServiceEvent, error)
func (*MockEventDao) UpdateModel ¶
func (_m *MockEventDao) UpdateModel(_param0 model.Interface) error
type MockHTTPRuleDao ¶
type MockHTTPRuleDao struct {
// contains filtered or unexported fields
}
Mock of HTTPRuleDao interface
func NewMockHTTPRuleDao ¶
func NewMockHTTPRuleDao(ctrl *gomock.Controller) *MockHTTPRuleDao
func (*MockHTTPRuleDao) AddModel ¶
func (_m *MockHTTPRuleDao) AddModel(_param0 model.Interface) error
func (*MockHTTPRuleDao) DeleteHttpRuleByID ¶
func (_m *MockHTTPRuleDao) DeleteHttpRuleByID(id string) error
func (*MockHTTPRuleDao) EXPECT ¶
func (_m *MockHTTPRuleDao) EXPECT() *_MockHTTPRuleDaoRecorder
func (*MockHTTPRuleDao) GetHttpRuleByID ¶
func (_m *MockHTTPRuleDao) GetHttpRuleByID(id string) (*model.HTTPRule, error)
func (*MockHTTPRuleDao) GetHttpRuleByServiceIDAndContainerPort ¶
func (*MockHTTPRuleDao) UpdateModel ¶
func (_m *MockHTTPRuleDao) UpdateModel(_param0 model.Interface) error
type MockIPPortDao ¶
type MockIPPortDao struct {
// contains filtered or unexported fields
}
Mock of IPPortDao interface
func NewMockIPPortDao ¶
func NewMockIPPortDao(ctrl *gomock.Controller) *MockIPPortDao
func (*MockIPPortDao) EXPECT ¶
func (_m *MockIPPortDao) EXPECT() *_MockIPPortDaoRecorder
func (*MockIPPortDao) GetIPByPort ¶
func (_m *MockIPPortDao) GetIPByPort(port int) ([]*model.IPPort, error)
func (*MockIPPortDao) GetIPPortByIPAndPort ¶
func (*MockIPPortDao) UpdateModel ¶
func (_m *MockIPPortDao) UpdateModel(_param0 model.Interface) error
type MockLicenseDao ¶
type MockLicenseDao struct {
// contains filtered or unexported fields
}
Mock of LicenseDao interface
func NewMockLicenseDao ¶
func NewMockLicenseDao(ctrl *gomock.Controller) *MockLicenseDao
func (*MockLicenseDao) EXPECT ¶
func (_m *MockLicenseDao) EXPECT() *_MockLicenseDaoRecorder
func (*MockLicenseDao) ListLicenses ¶
func (_m *MockLicenseDao) ListLicenses() ([]*model.LicenseInfo, error)
func (*MockLicenseDao) UpdateModel ¶
func (_m *MockLicenseDao) UpdateModel(_param0 model.Interface) error
type MockLocalSchedulerDao ¶
type MockLocalSchedulerDao struct {
// contains filtered or unexported fields
}
Mock of LocalSchedulerDao interface
func NewMockLocalSchedulerDao ¶
func NewMockLocalSchedulerDao(ctrl *gomock.Controller) *MockLocalSchedulerDao
func (*MockLocalSchedulerDao) AddModel ¶
func (_m *MockLocalSchedulerDao) AddModel(_param0 model.Interface) error
func (*MockLocalSchedulerDao) EXPECT ¶
func (_m *MockLocalSchedulerDao) EXPECT() *_MockLocalSchedulerDaoRecorder
func (*MockLocalSchedulerDao) GetLocalScheduler ¶
func (_m *MockLocalSchedulerDao) GetLocalScheduler(serviceID string) ([]*model.LocalScheduler, error)
func (*MockLocalSchedulerDao) UpdateModel ¶
func (_m *MockLocalSchedulerDao) UpdateModel(_param0 model.Interface) error
type MockNotificationEventDao ¶
type MockNotificationEventDao struct {
// contains filtered or unexported fields
}
Mock of NotificationEventDao interface
func NewMockNotificationEventDao ¶
func NewMockNotificationEventDao(ctrl *gomock.Controller) *MockNotificationEventDao
func (*MockNotificationEventDao) AddModel ¶
func (_m *MockNotificationEventDao) AddModel(_param0 model.Interface) error
func (*MockNotificationEventDao) EXPECT ¶
func (_m *MockNotificationEventDao) EXPECT() *_MockNotificationEventDaoRecorder
func (*MockNotificationEventDao) GetNotificationEventByHash ¶
func (_m *MockNotificationEventDao) GetNotificationEventByHash(hash string) (*model.NotificationEvent, error)
func (*MockNotificationEventDao) GetNotificationEventByKind ¶
func (_m *MockNotificationEventDao) GetNotificationEventByKind(kind string, kindID string) ([]*model.NotificationEvent, error)
func (*MockNotificationEventDao) GetNotificationEventByTime ¶
func (_m *MockNotificationEventDao) GetNotificationEventByTime(start time.Time, end time.Time) ([]*model.NotificationEvent, error)
func (*MockNotificationEventDao) GetNotificationEventNotHandle ¶
func (_m *MockNotificationEventDao) GetNotificationEventNotHandle() ([]*model.NotificationEvent, error)
func (*MockNotificationEventDao) UpdateModel ¶
func (_m *MockNotificationEventDao) UpdateModel(_param0 model.Interface) error
type MockRegionAPIClassDao ¶
type MockRegionAPIClassDao struct {
// contains filtered or unexported fields
}
Mock of RegionAPIClassDao interface
func NewMockRegionAPIClassDao ¶
func NewMockRegionAPIClassDao(ctrl *gomock.Controller) *MockRegionAPIClassDao
func (*MockRegionAPIClassDao) AddModel ¶
func (_m *MockRegionAPIClassDao) AddModel(_param0 model.Interface) error
func (*MockRegionAPIClassDao) DeletePrefixInClass ¶
func (_m *MockRegionAPIClassDao) DeletePrefixInClass(apiClass string, prefix string) error
func (*MockRegionAPIClassDao) EXPECT ¶
func (_m *MockRegionAPIClassDao) EXPECT() *_MockRegionAPIClassDaoRecorder
func (*MockRegionAPIClassDao) GetPrefixesByClass ¶
func (_m *MockRegionAPIClassDao) GetPrefixesByClass(apiClass string) ([]*model.RegionAPIClass, error)
func (*MockRegionAPIClassDao) UpdateModel ¶
func (_m *MockRegionAPIClassDao) UpdateModel(_param0 model.Interface) error
type MockRegionProcotolsDao ¶
type MockRegionProcotolsDao struct {
// contains filtered or unexported fields
}
Mock of RegionProcotolsDao interface
func NewMockRegionProcotolsDao ¶
func NewMockRegionProcotolsDao(ctrl *gomock.Controller) *MockRegionProcotolsDao
func (*MockRegionProcotolsDao) AddModel ¶
func (_m *MockRegionProcotolsDao) AddModel(_param0 model.Interface) error
func (*MockRegionProcotolsDao) EXPECT ¶
func (_m *MockRegionProcotolsDao) EXPECT() *_MockRegionProcotolsDaoRecorder
func (*MockRegionProcotolsDao) GetAllSupportProtocol ¶
func (_m *MockRegionProcotolsDao) GetAllSupportProtocol(version string) ([]*model.RegionProcotols, error)
func (*MockRegionProcotolsDao) GetProtocolGroupByProtocolChild ¶
func (_m *MockRegionProcotolsDao) GetProtocolGroupByProtocolChild(version string, protocolChild string) (*model.RegionProcotols, error)
func (*MockRegionProcotolsDao) UpdateModel ¶
func (_m *MockRegionProcotolsDao) UpdateModel(_param0 model.Interface) error
type MockRegionUserInfoDao ¶
type MockRegionUserInfoDao struct {
// contains filtered or unexported fields
}
Mock of RegionUserInfoDao interface
func NewMockRegionUserInfoDao ¶
func NewMockRegionUserInfoDao(ctrl *gomock.Controller) *MockRegionUserInfoDao
func (*MockRegionUserInfoDao) AddModel ¶
func (_m *MockRegionUserInfoDao) AddModel(_param0 model.Interface) error
func (*MockRegionUserInfoDao) EXPECT ¶
func (_m *MockRegionUserInfoDao) EXPECT() *_MockRegionUserInfoDaoRecorder
func (*MockRegionUserInfoDao) GetALLTokenInValidityPeriod ¶
func (_m *MockRegionUserInfoDao) GetALLTokenInValidityPeriod() ([]*model.RegionUserInfo, error)
func (*MockRegionUserInfoDao) GetTokenByEid ¶
func (_m *MockRegionUserInfoDao) GetTokenByEid(eid string) (*model.RegionUserInfo, error)
func (*MockRegionUserInfoDao) GetTokenByTokenID ¶
func (_m *MockRegionUserInfoDao) GetTokenByTokenID(token string) (*model.RegionUserInfo, error)
func (*MockRegionUserInfoDao) UpdateModel ¶
func (_m *MockRegionUserInfoDao) UpdateModel(_param0 model.Interface) error
type MockRuleExtensionDao ¶
type MockRuleExtensionDao struct {
// contains filtered or unexported fields
}
Mock of RuleExtensionDao interface
func NewMockRuleExtensionDao ¶
func NewMockRuleExtensionDao(ctrl *gomock.Controller) *MockRuleExtensionDao
func (*MockRuleExtensionDao) AddModel ¶
func (_m *MockRuleExtensionDao) AddModel(_param0 model.Interface) error
func (*MockRuleExtensionDao) DeleteRuleExtensionByRuleID ¶
func (_m *MockRuleExtensionDao) DeleteRuleExtensionByRuleID(ruleID string) error
func (*MockRuleExtensionDao) EXPECT ¶
func (_m *MockRuleExtensionDao) EXPECT() *_MockRuleExtensionDaoRecorder
func (*MockRuleExtensionDao) GetRuleExtensionByRuleID ¶
func (_m *MockRuleExtensionDao) GetRuleExtensionByRuleID(ruleID string) ([]*model.RuleExtension, error)
func (*MockRuleExtensionDao) UpdateModel ¶
func (_m *MockRuleExtensionDao) UpdateModel(_param0 model.Interface) error
type MockServiceProbeDao ¶
type MockServiceProbeDao struct {
// contains filtered or unexported fields
}
Mock of ServiceProbeDao interface
func NewMockServiceProbeDao ¶
func NewMockServiceProbeDao(ctrl *gomock.Controller) *MockServiceProbeDao
func (*MockServiceProbeDao) AddModel ¶
func (_m *MockServiceProbeDao) AddModel(_param0 model.Interface) error
func (*MockServiceProbeDao) DELServiceProbesByServiceID ¶
func (_m *MockServiceProbeDao) DELServiceProbesByServiceID(serviceID string) error
func (*MockServiceProbeDao) DeleteModel ¶
func (_m *MockServiceProbeDao) DeleteModel(serviceID string, arg ...interface{}) error
func (*MockServiceProbeDao) EXPECT ¶
func (_m *MockServiceProbeDao) EXPECT() *_MockServiceProbeDaoRecorder
func (*MockServiceProbeDao) GetServiceProbes ¶
func (_m *MockServiceProbeDao) GetServiceProbes(serviceID string) ([]*model.TenantServiceProbe, error)
func (*MockServiceProbeDao) GetServiceUsedProbe ¶
func (_m *MockServiceProbeDao) GetServiceUsedProbe(serviceID string, mode string) (*model.TenantServiceProbe, error)
func (*MockServiceProbeDao) UpdateModel ¶
func (_m *MockServiceProbeDao) UpdateModel(_param0 model.Interface) error
type MockServiceSourceDao ¶
type MockServiceSourceDao struct {
// contains filtered or unexported fields
}
Mock of ServiceSourceDao interface
func NewMockServiceSourceDao ¶
func NewMockServiceSourceDao(ctrl *gomock.Controller) *MockServiceSourceDao
func (*MockServiceSourceDao) AddModel ¶
func (_m *MockServiceSourceDao) AddModel(_param0 model.Interface) error
func (*MockServiceSourceDao) EXPECT ¶
func (_m *MockServiceSourceDao) EXPECT() *_MockServiceSourceDaoRecorder
func (*MockServiceSourceDao) GetServiceSource ¶
func (_m *MockServiceSourceDao) GetServiceSource(serviceID string) ([]*model.ServiceSourceConfig, error)
func (*MockServiceSourceDao) UpdateModel ¶
func (_m *MockServiceSourceDao) UpdateModel(_param0 model.Interface) error
type MockTCPRuleDao ¶
type MockTCPRuleDao struct {
// contains filtered or unexported fields
}
Mock of TCPRuleDao interface
func NewMockTCPRuleDao ¶
func NewMockTCPRuleDao(ctrl *gomock.Controller) *MockTCPRuleDao
func (*MockTCPRuleDao) DeleteTcpRule ¶
func (_m *MockTCPRuleDao) DeleteTcpRule(tcpRule *model.TCPRule) error
func (*MockTCPRuleDao) EXPECT ¶
func (_m *MockTCPRuleDao) EXPECT() *_MockTCPRuleDaoRecorder
func (*MockTCPRuleDao) GetTcpRuleByID ¶
func (_m *MockTCPRuleDao) GetTcpRuleByID(id string) (*model.TCPRule, error)
func (*MockTCPRuleDao) GetTcpRuleByServiceIDAndContainerPort ¶
func (*MockTCPRuleDao) UpdateModel ¶
func (_m *MockTCPRuleDao) UpdateModel(_param0 model.Interface) error
type MockTenantDao ¶
type MockTenantDao struct {
// contains filtered or unexported fields
}
Mock of TenantDao interface
func NewMockTenantDao ¶
func NewMockTenantDao(ctrl *gomock.Controller) *MockTenantDao
func (*MockTenantDao) EXPECT ¶
func (_m *MockTenantDao) EXPECT() *_MockTenantDaoRecorder
func (*MockTenantDao) GetALLTenants ¶
func (_m *MockTenantDao) GetALLTenants() ([]*model.Tenants, error)
func (*MockTenantDao) GetPagedTenants ¶
func (*MockTenantDao) GetTenantByEid ¶
func (_m *MockTenantDao) GetTenantByEid(eid string) ([]*model.Tenants, error)
func (*MockTenantDao) GetTenantByUUID ¶
func (_m *MockTenantDao) GetTenantByUUID(uuid string) (*model.Tenants, error)
func (*MockTenantDao) GetTenantByUUIDIsExist ¶
func (_m *MockTenantDao) GetTenantByUUIDIsExist(uuid string) bool
func (*MockTenantDao) GetTenantIDByName ¶
func (_m *MockTenantDao) GetTenantIDByName(tenantName string) (*model.Tenants, error)
func (*MockTenantDao) GetTenantIDsByNames ¶
func (_m *MockTenantDao) GetTenantIDsByNames(names []string) ([]string, error)
func (*MockTenantDao) GetTenantLimitsByNames ¶
func (_m *MockTenantDao) GetTenantLimitsByNames(names []string) (map[string]int, error)
func (*MockTenantDao) UpdateModel ¶
func (_m *MockTenantDao) UpdateModel(_param0 model.Interface) error
type MockTenantPluginBuildVersionDao ¶
type MockTenantPluginBuildVersionDao struct {
// contains filtered or unexported fields
}
Mock of TenantPluginBuildVersionDao interface
func NewMockTenantPluginBuildVersionDao ¶
func NewMockTenantPluginBuildVersionDao(ctrl *gomock.Controller) *MockTenantPluginBuildVersionDao
func (*MockTenantPluginBuildVersionDao) AddModel ¶
func (_m *MockTenantPluginBuildVersionDao) AddModel(_param0 model.Interface) error
func (*MockTenantPluginBuildVersionDao) DeleteBuildVersionByPluginID ¶
func (_m *MockTenantPluginBuildVersionDao) DeleteBuildVersionByPluginID(pluginID string) error
func (*MockTenantPluginBuildVersionDao) DeleteBuildVersionByVersionID ¶
func (_m *MockTenantPluginBuildVersionDao) DeleteBuildVersionByVersionID(versionID string) error
func (*MockTenantPluginBuildVersionDao) EXPECT ¶
func (_m *MockTenantPluginBuildVersionDao) EXPECT() *_MockTenantPluginBuildVersionDaoRecorder
func (*MockTenantPluginBuildVersionDao) GetBuildVersionByDeployVersion ¶
func (_m *MockTenantPluginBuildVersionDao) GetBuildVersionByDeployVersion(pluginID string, versionID string, deployVersion string) (*model.TenantPluginBuildVersion, error)
func (*MockTenantPluginBuildVersionDao) GetBuildVersionByPluginID ¶
func (_m *MockTenantPluginBuildVersionDao) GetBuildVersionByPluginID(pluginID string) ([]*model.TenantPluginBuildVersion, error)
func (*MockTenantPluginBuildVersionDao) GetBuildVersionByVersionID ¶
func (_m *MockTenantPluginBuildVersionDao) GetBuildVersionByVersionID(pluginID string, versionID string) (*model.TenantPluginBuildVersion, error)
func (*MockTenantPluginBuildVersionDao) GetLastBuildVersionByVersionID ¶
func (_m *MockTenantPluginBuildVersionDao) GetLastBuildVersionByVersionID(pluginID string, versionID string) (*model.TenantPluginBuildVersion, error)
func (*MockTenantPluginBuildVersionDao) UpdateModel ¶
func (_m *MockTenantPluginBuildVersionDao) UpdateModel(_param0 model.Interface) error
type MockTenantPluginDao ¶
type MockTenantPluginDao struct {
// contains filtered or unexported fields
}
Mock of TenantPluginDao interface
func NewMockTenantPluginDao ¶
func NewMockTenantPluginDao(ctrl *gomock.Controller) *MockTenantPluginDao
func (*MockTenantPluginDao) AddModel ¶
func (_m *MockTenantPluginDao) AddModel(_param0 model.Interface) error
func (*MockTenantPluginDao) DeletePluginByID ¶
func (_m *MockTenantPluginDao) DeletePluginByID(pluginID string, tenantID string) error
func (*MockTenantPluginDao) EXPECT ¶
func (_m *MockTenantPluginDao) EXPECT() *_MockTenantPluginDaoRecorder
func (*MockTenantPluginDao) GetPluginByID ¶
func (_m *MockTenantPluginDao) GetPluginByID(pluginID string, tenantID string) (*model.TenantPlugin, error)
func (*MockTenantPluginDao) GetPluginsByTenantID ¶
func (_m *MockTenantPluginDao) GetPluginsByTenantID(tenantID string) ([]*model.TenantPlugin, error)
func (*MockTenantPluginDao) UpdateModel ¶
func (_m *MockTenantPluginDao) UpdateModel(_param0 model.Interface) error
type MockTenantPluginDefaultENVDao ¶
type MockTenantPluginDefaultENVDao struct {
// contains filtered or unexported fields
}
Mock of TenantPluginDefaultENVDao interface
func NewMockTenantPluginDefaultENVDao ¶
func NewMockTenantPluginDefaultENVDao(ctrl *gomock.Controller) *MockTenantPluginDefaultENVDao
func (*MockTenantPluginDefaultENVDao) AddModel ¶
func (_m *MockTenantPluginDefaultENVDao) AddModel(_param0 model.Interface) error
func (*MockTenantPluginDefaultENVDao) DeleteAllDefaultENVByPluginID ¶
func (_m *MockTenantPluginDefaultENVDao) DeleteAllDefaultENVByPluginID(PluginID string) error
func (*MockTenantPluginDefaultENVDao) DeleteDefaultENVByName ¶
func (_m *MockTenantPluginDefaultENVDao) DeleteDefaultENVByName(pluginID string, name string, versionID string) error
func (*MockTenantPluginDefaultENVDao) DeleteDefaultENVByPluginIDAndVersionID ¶
func (_m *MockTenantPluginDefaultENVDao) DeleteDefaultENVByPluginIDAndVersionID(pluginID string, versionID string) error
func (*MockTenantPluginDefaultENVDao) EXPECT ¶
func (_m *MockTenantPluginDefaultENVDao) EXPECT() *_MockTenantPluginDefaultENVDaoRecorder
func (*MockTenantPluginDefaultENVDao) GetALLMasterDefultENVs ¶
func (_m *MockTenantPluginDefaultENVDao) GetALLMasterDefultENVs(pluginID string) ([]*model.TenantPluginDefaultENV, error)
func (*MockTenantPluginDefaultENVDao) GetDefaultENVByName ¶
func (_m *MockTenantPluginDefaultENVDao) GetDefaultENVByName(pluginID string, name string, versionID string) (*model.TenantPluginDefaultENV, error)
func (*MockTenantPluginDefaultENVDao) GetDefaultENVSByPluginID ¶
func (_m *MockTenantPluginDefaultENVDao) GetDefaultENVSByPluginID(pluginID string, versionID string) ([]*model.TenantPluginDefaultENV, error)
func (*MockTenantPluginDefaultENVDao) GetDefaultEnvWhichCanBeSetByPluginID ¶
func (_m *MockTenantPluginDefaultENVDao) GetDefaultEnvWhichCanBeSetByPluginID(pluginID string, versionID string) ([]*model.TenantPluginDefaultENV, error)
func (*MockTenantPluginDefaultENVDao) UpdateModel ¶
func (_m *MockTenantPluginDefaultENVDao) UpdateModel(_param0 model.Interface) error
type MockTenantPluginVersionEnvDao ¶
type MockTenantPluginVersionEnvDao struct {
// contains filtered or unexported fields
}
Mock of TenantPluginVersionEnvDao interface
func NewMockTenantPluginVersionEnvDao ¶
func NewMockTenantPluginVersionEnvDao(ctrl *gomock.Controller) *MockTenantPluginVersionEnvDao
func (*MockTenantPluginVersionEnvDao) AddModel ¶
func (_m *MockTenantPluginVersionEnvDao) AddModel(_param0 model.Interface) error
func (*MockTenantPluginVersionEnvDao) DeleteEnvByEnvName ¶
func (_m *MockTenantPluginVersionEnvDao) DeleteEnvByEnvName(envName string, pluginID string, serviceID string) error
func (*MockTenantPluginVersionEnvDao) DeleteEnvByPluginID ¶
func (_m *MockTenantPluginVersionEnvDao) DeleteEnvByPluginID(serviceID string, pluginID string) error
func (*MockTenantPluginVersionEnvDao) DeleteEnvByServiceID ¶
func (_m *MockTenantPluginVersionEnvDao) DeleteEnvByServiceID(serviceID string) error
func (*MockTenantPluginVersionEnvDao) EXPECT ¶
func (_m *MockTenantPluginVersionEnvDao) EXPECT() *_MockTenantPluginVersionEnvDaoRecorder
func (*MockTenantPluginVersionEnvDao) GetVersionEnvByEnvName ¶
func (_m *MockTenantPluginVersionEnvDao) GetVersionEnvByEnvName(serviceID string, pluginID string, envName string) (*model.TenantPluginVersionEnv, error)
func (*MockTenantPluginVersionEnvDao) GetVersionEnvByServiceID ¶
func (_m *MockTenantPluginVersionEnvDao) GetVersionEnvByServiceID(serviceID string, pluginID string) ([]*model.TenantPluginVersionEnv, error)
func (*MockTenantPluginVersionEnvDao) UpdateModel ¶
func (_m *MockTenantPluginVersionEnvDao) UpdateModel(_param0 model.Interface) error
type MockTenantServiceDao ¶
type MockTenantServiceDao struct {
// contains filtered or unexported fields
}
Mock of TenantServiceDao interface
func NewMockTenantServiceDao ¶
func NewMockTenantServiceDao(ctrl *gomock.Controller) *MockTenantServiceDao
func (*MockTenantServiceDao) AddModel ¶
func (_m *MockTenantServiceDao) AddModel(_param0 model.Interface) error
func (*MockTenantServiceDao) DeleteServiceByServiceID ¶
func (_m *MockTenantServiceDao) DeleteServiceByServiceID(serviceID string) error
func (*MockTenantServiceDao) EXPECT ¶
func (_m *MockTenantServiceDao) EXPECT() *_MockTenantServiceDaoRecorder
func (*MockTenantServiceDao) GetAllServicesID ¶
func (_m *MockTenantServiceDao) GetAllServicesID() ([]*model.TenantServices, error)
func (*MockTenantServiceDao) GetPagedTenantService ¶
func (*MockTenantServiceDao) GetServiceAliasByIDs ¶
func (_m *MockTenantServiceDao) GetServiceAliasByIDs(uids []string) ([]*model.TenantServices, error)
func (*MockTenantServiceDao) GetServiceByID ¶
func (_m *MockTenantServiceDao) GetServiceByID(serviceID string) (*model.TenantServices, error)
func (*MockTenantServiceDao) GetServiceByIDs ¶
func (_m *MockTenantServiceDao) GetServiceByIDs(serviceIDs []string) ([]*model.TenantServices, error)
func (*MockTenantServiceDao) GetServiceByServiceAlias ¶
func (_m *MockTenantServiceDao) GetServiceByServiceAlias(serviceAlias string) (*model.TenantServices, error)
func (*MockTenantServiceDao) GetServiceByTenantIDAndServiceAlias ¶
func (_m *MockTenantServiceDao) GetServiceByTenantIDAndServiceAlias(tenantID string, serviceName string) (*model.TenantServices, error)
func (*MockTenantServiceDao) GetServiceMemoryByServiceIDs ¶
func (_m *MockTenantServiceDao) GetServiceMemoryByServiceIDs(serviceIDs []string) (map[string]map[string]interface{}, error)
func (*MockTenantServiceDao) GetServiceMemoryByTenantIDs ¶
func (*MockTenantServiceDao) GetServicesAllInfoByTenantID ¶
func (_m *MockTenantServiceDao) GetServicesAllInfoByTenantID(tenantID string) ([]*model.TenantServices, error)
func (*MockTenantServiceDao) GetServicesByTenantID ¶
func (_m *MockTenantServiceDao) GetServicesByTenantID(tenantID string) ([]*model.TenantServices, error)
func (*MockTenantServiceDao) GetServicesByTenantIDs ¶
func (_m *MockTenantServiceDao) GetServicesByTenantIDs(tenantIDs []string) ([]*model.TenantServices, error)
func (*MockTenantServiceDao) SetTenantServiceStatus ¶
func (_m *MockTenantServiceDao) SetTenantServiceStatus(serviceID string, status string) error
func (*MockTenantServiceDao) UpdateDeployVersion ¶
func (_m *MockTenantServiceDao) UpdateDeployVersion(serviceID string, deployversion string) error
func (*MockTenantServiceDao) UpdateModel ¶
func (_m *MockTenantServiceDao) UpdateModel(_param0 model.Interface) error
type MockTenantServiceDeleteDao ¶
type MockTenantServiceDeleteDao struct {
// contains filtered or unexported fields
}
Mock of TenantServiceDeleteDao interface
func NewMockTenantServiceDeleteDao ¶
func NewMockTenantServiceDeleteDao(ctrl *gomock.Controller) *MockTenantServiceDeleteDao
func (*MockTenantServiceDeleteDao) AddModel ¶
func (_m *MockTenantServiceDeleteDao) AddModel(_param0 model.Interface) error
func (*MockTenantServiceDeleteDao) DeleteTenantServicesDelete ¶
func (_m *MockTenantServiceDeleteDao) DeleteTenantServicesDelete(record *model.TenantServicesDelete) error
func (*MockTenantServiceDeleteDao) EXPECT ¶
func (_m *MockTenantServiceDeleteDao) EXPECT() *_MockTenantServiceDeleteDaoRecorder
func (*MockTenantServiceDeleteDao) GetTenantServicesDeleteByCreateTime ¶
func (_m *MockTenantServiceDeleteDao) GetTenantServicesDeleteByCreateTime(createTime time.Time) ([]*model.TenantServicesDelete, error)
func (*MockTenantServiceDeleteDao) UpdateModel ¶
func (_m *MockTenantServiceDeleteDao) UpdateModel(_param0 model.Interface) error
type MockTenantServiceEnvVarDao ¶
type MockTenantServiceEnvVarDao struct {
// contains filtered or unexported fields
}
Mock of TenantServiceEnvVarDao interface
func NewMockTenantServiceEnvVarDao ¶
func NewMockTenantServiceEnvVarDao(ctrl *gomock.Controller) *MockTenantServiceEnvVarDao
func (*MockTenantServiceEnvVarDao) AddModel ¶
func (_m *MockTenantServiceEnvVarDao) AddModel(_param0 model.Interface) error
func (*MockTenantServiceEnvVarDao) DELServiceEnvsByServiceID ¶
func (_m *MockTenantServiceEnvVarDao) DELServiceEnvsByServiceID(serviceID string) error
func (*MockTenantServiceEnvVarDao) DeleteModel ¶
func (_m *MockTenantServiceEnvVarDao) DeleteModel(serviceID string, arg ...interface{}) error
func (*MockTenantServiceEnvVarDao) EXPECT ¶
func (_m *MockTenantServiceEnvVarDao) EXPECT() *_MockTenantServiceEnvVarDaoRecorder
func (*MockTenantServiceEnvVarDao) GetDependServiceEnvs ¶
func (_m *MockTenantServiceEnvVarDao) GetDependServiceEnvs(serviceIDs []string, scopes []string) ([]*model.TenantServiceEnvVar, error)
func (*MockTenantServiceEnvVarDao) GetEnv ¶
func (_m *MockTenantServiceEnvVarDao) GetEnv(serviceID string, envName string) (*model.TenantServiceEnvVar, error)
func (*MockTenantServiceEnvVarDao) GetServiceEnvs ¶
func (_m *MockTenantServiceEnvVarDao) GetServiceEnvs(serviceID string, scopes []string) ([]*model.TenantServiceEnvVar, error)
func (*MockTenantServiceEnvVarDao) UpdateModel ¶
func (_m *MockTenantServiceEnvVarDao) UpdateModel(_param0 model.Interface) error
type MockTenantServiceLBMappingPortDao ¶
type MockTenantServiceLBMappingPortDao struct {
// contains filtered or unexported fields
}
Mock of TenantServiceLBMappingPortDao interface
func NewMockTenantServiceLBMappingPortDao ¶
func NewMockTenantServiceLBMappingPortDao(ctrl *gomock.Controller) *MockTenantServiceLBMappingPortDao
func (*MockTenantServiceLBMappingPortDao) AddModel ¶
func (_m *MockTenantServiceLBMappingPortDao) AddModel(_param0 model.Interface) error
func (*MockTenantServiceLBMappingPortDao) CreateTenantServiceLBMappingPort ¶
func (_m *MockTenantServiceLBMappingPortDao) CreateTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error)
func (*MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceID ¶
func (_m *MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceID(serviceID string) error
func (*MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceIDAndPort ¶
func (_m *MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceIDAndPort(serviceID string, lbPort int) error
func (*MockTenantServiceLBMappingPortDao) EXPECT ¶
func (_m *MockTenantServiceLBMappingPortDao) EXPECT() *_MockTenantServiceLBMappingPortDaoRecorder
func (*MockTenantServiceLBMappingPortDao) GetLBMappingPortByServiceIDAndPort ¶
func (_m *MockTenantServiceLBMappingPortDao) GetLBMappingPortByServiceIDAndPort(serviceID string, port int) (*model.TenantServiceLBMappingPort, error)
func (*MockTenantServiceLBMappingPortDao) GetLBPortByTenantAndPort ¶
func (_m *MockTenantServiceLBMappingPortDao) GetLBPortByTenantAndPort(tenantID string, lbport int) (*model.TenantServiceLBMappingPort, error)
func (*MockTenantServiceLBMappingPortDao) GetLBPortsASC ¶
func (_m *MockTenantServiceLBMappingPortDao) GetLBPortsASC() ([]*model.TenantServiceLBMappingPort, error)
func (*MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPort ¶
func (_m *MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error)
func (*MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPortByService ¶
func (_m *MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPortByService(serviceID string) ([]*model.TenantServiceLBMappingPort, error)
func (*MockTenantServiceLBMappingPortDao) PortExists ¶
func (_m *MockTenantServiceLBMappingPortDao) PortExists(port int) bool
func (*MockTenantServiceLBMappingPortDao) UpdateModel ¶
func (_m *MockTenantServiceLBMappingPortDao) UpdateModel(_param0 model.Interface) error
type MockTenantServiceLabelDao ¶
type MockTenantServiceLabelDao struct {
// contains filtered or unexported fields
}
Mock of TenantServiceLabelDao interface
func NewMockTenantServiceLabelDao ¶
func NewMockTenantServiceLabelDao(ctrl *gomock.Controller) *MockTenantServiceLabelDao
func (*MockTenantServiceLabelDao) AddModel ¶
func (_m *MockTenantServiceLabelDao) AddModel(_param0 model.Interface) error
func (*MockTenantServiceLabelDao) DelTenantServiceLabelsByLabelValuesAndServiceID ¶
func (_m *MockTenantServiceLabelDao) DelTenantServiceLabelsByLabelValuesAndServiceID(serviceID string) error
func (*MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKey ¶
func (_m *MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKey(serviceID string, labelKey string) error
func (*MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKeyValue ¶
func (_m *MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKeyValue(serviceID string, labelKey string, labelValue string) error
func (*MockTenantServiceLabelDao) DeleteLabelByServiceID ¶
func (_m *MockTenantServiceLabelDao) DeleteLabelByServiceID(serviceID string) error
func (*MockTenantServiceLabelDao) DeleteModel ¶
func (_m *MockTenantServiceLabelDao) DeleteModel(serviceID string, arg ...interface{}) error
func (*MockTenantServiceLabelDao) EXPECT ¶
func (_m *MockTenantServiceLabelDao) EXPECT() *_MockTenantServiceLabelDaoRecorder
func (*MockTenantServiceLabelDao) GetLabelByNodeSelectorKey ¶
func (_m *MockTenantServiceLabelDao) GetLabelByNodeSelectorKey(serviceID string, labelValue string) (*model.TenantServiceLable, error)
func (*MockTenantServiceLabelDao) GetTenantNodeAffinityLabel ¶
func (_m *MockTenantServiceLabelDao) GetTenantNodeAffinityLabel(serviceID string) (*model.TenantServiceLable, error)
func (*MockTenantServiceLabelDao) GetTenantServiceAffinityLabel ¶
func (_m *MockTenantServiceLabelDao) GetTenantServiceAffinityLabel(serviceID string) ([]*model.TenantServiceLable, error)
func (*MockTenantServiceLabelDao) GetTenantServiceLabel ¶
func (_m *MockTenantServiceLabelDao) GetTenantServiceLabel(serviceID string) ([]*model.TenantServiceLable, error)
func (*MockTenantServiceLabelDao) GetTenantServiceNodeSelectorLabel ¶
func (_m *MockTenantServiceLabelDao) GetTenantServiceNodeSelectorLabel(serviceID string) ([]*model.TenantServiceLable, error)
func (*MockTenantServiceLabelDao) GetTenantServiceTypeLabel ¶
func (_m *MockTenantServiceLabelDao) GetTenantServiceTypeLabel(serviceID string) (*model.TenantServiceLable, error)
func (*MockTenantServiceLabelDao) UpdateModel ¶
func (_m *MockTenantServiceLabelDao) UpdateModel(_param0 model.Interface) error
type MockTenantServiceMountRelationDao ¶
type MockTenantServiceMountRelationDao struct {
// contains filtered or unexported fields
}
Mock of TenantServiceMountRelationDao interface
func NewMockTenantServiceMountRelationDao ¶
func NewMockTenantServiceMountRelationDao(ctrl *gomock.Controller) *MockTenantServiceMountRelationDao
func (*MockTenantServiceMountRelationDao) AddModel ¶
func (_m *MockTenantServiceMountRelationDao) AddModel(_param0 model.Interface) error
func (*MockTenantServiceMountRelationDao) DELTenantServiceMountRelationByServiceID ¶
func (_m *MockTenantServiceMountRelationDao) DELTenantServiceMountRelationByServiceID(serviceID string) error
func (*MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByDepService ¶
func (_m *MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByDepService(serviceID string, depServiceID string) error
func (*MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByServiceAndName ¶
func (_m *MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByServiceAndName(serviceID string, mntDir string) error
func (*MockTenantServiceMountRelationDao) EXPECT ¶
func (_m *MockTenantServiceMountRelationDao) EXPECT() *_MockTenantServiceMountRelationDaoRecorder
func (*MockTenantServiceMountRelationDao) GetTenantServiceMountRelationsByService ¶
func (_m *MockTenantServiceMountRelationDao) GetTenantServiceMountRelationsByService(serviceID string) ([]*model.TenantServiceMountRelation, error)
func (*MockTenantServiceMountRelationDao) UpdateModel ¶
func (_m *MockTenantServiceMountRelationDao) UpdateModel(_param0 model.Interface) error
type MockTenantServicePluginRelationDao ¶
type MockTenantServicePluginRelationDao struct {
// contains filtered or unexported fields
}
Mock of TenantServicePluginRelationDao interface
func NewMockTenantServicePluginRelationDao ¶
func NewMockTenantServicePluginRelationDao(ctrl *gomock.Controller) *MockTenantServicePluginRelationDao
func (*MockTenantServicePluginRelationDao) AddModel ¶
func (_m *MockTenantServicePluginRelationDao) AddModel(_param0 model.Interface) error
func (*MockTenantServicePluginRelationDao) CheckSomeModelLikePluginByServiceID ¶
func (_m *MockTenantServicePluginRelationDao) CheckSomeModelLikePluginByServiceID(serviceID string, pluginModel string) (bool, error)
func (*MockTenantServicePluginRelationDao) CheckSomeModelPluginByServiceID ¶
func (_m *MockTenantServicePluginRelationDao) CheckSomeModelPluginByServiceID(serviceID string, pluginModel string) (bool, error)
func (*MockTenantServicePluginRelationDao) DeleteALLRelationByPluginID ¶
func (_m *MockTenantServicePluginRelationDao) DeleteALLRelationByPluginID(pluginID string) error
func (*MockTenantServicePluginRelationDao) DeleteALLRelationByServiceID ¶
func (_m *MockTenantServicePluginRelationDao) DeleteALLRelationByServiceID(serviceID string) error
func (*MockTenantServicePluginRelationDao) DeleteRelationByServiceIDAndPluginID ¶
func (_m *MockTenantServicePluginRelationDao) DeleteRelationByServiceIDAndPluginID(serviceID string, pluginID string) error
func (*MockTenantServicePluginRelationDao) EXPECT ¶
func (_m *MockTenantServicePluginRelationDao) EXPECT() *_MockTenantServicePluginRelationDaoRecorder
func (*MockTenantServicePluginRelationDao) GetALLRelationByServiceID ¶
func (_m *MockTenantServicePluginRelationDao) GetALLRelationByServiceID(serviceID string) ([]*model.TenantServicePluginRelation, error)
func (*MockTenantServicePluginRelationDao) GetRelateionByServiceIDAndPluginID ¶
func (_m *MockTenantServicePluginRelationDao) GetRelateionByServiceIDAndPluginID(serviceID string, pluginID string) (*model.TenantServicePluginRelation, error)
func (*MockTenantServicePluginRelationDao) UpdateModel ¶
func (_m *MockTenantServicePluginRelationDao) UpdateModel(_param0 model.Interface) error
type MockTenantServiceRelationDao ¶
type MockTenantServiceRelationDao struct {
// contains filtered or unexported fields
}
Mock of TenantServiceRelationDao interface
func NewMockTenantServiceRelationDao ¶
func NewMockTenantServiceRelationDao(ctrl *gomock.Controller) *MockTenantServiceRelationDao
func (*MockTenantServiceRelationDao) AddModel ¶
func (_m *MockTenantServiceRelationDao) AddModel(_param0 model.Interface) error
func (*MockTenantServiceRelationDao) DELRelationsByServiceID ¶
func (_m *MockTenantServiceRelationDao) DELRelationsByServiceID(serviceID string) error
func (*MockTenantServiceRelationDao) DeleteModel ¶
func (_m *MockTenantServiceRelationDao) DeleteModel(serviceID string, arg ...interface{}) error
func (*MockTenantServiceRelationDao) DeleteRelationByDepID ¶
func (_m *MockTenantServiceRelationDao) DeleteRelationByDepID(serviceID string, depID string) error
func (*MockTenantServiceRelationDao) EXPECT ¶
func (_m *MockTenantServiceRelationDao) EXPECT() *_MockTenantServiceRelationDaoRecorder
func (*MockTenantServiceRelationDao) GetTenantServiceRelations ¶
func (_m *MockTenantServiceRelationDao) GetTenantServiceRelations(serviceID string) ([]*model.TenantServiceRelation, error)
func (*MockTenantServiceRelationDao) GetTenantServiceRelationsByDependServiceID ¶
func (_m *MockTenantServiceRelationDao) GetTenantServiceRelationsByDependServiceID(dependServiceID string) ([]*model.TenantServiceRelation, error)
func (*MockTenantServiceRelationDao) HaveRelations ¶
func (_m *MockTenantServiceRelationDao) HaveRelations(serviceID string) bool
func (*MockTenantServiceRelationDao) UpdateModel ¶
func (_m *MockTenantServiceRelationDao) UpdateModel(_param0 model.Interface) error
type MockTenantServiceVolumeDao ¶
type MockTenantServiceVolumeDao struct {
// contains filtered or unexported fields
}
Mock of TenantServiceVolumeDao interface
func NewMockTenantServiceVolumeDao ¶
func NewMockTenantServiceVolumeDao(ctrl *gomock.Controller) *MockTenantServiceVolumeDao
func (*MockTenantServiceVolumeDao) AddModel ¶
func (_m *MockTenantServiceVolumeDao) AddModel(_param0 model.Interface) error
func (*MockTenantServiceVolumeDao) DeleteByServiceIDAndVolumePath ¶
func (_m *MockTenantServiceVolumeDao) DeleteByServiceIDAndVolumePath(serviceID string, volumePath string) error
func (*MockTenantServiceVolumeDao) DeleteModel ¶
func (_m *MockTenantServiceVolumeDao) DeleteModel(serviceID string, arg ...interface{}) error
func (*MockTenantServiceVolumeDao) DeleteTenantServiceVolumesByServiceID ¶
func (_m *MockTenantServiceVolumeDao) DeleteTenantServiceVolumesByServiceID(serviceID string) error
func (*MockTenantServiceVolumeDao) EXPECT ¶
func (_m *MockTenantServiceVolumeDao) EXPECT() *_MockTenantServiceVolumeDaoRecorder
func (*MockTenantServiceVolumeDao) GetAllVolumes ¶
func (_m *MockTenantServiceVolumeDao) GetAllVolumes() ([]*model.TenantServiceVolume, error)
func (*MockTenantServiceVolumeDao) GetTenantServiceVolumesByServiceID ¶
func (_m *MockTenantServiceVolumeDao) GetTenantServiceVolumesByServiceID(serviceID string) ([]*model.TenantServiceVolume, error)
func (*MockTenantServiceVolumeDao) GetVolumeByServiceIDAndName ¶
func (_m *MockTenantServiceVolumeDao) GetVolumeByServiceIDAndName(serviceID string, name string) (*model.TenantServiceVolume, error)
func (*MockTenantServiceVolumeDao) UpdateModel ¶
func (_m *MockTenantServiceVolumeDao) UpdateModel(_param0 model.Interface) error
type MockTenantServicesPortDao ¶
type MockTenantServicesPortDao struct {
// contains filtered or unexported fields
}
Mock of TenantServicesPortDao interface
func NewMockTenantServicesPortDao ¶
func NewMockTenantServicesPortDao(ctrl *gomock.Controller) *MockTenantServicesPortDao
func (*MockTenantServicesPortDao) AddModel ¶
func (_m *MockTenantServicesPortDao) AddModel(_param0 model.Interface) error
func (*MockTenantServicesPortDao) DELPortsByServiceID ¶
func (_m *MockTenantServicesPortDao) DELPortsByServiceID(serviceID string) error
func (*MockTenantServicesPortDao) DeleteModel ¶
func (_m *MockTenantServicesPortDao) DeleteModel(serviceID string, arg ...interface{}) error
func (*MockTenantServicesPortDao) EXPECT ¶
func (_m *MockTenantServicesPortDao) EXPECT() *_MockTenantServicesPortDaoRecorder
func (*MockTenantServicesPortDao) GetInnerPorts ¶
func (_m *MockTenantServicesPortDao) GetInnerPorts(serviceID string) ([]*model.TenantServicesPort, error)
func (*MockTenantServicesPortDao) GetOuterPorts ¶
func (_m *MockTenantServicesPortDao) GetOuterPorts(serviceID string) ([]*model.TenantServicesPort, error)
func (*MockTenantServicesPortDao) GetPort ¶
func (_m *MockTenantServicesPortDao) GetPort(serviceID string, port int) (*model.TenantServicesPort, error)
func (*MockTenantServicesPortDao) GetPortsByServiceID ¶
func (_m *MockTenantServicesPortDao) GetPortsByServiceID(serviceID string) ([]*model.TenantServicesPort, error)
func (*MockTenantServicesPortDao) UpdateModel ¶
func (_m *MockTenantServicesPortDao) UpdateModel(_param0 model.Interface) error
type MockTenantServicesStreamPluginPortDao ¶
type MockTenantServicesStreamPluginPortDao struct {
// contains filtered or unexported fields
}
Mock of TenantServicesStreamPluginPortDao interface
func NewMockTenantServicesStreamPluginPortDao ¶
func NewMockTenantServicesStreamPluginPortDao(ctrl *gomock.Controller) *MockTenantServicesStreamPluginPortDao
func (*MockTenantServicesStreamPluginPortDao) AddModel ¶
func (_m *MockTenantServicesStreamPluginPortDao) AddModel(_param0 model.Interface) error
func (*MockTenantServicesStreamPluginPortDao) DeleteAllPluginMappingPortByServiceID ¶
func (_m *MockTenantServicesStreamPluginPortDao) DeleteAllPluginMappingPortByServiceID(serviceID string) error
func (*MockTenantServicesStreamPluginPortDao) DeletePluginMappingPortByContainerPort ¶
func (_m *MockTenantServicesStreamPluginPortDao) DeletePluginMappingPortByContainerPort(serviceID string, pluginModel string, containerPort int) error
func (*MockTenantServicesStreamPluginPortDao) EXPECT ¶
func (_m *MockTenantServicesStreamPluginPortDao) EXPECT() *_MockTenantServicesStreamPluginPortDaoRecorder
func (*MockTenantServicesStreamPluginPortDao) GetPluginMappingPortByServiceIDAndContainerPort ¶
func (_m *MockTenantServicesStreamPluginPortDao) GetPluginMappingPortByServiceIDAndContainerPort(serviceID string, pluginModel string, containerPort int) (*model.TenantServicesStreamPluginPort, error)
func (*MockTenantServicesStreamPluginPortDao) GetPluginMappingPorts ¶
func (_m *MockTenantServicesStreamPluginPortDao) GetPluginMappingPorts(serviceID string, pluginModel string) ([]*model.TenantServicesStreamPluginPort, error)
func (*MockTenantServicesStreamPluginPortDao) SetPluginMappingPort ¶
func (*MockTenantServicesStreamPluginPortDao) UpdateModel ¶
func (_m *MockTenantServicesStreamPluginPortDao) UpdateModel(_param0 model.Interface) error
type MockVersionInfoDao ¶
type MockVersionInfoDao struct {
// contains filtered or unexported fields
}
Mock of VersionInfoDao interface
func NewMockVersionInfoDao ¶
func NewMockVersionInfoDao(ctrl *gomock.Controller) *MockVersionInfoDao
func (*MockVersionInfoDao) AddModel ¶
func (_m *MockVersionInfoDao) AddModel(_param0 model.Interface) error
func (*MockVersionInfoDao) DeleteFailureVersionInfo ¶
func (*MockVersionInfoDao) DeleteVersionByEventID ¶
func (_m *MockVersionInfoDao) DeleteVersionByEventID(eventID string) error
func (*MockVersionInfoDao) DeleteVersionByServiceID ¶
func (_m *MockVersionInfoDao) DeleteVersionByServiceID(serviceID string) error
func (*MockVersionInfoDao) DeleteVersionInfo ¶
func (_m *MockVersionInfoDao) DeleteVersionInfo(obj *model.VersionInfo) error
func (*MockVersionInfoDao) EXPECT ¶
func (_m *MockVersionInfoDao) EXPECT() *_MockVersionInfoDaoRecorder
func (*MockVersionInfoDao) GetVersionByDeployVersion ¶
func (_m *MockVersionInfoDao) GetVersionByDeployVersion(version string, serviceID string) (*model.VersionInfo, error)
func (*MockVersionInfoDao) GetVersionByEventID ¶
func (_m *MockVersionInfoDao) GetVersionByEventID(eventID string) (*model.VersionInfo, error)
func (*MockVersionInfoDao) GetVersionByServiceID ¶
func (_m *MockVersionInfoDao) GetVersionByServiceID(serviceID string) ([]*model.VersionInfo, error)
func (*MockVersionInfoDao) GetVersionInfo ¶
func (_m *MockVersionInfoDao) GetVersionInfo(timePoint time.Time, serviceIdList []string) ([]*model.VersionInfo, error)
func (*MockVersionInfoDao) SearchVersionInfo ¶
func (_m *MockVersionInfoDao) SearchVersionInfo() ([]*model.VersionInfo, error)
func (*MockVersionInfoDao) UpdateModel ¶
func (_m *MockVersionInfoDao) UpdateModel(_param0 model.Interface) error
type NotificationEventDao ¶
type NotificationEventDao interface { Dao GetNotificationEventByHash(hash string) (*model.NotificationEvent, error) GetNotificationEventByKind(kind, kindID string) ([]*model.NotificationEvent, error) GetNotificationEventByTime(start, end time.Time) ([]*model.NotificationEvent, error) GetNotificationEventNotHandle() ([]*model.NotificationEvent, error) }
NotificationEventDao NotificationEventDao
type RegionAPIClassDao ¶
type RegionAPIClassDao interface { Dao GetPrefixesByClass(apiClass string) ([]*model.RegionAPIClass, error) DeletePrefixInClass(apiClass, prefix string) error }
RegionAPIClassDao RegionAPIClassDao
type RegionProcotolsDao ¶
type RegionProcotolsDao interface { Dao GetAllSupportProtocol(version string) ([]*model.RegionProcotols, error) GetProtocolGroupByProtocolChild(version, protocolChild string) (*model.RegionProcotols, error) }
RegionProcotolsDao RegionProcotolsDao
type RegionUserInfoDao ¶
type RegionUserInfoDao interface { Dao GetALLTokenInValidityPeriod() ([]*model.RegionUserInfo, error) GetTokenByEid(eid string) (*model.RegionUserInfo, error) GetTokenByTokenID(token string) (*model.RegionUserInfo, error) }
RegionUserInfoDao UserRegionInfoDao
type RuleExtensionDao ¶
type RuleExtensionDao interface { Dao GetRuleExtensionByRuleID(ruleID string) ([]*model.RuleExtension, error) DeleteRuleExtensionByRuleID(ruleID string) error }
RuleExtensionDao -
type ServiceProbeDao ¶
type ServiceProbeDao interface { Dao DelDao GetServiceProbes(serviceID string) ([]*model.TenantServiceProbe, error) GetServiceUsedProbe(serviceID, mode string) (*model.TenantServiceProbe, error) DELServiceProbesByServiceID(serviceID string) error }
ServiceProbeDao ServiceProbeDao
type ServiceSourceDao ¶
type ServiceSourceDao interface { Dao GetServiceSource(serviceID string) ([]*model.ServiceSourceConfig, error) }
ServiceSourceDao service source dao
type TCPRuleDao ¶
type TCPRuleDao interface { Dao GetTcpRuleByServiceIDAndContainerPort(serviceID string, containerPort int) ([]*model.TCPRule, error) GetTcpRuleByID(id string) (*model.TCPRule, error) DeleteTcpRule(tcpRule *model.TCPRule) error ListByServiceID(serviceID string) ([]*model.TCPRule, error) }
TCPRuleDao -
type TenantDao ¶
type TenantDao interface { Dao GetTenantByUUID(uuid string) (*model.Tenants, error) GetTenantIDByName(tenantName string) (*model.Tenants, error) GetALLTenants() ([]*model.Tenants, error) GetTenantByEid(eid string) ([]*model.Tenants, error) GetPagedTenants(offset, len int) ([]*model.Tenants, error) GetTenantIDsByNames(names []string) ([]string, error) GetTenantLimitsByNames(names []string) (map[string]int, error) GetTenantByUUIDIsExist(uuid string) bool }
TenantDao tenant dao
type TenantPluginBuildVersionDao ¶
type TenantPluginBuildVersionDao interface { Dao DeleteBuildVersionByVersionID(versionID string) error DeleteBuildVersionByPluginID(pluginID string) error GetBuildVersionByPluginID(pluginID string) ([]*model.TenantPluginBuildVersion, error) GetBuildVersionByVersionID(pluginID, versionID string) (*model.TenantPluginBuildVersion, error) GetLastBuildVersionByVersionID(pluginID, versionID string) (*model.TenantPluginBuildVersion, error) GetBuildVersionByDeployVersion(pluginID, versionID, deployVersion string) (*model.TenantPluginBuildVersion, error) }
TenantPluginBuildVersionDao TenantPluginBuildVersionDao
type TenantPluginDao ¶
type TenantPluginDao interface { Dao GetPluginByID(pluginID, tenantID string) (*model.TenantPlugin, error) DeletePluginByID(pluginID, tenantID string) error GetPluginsByTenantID(tenantID string) ([]*model.TenantPlugin, error) }
TenantPluginDao TenantPluginDao
type TenantPluginDefaultENVDao ¶
type TenantPluginDefaultENVDao interface { Dao GetDefaultENVByName(pluginID, name, versionID string) (*model.TenantPluginDefaultENV, error) GetDefaultENVSByPluginID(pluginID, versionID string) ([]*model.TenantPluginDefaultENV, error) //GetDefaultENVSByPluginIDCantBeSet(pluginID string) ([]*model.TenantPluginDefaultENV, error) DeleteDefaultENVByName(pluginID, name, versionID string) error DeleteAllDefaultENVByPluginID(PluginID string) error DeleteDefaultENVByPluginIDAndVersionID(pluginID, versionID string) error GetALLMasterDefultENVs(pluginID string) ([]*model.TenantPluginDefaultENV, error) GetDefaultEnvWhichCanBeSetByPluginID(pluginID, versionID string) ([]*model.TenantPluginDefaultENV, error) }
TenantPluginDefaultENVDao TenantPluginDefaultENVDao
type TenantPluginVersionEnvDao ¶
type TenantPluginVersionEnvDao interface { Dao DeleteEnvByEnvName(envName, pluginID, serviceID string) error DeleteEnvByPluginID(serviceID, pluginID string) error DeleteEnvByServiceID(serviceID string) error GetVersionEnvByServiceID(serviceID string, pluginID string) ([]*model.TenantPluginVersionEnv, error) GetVersionEnvByEnvName(serviceID, pluginID, envName string) (*model.TenantPluginVersionEnv, error) }
TenantPluginVersionEnvDao TenantPluginVersionEnvDao
type TenantServiceDao ¶
type TenantServiceDao interface { Dao GetServiceByID(serviceID string) (*model.TenantServices, error) GetServiceByServiceAlias(serviceAlias string) (*model.TenantServices, error) GetServiceByIDs(serviceIDs []string) ([]*model.TenantServices, error) GetServiceAliasByIDs(uids []string) ([]*model.TenantServices, error) GetServiceByTenantIDAndServiceAlias(tenantID, serviceName string) (*model.TenantServices, error) SetTenantServiceStatus(serviceID, status string) error GetServicesByTenantID(tenantID string) ([]*model.TenantServices, error) GetServicesByTenantIDs(tenantIDs []string) ([]*model.TenantServices, error) GetServicesAllInfoByTenantID(tenantID string) ([]*model.TenantServices, error) DeleteServiceByServiceID(serviceID string) error GetServiceMemoryByTenantIDs(tenantIDs, serviceIDs []string) (map[string]map[string]interface{}, error) GetServiceMemoryByServiceIDs(serviceIDs []string) (map[string]map[string]interface{}, error) GetPagedTenantService(offset, len int, serviceIDs []string) ([]map[string]interface{}, int, error) GetAllServicesID() ([]*model.TenantServices, error) UpdateDeployVersion(serviceID, deployversion string) error }
TenantServiceDao TenantServiceDao
type TenantServiceDeleteDao ¶
type TenantServiceDeleteDao interface { Dao GetTenantServicesDeleteByCreateTime(createTime time.Time) ([]*model.TenantServicesDelete, error) DeleteTenantServicesDelete(record *model.TenantServicesDelete) error }
TenantServiceDeleteDao TenantServiceDeleteDao
type TenantServiceEnvVarDao ¶
type TenantServiceEnvVarDao interface { Dao DelDao //service_id__in=sids, scope__in=("outer", "both") GetDependServiceEnvs(serviceIDs []string, scopes []string) ([]*model.TenantServiceEnvVar, error) GetServiceEnvs(serviceID string, scopes []string) ([]*model.TenantServiceEnvVar, error) GetEnv(serviceID, envName string) (*model.TenantServiceEnvVar, error) DELServiceEnvsByServiceID(serviceID string) error }
TenantServiceEnvVarDao TenantServiceEnvVarDao
type TenantServiceLBMappingPortDao ¶
type TenantServiceLBMappingPortDao interface { Dao GetTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error) GetLBMappingPortByServiceIDAndPort(serviceID string, port int) (*model.TenantServiceLBMappingPort, error) GetTenantServiceLBMappingPortByService(serviceID string) ([]*model.TenantServiceLBMappingPort, error) GetLBPortsASC() ([]*model.TenantServiceLBMappingPort, error) CreateTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error) DELServiceLBMappingPortByServiceID(serviceID string) error DELServiceLBMappingPortByServiceIDAndPort(serviceID string, lbPort int) error GetLBPortByTenantAndPort(tenantID string, lbport int) (*model.TenantServiceLBMappingPort, error) PortExists(port int) bool }
TenantServiceLBMappingPortDao vs lb mapping port dao
type TenantServiceLabelDao ¶
type TenantServiceLabelDao interface { Dao DelDao GetTenantServiceLabel(serviceID string) ([]*model.TenantServiceLable, error) DeleteLabelByServiceID(serviceID string) error GetTenantServiceNodeSelectorLabel(serviceID string) ([]*model.TenantServiceLable, error) GetTenantNodeAffinityLabel(serviceID string) (*model.TenantServiceLable, error) GetTenantServiceAffinityLabel(serviceID string) ([]*model.TenantServiceLable, error) GetTenantServiceTypeLabel(serviceID string) (*model.TenantServiceLable, error) DelTenantServiceLabelsByLabelValuesAndServiceID(serviceID string) error DelTenantServiceLabelsByServiceIDKey(serviceID string, labelKey string) error DelTenantServiceLabelsByServiceIDKeyValue(serviceID string, labelKey string, labelValue string) error GetLabelByNodeSelectorKey(serviceID string, labelValue string) (*model.TenantServiceLable, error) }
TenantServiceLabelDao TenantServiceLabelDao
type TenantServiceMountRelationDao ¶
type TenantServiceMountRelationDao interface { Dao GetTenantServiceMountRelationsByService(serviceID string) ([]*model.TenantServiceMountRelation, error) DElTenantServiceMountRelationByServiceAndName(serviceID, mntDir string) error DELTenantServiceMountRelationByServiceID(serviceID string) error DElTenantServiceMountRelationByDepService(serviceID, depServiceID string) error }
TenantServiceMountRelationDao TenantServiceMountRelationDao
type TenantServicePluginRelationDao ¶
type TenantServicePluginRelationDao interface { Dao DeleteRelationByServiceIDAndPluginID(serviceID, pluginID string) error DeleteALLRelationByServiceID(serviceID string) error DeleteALLRelationByPluginID(pluginID string) error GetALLRelationByServiceID(serviceID string) ([]*model.TenantServicePluginRelation, error) GetRelateionByServiceIDAndPluginID(serviceID, pluginID string) (*model.TenantServicePluginRelation, error) CheckSomeModelPluginByServiceID(serviceID, pluginModel string) (bool, error) CheckSomeModelLikePluginByServiceID(serviceID, pluginModel string) (bool, error) }
TenantServicePluginRelationDao TenantServicePluginRelationDao
type TenantServiceRelationDao ¶
type TenantServiceRelationDao interface { Dao DelDao GetTenantServiceRelations(serviceID string) ([]*model.TenantServiceRelation, error) GetTenantServiceRelationsByDependServiceID(dependServiceID string) ([]*model.TenantServiceRelation, error) HaveRelations(serviceID string) bool DELRelationsByServiceID(serviceID string) error DeleteRelationByDepID(serviceID, depID string) error }
TenantServiceRelationDao TenantServiceRelationDao
type TenantServiceVolumeDao ¶
type TenantServiceVolumeDao interface { Dao DelDao GetTenantServiceVolumesByServiceID(serviceID string) ([]*model.TenantServiceVolume, error) DeleteTenantServiceVolumesByServiceID(serviceID string) error DeleteByServiceIDAndVolumePath(serviceID string, volumePath string) error GetVolumeByServiceIDAndName(serviceID, name string) (*model.TenantServiceVolume, error) GetAllVolumes() ([]*model.TenantServiceVolume, error) }
TenantServiceVolumeDao TenantServiceVolumeDao
type TenantServicesPortDao ¶
type TenantServicesPortDao interface { Dao DelDao GetPortsByServiceID(serviceID string) ([]*model.TenantServicesPort, error) GetOuterPorts(serviceID string) ([]*model.TenantServicesPort, error) GetInnerPorts(serviceID string) ([]*model.TenantServicesPort, error) GetPort(serviceID string, port int) (*model.TenantServicesPort, error) DELPortsByServiceID(serviceID string) error }
TenantServicesPortDao TenantServicesPortDao
type TenantServicesStreamPluginPortDao ¶
type TenantServicesStreamPluginPortDao interface { Dao GetPluginMappingPorts(serviceID string, pluginModel string) ([]*model.TenantServicesStreamPluginPort, error) SetPluginMappingPort( tenantID string, serviceID string, pluginModel string, containerPort int, ) (int, error) DeletePluginMappingPortByContainerPort( serviceID string, pluginModel string, containerPort int, ) error DeleteAllPluginMappingPortByServiceID(serviceID string) error GetPluginMappingPortByServiceIDAndContainerPort( serviceID string, pluginModel string, containerPort int, ) (*model.TenantServicesStreamPluginPort, error) }
TenantServicesStreamPluginPortDao TenantServicesStreamPluginPortDao
type VersionInfoDao ¶
type VersionInfoDao interface { Dao GetVersionByEventID(eventID string) (*model.VersionInfo, error) GetVersionByDeployVersion(version, serviceID string) (*model.VersionInfo, error) GetVersionByServiceID(serviceID string) ([]*model.VersionInfo, error) DeleteVersionByEventID(eventID string) error DeleteVersionByServiceID(serviceID string) error GetVersionInfo(timePoint time.Time, serviceIdList []string) ([]*model.VersionInfo, error) DeleteVersionInfo(obj *model.VersionInfo) error DeleteFailureVersionInfo(timePoint time.Time, status string, serviceIdList []string) error SearchVersionInfo() ([]*model.VersionInfo, error) }
VersionInfoDao VersionInfoDao