rainbond: github.com/goodrain/rainbond/db/dao Index | Files

package dao

import "github.com/goodrain/rainbond/db/dao"

Package dao is a generated GoMock package.

Index

Package Files

dao.go dao_mock.go

Variables

var (
    // ErrVolumeNotFound volume not found error, happens when haven't find any matched data
    ErrVolumeNotFound = errors.New("volume not found")
)

type AppBackupDao Uses

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 AppConfigGroupDao Uses

type AppConfigGroupDao interface {
    Dao
    GetConfigGroupByID(appID, configGroupName string) (*model.ApplicationConfigGroup, error)
    ListByServiceID(sid string) ([]*model.ApplicationConfigGroup, error)
    GetConfigGroupsByAppID(appID string, page, pageSize int) ([]*model.ApplicationConfigGroup, int64, error)
    DeleteConfigGroup(appID, configGroupName string) error
}

AppConfigGroupDao Application config group Dao

type AppConfigGroupItemDao Uses

type AppConfigGroupItemDao interface {
    Dao
    GetConfigGroupItemsByID(appID, configGroupName string) ([]*model.ConfigGroupItem, error)
    ListByServiceID(sid string) ([]*model.ConfigGroupItem, error)
    DeleteConfigGroupItem(appID, configGroupName string) error
}

AppConfigGroupItemDao Application config item group Dao

type AppConfigGroupServiceDao Uses

type AppConfigGroupServiceDao interface {
    Dao
    GetConfigGroupServicesByID(appID, configGroupName string) ([]*model.ConfigGroupService, error)
    DeleteConfigGroupService(appID, configGroupName string) error
    DeleteEffectiveServiceByServiceID(serviceID string) error
}

AppConfigGroupServiceDao service config group Dao

type AppDao Uses

type AppDao interface {
    Dao
    GetByEventId(eventID string) (*model.AppStatus, error)
    DeleteModelByEventId(eventID string) error
}

AppDao tenant dao

type ApplicationDao Uses

type ApplicationDao interface {
    Dao
    ListApps(tenantID, appName string, page, pageSize int) ([]*model.Application, int64, error)
    GetAppByID(appID string) (*model.Application, error)
    DeleteApp(appID string) error
    GetByServiceID(sid string) (*model.Application, error)
}

ApplicationDao tenant Application Dao

type CertificateDao Uses

type CertificateDao interface {
    Dao
    AddOrUpdate(mo model.Interface) error
    GetCertificateByID(certificateID string) (*model.Certificate, error)
}

CertificateDao -

type CodeCheckResultDao Uses

type CodeCheckResultDao interface {
    Dao
    GetCodeCheckResult(serviceID string) (*model.CodeCheckResult, error)
    DeleteByServiceID(serviceID string) error
}

CodeCheckResultDao CodeCheckResultDao

type Dao Uses

type Dao interface {
    AddModel(model.Interface) error
    UpdateModel(model.Interface) error
}

Dao 数据持久化层接口

type DelDao Uses

type DelDao interface {
    DeleteModel(serviceID string, arg ...interface{}) error
}

DelDao 删除接口

type EndpointsDao Uses

type EndpointsDao interface {
    Dao
    GetByUUID(uuid string) (*model.Endpoint, error)
    DelByUUID(uuid string) error
    List(sid string) ([]*model.Endpoint, error)
    ListIsOnline(sid string) ([]*model.Endpoint, error)
    DeleteByServiceID(sid string) error
}

EndpointsDao is an interface for defining method for operating table 3rd_party_svc_endpoints.

type EnterpriseDao Uses

type EnterpriseDao interface {
    GetEnterpriseTenants(enterpriseID string) ([]*model.Tenants, error)
}

EnterpriseDao enterprise dao

type EventDao Uses

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
    ListByTargetID(targetID string) ([]*model.ServiceEvent, error)
    GetEventsByTarget(target, targetID string, offset, liimt int) ([]*model.ServiceEvent, int, error)
    GetEventsByTenantID(tenantID string, offset, limit int) ([]*model.ServiceEvent, int, error)
    GetLastASyncEvent(target, targetID string) (*model.ServiceEvent, error)
    UnfinishedEvents(target, targetID string, optTypes ...string) ([]*model.ServiceEvent, error)
    LatestFailurePodEvent(podName string) (*model.ServiceEvent, error)
}

EventDao EventDao

type GwRuleConfigDao Uses

type GwRuleConfigDao interface {
    Dao
    DeleteByRuleID(rid string) error
    ListByRuleID(rid string) ([]*model.GwRuleConfig, error)
}

GwRuleConfigDao is the interface that wraps the required methods to execute curd for table gateway_rule_config.

type HTTPRuleDao Uses

type HTTPRuleDao interface {
    Dao
    GetHTTPRuleByID(id string) (*model.HTTPRule, error)
    GetHTTPRuleByServiceIDAndContainerPort(serviceID string, containerPort int) ([]*model.HTTPRule, error)
    GetHTTPRulesByCertificateID(certificateID string) ([]*model.HTTPRule, error)
    DeleteHTTPRuleByID(id string) error
    DeleteHTTPRuleByServiceID(serviceID string) error
    ListByServiceID(serviceID string) ([]*model.HTTPRule, error)
    ListByCertID(certID string) ([]*model.HTTPRule, error)
}

HTTPRuleDao -

type LicenseDao Uses

type LicenseDao interface {
    Dao
    //DeleteLicense(token string) error
    ListLicenses() ([]*model.LicenseInfo, error)
}

LicenseDao LicenseDao

type LocalSchedulerDao Uses

type LocalSchedulerDao interface {
    Dao
    GetLocalScheduler(serviceID string) ([]*model.LocalScheduler, error)
}

LocalSchedulerDao 本地调度信息

type MockAppBackupDao Uses

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

MockAppBackupDao is a mock of AppBackupDao interface.

func NewMockAppBackupDao Uses

func NewMockAppBackupDao(ctrl *gomock.Controller) *MockAppBackupDao

NewMockAppBackupDao creates a new mock instance.

func (*MockAppBackupDao) AddModel Uses

func (m *MockAppBackupDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockAppBackupDao) CheckHistory Uses

func (m *MockAppBackupDao) CheckHistory(groupID, version string) bool

CheckHistory mocks base method.

func (*MockAppBackupDao) DeleteAppBackup Uses

func (m *MockAppBackupDao) DeleteAppBackup(backupID string) error

DeleteAppBackup mocks base method.

func (*MockAppBackupDao) EXPECT Uses

func (m *MockAppBackupDao) EXPECT() *MockAppBackupDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppBackupDao) GetAppBackup Uses

func (m *MockAppBackupDao) GetAppBackup(backupID string) (*model.AppBackup, error)

GetAppBackup mocks base method.

func (*MockAppBackupDao) GetAppBackups Uses

func (m *MockAppBackupDao) GetAppBackups(groupID string) ([]*model.AppBackup, error)

GetAppBackups mocks base method.

func (*MockAppBackupDao) GetDeleteAppBackup Uses

func (m *MockAppBackupDao) GetDeleteAppBackup(backupID string) (*model.AppBackup, error)

GetDeleteAppBackup mocks base method.

func (*MockAppBackupDao) GetDeleteAppBackups Uses

func (m *MockAppBackupDao) GetDeleteAppBackups() ([]*model.AppBackup, error)

GetDeleteAppBackups mocks base method.

func (*MockAppBackupDao) UpdateModel Uses

func (m *MockAppBackupDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockAppBackupDaoMockRecorder Uses

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

MockAppBackupDaoMockRecorder is the mock recorder for MockAppBackupDao.

func (*MockAppBackupDaoMockRecorder) AddModel Uses

func (mr *MockAppBackupDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockAppBackupDaoMockRecorder) CheckHistory Uses

func (mr *MockAppBackupDaoMockRecorder) CheckHistory(groupID, version interface{}) *gomock.Call

CheckHistory indicates an expected call of CheckHistory.

func (*MockAppBackupDaoMockRecorder) DeleteAppBackup Uses

func (mr *MockAppBackupDaoMockRecorder) DeleteAppBackup(backupID interface{}) *gomock.Call

DeleteAppBackup indicates an expected call of DeleteAppBackup.

func (*MockAppBackupDaoMockRecorder) GetAppBackup Uses

func (mr *MockAppBackupDaoMockRecorder) GetAppBackup(backupID interface{}) *gomock.Call

GetAppBackup indicates an expected call of GetAppBackup.

func (*MockAppBackupDaoMockRecorder) GetAppBackups Uses

func (mr *MockAppBackupDaoMockRecorder) GetAppBackups(groupID interface{}) *gomock.Call

GetAppBackups indicates an expected call of GetAppBackups.

func (*MockAppBackupDaoMockRecorder) GetDeleteAppBackup Uses

func (mr *MockAppBackupDaoMockRecorder) GetDeleteAppBackup(backupID interface{}) *gomock.Call

GetDeleteAppBackup indicates an expected call of GetDeleteAppBackup.

func (*MockAppBackupDaoMockRecorder) GetDeleteAppBackups Uses

func (mr *MockAppBackupDaoMockRecorder) GetDeleteAppBackups() *gomock.Call

GetDeleteAppBackups indicates an expected call of GetDeleteAppBackups.

func (*MockAppBackupDaoMockRecorder) UpdateModel Uses

func (mr *MockAppBackupDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockAppConfigGroupDao Uses

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

MockAppConfigGroupDao is a mock of AppConfigGroupDao interface.

func NewMockAppConfigGroupDao Uses

func NewMockAppConfigGroupDao(ctrl *gomock.Controller) *MockAppConfigGroupDao

NewMockAppConfigGroupDao creates a new mock instance.

func (*MockAppConfigGroupDao) AddModel Uses

func (m *MockAppConfigGroupDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockAppConfigGroupDao) DeleteConfigGroup Uses

func (m *MockAppConfigGroupDao) DeleteConfigGroup(appID, configGroupName string) error

DeleteConfigGroup mocks base method.

func (*MockAppConfigGroupDao) EXPECT Uses

func (m *MockAppConfigGroupDao) EXPECT() *MockAppConfigGroupDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppConfigGroupDao) GetConfigGroupByID Uses

func (m *MockAppConfigGroupDao) GetConfigGroupByID(appID, configGroupName string) (*model.ApplicationConfigGroup, error)

GetConfigGroupByID mocks base method.

func (*MockAppConfigGroupDao) GetConfigGroupsByAppID Uses

func (m *MockAppConfigGroupDao) GetConfigGroupsByAppID(appID string, page, pageSize int) ([]*model.ApplicationConfigGroup, int64, error)

GetConfigGroupsByAppID mocks base method.

func (*MockAppConfigGroupDao) UpdateModel Uses

func (m *MockAppConfigGroupDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockAppConfigGroupDaoMockRecorder Uses

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

MockAppConfigGroupDaoMockRecorder is the mock recorder for MockAppConfigGroupDao.

func (*MockAppConfigGroupDaoMockRecorder) AddModel Uses

func (mr *MockAppConfigGroupDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockAppConfigGroupDaoMockRecorder) DeleteConfigGroup Uses

func (mr *MockAppConfigGroupDaoMockRecorder) DeleteConfigGroup(appID, configGroupName interface{}) *gomock.Call

DeleteConfigGroup indicates an expected call of DeleteConfigGroup.

func (*MockAppConfigGroupDaoMockRecorder) GetConfigGroupByID Uses

func (mr *MockAppConfigGroupDaoMockRecorder) GetConfigGroupByID(appID, configGroupName interface{}) *gomock.Call

GetConfigGroupByID indicates an expected call of GetConfigGroupByID.

func (*MockAppConfigGroupDaoMockRecorder) GetConfigGroupsByAppID Uses

func (mr *MockAppConfigGroupDaoMockRecorder) GetConfigGroupsByAppID(appID, page, pageSize interface{}) *gomock.Call

GetConfigGroupsByAppID indicates an expected call of GetConfigGroupsByAppID.

func (*MockAppConfigGroupDaoMockRecorder) UpdateModel Uses

func (mr *MockAppConfigGroupDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockAppConfigGroupItemDao Uses

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

MockAppConfigGroupItemDao is a mock of AppConfigGroupItemDao interface.

func NewMockAppConfigGroupItemDao Uses

func NewMockAppConfigGroupItemDao(ctrl *gomock.Controller) *MockAppConfigGroupItemDao

NewMockAppConfigGroupItemDao creates a new mock instance.

func (*MockAppConfigGroupItemDao) AddModel Uses

func (m *MockAppConfigGroupItemDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockAppConfigGroupItemDao) DeleteConfigGroupItem Uses

func (m *MockAppConfigGroupItemDao) DeleteConfigGroupItem(appID, configGroupName string) error

DeleteConfigGroupItem mocks base method.

func (*MockAppConfigGroupItemDao) EXPECT Uses

func (m *MockAppConfigGroupItemDao) EXPECT() *MockAppConfigGroupItemDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppConfigGroupItemDao) GetConfigGroupItemsByID Uses

func (m *MockAppConfigGroupItemDao) GetConfigGroupItemsByID(appID, configGroupName string) ([]*model.ConfigGroupItem, error)

GetConfigGroupItemsByID mocks base method.

func (*MockAppConfigGroupItemDao) UpdateModel Uses

func (m *MockAppConfigGroupItemDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockAppConfigGroupItemDaoMockRecorder Uses

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

MockAppConfigGroupItemDaoMockRecorder is the mock recorder for MockAppConfigGroupItemDao.

func (*MockAppConfigGroupItemDaoMockRecorder) AddModel Uses

func (mr *MockAppConfigGroupItemDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockAppConfigGroupItemDaoMockRecorder) DeleteConfigGroupItem Uses

func (mr *MockAppConfigGroupItemDaoMockRecorder) DeleteConfigGroupItem(appID, configGroupName interface{}) *gomock.Call

DeleteConfigGroupItem indicates an expected call of DeleteConfigGroupItem.

func (*MockAppConfigGroupItemDaoMockRecorder) GetConfigGroupItemsByID Uses

func (mr *MockAppConfigGroupItemDaoMockRecorder) GetConfigGroupItemsByID(appID, configGroupName interface{}) *gomock.Call

GetConfigGroupItemsByID indicates an expected call of GetConfigGroupItemsByID.

func (*MockAppConfigGroupItemDaoMockRecorder) UpdateModel Uses

func (mr *MockAppConfigGroupItemDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockAppConfigGroupServiceDao Uses

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

MockAppConfigGroupServiceDao is a mock of AppConfigGroupServiceDao interface.

func NewMockAppConfigGroupServiceDao Uses

func NewMockAppConfigGroupServiceDao(ctrl *gomock.Controller) *MockAppConfigGroupServiceDao

NewMockAppConfigGroupServiceDao creates a new mock instance.

func (*MockAppConfigGroupServiceDao) AddModel Uses

func (m *MockAppConfigGroupServiceDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockAppConfigGroupServiceDao) DeleteConfigGroupService Uses

func (m *MockAppConfigGroupServiceDao) DeleteConfigGroupService(appID, configGroupName string) error

DeleteConfigGroupService mocks base method.

func (*MockAppConfigGroupServiceDao) EXPECT Uses

func (m *MockAppConfigGroupServiceDao) EXPECT() *MockAppConfigGroupServiceDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppConfigGroupServiceDao) GetConfigGroupServicesByID Uses

func (m *MockAppConfigGroupServiceDao) GetConfigGroupServicesByID(appID, configGroupName string) ([]*model.ConfigGroupService, error)

GetConfigGroupServicesByID mocks base method.

func (*MockAppConfigGroupServiceDao) UpdateModel Uses

func (m *MockAppConfigGroupServiceDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockAppConfigGroupServiceDaoMockRecorder Uses

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

MockAppConfigGroupServiceDaoMockRecorder is the mock recorder for MockAppConfigGroupServiceDao.

func (*MockAppConfigGroupServiceDaoMockRecorder) AddModel Uses

func (mr *MockAppConfigGroupServiceDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockAppConfigGroupServiceDaoMockRecorder) DeleteConfigGroupService Uses

func (mr *MockAppConfigGroupServiceDaoMockRecorder) DeleteConfigGroupService(appID, configGroupName interface{}) *gomock.Call

DeleteConfigGroupService indicates an expected call of DeleteConfigGroupService.

func (*MockAppConfigGroupServiceDaoMockRecorder) GetConfigGroupServicesByID Uses

func (mr *MockAppConfigGroupServiceDaoMockRecorder) GetConfigGroupServicesByID(appID, configGroupName interface{}) *gomock.Call

GetConfigGroupServicesByID indicates an expected call of GetConfigGroupServicesByID.

func (*MockAppConfigGroupServiceDaoMockRecorder) UpdateModel Uses

func (mr *MockAppConfigGroupServiceDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockAppDao Uses

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

MockAppDao is a mock of AppDao interface.

func NewMockAppDao Uses

func NewMockAppDao(ctrl *gomock.Controller) *MockAppDao

NewMockAppDao creates a new mock instance.

func (*MockAppDao) AddModel Uses

func (m *MockAppDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockAppDao) DeleteModelByEventId Uses

func (m *MockAppDao) DeleteModelByEventId(eventID string) error

DeleteModelByEventId mocks base method.

func (*MockAppDao) EXPECT Uses

func (m *MockAppDao) EXPECT() *MockAppDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAppDao) GetByEventId Uses

func (m *MockAppDao) GetByEventId(eventID string) (*model.AppStatus, error)

GetByEventId mocks base method.

func (*MockAppDao) UpdateModel Uses

func (m *MockAppDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockAppDaoMockRecorder Uses

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

MockAppDaoMockRecorder is the mock recorder for MockAppDao.

func (*MockAppDaoMockRecorder) AddModel Uses

func (mr *MockAppDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockAppDaoMockRecorder) DeleteModelByEventId Uses

func (mr *MockAppDaoMockRecorder) DeleteModelByEventId(eventID interface{}) *gomock.Call

DeleteModelByEventId indicates an expected call of DeleteModelByEventId.

func (*MockAppDaoMockRecorder) GetByEventId Uses

func (mr *MockAppDaoMockRecorder) GetByEventId(eventID interface{}) *gomock.Call

GetByEventId indicates an expected call of GetByEventId.

func (*MockAppDaoMockRecorder) UpdateModel Uses

func (mr *MockAppDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockApplicationDao Uses

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

MockApplicationDao is a mock of ApplicationDao interface.

func NewMockApplicationDao Uses

func NewMockApplicationDao(ctrl *gomock.Controller) *MockApplicationDao

NewMockApplicationDao creates a new mock instance.

func (*MockApplicationDao) AddModel Uses

func (m *MockApplicationDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockApplicationDao) DeleteApp Uses

func (m *MockApplicationDao) DeleteApp(appID string) error

DeleteApp mocks base method.

func (*MockApplicationDao) EXPECT Uses

func (m *MockApplicationDao) EXPECT() *MockApplicationDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApplicationDao) GetAppByID Uses

func (m *MockApplicationDao) GetAppByID(appID string) (*model.Application, error)

GetAppByID mocks base method.

func (*MockApplicationDao) ListApps Uses

func (m *MockApplicationDao) ListApps(tenantID, appName string, page, pageSize int) ([]*model.Application, int64, error)

ListApps mocks base method.

func (*MockApplicationDao) UpdateModel Uses

func (m *MockApplicationDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockApplicationDaoMockRecorder Uses

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

MockApplicationDaoMockRecorder is the mock recorder for MockApplicationDao.

func (*MockApplicationDaoMockRecorder) AddModel Uses

func (mr *MockApplicationDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockApplicationDaoMockRecorder) DeleteApp Uses

func (mr *MockApplicationDaoMockRecorder) DeleteApp(appID interface{}) *gomock.Call

DeleteApp indicates an expected call of DeleteApp.

func (*MockApplicationDaoMockRecorder) GetAppByID Uses

func (mr *MockApplicationDaoMockRecorder) GetAppByID(appID interface{}) *gomock.Call

GetAppByID indicates an expected call of GetAppByID.

func (*MockApplicationDaoMockRecorder) ListApps Uses

func (mr *MockApplicationDaoMockRecorder) ListApps(tenantID, appName, page, pageSize interface{}) *gomock.Call

ListApps indicates an expected call of ListApps.

func (*MockApplicationDaoMockRecorder) UpdateModel Uses

func (mr *MockApplicationDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockCertificateDao Uses

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

MockCertificateDao is a mock of CertificateDao interface.

func NewMockCertificateDao Uses

func NewMockCertificateDao(ctrl *gomock.Controller) *MockCertificateDao

NewMockCertificateDao creates a new mock instance.

func (*MockCertificateDao) AddModel Uses

func (m *MockCertificateDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockCertificateDao) AddOrUpdate Uses

func (m *MockCertificateDao) AddOrUpdate(mo model.Interface) error

AddOrUpdate mocks base method.

func (*MockCertificateDao) EXPECT Uses

func (m *MockCertificateDao) EXPECT() *MockCertificateDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCertificateDao) GetCertificateByID Uses

func (m *MockCertificateDao) GetCertificateByID(certificateID string) (*model.Certificate, error)

GetCertificateByID mocks base method.

func (*MockCertificateDao) UpdateModel Uses

func (m *MockCertificateDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockCertificateDaoMockRecorder Uses

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

MockCertificateDaoMockRecorder is the mock recorder for MockCertificateDao.

func (*MockCertificateDaoMockRecorder) AddModel Uses

func (mr *MockCertificateDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockCertificateDaoMockRecorder) AddOrUpdate Uses

func (mr *MockCertificateDaoMockRecorder) AddOrUpdate(mo interface{}) *gomock.Call

AddOrUpdate indicates an expected call of AddOrUpdate.

func (*MockCertificateDaoMockRecorder) GetCertificateByID Uses

func (mr *MockCertificateDaoMockRecorder) GetCertificateByID(certificateID interface{}) *gomock.Call

GetCertificateByID indicates an expected call of GetCertificateByID.

func (*MockCertificateDaoMockRecorder) UpdateModel Uses

func (mr *MockCertificateDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockCodeCheckResultDao Uses

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

MockCodeCheckResultDao is a mock of CodeCheckResultDao interface.

func NewMockCodeCheckResultDao Uses

func NewMockCodeCheckResultDao(ctrl *gomock.Controller) *MockCodeCheckResultDao

NewMockCodeCheckResultDao creates a new mock instance.

func (*MockCodeCheckResultDao) AddModel Uses

func (m *MockCodeCheckResultDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockCodeCheckResultDao) DeleteByServiceID Uses

func (m *MockCodeCheckResultDao) DeleteByServiceID(serviceID string) error

DeleteByServiceID mocks base method.

func (*MockCodeCheckResultDao) EXPECT Uses

func (m *MockCodeCheckResultDao) EXPECT() *MockCodeCheckResultDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCodeCheckResultDao) GetCodeCheckResult Uses

func (m *MockCodeCheckResultDao) GetCodeCheckResult(serviceID string) (*model.CodeCheckResult, error)

GetCodeCheckResult mocks base method.

func (*MockCodeCheckResultDao) UpdateModel Uses

func (m *MockCodeCheckResultDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockCodeCheckResultDaoMockRecorder Uses

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

MockCodeCheckResultDaoMockRecorder is the mock recorder for MockCodeCheckResultDao.

func (*MockCodeCheckResultDaoMockRecorder) AddModel Uses

func (mr *MockCodeCheckResultDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockCodeCheckResultDaoMockRecorder) DeleteByServiceID Uses

func (mr *MockCodeCheckResultDaoMockRecorder) DeleteByServiceID(serviceID interface{}) *gomock.Call

DeleteByServiceID indicates an expected call of DeleteByServiceID.

func (*MockCodeCheckResultDaoMockRecorder) GetCodeCheckResult Uses

func (mr *MockCodeCheckResultDaoMockRecorder) GetCodeCheckResult(serviceID interface{}) *gomock.Call

GetCodeCheckResult indicates an expected call of GetCodeCheckResult.

func (*MockCodeCheckResultDaoMockRecorder) UpdateModel Uses

func (mr *MockCodeCheckResultDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockDao Uses

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

MockDao is a mock of Dao interface.

func NewMockDao Uses

func NewMockDao(ctrl *gomock.Controller) *MockDao

NewMockDao creates a new mock instance.

func (*MockDao) AddModel Uses

func (m *MockDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockDao) EXPECT Uses

func (m *MockDao) EXPECT() *MockDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDao) UpdateModel Uses

func (m *MockDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockDaoMockRecorder Uses

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

MockDaoMockRecorder is the mock recorder for MockDao.

func (*MockDaoMockRecorder) AddModel Uses

func (mr *MockDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockDaoMockRecorder) UpdateModel Uses

func (mr *MockDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockDelDao Uses

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

MockDelDao is a mock of DelDao interface.

func NewMockDelDao Uses

func NewMockDelDao(ctrl *gomock.Controller) *MockDelDao

NewMockDelDao creates a new mock instance.

func (*MockDelDao) DeleteModel Uses

func (m *MockDelDao) DeleteModel(serviceID string, arg ...interface{}) error

DeleteModel mocks base method.

func (*MockDelDao) EXPECT Uses

func (m *MockDelDao) EXPECT() *MockDelDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockDelDaoMockRecorder Uses

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

MockDelDaoMockRecorder is the mock recorder for MockDelDao.

func (*MockDelDaoMockRecorder) DeleteModel Uses

func (mr *MockDelDaoMockRecorder) DeleteModel(serviceID interface{}, arg ...interface{}) *gomock.Call

DeleteModel indicates an expected call of DeleteModel.

type MockEndpointsDao Uses

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

MockEndpointsDao is a mock of EndpointsDao interface.

func NewMockEndpointsDao Uses

func NewMockEndpointsDao(ctrl *gomock.Controller) *MockEndpointsDao

NewMockEndpointsDao creates a new mock instance.

func (*MockEndpointsDao) AddModel Uses

func (m *MockEndpointsDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockEndpointsDao) DelByUUID Uses

func (m *MockEndpointsDao) DelByUUID(uuid string) error

DelByUUID mocks base method.

func (*MockEndpointsDao) DeleteByServiceID Uses

func (m *MockEndpointsDao) DeleteByServiceID(sid string) error

DeleteByServiceID mocks base method.

func (*MockEndpointsDao) EXPECT Uses

func (m *MockEndpointsDao) EXPECT() *MockEndpointsDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEndpointsDao) GetByUUID Uses

func (m *MockEndpointsDao) GetByUUID(uuid string) (*model.Endpoint, error)

GetByUUID mocks base method.

func (*MockEndpointsDao) List Uses

func (m *MockEndpointsDao) List(sid string) ([]*model.Endpoint, error)

List mocks base method.

func (*MockEndpointsDao) ListIsOnline Uses

func (m *MockEndpointsDao) ListIsOnline(sid string) ([]*model.Endpoint, error)

ListIsOnline mocks base method.

func (*MockEndpointsDao) UpdateModel Uses

func (m *MockEndpointsDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockEndpointsDaoMockRecorder Uses

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

MockEndpointsDaoMockRecorder is the mock recorder for MockEndpointsDao.

func (*MockEndpointsDaoMockRecorder) AddModel Uses

func (mr *MockEndpointsDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockEndpointsDaoMockRecorder) DelByUUID Uses

func (mr *MockEndpointsDaoMockRecorder) DelByUUID(uuid interface{}) *gomock.Call

DelByUUID indicates an expected call of DelByUUID.

func (*MockEndpointsDaoMockRecorder) DeleteByServiceID Uses

func (mr *MockEndpointsDaoMockRecorder) DeleteByServiceID(sid interface{}) *gomock.Call

DeleteByServiceID indicates an expected call of DeleteByServiceID.

func (*MockEndpointsDaoMockRecorder) GetByUUID Uses

func (mr *MockEndpointsDaoMockRecorder) GetByUUID(uuid interface{}) *gomock.Call

GetByUUID indicates an expected call of GetByUUID.

func (*MockEndpointsDaoMockRecorder) List Uses

func (mr *MockEndpointsDaoMockRecorder) List(sid interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockEndpointsDaoMockRecorder) ListIsOnline Uses

func (mr *MockEndpointsDaoMockRecorder) ListIsOnline(sid interface{}) *gomock.Call

ListIsOnline indicates an expected call of ListIsOnline.

func (*MockEndpointsDaoMockRecorder) UpdateModel Uses

func (mr *MockEndpointsDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockEnterpriseDao Uses

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

MockEnterpriseDao is a mock of EnterpriseDao interface.

func NewMockEnterpriseDao Uses

func NewMockEnterpriseDao(ctrl *gomock.Controller) *MockEnterpriseDao

NewMockEnterpriseDao creates a new mock instance.

func (*MockEnterpriseDao) EXPECT Uses

func (m *MockEnterpriseDao) EXPECT() *MockEnterpriseDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEnterpriseDao) GetEnterpriseTenants Uses

func (m *MockEnterpriseDao) GetEnterpriseTenants(enterpriseID string) ([]*model.Tenants, error)

GetEnterpriseTenants mocks base method.

type MockEnterpriseDaoMockRecorder Uses

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

MockEnterpriseDaoMockRecorder is the mock recorder for MockEnterpriseDao.

func (*MockEnterpriseDaoMockRecorder) GetEnterpriseTenants Uses

func (mr *MockEnterpriseDaoMockRecorder) GetEnterpriseTenants(enterpriseID interface{}) *gomock.Call

GetEnterpriseTenants indicates an expected call of GetEnterpriseTenants.

type MockEventDao Uses

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

MockEventDao is a mock of EventDao interface.

func NewMockEventDao Uses

func NewMockEventDao(ctrl *gomock.Controller) *MockEventDao

NewMockEventDao creates a new mock instance.

func (*MockEventDao) AddModel Uses

func (m *MockEventDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockEventDao) DelEventByServiceID Uses

func (m *MockEventDao) DelEventByServiceID(serviceID string) error

DelEventByServiceID mocks base method.

func (*MockEventDao) EXPECT Uses

func (m *MockEventDao) EXPECT() *MockEventDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEventDao) GetEventByEventID Uses

func (m *MockEventDao) GetEventByEventID(eventID string) (*model.ServiceEvent, error)

GetEventByEventID mocks base method.

func (*MockEventDao) GetEventByEventIDs Uses

func (m *MockEventDao) GetEventByEventIDs(eventIDs []string) ([]*model.ServiceEvent, error)

GetEventByEventIDs mocks base method.

func (*MockEventDao) GetEventByServiceID Uses

func (m *MockEventDao) GetEventByServiceID(serviceID string) ([]*model.ServiceEvent, error)

GetEventByServiceID mocks base method.

func (*MockEventDao) GetEventsByTarget Uses

func (m *MockEventDao) GetEventsByTarget(target, targetID string, offset, liimt int) ([]*model.ServiceEvent, int, error)

GetEventsByTarget mocks base method.

func (*MockEventDao) GetEventsByTenantID Uses

func (m *MockEventDao) GetEventsByTenantID(tenantID string, offset, limit int) ([]*model.ServiceEvent, int, error)

GetEventsByTenantID mocks base method.

func (*MockEventDao) GetLastASyncEvent Uses

func (m *MockEventDao) GetLastASyncEvent(target, targetID string) (*model.ServiceEvent, error)

GetLastASyncEvent mocks base method.

func (*MockEventDao) LatestFailurePodEvent Uses

func (m *MockEventDao) LatestFailurePodEvent(podName string) (*model.ServiceEvent, error)

LatestFailurePodEvent mocks base method.

func (*MockEventDao) ListByTargetID Uses

func (m *MockEventDao) ListByTargetID(targetID string) ([]*model.ServiceEvent, error)

ListByTargetID mocks base method.

func (*MockEventDao) UnfinishedEvents Uses

func (m *MockEventDao) UnfinishedEvents(target, targetID string, optTypes ...string) ([]*model.ServiceEvent, error)

UnfinishedEvents mocks base method.

func (*MockEventDao) UpdateModel Uses

func (m *MockEventDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockEventDaoMockRecorder Uses

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

MockEventDaoMockRecorder is the mock recorder for MockEventDao.

func (*MockEventDaoMockRecorder) AddModel Uses

func (mr *MockEventDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockEventDaoMockRecorder) DelEventByServiceID Uses

func (mr *MockEventDaoMockRecorder) DelEventByServiceID(serviceID interface{}) *gomock.Call

DelEventByServiceID indicates an expected call of DelEventByServiceID.

func (*MockEventDaoMockRecorder) GetEventByEventID Uses

func (mr *MockEventDaoMockRecorder) GetEventByEventID(eventID interface{}) *gomock.Call

GetEventByEventID indicates an expected call of GetEventByEventID.

func (*MockEventDaoMockRecorder) GetEventByEventIDs Uses

func (mr *MockEventDaoMockRecorder) GetEventByEventIDs(eventIDs interface{}) *gomock.Call

GetEventByEventIDs indicates an expected call of GetEventByEventIDs.

func (*MockEventDaoMockRecorder) GetEventByServiceID Uses

func (mr *MockEventDaoMockRecorder) GetEventByServiceID(serviceID interface{}) *gomock.Call

GetEventByServiceID indicates an expected call of GetEventByServiceID.

func (*MockEventDaoMockRecorder) GetEventsByTarget Uses

func (mr *MockEventDaoMockRecorder) GetEventsByTarget(target, targetID, offset, liimt interface{}) *gomock.Call

GetEventsByTarget indicates an expected call of GetEventsByTarget.

func (*MockEventDaoMockRecorder) GetEventsByTenantID Uses

func (mr *MockEventDaoMockRecorder) GetEventsByTenantID(tenantID, offset, limit interface{}) *gomock.Call

GetEventsByTenantID indicates an expected call of GetEventsByTenantID.

func (*MockEventDaoMockRecorder) GetLastASyncEvent Uses

func (mr *MockEventDaoMockRecorder) GetLastASyncEvent(target, targetID interface{}) *gomock.Call

GetLastASyncEvent indicates an expected call of GetLastASyncEvent.

func (*MockEventDaoMockRecorder) LatestFailurePodEvent Uses

func (mr *MockEventDaoMockRecorder) LatestFailurePodEvent(podName interface{}) *gomock.Call

LatestFailurePodEvent indicates an expected call of LatestFailurePodEvent.

func (*MockEventDaoMockRecorder) ListByTargetID Uses

func (mr *MockEventDaoMockRecorder) ListByTargetID(targetID interface{}) *gomock.Call

ListByTargetID indicates an expected call of ListByTargetID.

func (*MockEventDaoMockRecorder) UnfinishedEvents Uses

func (mr *MockEventDaoMockRecorder) UnfinishedEvents(target, targetID interface{}, optTypes ...interface{}) *gomock.Call

UnfinishedEvents indicates an expected call of UnfinishedEvents.

func (*MockEventDaoMockRecorder) UpdateModel Uses

func (mr *MockEventDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockGwRuleConfigDao Uses

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

MockGwRuleConfigDao is a mock of GwRuleConfigDao interface.

func NewMockGwRuleConfigDao Uses

func NewMockGwRuleConfigDao(ctrl *gomock.Controller) *MockGwRuleConfigDao

NewMockGwRuleConfigDao creates a new mock instance.

func (*MockGwRuleConfigDao) AddModel Uses

func (m *MockGwRuleConfigDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockGwRuleConfigDao) DeleteByRuleID Uses

func (m *MockGwRuleConfigDao) DeleteByRuleID(rid string) error

DeleteByRuleID mocks base method.

func (*MockGwRuleConfigDao) EXPECT Uses

func (m *MockGwRuleConfigDao) EXPECT() *MockGwRuleConfigDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGwRuleConfigDao) ListByRuleID Uses

func (m *MockGwRuleConfigDao) ListByRuleID(rid string) ([]*model.GwRuleConfig, error)

ListByRuleID mocks base method.

func (*MockGwRuleConfigDao) UpdateModel Uses

func (m *MockGwRuleConfigDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockGwRuleConfigDaoMockRecorder Uses

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

MockGwRuleConfigDaoMockRecorder is the mock recorder for MockGwRuleConfigDao.

func (*MockGwRuleConfigDaoMockRecorder) AddModel Uses

func (mr *MockGwRuleConfigDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockGwRuleConfigDaoMockRecorder) DeleteByRuleID Uses

func (mr *MockGwRuleConfigDaoMockRecorder) DeleteByRuleID(rid interface{}) *gomock.Call

DeleteByRuleID indicates an expected call of DeleteByRuleID.

func (*MockGwRuleConfigDaoMockRecorder) ListByRuleID Uses

func (mr *MockGwRuleConfigDaoMockRecorder) ListByRuleID(rid interface{}) *gomock.Call

ListByRuleID indicates an expected call of ListByRuleID.

func (*MockGwRuleConfigDaoMockRecorder) UpdateModel Uses

func (mr *MockGwRuleConfigDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockHTTPRuleDao Uses

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

MockHTTPRuleDao is a mock of HTTPRuleDao interface.

func NewMockHTTPRuleDao Uses

func NewMockHTTPRuleDao(ctrl *gomock.Controller) *MockHTTPRuleDao

NewMockHTTPRuleDao creates a new mock instance.

func (*MockHTTPRuleDao) AddModel Uses

func (m *MockHTTPRuleDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockHTTPRuleDao) DeleteHTTPRuleByID Uses

func (m *MockHTTPRuleDao) DeleteHTTPRuleByID(id string) error

DeleteHTTPRuleByID mocks base method.

func (*MockHTTPRuleDao) DeleteHTTPRuleByServiceID Uses

func (m *MockHTTPRuleDao) DeleteHTTPRuleByServiceID(serviceID string) error

DeleteHTTPRuleByServiceID mocks base method.

func (*MockHTTPRuleDao) EXPECT Uses

func (m *MockHTTPRuleDao) EXPECT() *MockHTTPRuleDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHTTPRuleDao) GetHTTPRuleByID Uses

func (m *MockHTTPRuleDao) GetHTTPRuleByID(id string) (*model.HTTPRule, error)

GetHTTPRuleByID mocks base method.

func (*MockHTTPRuleDao) GetHTTPRuleByServiceIDAndContainerPort Uses

func (m *MockHTTPRuleDao) GetHTTPRuleByServiceIDAndContainerPort(serviceID string, containerPort int) ([]*model.HTTPRule, error)

GetHTTPRuleByServiceIDAndContainerPort mocks base method.

func (*MockHTTPRuleDao) GetHTTPRulesByCertificateID Uses

func (m *MockHTTPRuleDao) GetHTTPRulesByCertificateID(certificateID string) ([]*model.HTTPRule, error)

GetHTTPRulesByCertificateID mocks base method.

func (*MockHTTPRuleDao) ListByCertID Uses

func (m *MockHTTPRuleDao) ListByCertID(certID string) ([]*model.HTTPRule, error)

ListByCertID mocks base method.

func (*MockHTTPRuleDao) ListByServiceID Uses

func (m *MockHTTPRuleDao) ListByServiceID(serviceID string) ([]*model.HTTPRule, error)

ListByServiceID mocks base method.

func (*MockHTTPRuleDao) UpdateModel Uses

func (m *MockHTTPRuleDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockHTTPRuleDaoMockRecorder Uses

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

MockHTTPRuleDaoMockRecorder is the mock recorder for MockHTTPRuleDao.

func (*MockHTTPRuleDaoMockRecorder) AddModel Uses

func (mr *MockHTTPRuleDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockHTTPRuleDaoMockRecorder) DeleteHTTPRuleByID Uses

func (mr *MockHTTPRuleDaoMockRecorder) DeleteHTTPRuleByID(id interface{}) *gomock.Call

DeleteHTTPRuleByID indicates an expected call of DeleteHTTPRuleByID.

func (*MockHTTPRuleDaoMockRecorder) DeleteHTTPRuleByServiceID Uses

func (mr *MockHTTPRuleDaoMockRecorder) DeleteHTTPRuleByServiceID(serviceID interface{}) *gomock.Call

DeleteHTTPRuleByServiceID indicates an expected call of DeleteHTTPRuleByServiceID.

func (*MockHTTPRuleDaoMockRecorder) GetHTTPRuleByID Uses

func (mr *MockHTTPRuleDaoMockRecorder) GetHTTPRuleByID(id interface{}) *gomock.Call

GetHTTPRuleByID indicates an expected call of GetHTTPRuleByID.

func (*MockHTTPRuleDaoMockRecorder) GetHTTPRuleByServiceIDAndContainerPort Uses

func (mr *MockHTTPRuleDaoMockRecorder) GetHTTPRuleByServiceIDAndContainerPort(serviceID, containerPort interface{}) *gomock.Call

GetHTTPRuleByServiceIDAndContainerPort indicates an expected call of GetHTTPRuleByServiceIDAndContainerPort.

func (*MockHTTPRuleDaoMockRecorder) GetHTTPRulesByCertificateID Uses

func (mr *MockHTTPRuleDaoMockRecorder) GetHTTPRulesByCertificateID(certificateID interface{}) *gomock.Call

GetHTTPRulesByCertificateID indicates an expected call of GetHTTPRulesByCertificateID.

func (*MockHTTPRuleDaoMockRecorder) ListByCertID Uses

func (mr *MockHTTPRuleDaoMockRecorder) ListByCertID(certID interface{}) *gomock.Call

ListByCertID indicates an expected call of ListByCertID.

func (*MockHTTPRuleDaoMockRecorder) ListByServiceID Uses

func (mr *MockHTTPRuleDaoMockRecorder) ListByServiceID(serviceID interface{}) *gomock.Call

ListByServiceID indicates an expected call of ListByServiceID.

func (*MockHTTPRuleDaoMockRecorder) UpdateModel Uses

func (mr *MockHTTPRuleDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockLicenseDao Uses

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

MockLicenseDao is a mock of LicenseDao interface.

func NewMockLicenseDao Uses

func NewMockLicenseDao(ctrl *gomock.Controller) *MockLicenseDao

NewMockLicenseDao creates a new mock instance.

func (*MockLicenseDao) AddModel Uses

func (m *MockLicenseDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockLicenseDao) EXPECT Uses

func (m *MockLicenseDao) EXPECT() *MockLicenseDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLicenseDao) ListLicenses Uses

func (m *MockLicenseDao) ListLicenses() ([]*model.LicenseInfo, error)

ListLicenses mocks base method.

func (*MockLicenseDao) UpdateModel Uses

func (m *MockLicenseDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockLicenseDaoMockRecorder Uses

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

MockLicenseDaoMockRecorder is the mock recorder for MockLicenseDao.

func (*MockLicenseDaoMockRecorder) AddModel Uses

func (mr *MockLicenseDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockLicenseDaoMockRecorder) ListLicenses Uses

func (mr *MockLicenseDaoMockRecorder) ListLicenses() *gomock.Call

ListLicenses indicates an expected call of ListLicenses.

func (*MockLicenseDaoMockRecorder) UpdateModel Uses

func (mr *MockLicenseDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockLocalSchedulerDao Uses

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

MockLocalSchedulerDao is a mock of LocalSchedulerDao interface.

func NewMockLocalSchedulerDao Uses

func NewMockLocalSchedulerDao(ctrl *gomock.Controller) *MockLocalSchedulerDao

NewMockLocalSchedulerDao creates a new mock instance.

func (*MockLocalSchedulerDao) AddModel Uses

func (m *MockLocalSchedulerDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockLocalSchedulerDao) EXPECT Uses

func (m *MockLocalSchedulerDao) EXPECT() *MockLocalSchedulerDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLocalSchedulerDao) GetLocalScheduler Uses

func (m *MockLocalSchedulerDao) GetLocalScheduler(serviceID string) ([]*model.LocalScheduler, error)

GetLocalScheduler mocks base method.

func (*MockLocalSchedulerDao) UpdateModel Uses

func (m *MockLocalSchedulerDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockLocalSchedulerDaoMockRecorder Uses

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

MockLocalSchedulerDaoMockRecorder is the mock recorder for MockLocalSchedulerDao.

func (*MockLocalSchedulerDaoMockRecorder) AddModel Uses

func (mr *MockLocalSchedulerDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockLocalSchedulerDaoMockRecorder) GetLocalScheduler Uses

func (mr *MockLocalSchedulerDaoMockRecorder) GetLocalScheduler(serviceID interface{}) *gomock.Call

GetLocalScheduler indicates an expected call of GetLocalScheduler.

func (*MockLocalSchedulerDaoMockRecorder) UpdateModel Uses

func (mr *MockLocalSchedulerDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockNotificationEventDao Uses

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

MockNotificationEventDao is a mock of NotificationEventDao interface.

func NewMockNotificationEventDao Uses

func NewMockNotificationEventDao(ctrl *gomock.Controller) *MockNotificationEventDao

NewMockNotificationEventDao creates a new mock instance.

func (*MockNotificationEventDao) AddModel Uses

func (m *MockNotificationEventDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockNotificationEventDao) EXPECT Uses

func (m *MockNotificationEventDao) EXPECT() *MockNotificationEventDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNotificationEventDao) GetNotificationEventByHash Uses

func (m *MockNotificationEventDao) GetNotificationEventByHash(hash string) (*model.NotificationEvent, error)

GetNotificationEventByHash mocks base method.

func (*MockNotificationEventDao) GetNotificationEventByKind Uses

func (m *MockNotificationEventDao) GetNotificationEventByKind(kind, kindID string) ([]*model.NotificationEvent, error)

GetNotificationEventByKind mocks base method.

func (*MockNotificationEventDao) GetNotificationEventByTime Uses

func (m *MockNotificationEventDao) GetNotificationEventByTime(start, end time.Time) ([]*model.NotificationEvent, error)

GetNotificationEventByTime mocks base method.

func (*MockNotificationEventDao) GetNotificationEventNotHandle Uses

func (m *MockNotificationEventDao) GetNotificationEventNotHandle() ([]*model.NotificationEvent, error)

GetNotificationEventNotHandle mocks base method.

func (*MockNotificationEventDao) UpdateModel Uses

func (m *MockNotificationEventDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockNotificationEventDaoMockRecorder Uses

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

MockNotificationEventDaoMockRecorder is the mock recorder for MockNotificationEventDao.

func (*MockNotificationEventDaoMockRecorder) AddModel Uses

func (mr *MockNotificationEventDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockNotificationEventDaoMockRecorder) GetNotificationEventByHash Uses

func (mr *MockNotificationEventDaoMockRecorder) GetNotificationEventByHash(hash interface{}) *gomock.Call

GetNotificationEventByHash indicates an expected call of GetNotificationEventByHash.

func (*MockNotificationEventDaoMockRecorder) GetNotificationEventByKind Uses

func (mr *MockNotificationEventDaoMockRecorder) GetNotificationEventByKind(kind, kindID interface{}) *gomock.Call

GetNotificationEventByKind indicates an expected call of GetNotificationEventByKind.

func (*MockNotificationEventDaoMockRecorder) GetNotificationEventByTime Uses

func (mr *MockNotificationEventDaoMockRecorder) GetNotificationEventByTime(start, end interface{}) *gomock.Call

GetNotificationEventByTime indicates an expected call of GetNotificationEventByTime.

func (*MockNotificationEventDaoMockRecorder) GetNotificationEventNotHandle Uses

func (mr *MockNotificationEventDaoMockRecorder) GetNotificationEventNotHandle() *gomock.Call

GetNotificationEventNotHandle indicates an expected call of GetNotificationEventNotHandle.

func (*MockNotificationEventDaoMockRecorder) UpdateModel Uses

func (mr *MockNotificationEventDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockRegionAPIClassDao Uses

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

MockRegionAPIClassDao is a mock of RegionAPIClassDao interface.

func NewMockRegionAPIClassDao Uses

func NewMockRegionAPIClassDao(ctrl *gomock.Controller) *MockRegionAPIClassDao

NewMockRegionAPIClassDao creates a new mock instance.

func (*MockRegionAPIClassDao) AddModel Uses

func (m *MockRegionAPIClassDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockRegionAPIClassDao) DeletePrefixInClass Uses

func (m *MockRegionAPIClassDao) DeletePrefixInClass(apiClass, prefix string) error

DeletePrefixInClass mocks base method.

func (*MockRegionAPIClassDao) EXPECT Uses

func (m *MockRegionAPIClassDao) EXPECT() *MockRegionAPIClassDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegionAPIClassDao) GetPrefixesByClass Uses

func (m *MockRegionAPIClassDao) GetPrefixesByClass(apiClass string) ([]*model.RegionAPIClass, error)

GetPrefixesByClass mocks base method.

func (*MockRegionAPIClassDao) UpdateModel Uses

func (m *MockRegionAPIClassDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockRegionAPIClassDaoMockRecorder Uses

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

MockRegionAPIClassDaoMockRecorder is the mock recorder for MockRegionAPIClassDao.

func (*MockRegionAPIClassDaoMockRecorder) AddModel Uses

func (mr *MockRegionAPIClassDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockRegionAPIClassDaoMockRecorder) DeletePrefixInClass Uses

func (mr *MockRegionAPIClassDaoMockRecorder) DeletePrefixInClass(apiClass, prefix interface{}) *gomock.Call

DeletePrefixInClass indicates an expected call of DeletePrefixInClass.

func (*MockRegionAPIClassDaoMockRecorder) GetPrefixesByClass Uses

func (mr *MockRegionAPIClassDaoMockRecorder) GetPrefixesByClass(apiClass interface{}) *gomock.Call

GetPrefixesByClass indicates an expected call of GetPrefixesByClass.

func (*MockRegionAPIClassDaoMockRecorder) UpdateModel Uses

func (mr *MockRegionAPIClassDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockRegionProcotolsDao Uses

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

MockRegionProcotolsDao is a mock of RegionProcotolsDao interface.

func NewMockRegionProcotolsDao Uses

func NewMockRegionProcotolsDao(ctrl *gomock.Controller) *MockRegionProcotolsDao

NewMockRegionProcotolsDao creates a new mock instance.

func (*MockRegionProcotolsDao) AddModel Uses

func (m *MockRegionProcotolsDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockRegionProcotolsDao) EXPECT Uses

func (m *MockRegionProcotolsDao) EXPECT() *MockRegionProcotolsDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegionProcotolsDao) GetAllSupportProtocol Uses

func (m *MockRegionProcotolsDao) GetAllSupportProtocol(version string) ([]*model.RegionProcotols, error)

GetAllSupportProtocol mocks base method.

func (*MockRegionProcotolsDao) GetProtocolGroupByProtocolChild Uses

func (m *MockRegionProcotolsDao) GetProtocolGroupByProtocolChild(version, protocolChild string) (*model.RegionProcotols, error)

GetProtocolGroupByProtocolChild mocks base method.

func (*MockRegionProcotolsDao) UpdateModel Uses

func (m *MockRegionProcotolsDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockRegionProcotolsDaoMockRecorder Uses

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

MockRegionProcotolsDaoMockRecorder is the mock recorder for MockRegionProcotolsDao.

func (*MockRegionProcotolsDaoMockRecorder) AddModel Uses

func (mr *MockRegionProcotolsDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockRegionProcotolsDaoMockRecorder) GetAllSupportProtocol Uses

func (mr *MockRegionProcotolsDaoMockRecorder) GetAllSupportProtocol(version interface{}) *gomock.Call

GetAllSupportProtocol indicates an expected call of GetAllSupportProtocol.

func (*MockRegionProcotolsDaoMockRecorder) GetProtocolGroupByProtocolChild Uses

func (mr *MockRegionProcotolsDaoMockRecorder) GetProtocolGroupByProtocolChild(version, protocolChild interface{}) *gomock.Call

GetProtocolGroupByProtocolChild indicates an expected call of GetProtocolGroupByProtocolChild.

func (*MockRegionProcotolsDaoMockRecorder) UpdateModel Uses

func (mr *MockRegionProcotolsDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockRegionUserInfoDao Uses

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

MockRegionUserInfoDao is a mock of RegionUserInfoDao interface.

func NewMockRegionUserInfoDao Uses

func NewMockRegionUserInfoDao(ctrl *gomock.Controller) *MockRegionUserInfoDao

NewMockRegionUserInfoDao creates a new mock instance.

func (*MockRegionUserInfoDao) AddModel Uses

func (m *MockRegionUserInfoDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockRegionUserInfoDao) EXPECT Uses

func (m *MockRegionUserInfoDao) EXPECT() *MockRegionUserInfoDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegionUserInfoDao) GetALLTokenInValidityPeriod Uses

func (m *MockRegionUserInfoDao) GetALLTokenInValidityPeriod() ([]*model.RegionUserInfo, error)

GetALLTokenInValidityPeriod mocks base method.

func (*MockRegionUserInfoDao) GetTokenByEid Uses

func (m *MockRegionUserInfoDao) GetTokenByEid(eid string) (*model.RegionUserInfo, error)

GetTokenByEid mocks base method.

func (*MockRegionUserInfoDao) GetTokenByTokenID Uses

func (m *MockRegionUserInfoDao) GetTokenByTokenID(token string) (*model.RegionUserInfo, error)

GetTokenByTokenID mocks base method.

func (*MockRegionUserInfoDao) UpdateModel Uses

func (m *MockRegionUserInfoDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockRegionUserInfoDaoMockRecorder Uses

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

MockRegionUserInfoDaoMockRecorder is the mock recorder for MockRegionUserInfoDao.

func (*MockRegionUserInfoDaoMockRecorder) AddModel Uses

func (mr *MockRegionUserInfoDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockRegionUserInfoDaoMockRecorder) GetALLTokenInValidityPeriod Uses

func (mr *MockRegionUserInfoDaoMockRecorder) GetALLTokenInValidityPeriod() *gomock.Call

GetALLTokenInValidityPeriod indicates an expected call of GetALLTokenInValidityPeriod.

func (*MockRegionUserInfoDaoMockRecorder) GetTokenByEid Uses

func (mr *MockRegionUserInfoDaoMockRecorder) GetTokenByEid(eid interface{}) *gomock.Call

GetTokenByEid indicates an expected call of GetTokenByEid.

func (*MockRegionUserInfoDaoMockRecorder) GetTokenByTokenID Uses

func (mr *MockRegionUserInfoDaoMockRecorder) GetTokenByTokenID(token interface{}) *gomock.Call

GetTokenByTokenID indicates an expected call of GetTokenByTokenID.

func (*MockRegionUserInfoDaoMockRecorder) UpdateModel Uses

func (mr *MockRegionUserInfoDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockRuleExtensionDao Uses

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

MockRuleExtensionDao is a mock of RuleExtensionDao interface.

func NewMockRuleExtensionDao Uses

func NewMockRuleExtensionDao(ctrl *gomock.Controller) *MockRuleExtensionDao

NewMockRuleExtensionDao creates a new mock instance.

func (*MockRuleExtensionDao) AddModel Uses

func (m *MockRuleExtensionDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockRuleExtensionDao) DeleteRuleExtensionByRuleID Uses

func (m *MockRuleExtensionDao) DeleteRuleExtensionByRuleID(ruleID string) error

DeleteRuleExtensionByRuleID mocks base method.

func (*MockRuleExtensionDao) EXPECT Uses

func (m *MockRuleExtensionDao) EXPECT() *MockRuleExtensionDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRuleExtensionDao) GetRuleExtensionByRuleID Uses

func (m *MockRuleExtensionDao) GetRuleExtensionByRuleID(ruleID string) ([]*model.RuleExtension, error)

GetRuleExtensionByRuleID mocks base method.

func (*MockRuleExtensionDao) UpdateModel Uses

func (m *MockRuleExtensionDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockRuleExtensionDaoMockRecorder Uses

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

MockRuleExtensionDaoMockRecorder is the mock recorder for MockRuleExtensionDao.

func (*MockRuleExtensionDaoMockRecorder) AddModel Uses

func (mr *MockRuleExtensionDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockRuleExtensionDaoMockRecorder) DeleteRuleExtensionByRuleID Uses

func (mr *MockRuleExtensionDaoMockRecorder) DeleteRuleExtensionByRuleID(ruleID interface{}) *gomock.Call

DeleteRuleExtensionByRuleID indicates an expected call of DeleteRuleExtensionByRuleID.

func (*MockRuleExtensionDaoMockRecorder) GetRuleExtensionByRuleID Uses

func (mr *MockRuleExtensionDaoMockRecorder) GetRuleExtensionByRuleID(ruleID interface{}) *gomock.Call

GetRuleExtensionByRuleID indicates an expected call of GetRuleExtensionByRuleID.

func (*MockRuleExtensionDaoMockRecorder) UpdateModel Uses

func (mr *MockRuleExtensionDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockServiceProbeDao Uses

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

MockServiceProbeDao is a mock of ServiceProbeDao interface.

func NewMockServiceProbeDao Uses

func NewMockServiceProbeDao(ctrl *gomock.Controller) *MockServiceProbeDao

NewMockServiceProbeDao creates a new mock instance.

func (*MockServiceProbeDao) AddModel Uses

func (m *MockServiceProbeDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockServiceProbeDao) DELServiceProbesByServiceID Uses

func (m *MockServiceProbeDao) DELServiceProbesByServiceID(serviceID string) error

DELServiceProbesByServiceID mocks base method.

func (*MockServiceProbeDao) DelByServiceID Uses

func (m *MockServiceProbeDao) DelByServiceID(sid string) error

DelByServiceID mocks base method.

func (*MockServiceProbeDao) DeleteModel Uses

func (m *MockServiceProbeDao) DeleteModel(serviceID string, arg ...interface{}) error

DeleteModel mocks base method.

func (*MockServiceProbeDao) EXPECT Uses

func (m *MockServiceProbeDao) EXPECT() *MockServiceProbeDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServiceProbeDao) GetServiceProbes Uses

func (m *MockServiceProbeDao) GetServiceProbes(serviceID string) ([]*model.TenantServiceProbe, error)

GetServiceProbes mocks base method.

func (*MockServiceProbeDao) GetServiceUsedProbe Uses

func (m *MockServiceProbeDao) GetServiceUsedProbe(serviceID, mode string) (*model.TenantServiceProbe, error)

GetServiceUsedProbe mocks base method.

func (*MockServiceProbeDao) UpdateModel Uses

func (m *MockServiceProbeDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockServiceProbeDaoMockRecorder Uses

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

MockServiceProbeDaoMockRecorder is the mock recorder for MockServiceProbeDao.

func (*MockServiceProbeDaoMockRecorder) AddModel Uses

func (mr *MockServiceProbeDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockServiceProbeDaoMockRecorder) DELServiceProbesByServiceID Uses

func (mr *MockServiceProbeDaoMockRecorder) DELServiceProbesByServiceID(serviceID interface{}) *gomock.Call

DELServiceProbesByServiceID indicates an expected call of DELServiceProbesByServiceID.

func (*MockServiceProbeDaoMockRecorder) DelByServiceID Uses

func (mr *MockServiceProbeDaoMockRecorder) DelByServiceID(sid interface{}) *gomock.Call

DelByServiceID indicates an expected call of DelByServiceID.

func (*MockServiceProbeDaoMockRecorder) DeleteModel Uses

func (mr *MockServiceProbeDaoMockRecorder) DeleteModel(serviceID interface{}, arg ...interface{}) *gomock.Call

DeleteModel indicates an expected call of DeleteModel.

func (*MockServiceProbeDaoMockRecorder) GetServiceProbes Uses

func (mr *MockServiceProbeDaoMockRecorder) GetServiceProbes(serviceID interface{}) *gomock.Call

GetServiceProbes indicates an expected call of GetServiceProbes.

func (*MockServiceProbeDaoMockRecorder) GetServiceUsedProbe Uses

func (mr *MockServiceProbeDaoMockRecorder) GetServiceUsedProbe(serviceID, mode interface{}) *gomock.Call

GetServiceUsedProbe indicates an expected call of GetServiceUsedProbe.

func (*MockServiceProbeDaoMockRecorder) UpdateModel Uses

func (mr *MockServiceProbeDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockServiceSourceDao Uses

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

MockServiceSourceDao is a mock of ServiceSourceDao interface.

func NewMockServiceSourceDao Uses

func NewMockServiceSourceDao(ctrl *gomock.Controller) *MockServiceSourceDao

NewMockServiceSourceDao creates a new mock instance.

func (*MockServiceSourceDao) AddModel Uses

func (m *MockServiceSourceDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockServiceSourceDao) EXPECT Uses

func (m *MockServiceSourceDao) EXPECT() *MockServiceSourceDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServiceSourceDao) GetServiceSource Uses

func (m *MockServiceSourceDao) GetServiceSource(serviceID string) ([]*model.ServiceSourceConfig, error)

GetServiceSource mocks base method.

func (*MockServiceSourceDao) UpdateModel Uses

func (m *MockServiceSourceDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockServiceSourceDaoMockRecorder Uses

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

MockServiceSourceDaoMockRecorder is the mock recorder for MockServiceSourceDao.

func (*MockServiceSourceDaoMockRecorder) AddModel Uses

func (mr *MockServiceSourceDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockServiceSourceDaoMockRecorder) GetServiceSource Uses

func (mr *MockServiceSourceDaoMockRecorder) GetServiceSource(serviceID interface{}) *gomock.Call

GetServiceSource indicates an expected call of GetServiceSource.

func (*MockServiceSourceDaoMockRecorder) UpdateModel Uses

func (mr *MockServiceSourceDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTCPRuleDao Uses

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

MockTCPRuleDao is a mock of TCPRuleDao interface.

func NewMockTCPRuleDao Uses

func NewMockTCPRuleDao(ctrl *gomock.Controller) *MockTCPRuleDao

NewMockTCPRuleDao creates a new mock instance.

func (*MockTCPRuleDao) AddModel Uses

func (m *MockTCPRuleDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTCPRuleDao) DeleteByID Uses

func (m *MockTCPRuleDao) DeleteByID(uuid string) error

DeleteByID mocks base method.

func (*MockTCPRuleDao) DeleteTCPRuleByServiceID Uses

func (m *MockTCPRuleDao) DeleteTCPRuleByServiceID(serviceID string) error

DeleteTCPRuleByServiceID mocks base method.

func (*MockTCPRuleDao) EXPECT Uses

func (m *MockTCPRuleDao) EXPECT() *MockTCPRuleDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTCPRuleDao) GetTCPRuleByID Uses

func (m *MockTCPRuleDao) GetTCPRuleByID(id string) (*model.TCPRule, error)

GetTCPRuleByID mocks base method.

func (*MockTCPRuleDao) GetTCPRuleByServiceID Uses

func (m *MockTCPRuleDao) GetTCPRuleByServiceID(sid string) ([]*model.TCPRule, error)

GetTCPRuleByServiceID mocks base method.

func (*MockTCPRuleDao) GetTCPRuleByServiceIDAndContainerPort Uses

func (m *MockTCPRuleDao) GetTCPRuleByServiceIDAndContainerPort(serviceID string, containerPort int) ([]*model.TCPRule, error)

GetTCPRuleByServiceIDAndContainerPort mocks base method.

func (*MockTCPRuleDao) GetUsedPortsByIP Uses

func (m *MockTCPRuleDao) GetUsedPortsByIP(ip string) ([]*model.TCPRule, error)

GetUsedPortsByIP mocks base method.

func (*MockTCPRuleDao) ListByServiceID Uses

func (m *MockTCPRuleDao) ListByServiceID(serviceID string) ([]*model.TCPRule, error)

ListByServiceID mocks base method.

func (*MockTCPRuleDao) UpdateModel Uses

func (m *MockTCPRuleDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTCPRuleDaoMockRecorder Uses

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

MockTCPRuleDaoMockRecorder is the mock recorder for MockTCPRuleDao.

func (*MockTCPRuleDaoMockRecorder) AddModel Uses

func (mr *MockTCPRuleDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTCPRuleDaoMockRecorder) DeleteByID Uses

func (mr *MockTCPRuleDaoMockRecorder) DeleteByID(uuid interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockTCPRuleDaoMockRecorder) DeleteTCPRuleByServiceID Uses

func (mr *MockTCPRuleDaoMockRecorder) DeleteTCPRuleByServiceID(serviceID interface{}) *gomock.Call

DeleteTCPRuleByServiceID indicates an expected call of DeleteTCPRuleByServiceID.

func (*MockTCPRuleDaoMockRecorder) GetTCPRuleByID Uses

func (mr *MockTCPRuleDaoMockRecorder) GetTCPRuleByID(id interface{}) *gomock.Call

GetTCPRuleByID indicates an expected call of GetTCPRuleByID.

func (*MockTCPRuleDaoMockRecorder) GetTCPRuleByServiceID Uses

func (mr *MockTCPRuleDaoMockRecorder) GetTCPRuleByServiceID(sid interface{}) *gomock.Call

GetTCPRuleByServiceID indicates an expected call of GetTCPRuleByServiceID.

func (*MockTCPRuleDaoMockRecorder) GetTCPRuleByServiceIDAndContainerPort Uses

func (mr *MockTCPRuleDaoMockRecorder) GetTCPRuleByServiceIDAndContainerPort(serviceID, containerPort interface{}) *gomock.Call

GetTCPRuleByServiceIDAndContainerPort indicates an expected call of GetTCPRuleByServiceIDAndContainerPort.

func (*MockTCPRuleDaoMockRecorder) GetUsedPortsByIP Uses

func (mr *MockTCPRuleDaoMockRecorder) GetUsedPortsByIP(ip interface{}) *gomock.Call

GetUsedPortsByIP indicates an expected call of GetUsedPortsByIP.

func (*MockTCPRuleDaoMockRecorder) ListByServiceID Uses

func (mr *MockTCPRuleDaoMockRecorder) ListByServiceID(serviceID interface{}) *gomock.Call

ListByServiceID indicates an expected call of ListByServiceID.

func (*MockTCPRuleDaoMockRecorder) UpdateModel Uses

func (mr *MockTCPRuleDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantDao Uses

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

MockTenantDao is a mock of TenantDao interface.

func NewMockTenantDao Uses

func NewMockTenantDao(ctrl *gomock.Controller) *MockTenantDao

NewMockTenantDao creates a new mock instance.

func (*MockTenantDao) AddModel Uses

func (m *MockTenantDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantDao) DelByTenantID Uses

func (m *MockTenantDao) DelByTenantID(tenantID string) error

DelByTenantID mocks base method.

func (*MockTenantDao) EXPECT Uses

func (m *MockTenantDao) EXPECT() *MockTenantDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantDao) GetALLTenants Uses

func (m *MockTenantDao) GetALLTenants(query string) ([]*model.Tenants, error)

GetALLTenants mocks base method.

func (*MockTenantDao) GetPagedTenants Uses

func (m *MockTenantDao) GetPagedTenants(offset, len int) ([]*model.Tenants, error)

GetPagedTenants mocks base method.

func (*MockTenantDao) GetTenantByEid Uses

func (m *MockTenantDao) GetTenantByEid(eid, query string) ([]*model.Tenants, error)

GetTenantByEid mocks base method.

func (*MockTenantDao) GetTenantByUUID Uses

func (m *MockTenantDao) GetTenantByUUID(uuid string) (*model.Tenants, error)

GetTenantByUUID mocks base method.

func (*MockTenantDao) GetTenantByUUIDIsExist Uses

func (m *MockTenantDao) GetTenantByUUIDIsExist(uuid string) bool

GetTenantByUUIDIsExist mocks base method.

func (*MockTenantDao) GetTenantIDByName Uses

func (m *MockTenantDao) GetTenantIDByName(tenantName string) (*model.Tenants, error)

GetTenantIDByName mocks base method.

func (*MockTenantDao) GetTenantIDsByNames Uses

func (m *MockTenantDao) GetTenantIDsByNames(names []string) ([]string, error)

GetTenantIDsByNames mocks base method.

func (*MockTenantDao) GetTenantLimitsByNames Uses

func (m *MockTenantDao) GetTenantLimitsByNames(names []string) (map[string]int, error)

GetTenantLimitsByNames mocks base method.

func (*MockTenantDao) UpdateModel Uses

func (m *MockTenantDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantDaoMockRecorder Uses

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

MockTenantDaoMockRecorder is the mock recorder for MockTenantDao.

func (*MockTenantDaoMockRecorder) AddModel Uses

func (mr *MockTenantDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantDaoMockRecorder) DelByTenantID Uses

func (mr *MockTenantDaoMockRecorder) DelByTenantID(tenantID interface{}) *gomock.Call

DelByTenantID indicates an expected call of DelByTenantID.

func (*MockTenantDaoMockRecorder) GetALLTenants Uses

func (mr *MockTenantDaoMockRecorder) GetALLTenants(query interface{}) *gomock.Call

GetALLTenants indicates an expected call of GetALLTenants.

func (*MockTenantDaoMockRecorder) GetPagedTenants Uses

func (mr *MockTenantDaoMockRecorder) GetPagedTenants(offset, len interface{}) *gomock.Call

GetPagedTenants indicates an expected call of GetPagedTenants.

func (*MockTenantDaoMockRecorder) GetTenantByEid Uses

func (mr *MockTenantDaoMockRecorder) GetTenantByEid(eid, query interface{}) *gomock.Call

GetTenantByEid indicates an expected call of GetTenantByEid.

func (*MockTenantDaoMockRecorder) GetTenantByUUID Uses

func (mr *MockTenantDaoMockRecorder) GetTenantByUUID(uuid interface{}) *gomock.Call

GetTenantByUUID indicates an expected call of GetTenantByUUID.

func (*MockTenantDaoMockRecorder) GetTenantByUUIDIsExist Uses

func (mr *MockTenantDaoMockRecorder) GetTenantByUUIDIsExist(uuid interface{}) *gomock.Call

GetTenantByUUIDIsExist indicates an expected call of GetTenantByUUIDIsExist.

func (*MockTenantDaoMockRecorder) GetTenantIDByName Uses

func (mr *MockTenantDaoMockRecorder) GetTenantIDByName(tenantName interface{}) *gomock.Call

GetTenantIDByName indicates an expected call of GetTenantIDByName.

func (*MockTenantDaoMockRecorder) GetTenantIDsByNames Uses

func (mr *MockTenantDaoMockRecorder) GetTenantIDsByNames(names interface{}) *gomock.Call

GetTenantIDsByNames indicates an expected call of GetTenantIDsByNames.

func (*MockTenantDaoMockRecorder) GetTenantLimitsByNames Uses

func (mr *MockTenantDaoMockRecorder) GetTenantLimitsByNames(names interface{}) *gomock.Call

GetTenantLimitsByNames indicates an expected call of GetTenantLimitsByNames.

func (*MockTenantDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantPluginBuildVersionDao Uses

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

MockTenantPluginBuildVersionDao is a mock of TenantPluginBuildVersionDao interface.

func NewMockTenantPluginBuildVersionDao Uses

func NewMockTenantPluginBuildVersionDao(ctrl *gomock.Controller) *MockTenantPluginBuildVersionDao

NewMockTenantPluginBuildVersionDao creates a new mock instance.

func (*MockTenantPluginBuildVersionDao) AddModel Uses

func (m *MockTenantPluginBuildVersionDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantPluginBuildVersionDao) DeleteBuildVersionByPluginID Uses

func (m *MockTenantPluginBuildVersionDao) DeleteBuildVersionByPluginID(pluginID string) error

DeleteBuildVersionByPluginID mocks base method.

func (*MockTenantPluginBuildVersionDao) DeleteBuildVersionByVersionID Uses

func (m *MockTenantPluginBuildVersionDao) DeleteBuildVersionByVersionID(versionID string) error

DeleteBuildVersionByVersionID mocks base method.

func (*MockTenantPluginBuildVersionDao) EXPECT Uses

func (m *MockTenantPluginBuildVersionDao) EXPECT() *MockTenantPluginBuildVersionDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantPluginBuildVersionDao) GetBuildVersionByDeployVersion Uses

func (m *MockTenantPluginBuildVersionDao) GetBuildVersionByDeployVersion(pluginID, versionID, deployVersion string) (*model.TenantPluginBuildVersion, error)

GetBuildVersionByDeployVersion mocks base method.

func (*MockTenantPluginBuildVersionDao) GetBuildVersionByPluginID Uses

func (m *MockTenantPluginBuildVersionDao) GetBuildVersionByPluginID(pluginID string) ([]*model.TenantPluginBuildVersion, error)

GetBuildVersionByPluginID mocks base method.

func (*MockTenantPluginBuildVersionDao) GetBuildVersionByVersionID Uses

func (m *MockTenantPluginBuildVersionDao) GetBuildVersionByVersionID(pluginID, versionID string) (*model.TenantPluginBuildVersion, error)

GetBuildVersionByVersionID mocks base method.

func (*MockTenantPluginBuildVersionDao) GetLastBuildVersionByVersionID Uses

func (m *MockTenantPluginBuildVersionDao) GetLastBuildVersionByVersionID(pluginID, versionID string) (*model.TenantPluginBuildVersion, error)

GetLastBuildVersionByVersionID mocks base method.

func (*MockTenantPluginBuildVersionDao) ListSuccessfulOnesByPluginIDs Uses

func (m *MockTenantPluginBuildVersionDao) ListSuccessfulOnesByPluginIDs(pluginIDs []string) ([]*model.TenantPluginBuildVersion, error)

ListSuccessfulOnesByPluginIDs mocks base method.

func (*MockTenantPluginBuildVersionDao) UpdateModel Uses

func (m *MockTenantPluginBuildVersionDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantPluginBuildVersionDaoMockRecorder Uses

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

MockTenantPluginBuildVersionDaoMockRecorder is the mock recorder for MockTenantPluginBuildVersionDao.

func (*MockTenantPluginBuildVersionDaoMockRecorder) AddModel Uses

func (mr *MockTenantPluginBuildVersionDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantPluginBuildVersionDaoMockRecorder) DeleteBuildVersionByPluginID Uses

func (mr *MockTenantPluginBuildVersionDaoMockRecorder) DeleteBuildVersionByPluginID(pluginID interface{}) *gomock.Call

DeleteBuildVersionByPluginID indicates an expected call of DeleteBuildVersionByPluginID.

func (*MockTenantPluginBuildVersionDaoMockRecorder) DeleteBuildVersionByVersionID Uses

func (mr *MockTenantPluginBuildVersionDaoMockRecorder) DeleteBuildVersionByVersionID(versionID interface{}) *gomock.Call

DeleteBuildVersionByVersionID indicates an expected call of DeleteBuildVersionByVersionID.

func (*MockTenantPluginBuildVersionDaoMockRecorder) GetBuildVersionByDeployVersion Uses

func (mr *MockTenantPluginBuildVersionDaoMockRecorder) GetBuildVersionByDeployVersion(pluginID, versionID, deployVersion interface{}) *gomock.Call

GetBuildVersionByDeployVersion indicates an expected call of GetBuildVersionByDeployVersion.

func (*MockTenantPluginBuildVersionDaoMockRecorder) GetBuildVersionByPluginID Uses

func (mr *MockTenantPluginBuildVersionDaoMockRecorder) GetBuildVersionByPluginID(pluginID interface{}) *gomock.Call

GetBuildVersionByPluginID indicates an expected call of GetBuildVersionByPluginID.

func (*MockTenantPluginBuildVersionDaoMockRecorder) GetBuildVersionByVersionID Uses

func (mr *MockTenantPluginBuildVersionDaoMockRecorder) GetBuildVersionByVersionID(pluginID, versionID interface{}) *gomock.Call

GetBuildVersionByVersionID indicates an expected call of GetBuildVersionByVersionID.

func (*MockTenantPluginBuildVersionDaoMockRecorder) GetLastBuildVersionByVersionID Uses

func (mr *MockTenantPluginBuildVersionDaoMockRecorder) GetLastBuildVersionByVersionID(pluginID, versionID interface{}) *gomock.Call

GetLastBuildVersionByVersionID indicates an expected call of GetLastBuildVersionByVersionID.

func (*MockTenantPluginBuildVersionDaoMockRecorder) ListSuccessfulOnesByPluginIDs Uses

func (mr *MockTenantPluginBuildVersionDaoMockRecorder) ListSuccessfulOnesByPluginIDs(pluginIDs interface{}) *gomock.Call

ListSuccessfulOnesByPluginIDs indicates an expected call of ListSuccessfulOnesByPluginIDs.

func (*MockTenantPluginBuildVersionDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantPluginBuildVersionDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantPluginDao Uses

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

MockTenantPluginDao is a mock of TenantPluginDao interface.

func NewMockTenantPluginDao Uses

func NewMockTenantPluginDao(ctrl *gomock.Controller) *MockTenantPluginDao

NewMockTenantPluginDao creates a new mock instance.

func (*MockTenantPluginDao) AddModel Uses

func (m *MockTenantPluginDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantPluginDao) DeletePluginByID Uses

func (m *MockTenantPluginDao) DeletePluginByID(pluginID, tenantID string) error

DeletePluginByID mocks base method.

func (*MockTenantPluginDao) EXPECT Uses

func (m *MockTenantPluginDao) EXPECT() *MockTenantPluginDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantPluginDao) GetPluginByID Uses

func (m *MockTenantPluginDao) GetPluginByID(pluginID, tenantID string) (*model.TenantPlugin, error)

GetPluginByID mocks base method.

func (*MockTenantPluginDao) GetPluginsByTenantID Uses

func (m *MockTenantPluginDao) GetPluginsByTenantID(tenantID string) ([]*model.TenantPlugin, error)

GetPluginsByTenantID mocks base method.

func (*MockTenantPluginDao) ListByIDs Uses

func (m *MockTenantPluginDao) ListByIDs(ids []string) ([]*model.TenantPlugin, error)

ListByIDs mocks base method.

func (*MockTenantPluginDao) ListByTenantID Uses

func (m *MockTenantPluginDao) ListByTenantID(tenantID string) ([]*model.TenantPlugin, error)

ListByTenantID mocks base method.

func (*MockTenantPluginDao) UpdateModel Uses

func (m *MockTenantPluginDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantPluginDaoMockRecorder Uses

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

MockTenantPluginDaoMockRecorder is the mock recorder for MockTenantPluginDao.

func (*MockTenantPluginDaoMockRecorder) AddModel Uses

func (mr *MockTenantPluginDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantPluginDaoMockRecorder) DeletePluginByID Uses

func (mr *MockTenantPluginDaoMockRecorder) DeletePluginByID(pluginID, tenantID interface{}) *gomock.Call

DeletePluginByID indicates an expected call of DeletePluginByID.

func (*MockTenantPluginDaoMockRecorder) GetPluginByID Uses

func (mr *MockTenantPluginDaoMockRecorder) GetPluginByID(pluginID, tenantID interface{}) *gomock.Call

GetPluginByID indicates an expected call of GetPluginByID.

func (*MockTenantPluginDaoMockRecorder) GetPluginsByTenantID Uses

func (mr *MockTenantPluginDaoMockRecorder) GetPluginsByTenantID(tenantID interface{}) *gomock.Call

GetPluginsByTenantID indicates an expected call of GetPluginsByTenantID.

func (*MockTenantPluginDaoMockRecorder) ListByIDs Uses

func (mr *MockTenantPluginDaoMockRecorder) ListByIDs(ids interface{}) *gomock.Call

ListByIDs indicates an expected call of ListByIDs.

func (*MockTenantPluginDaoMockRecorder) ListByTenantID Uses

func (mr *MockTenantPluginDaoMockRecorder) ListByTenantID(tenantID interface{}) *gomock.Call

ListByTenantID indicates an expected call of ListByTenantID.

func (*MockTenantPluginDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantPluginDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantPluginDefaultENVDao Uses

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

MockTenantPluginDefaultENVDao is a mock of TenantPluginDefaultENVDao interface.

func NewMockTenantPluginDefaultENVDao Uses

func NewMockTenantPluginDefaultENVDao(ctrl *gomock.Controller) *MockTenantPluginDefaultENVDao

NewMockTenantPluginDefaultENVDao creates a new mock instance.

func (*MockTenantPluginDefaultENVDao) AddModel Uses

func (m *MockTenantPluginDefaultENVDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantPluginDefaultENVDao) DeleteAllDefaultENVByPluginID Uses

func (m *MockTenantPluginDefaultENVDao) DeleteAllDefaultENVByPluginID(PluginID string) error

DeleteAllDefaultENVByPluginID mocks base method.

func (*MockTenantPluginDefaultENVDao) DeleteDefaultENVByName Uses

func (m *MockTenantPluginDefaultENVDao) DeleteDefaultENVByName(pluginID, name, versionID string) error

DeleteDefaultENVByName mocks base method.

func (*MockTenantPluginDefaultENVDao) DeleteDefaultENVByPluginIDAndVersionID Uses

func (m *MockTenantPluginDefaultENVDao) DeleteDefaultENVByPluginIDAndVersionID(pluginID, versionID string) error

DeleteDefaultENVByPluginIDAndVersionID mocks base method.

func (*MockTenantPluginDefaultENVDao) EXPECT Uses

func (m *MockTenantPluginDefaultENVDao) EXPECT() *MockTenantPluginDefaultENVDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantPluginDefaultENVDao) GetALLMasterDefultENVs Uses

func (m *MockTenantPluginDefaultENVDao) GetALLMasterDefultENVs(pluginID string) ([]*model.TenantPluginDefaultENV, error)

GetALLMasterDefultENVs mocks base method.

func (*MockTenantPluginDefaultENVDao) GetDefaultENVByName Uses

func (m *MockTenantPluginDefaultENVDao) GetDefaultENVByName(pluginID, name, versionID string) (*model.TenantPluginDefaultENV, error)

GetDefaultENVByName mocks base method.

func (*MockTenantPluginDefaultENVDao) GetDefaultENVSByPluginID Uses

func (m *MockTenantPluginDefaultENVDao) GetDefaultENVSByPluginID(pluginID, versionID string) ([]*model.TenantPluginDefaultENV, error)

GetDefaultENVSByPluginID mocks base method.

func (*MockTenantPluginDefaultENVDao) GetDefaultEnvWhichCanBeSetByPluginID Uses

func (m *MockTenantPluginDefaultENVDao) GetDefaultEnvWhichCanBeSetByPluginID(pluginID, versionID string) ([]*model.TenantPluginDefaultENV, error)

GetDefaultEnvWhichCanBeSetByPluginID mocks base method.

func (*MockTenantPluginDefaultENVDao) UpdateModel Uses

func (m *MockTenantPluginDefaultENVDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantPluginDefaultENVDaoMockRecorder Uses

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

MockTenantPluginDefaultENVDaoMockRecorder is the mock recorder for MockTenantPluginDefaultENVDao.

func (*MockTenantPluginDefaultENVDaoMockRecorder) AddModel Uses

func (mr *MockTenantPluginDefaultENVDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantPluginDefaultENVDaoMockRecorder) DeleteAllDefaultENVByPluginID Uses

func (mr *MockTenantPluginDefaultENVDaoMockRecorder) DeleteAllDefaultENVByPluginID(PluginID interface{}) *gomock.Call

DeleteAllDefaultENVByPluginID indicates an expected call of DeleteAllDefaultENVByPluginID.

func (*MockTenantPluginDefaultENVDaoMockRecorder) DeleteDefaultENVByName Uses

func (mr *MockTenantPluginDefaultENVDaoMockRecorder) DeleteDefaultENVByName(pluginID, name, versionID interface{}) *gomock.Call

DeleteDefaultENVByName indicates an expected call of DeleteDefaultENVByName.

func (*MockTenantPluginDefaultENVDaoMockRecorder) DeleteDefaultENVByPluginIDAndVersionID Uses

func (mr *MockTenantPluginDefaultENVDaoMockRecorder) DeleteDefaultENVByPluginIDAndVersionID(pluginID, versionID interface{}) *gomock.Call

DeleteDefaultENVByPluginIDAndVersionID indicates an expected call of DeleteDefaultENVByPluginIDAndVersionID.

func (*MockTenantPluginDefaultENVDaoMockRecorder) GetALLMasterDefultENVs Uses

func (mr *MockTenantPluginDefaultENVDaoMockRecorder) GetALLMasterDefultENVs(pluginID interface{}) *gomock.Call

GetALLMasterDefultENVs indicates an expected call of GetALLMasterDefultENVs.

func (*MockTenantPluginDefaultENVDaoMockRecorder) GetDefaultENVByName Uses

func (mr *MockTenantPluginDefaultENVDaoMockRecorder) GetDefaultENVByName(pluginID, name, versionID interface{}) *gomock.Call

GetDefaultENVByName indicates an expected call of GetDefaultENVByName.

func (*MockTenantPluginDefaultENVDaoMockRecorder) GetDefaultENVSByPluginID Uses

func (mr *MockTenantPluginDefaultENVDaoMockRecorder) GetDefaultENVSByPluginID(pluginID, versionID interface{}) *gomock.Call

GetDefaultENVSByPluginID indicates an expected call of GetDefaultENVSByPluginID.

func (*MockTenantPluginDefaultENVDaoMockRecorder) GetDefaultEnvWhichCanBeSetByPluginID Uses

func (mr *MockTenantPluginDefaultENVDaoMockRecorder) GetDefaultEnvWhichCanBeSetByPluginID(pluginID, versionID interface{}) *gomock.Call

GetDefaultEnvWhichCanBeSetByPluginID indicates an expected call of GetDefaultEnvWhichCanBeSetByPluginID.

func (*MockTenantPluginDefaultENVDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantPluginDefaultENVDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantPluginVersionConfigDao Uses

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

MockTenantPluginVersionConfigDao is a mock of TenantPluginVersionConfigDao interface.

func NewMockTenantPluginVersionConfigDao Uses

func NewMockTenantPluginVersionConfigDao(ctrl *gomock.Controller) *MockTenantPluginVersionConfigDao

NewMockTenantPluginVersionConfigDao creates a new mock instance.

func (*MockTenantPluginVersionConfigDao) AddModel Uses

func (m *MockTenantPluginVersionConfigDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantPluginVersionConfigDao) DeletePluginConfig Uses

func (m *MockTenantPluginVersionConfigDao) DeletePluginConfig(serviceID, pluginID string) error

DeletePluginConfig mocks base method.

func (*MockTenantPluginVersionConfigDao) DeletePluginConfigByServiceID Uses

func (m *MockTenantPluginVersionConfigDao) DeletePluginConfigByServiceID(serviceID string) error

DeletePluginConfigByServiceID mocks base method.

func (*MockTenantPluginVersionConfigDao) EXPECT Uses

func (m *MockTenantPluginVersionConfigDao) EXPECT() *MockTenantPluginVersionConfigDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantPluginVersionConfigDao) GetPluginConfig Uses

func (m *MockTenantPluginVersionConfigDao) GetPluginConfig(serviceID, pluginID string) (*model.TenantPluginVersionDiscoverConfig, error)

GetPluginConfig mocks base method.

func (*MockTenantPluginVersionConfigDao) GetPluginConfigs Uses

func (m *MockTenantPluginVersionConfigDao) GetPluginConfigs(serviceID string) ([]*model.TenantPluginVersionDiscoverConfig, error)

GetPluginConfigs mocks base method.

func (*MockTenantPluginVersionConfigDao) UpdateModel Uses

func (m *MockTenantPluginVersionConfigDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantPluginVersionConfigDaoMockRecorder Uses

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

MockTenantPluginVersionConfigDaoMockRecorder is the mock recorder for MockTenantPluginVersionConfigDao.

func (*MockTenantPluginVersionConfigDaoMockRecorder) AddModel Uses

func (mr *MockTenantPluginVersionConfigDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantPluginVersionConfigDaoMockRecorder) DeletePluginConfig Uses

func (mr *MockTenantPluginVersionConfigDaoMockRecorder) DeletePluginConfig(serviceID, pluginID interface{}) *gomock.Call

DeletePluginConfig indicates an expected call of DeletePluginConfig.

func (*MockTenantPluginVersionConfigDaoMockRecorder) DeletePluginConfigByServiceID Uses

func (mr *MockTenantPluginVersionConfigDaoMockRecorder) DeletePluginConfigByServiceID(serviceID interface{}) *gomock.Call

DeletePluginConfigByServiceID indicates an expected call of DeletePluginConfigByServiceID.

func (*MockTenantPluginVersionConfigDaoMockRecorder) GetPluginConfig Uses

func (mr *MockTenantPluginVersionConfigDaoMockRecorder) GetPluginConfig(serviceID, pluginID interface{}) *gomock.Call

GetPluginConfig indicates an expected call of GetPluginConfig.

func (*MockTenantPluginVersionConfigDaoMockRecorder) GetPluginConfigs Uses

func (mr *MockTenantPluginVersionConfigDaoMockRecorder) GetPluginConfigs(serviceID interface{}) *gomock.Call

GetPluginConfigs indicates an expected call of GetPluginConfigs.

func (*MockTenantPluginVersionConfigDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantPluginVersionConfigDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantPluginVersionEnvDao Uses

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

MockTenantPluginVersionEnvDao is a mock of TenantPluginVersionEnvDao interface.

func NewMockTenantPluginVersionEnvDao Uses

func NewMockTenantPluginVersionEnvDao(ctrl *gomock.Controller) *MockTenantPluginVersionEnvDao

NewMockTenantPluginVersionEnvDao creates a new mock instance.

func (*MockTenantPluginVersionEnvDao) AddModel Uses

func (m *MockTenantPluginVersionEnvDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantPluginVersionEnvDao) DeleteEnvByEnvName Uses

func (m *MockTenantPluginVersionEnvDao) DeleteEnvByEnvName(envName, pluginID, serviceID string) error

DeleteEnvByEnvName mocks base method.

func (*MockTenantPluginVersionEnvDao) DeleteEnvByPluginID Uses

func (m *MockTenantPluginVersionEnvDao) DeleteEnvByPluginID(serviceID, pluginID string) error

DeleteEnvByPluginID mocks base method.

func (*MockTenantPluginVersionEnvDao) DeleteEnvByServiceID Uses

func (m *MockTenantPluginVersionEnvDao) DeleteEnvByServiceID(serviceID string) error

DeleteEnvByServiceID mocks base method.

func (*MockTenantPluginVersionEnvDao) EXPECT Uses

func (m *MockTenantPluginVersionEnvDao) EXPECT() *MockTenantPluginVersionEnvDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantPluginVersionEnvDao) GetVersionEnvByEnvName Uses

func (m *MockTenantPluginVersionEnvDao) GetVersionEnvByEnvName(serviceID, pluginID, envName string) (*model.TenantPluginVersionEnv, error)

GetVersionEnvByEnvName mocks base method.

func (*MockTenantPluginVersionEnvDao) GetVersionEnvByServiceID Uses

func (m *MockTenantPluginVersionEnvDao) GetVersionEnvByServiceID(serviceID, pluginID string) ([]*model.TenantPluginVersionEnv, error)

GetVersionEnvByServiceID mocks base method.

func (*MockTenantPluginVersionEnvDao) ListByServiceID Uses

func (m *MockTenantPluginVersionEnvDao) ListByServiceID(serviceID string) ([]*model.TenantPluginVersionEnv, error)

ListByServiceID mocks base method.

func (*MockTenantPluginVersionEnvDao) UpdateModel Uses

func (m *MockTenantPluginVersionEnvDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantPluginVersionEnvDaoMockRecorder Uses

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

MockTenantPluginVersionEnvDaoMockRecorder is the mock recorder for MockTenantPluginVersionEnvDao.

func (*MockTenantPluginVersionEnvDaoMockRecorder) AddModel Uses

func (mr *MockTenantPluginVersionEnvDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantPluginVersionEnvDaoMockRecorder) DeleteEnvByEnvName Uses

func (mr *MockTenantPluginVersionEnvDaoMockRecorder) DeleteEnvByEnvName(envName, pluginID, serviceID interface{}) *gomock.Call

DeleteEnvByEnvName indicates an expected call of DeleteEnvByEnvName.

func (*MockTenantPluginVersionEnvDaoMockRecorder) DeleteEnvByPluginID Uses

func (mr *MockTenantPluginVersionEnvDaoMockRecorder) DeleteEnvByPluginID(serviceID, pluginID interface{}) *gomock.Call

DeleteEnvByPluginID indicates an expected call of DeleteEnvByPluginID.

func (*MockTenantPluginVersionEnvDaoMockRecorder) DeleteEnvByServiceID Uses

func (mr *MockTenantPluginVersionEnvDaoMockRecorder) DeleteEnvByServiceID(serviceID interface{}) *gomock.Call

DeleteEnvByServiceID indicates an expected call of DeleteEnvByServiceID.

func (*MockTenantPluginVersionEnvDaoMockRecorder) GetVersionEnvByEnvName Uses

func (mr *MockTenantPluginVersionEnvDaoMockRecorder) GetVersionEnvByEnvName(serviceID, pluginID, envName interface{}) *gomock.Call

GetVersionEnvByEnvName indicates an expected call of GetVersionEnvByEnvName.

func (*MockTenantPluginVersionEnvDaoMockRecorder) GetVersionEnvByServiceID Uses

func (mr *MockTenantPluginVersionEnvDaoMockRecorder) GetVersionEnvByServiceID(serviceID, pluginID interface{}) *gomock.Call

GetVersionEnvByServiceID indicates an expected call of GetVersionEnvByServiceID.

func (*MockTenantPluginVersionEnvDaoMockRecorder) ListByServiceID Uses

func (mr *MockTenantPluginVersionEnvDaoMockRecorder) ListByServiceID(serviceID interface{}) *gomock.Call

ListByServiceID indicates an expected call of ListByServiceID.

func (*MockTenantPluginVersionEnvDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantPluginVersionEnvDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServceAutoscalerRuleMetricsDao Uses

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

MockTenantServceAutoscalerRuleMetricsDao is a mock of TenantServceAutoscalerRuleMetricsDao interface.

func NewMockTenantServceAutoscalerRuleMetricsDao Uses

func NewMockTenantServceAutoscalerRuleMetricsDao(ctrl *gomock.Controller) *MockTenantServceAutoscalerRuleMetricsDao

NewMockTenantServceAutoscalerRuleMetricsDao creates a new mock instance.

func (*MockTenantServceAutoscalerRuleMetricsDao) AddModel Uses

func (m *MockTenantServceAutoscalerRuleMetricsDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServceAutoscalerRuleMetricsDao) DeleteByRuleID Uses

func (m *MockTenantServceAutoscalerRuleMetricsDao) DeleteByRuleID(ruldID string) error

DeleteByRuleID mocks base method.

func (*MockTenantServceAutoscalerRuleMetricsDao) EXPECT Uses

func (m *MockTenantServceAutoscalerRuleMetricsDao) EXPECT() *MockTenantServceAutoscalerRuleMetricsDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServceAutoscalerRuleMetricsDao) ListByRuleID Uses

func (m *MockTenantServceAutoscalerRuleMetricsDao) ListByRuleID(ruleID string) ([]*model.TenantServiceAutoscalerRuleMetrics, error)

ListByRuleID mocks base method.

func (*MockTenantServceAutoscalerRuleMetricsDao) UpdateModel Uses

func (m *MockTenantServceAutoscalerRuleMetricsDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

func (*MockTenantServceAutoscalerRuleMetricsDao) UpdateOrCreate Uses

func (m *MockTenantServceAutoscalerRuleMetricsDao) UpdateOrCreate(metric *model.TenantServiceAutoscalerRuleMetrics) error

UpdateOrCreate mocks base method.

type MockTenantServceAutoscalerRuleMetricsDaoMockRecorder Uses

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

MockTenantServceAutoscalerRuleMetricsDaoMockRecorder is the mock recorder for MockTenantServceAutoscalerRuleMetricsDao.

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) AddModel Uses

func (mr *MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) DeleteByRuleID Uses

func (mr *MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) DeleteByRuleID(ruldID interface{}) *gomock.Call

DeleteByRuleID indicates an expected call of DeleteByRuleID.

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) ListByRuleID Uses

func (mr *MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) ListByRuleID(ruleID interface{}) *gomock.Call

ListByRuleID indicates an expected call of ListByRuleID.

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) UpdateOrCreate Uses

func (mr *MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) UpdateOrCreate(metric interface{}) *gomock.Call

UpdateOrCreate indicates an expected call of UpdateOrCreate.

type MockTenantServceAutoscalerRulesDao Uses

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

MockTenantServceAutoscalerRulesDao is a mock of TenantServceAutoscalerRulesDao interface.

func NewMockTenantServceAutoscalerRulesDao Uses

func NewMockTenantServceAutoscalerRulesDao(ctrl *gomock.Controller) *MockTenantServceAutoscalerRulesDao

NewMockTenantServceAutoscalerRulesDao creates a new mock instance.

func (*MockTenantServceAutoscalerRulesDao) AddModel Uses

func (m *MockTenantServceAutoscalerRulesDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServceAutoscalerRulesDao) EXPECT Uses

func (m *MockTenantServceAutoscalerRulesDao) EXPECT() *MockTenantServceAutoscalerRulesDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServceAutoscalerRulesDao) GetByRuleID Uses

func (m *MockTenantServceAutoscalerRulesDao) GetByRuleID(ruleID string) (*model.TenantServiceAutoscalerRules, error)

GetByRuleID mocks base method.

func (*MockTenantServceAutoscalerRulesDao) ListByServiceID Uses

func (m *MockTenantServceAutoscalerRulesDao) ListByServiceID(serviceID string) ([]*model.TenantServiceAutoscalerRules, error)

ListByServiceID mocks base method.

func (*MockTenantServceAutoscalerRulesDao) ListEnableOnesByServiceID Uses

func (m *MockTenantServceAutoscalerRulesDao) ListEnableOnesByServiceID(serviceID string) ([]*model.TenantServiceAutoscalerRules, error)

ListEnableOnesByServiceID mocks base method.

func (*MockTenantServceAutoscalerRulesDao) UpdateModel Uses

func (m *MockTenantServceAutoscalerRulesDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServceAutoscalerRulesDaoMockRecorder Uses

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

MockTenantServceAutoscalerRulesDaoMockRecorder is the mock recorder for MockTenantServceAutoscalerRulesDao.

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) AddModel Uses

func (mr *MockTenantServceAutoscalerRulesDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) GetByRuleID Uses

func (mr *MockTenantServceAutoscalerRulesDaoMockRecorder) GetByRuleID(ruleID interface{}) *gomock.Call

GetByRuleID indicates an expected call of GetByRuleID.

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) ListByServiceID Uses

func (mr *MockTenantServceAutoscalerRulesDaoMockRecorder) ListByServiceID(serviceID interface{}) *gomock.Call

ListByServiceID indicates an expected call of ListByServiceID.

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) ListEnableOnesByServiceID Uses

func (mr *MockTenantServceAutoscalerRulesDaoMockRecorder) ListEnableOnesByServiceID(serviceID interface{}) *gomock.Call

ListEnableOnesByServiceID indicates an expected call of ListEnableOnesByServiceID.

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServceAutoscalerRulesDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceConfigFileDao Uses

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

MockTenantServiceConfigFileDao is a mock of TenantServiceConfigFileDao interface.

func NewMockTenantServiceConfigFileDao Uses

func NewMockTenantServiceConfigFileDao(ctrl *gomock.Controller) *MockTenantServiceConfigFileDao

NewMockTenantServiceConfigFileDao creates a new mock instance.

func (*MockTenantServiceConfigFileDao) AddModel Uses

func (m *MockTenantServiceConfigFileDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceConfigFileDao) DelByServiceID Uses

func (m *MockTenantServiceConfigFileDao) DelByServiceID(sid string) error

DelByServiceID mocks base method.

func (*MockTenantServiceConfigFileDao) DelByVolumeID Uses

func (m *MockTenantServiceConfigFileDao) DelByVolumeID(sid, volumeName string) error

DelByVolumeID mocks base method.

func (*MockTenantServiceConfigFileDao) EXPECT Uses

func (m *MockTenantServiceConfigFileDao) EXPECT() *MockTenantServiceConfigFileDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceConfigFileDao) GetByVolumeName Uses

func (m *MockTenantServiceConfigFileDao) GetByVolumeName(sid, volumeName string) (*model.TenantServiceConfigFile, error)

GetByVolumeName mocks base method.

func (*MockTenantServiceConfigFileDao) GetConfigFileByServiceID Uses

func (m *MockTenantServiceConfigFileDao) GetConfigFileByServiceID(serviceID string) ([]*model.TenantServiceConfigFile, error)

GetConfigFileByServiceID mocks base method.

func (*MockTenantServiceConfigFileDao) UpdateModel Uses

func (m *MockTenantServiceConfigFileDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceConfigFileDaoMockRecorder Uses

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

MockTenantServiceConfigFileDaoMockRecorder is the mock recorder for MockTenantServiceConfigFileDao.

func (*MockTenantServiceConfigFileDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceConfigFileDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceConfigFileDaoMockRecorder) DelByServiceID Uses

func (mr *MockTenantServiceConfigFileDaoMockRecorder) DelByServiceID(sid interface{}) *gomock.Call

DelByServiceID indicates an expected call of DelByServiceID.

func (*MockTenantServiceConfigFileDaoMockRecorder) DelByVolumeID Uses

func (mr *MockTenantServiceConfigFileDaoMockRecorder) DelByVolumeID(sid, volumeName interface{}) *gomock.Call

DelByVolumeID indicates an expected call of DelByVolumeID.

func (*MockTenantServiceConfigFileDaoMockRecorder) GetByVolumeName Uses

func (mr *MockTenantServiceConfigFileDaoMockRecorder) GetByVolumeName(sid, volumeName interface{}) *gomock.Call

GetByVolumeName indicates an expected call of GetByVolumeName.

func (*MockTenantServiceConfigFileDaoMockRecorder) GetConfigFileByServiceID Uses

func (mr *MockTenantServiceConfigFileDaoMockRecorder) GetConfigFileByServiceID(serviceID interface{}) *gomock.Call

GetConfigFileByServiceID indicates an expected call of GetConfigFileByServiceID.

func (*MockTenantServiceConfigFileDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceConfigFileDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceDao Uses

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

MockTenantServiceDao is a mock of TenantServiceDao interface.

func NewMockTenantServiceDao Uses

func NewMockTenantServiceDao(ctrl *gomock.Controller) *MockTenantServiceDao

NewMockTenantServiceDao creates a new mock instance.

func (*MockTenantServiceDao) AddModel Uses

func (m *MockTenantServiceDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceDao) CountServiceByAppID Uses

func (m *MockTenantServiceDao) CountServiceByAppID(appID string) (int64, error)

CountServiceByAppID mocks base method.

func (*MockTenantServiceDao) DeleteServiceByServiceID Uses

func (m *MockTenantServiceDao) DeleteServiceByServiceID(serviceID string) error

DeleteServiceByServiceID mocks base method.

func (*MockTenantServiceDao) EXPECT Uses

func (m *MockTenantServiceDao) EXPECT() *MockTenantServiceDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceDao) GetAllServicesID Uses

func (m *MockTenantServiceDao) GetAllServicesID() ([]*model.TenantServices, error)

GetAllServicesID mocks base method.

func (*MockTenantServiceDao) GetPagedTenantService Uses

func (m *MockTenantServiceDao) GetPagedTenantService(offset, len int, serviceIDs []string) ([]map[string]interface{}, int, error)

GetPagedTenantService mocks base method.

func (*MockTenantServiceDao) GetServiceAliasByIDs Uses

func (m *MockTenantServiceDao) GetServiceAliasByIDs(uids []string) ([]*model.TenantServices, error)

GetServiceAliasByIDs mocks base method.

func (*MockTenantServiceDao) GetServiceByID Uses

func (m *MockTenantServiceDao) GetServiceByID(serviceID string) (*model.TenantServices, error)

GetServiceByID mocks base method.

func (*MockTenantServiceDao) GetServiceByIDs Uses

func (m *MockTenantServiceDao) GetServiceByIDs(serviceIDs []string) ([]*model.TenantServices, error)

GetServiceByIDs mocks base method.

func (*MockTenantServiceDao) GetServiceByServiceAlias Uses

func (m *MockTenantServiceDao) GetServiceByServiceAlias(serviceAlias string) (*model.TenantServices, error)

GetServiceByServiceAlias mocks base method.

func (*MockTenantServiceDao) GetServiceByTenantIDAndServiceAlias Uses

func (m *MockTenantServiceDao) GetServiceByTenantIDAndServiceAlias(tenantID, serviceName string) (*model.TenantServices, error)

GetServiceByTenantIDAndServiceAlias mocks base method.

func (*MockTenantServiceDao) GetServiceIDsByAppID Uses

func (m *MockTenantServiceDao) GetServiceIDsByAppID(appID string) []model.ServiceID

GetServiceIDsByAppID mocks base method.

func (*MockTenantServiceDao) GetServiceMemoryByServiceIDs Uses

func (m *MockTenantServiceDao) GetServiceMemoryByServiceIDs(serviceIDs []string) (map[string]map[string]interface{}, error)

GetServiceMemoryByServiceIDs mocks base method.

func (*MockTenantServiceDao) GetServiceMemoryByTenantIDs Uses

func (m *MockTenantServiceDao) GetServiceMemoryByTenantIDs(tenantIDs, serviceIDs []string) (map[string]map[string]interface{}, error)

GetServiceMemoryByTenantIDs mocks base method.

func (*MockTenantServiceDao) GetServiceTypeById Uses

func (m *MockTenantServiceDao) GetServiceTypeById(serviceID string) (*model.TenantServices, error)

GetServiceTypeByID mocks base method.

func (*MockTenantServiceDao) GetServicesAllInfoByTenantID Uses

func (m *MockTenantServiceDao) GetServicesAllInfoByTenantID(tenantID string) ([]*model.TenantServices, error)

GetServicesAllInfoByTenantID mocks base method.

func (*MockTenantServiceDao) GetServicesByServiceIDs Uses

func (m *MockTenantServiceDao) GetServicesByServiceIDs(serviceIDs []string) ([]*model.TenantServices, error)

GetServicesByServiceIDs mocks base method.

func (*MockTenantServiceDao) GetServicesByTenantID Uses

func (m *MockTenantServiceDao) GetServicesByTenantID(tenantID string) ([]*model.TenantServices, error)

GetServicesByTenantID mocks base method.

func (*MockTenantServiceDao) GetServicesByTenantIDs Uses

func (m *MockTenantServiceDao) GetServicesByTenantIDs(tenantIDs []string) ([]*model.TenantServices, error)

GetServicesByTenantIDs mocks base method.

func (*MockTenantServiceDao) GetServicesInfoByAppID Uses

func (m *MockTenantServiceDao) GetServicesInfoByAppID(appID string, page, pageSize int) ([]*model.TenantServices, int64, error)

GetServicesInfoByAppID mocks base method.

func (*MockTenantServiceDao) ListServicesByTenantID Uses

func (m *MockTenantServiceDao) ListServicesByTenantID(tenantID string) ([]*model.TenantServices, error)

ListServicesByTenantID mocks base method.

func (*MockTenantServiceDao) ListThirdPartyServices Uses

func (m *MockTenantServiceDao) ListThirdPartyServices() ([]*model.TenantServices, error)

ListThirdPartyServices mocks base method.

func (*MockTenantServiceDao) SetTenantServiceStatus Uses

func (m *MockTenantServiceDao) SetTenantServiceStatus(serviceID, status string) error

SetTenantServiceStatus mocks base method.

func (*MockTenantServiceDao) UpdateDeployVersion Uses

func (m *MockTenantServiceDao) UpdateDeployVersion(serviceID, deployversion string) error

UpdateDeployVersion mocks base method.

func (*MockTenantServiceDao) UpdateModel Uses

func (m *MockTenantServiceDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceDaoMockRecorder Uses

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

MockTenantServiceDaoMockRecorder is the mock recorder for MockTenantServiceDao.

func (*MockTenantServiceDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceDaoMockRecorder) CountServiceByAppID Uses

func (mr *MockTenantServiceDaoMockRecorder) CountServiceByAppID(appID interface{}) *gomock.Call

CountServiceByAppID indicates an expected call of CountServiceByAppID.

func (*MockTenantServiceDaoMockRecorder) DeleteServiceByServiceID Uses

func (mr *MockTenantServiceDaoMockRecorder) DeleteServiceByServiceID(serviceID interface{}) *gomock.Call

DeleteServiceByServiceID indicates an expected call of DeleteServiceByServiceID.

func (*MockTenantServiceDaoMockRecorder) GetAllServicesID Uses

func (mr *MockTenantServiceDaoMockRecorder) GetAllServicesID() *gomock.Call

GetAllServicesID indicates an expected call of GetAllServicesID.

func (*MockTenantServiceDaoMockRecorder) GetPagedTenantService Uses

func (mr *MockTenantServiceDaoMockRecorder) GetPagedTenantService(offset, len, serviceIDs interface{}) *gomock.Call

GetPagedTenantService indicates an expected call of GetPagedTenantService.

func (*MockTenantServiceDaoMockRecorder) GetServiceAliasByIDs Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServiceAliasByIDs(uids interface{}) *gomock.Call

GetServiceAliasByIDs indicates an expected call of GetServiceAliasByIDs.

func (*MockTenantServiceDaoMockRecorder) GetServiceByID Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServiceByID(serviceID interface{}) *gomock.Call

GetServiceByID indicates an expected call of GetServiceByID.

func (*MockTenantServiceDaoMockRecorder) GetServiceByIDs Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServiceByIDs(serviceIDs interface{}) *gomock.Call

GetServiceByIDs indicates an expected call of GetServiceByIDs.

func (*MockTenantServiceDaoMockRecorder) GetServiceByServiceAlias Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServiceByServiceAlias(serviceAlias interface{}) *gomock.Call

GetServiceByServiceAlias indicates an expected call of GetServiceByServiceAlias.

func (*MockTenantServiceDaoMockRecorder) GetServiceByTenantIDAndServiceAlias Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServiceByTenantIDAndServiceAlias(tenantID, serviceName interface{}) *gomock.Call

GetServiceByTenantIDAndServiceAlias indicates an expected call of GetServiceByTenantIDAndServiceAlias.

func (*MockTenantServiceDaoMockRecorder) GetServiceIDsByAppID Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServiceIDsByAppID(appID interface{}) *gomock.Call

GetServiceIDsByAppID indicates an expected call of GetServiceIDsByAppID.

func (*MockTenantServiceDaoMockRecorder) GetServiceMemoryByServiceIDs Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServiceMemoryByServiceIDs(serviceIDs interface{}) *gomock.Call

GetServiceMemoryByServiceIDs indicates an expected call of GetServiceMemoryByServiceIDs.

func (*MockTenantServiceDaoMockRecorder) GetServiceMemoryByTenantIDs Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServiceMemoryByTenantIDs(tenantIDs, serviceIDs interface{}) *gomock.Call

GetServiceMemoryByTenantIDs indicates an expected call of GetServiceMemoryByTenantIDs.

func (*MockTenantServiceDaoMockRecorder) GetServiceTypeById Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServiceTypeById(serviceID interface{}) *gomock.Call

GetServiceTypeByID indicates an expected call of GetServiceTypeByID.

func (*MockTenantServiceDaoMockRecorder) GetServicesAllInfoByTenantID Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServicesAllInfoByTenantID(tenantID interface{}) *gomock.Call

GetServicesAllInfoByTenantID indicates an expected call of GetServicesAllInfoByTenantID.

func (*MockTenantServiceDaoMockRecorder) GetServicesByServiceIDs Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServicesByServiceIDs(serviceIDs interface{}) *gomock.Call

GetServicesByServiceIDs indicates an expected call of GetServicesByServiceIDs.

func (*MockTenantServiceDaoMockRecorder) GetServicesByTenantID Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServicesByTenantID(tenantID interface{}) *gomock.Call

GetServicesByTenantID indicates an expected call of GetServicesByTenantID.

func (*MockTenantServiceDaoMockRecorder) GetServicesByTenantIDs Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServicesByTenantIDs(tenantIDs interface{}) *gomock.Call

GetServicesByTenantIDs indicates an expected call of GetServicesByTenantIDs.

func (*MockTenantServiceDaoMockRecorder) GetServicesInfoByAppID Uses

func (mr *MockTenantServiceDaoMockRecorder) GetServicesInfoByAppID(appID, page, pageSize interface{}) *gomock.Call

GetServicesInfoByAppID indicates an expected call of GetServicesInfoByAppID.

func (*MockTenantServiceDaoMockRecorder) ListServicesByTenantID Uses

func (mr *MockTenantServiceDaoMockRecorder) ListServicesByTenantID(tenantID interface{}) *gomock.Call

ListServicesByTenantID indicates an expected call of ListServicesByTenantID.

func (*MockTenantServiceDaoMockRecorder) ListThirdPartyServices Uses

func (mr *MockTenantServiceDaoMockRecorder) ListThirdPartyServices() *gomock.Call

ListThirdPartyServices indicates an expected call of ListThirdPartyServices.

func (*MockTenantServiceDaoMockRecorder) SetTenantServiceStatus Uses

func (mr *MockTenantServiceDaoMockRecorder) SetTenantServiceStatus(serviceID, status interface{}) *gomock.Call

SetTenantServiceStatus indicates an expected call of SetTenantServiceStatus.

func (*MockTenantServiceDaoMockRecorder) UpdateDeployVersion Uses

func (mr *MockTenantServiceDaoMockRecorder) UpdateDeployVersion(serviceID, deployversion interface{}) *gomock.Call

UpdateDeployVersion indicates an expected call of UpdateDeployVersion.

func (*MockTenantServiceDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceDeleteDao Uses

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

MockTenantServiceDeleteDao is a mock of TenantServiceDeleteDao interface.

func NewMockTenantServiceDeleteDao Uses

func NewMockTenantServiceDeleteDao(ctrl *gomock.Controller) *MockTenantServiceDeleteDao

NewMockTenantServiceDeleteDao creates a new mock instance.

func (*MockTenantServiceDeleteDao) AddModel Uses

func (m *MockTenantServiceDeleteDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceDeleteDao) DeleteTenantServicesDelete Uses

func (m *MockTenantServiceDeleteDao) DeleteTenantServicesDelete(record *model.TenantServicesDelete) error

DeleteTenantServicesDelete mocks base method.

func (*MockTenantServiceDeleteDao) EXPECT Uses

func (m *MockTenantServiceDeleteDao) EXPECT() *MockTenantServiceDeleteDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceDeleteDao) GetTenantServicesDeleteByCreateTime Uses

func (m *MockTenantServiceDeleteDao) GetTenantServicesDeleteByCreateTime(createTime time.Time) ([]*model.TenantServicesDelete, error)

GetTenantServicesDeleteByCreateTime mocks base method.

func (*MockTenantServiceDeleteDao) UpdateModel Uses

func (m *MockTenantServiceDeleteDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceDeleteDaoMockRecorder Uses

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

MockTenantServiceDeleteDaoMockRecorder is the mock recorder for MockTenantServiceDeleteDao.

func (*MockTenantServiceDeleteDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceDeleteDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceDeleteDaoMockRecorder) DeleteTenantServicesDelete Uses

func (mr *MockTenantServiceDeleteDaoMockRecorder) DeleteTenantServicesDelete(record interface{}) *gomock.Call

DeleteTenantServicesDelete indicates an expected call of DeleteTenantServicesDelete.

func (*MockTenantServiceDeleteDaoMockRecorder) GetTenantServicesDeleteByCreateTime Uses

func (mr *MockTenantServiceDeleteDaoMockRecorder) GetTenantServicesDeleteByCreateTime(createTime interface{}) *gomock.Call

GetTenantServicesDeleteByCreateTime indicates an expected call of GetTenantServicesDeleteByCreateTime.

func (*MockTenantServiceDeleteDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceDeleteDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceEnvVarDao Uses

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

MockTenantServiceEnvVarDao is a mock of TenantServiceEnvVarDao interface.

func NewMockTenantServiceEnvVarDao Uses

func NewMockTenantServiceEnvVarDao(ctrl *gomock.Controller) *MockTenantServiceEnvVarDao

NewMockTenantServiceEnvVarDao creates a new mock instance.

func (*MockTenantServiceEnvVarDao) AddModel Uses

func (m *MockTenantServiceEnvVarDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceEnvVarDao) DELServiceEnvsByServiceID Uses

func (m *MockTenantServiceEnvVarDao) DELServiceEnvsByServiceID(serviceID string) error

DELServiceEnvsByServiceID mocks base method.

func (*MockTenantServiceEnvVarDao) DelByServiceIDAndScope Uses

func (m *MockTenantServiceEnvVarDao) DelByServiceIDAndScope(sid, scope string) error

DelByServiceIDAndScope mocks base method.

func (*MockTenantServiceEnvVarDao) DeleteModel Uses

func (m *MockTenantServiceEnvVarDao) DeleteModel(serviceID string, arg ...interface{}) error

DeleteModel mocks base method.

func (*MockTenantServiceEnvVarDao) EXPECT Uses

func (m *MockTenantServiceEnvVarDao) EXPECT() *MockTenantServiceEnvVarDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceEnvVarDao) GetDependServiceEnvs Uses

func (m *MockTenantServiceEnvVarDao) GetDependServiceEnvs(serviceIDs, scopes []string) ([]*model.TenantServiceEnvVar, error)

GetDependServiceEnvs mocks base method.

func (*MockTenantServiceEnvVarDao) GetEnv Uses

func (m *MockTenantServiceEnvVarDao) GetEnv(serviceID, envName string) (*model.TenantServiceEnvVar, error)

GetEnv mocks base method.

func (*MockTenantServiceEnvVarDao) GetServiceEnvs Uses

func (m *MockTenantServiceEnvVarDao) GetServiceEnvs(serviceID string, scopes []string) ([]*model.TenantServiceEnvVar, error)

GetServiceEnvs mocks base method.

func (*MockTenantServiceEnvVarDao) UpdateModel Uses

func (m *MockTenantServiceEnvVarDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceEnvVarDaoMockRecorder Uses

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

MockTenantServiceEnvVarDaoMockRecorder is the mock recorder for MockTenantServiceEnvVarDao.

func (*MockTenantServiceEnvVarDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceEnvVarDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceEnvVarDaoMockRecorder) DELServiceEnvsByServiceID Uses

func (mr *MockTenantServiceEnvVarDaoMockRecorder) DELServiceEnvsByServiceID(serviceID interface{}) *gomock.Call

DELServiceEnvsByServiceID indicates an expected call of DELServiceEnvsByServiceID.

func (*MockTenantServiceEnvVarDaoMockRecorder) DelByServiceIDAndScope Uses

func (mr *MockTenantServiceEnvVarDaoMockRecorder) DelByServiceIDAndScope(sid, scope interface{}) *gomock.Call

DelByServiceIDAndScope indicates an expected call of DelByServiceIDAndScope.

func (*MockTenantServiceEnvVarDaoMockRecorder) DeleteModel Uses

func (mr *MockTenantServiceEnvVarDaoMockRecorder) DeleteModel(serviceID interface{}, arg ...interface{}) *gomock.Call

DeleteModel indicates an expected call of DeleteModel.

func (*MockTenantServiceEnvVarDaoMockRecorder) GetDependServiceEnvs Uses

func (mr *MockTenantServiceEnvVarDaoMockRecorder) GetDependServiceEnvs(serviceIDs, scopes interface{}) *gomock.Call

GetDependServiceEnvs indicates an expected call of GetDependServiceEnvs.

func (*MockTenantServiceEnvVarDaoMockRecorder) GetEnv Uses

func (mr *MockTenantServiceEnvVarDaoMockRecorder) GetEnv(serviceID, envName interface{}) *gomock.Call

GetEnv indicates an expected call of GetEnv.

func (*MockTenantServiceEnvVarDaoMockRecorder) GetServiceEnvs Uses

func (mr *MockTenantServiceEnvVarDaoMockRecorder) GetServiceEnvs(serviceID, scopes interface{}) *gomock.Call

GetServiceEnvs indicates an expected call of GetServiceEnvs.

func (*MockTenantServiceEnvVarDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceEnvVarDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceLBMappingPortDao Uses

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

MockTenantServiceLBMappingPortDao is a mock of TenantServiceLBMappingPortDao interface.

func NewMockTenantServiceLBMappingPortDao Uses

func NewMockTenantServiceLBMappingPortDao(ctrl *gomock.Controller) *MockTenantServiceLBMappingPortDao

NewMockTenantServiceLBMappingPortDao creates a new mock instance.

func (*MockTenantServiceLBMappingPortDao) AddModel Uses

func (m *MockTenantServiceLBMappingPortDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceLBMappingPortDao) CreateTenantServiceLBMappingPort Uses

func (m *MockTenantServiceLBMappingPortDao) CreateTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error)

CreateTenantServiceLBMappingPort mocks base method.

func (*MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceID Uses

func (m *MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceID(serviceID string) error

DELServiceLBMappingPortByServiceID mocks base method.

func (*MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceIDAndPort Uses

func (m *MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceIDAndPort(serviceID string, lbPort int) error

DELServiceLBMappingPortByServiceIDAndPort mocks base method.

func (*MockTenantServiceLBMappingPortDao) EXPECT Uses

func (m *MockTenantServiceLBMappingPortDao) EXPECT() *MockTenantServiceLBMappingPortDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceLBMappingPortDao) GetLBMappingPortByServiceIDAndPort Uses

func (m *MockTenantServiceLBMappingPortDao) GetLBMappingPortByServiceIDAndPort(serviceID string, port int) (*model.TenantServiceLBMappingPort, error)

GetLBMappingPortByServiceIDAndPort mocks base method.

func (*MockTenantServiceLBMappingPortDao) GetLBPortByTenantAndPort Uses

func (m *MockTenantServiceLBMappingPortDao) GetLBPortByTenantAndPort(tenantID string, lbport int) (*model.TenantServiceLBMappingPort, error)

GetLBPortByTenantAndPort mocks base method.

func (*MockTenantServiceLBMappingPortDao) GetLBPortsASC Uses

func (m *MockTenantServiceLBMappingPortDao) GetLBPortsASC() ([]*model.TenantServiceLBMappingPort, error)

GetLBPortsASC mocks base method.

func (*MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPort Uses

func (m *MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error)

GetTenantServiceLBMappingPort mocks base method.

func (*MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPortByService Uses

func (m *MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPortByService(serviceID string) ([]*model.TenantServiceLBMappingPort, error)

GetTenantServiceLBMappingPortByService mocks base method.

func (*MockTenantServiceLBMappingPortDao) PortExists Uses

func (m *MockTenantServiceLBMappingPortDao) PortExists(port int) bool

PortExists mocks base method.

func (*MockTenantServiceLBMappingPortDao) UpdateModel Uses

func (m *MockTenantServiceLBMappingPortDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceLBMappingPortDaoMockRecorder Uses

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

MockTenantServiceLBMappingPortDaoMockRecorder is the mock recorder for MockTenantServiceLBMappingPortDao.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) CreateTenantServiceLBMappingPort Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) CreateTenantServiceLBMappingPort(serviceID, containerPort interface{}) *gomock.Call

CreateTenantServiceLBMappingPort indicates an expected call of CreateTenantServiceLBMappingPort.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) DELServiceLBMappingPortByServiceID Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) DELServiceLBMappingPortByServiceID(serviceID interface{}) *gomock.Call

DELServiceLBMappingPortByServiceID indicates an expected call of DELServiceLBMappingPortByServiceID.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) DELServiceLBMappingPortByServiceIDAndPort Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) DELServiceLBMappingPortByServiceIDAndPort(serviceID, lbPort interface{}) *gomock.Call

DELServiceLBMappingPortByServiceIDAndPort indicates an expected call of DELServiceLBMappingPortByServiceIDAndPort.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetLBMappingPortByServiceIDAndPort Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) GetLBMappingPortByServiceIDAndPort(serviceID, port interface{}) *gomock.Call

GetLBMappingPortByServiceIDAndPort indicates an expected call of GetLBMappingPortByServiceIDAndPort.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetLBPortByTenantAndPort Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) GetLBPortByTenantAndPort(tenantID, lbport interface{}) *gomock.Call

GetLBPortByTenantAndPort indicates an expected call of GetLBPortByTenantAndPort.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetLBPortsASC Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) GetLBPortsASC() *gomock.Call

GetLBPortsASC indicates an expected call of GetLBPortsASC.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetTenantServiceLBMappingPort Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) GetTenantServiceLBMappingPort(serviceID, containerPort interface{}) *gomock.Call

GetTenantServiceLBMappingPort indicates an expected call of GetTenantServiceLBMappingPort.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetTenantServiceLBMappingPortByService Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) GetTenantServiceLBMappingPortByService(serviceID interface{}) *gomock.Call

GetTenantServiceLBMappingPortByService indicates an expected call of GetTenantServiceLBMappingPortByService.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) PortExists Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) PortExists(port interface{}) *gomock.Call

PortExists indicates an expected call of PortExists.

func (*MockTenantServiceLBMappingPortDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceLBMappingPortDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceLabelDao Uses

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

MockTenantServiceLabelDao is a mock of TenantServiceLabelDao interface.

func NewMockTenantServiceLabelDao Uses

func NewMockTenantServiceLabelDao(ctrl *gomock.Controller) *MockTenantServiceLabelDao

NewMockTenantServiceLabelDao creates a new mock instance.

func (*MockTenantServiceLabelDao) AddModel Uses

func (m *MockTenantServiceLabelDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceLabelDao) DelTenantServiceLabelsByLabelValuesAndServiceID Uses

func (m *MockTenantServiceLabelDao) DelTenantServiceLabelsByLabelValuesAndServiceID(serviceID string) error

DelTenantServiceLabelsByLabelValuesAndServiceID mocks base method.

func (*MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKey Uses

func (m *MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKey(serviceID, labelKey string) error

DelTenantServiceLabelsByServiceIDKey mocks base method.

func (*MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKeyValue Uses

func (m *MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKeyValue(serviceID, labelKey, labelValue string) error

DelTenantServiceLabelsByServiceIDKeyValue mocks base method.

func (*MockTenantServiceLabelDao) DeleteLabelByServiceID Uses

func (m *MockTenantServiceLabelDao) DeleteLabelByServiceID(serviceID string) error

DeleteLabelByServiceID mocks base method.

func (*MockTenantServiceLabelDao) DeleteModel Uses

func (m *MockTenantServiceLabelDao) DeleteModel(serviceID string, arg ...interface{}) error

DeleteModel mocks base method.

func (*MockTenantServiceLabelDao) EXPECT Uses

func (m *MockTenantServiceLabelDao) EXPECT() *MockTenantServiceLabelDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceLabelDao) GetLabelByNodeSelectorKey Uses

func (m *MockTenantServiceLabelDao) GetLabelByNodeSelectorKey(serviceID, labelValue string) (*model.TenantServiceLable, error)

GetLabelByNodeSelectorKey mocks base method.

func (*MockTenantServiceLabelDao) GetPrivilegedLabel Uses

func (m *MockTenantServiceLabelDao) GetPrivilegedLabel(serviceID string) (*model.TenantServiceLable, error)

GetPrivilegedLabel mocks base method.

func (*MockTenantServiceLabelDao) GetTenantNodeAffinityLabel Uses

func (m *MockTenantServiceLabelDao) GetTenantNodeAffinityLabel(serviceID string) (*model.TenantServiceLable, error)

GetTenantNodeAffinityLabel mocks base method.

func (*MockTenantServiceLabelDao) GetTenantServiceAffinityLabel Uses

func (m *MockTenantServiceLabelDao) GetTenantServiceAffinityLabel(serviceID string) ([]*model.TenantServiceLable, error)

GetTenantServiceAffinityLabel mocks base method.

func (*MockTenantServiceLabelDao) GetTenantServiceLabel Uses

func (m *MockTenantServiceLabelDao) GetTenantServiceLabel(serviceID string) ([]*model.TenantServiceLable, error)

GetTenantServiceLabel mocks base method.

func (*MockTenantServiceLabelDao) GetTenantServiceNodeSelectorLabel Uses

func (m *MockTenantServiceLabelDao) GetTenantServiceNodeSelectorLabel(serviceID string) ([]*model.TenantServiceLable, error)

GetTenantServiceNodeSelectorLabel mocks base method.

func (*MockTenantServiceLabelDao) GetTenantServiceTypeLabel Uses

func (m *MockTenantServiceLabelDao) GetTenantServiceTypeLabel(serviceID string) (*model.TenantServiceLable, error)

GetTenantServiceTypeLabel mocks base method.

func (*MockTenantServiceLabelDao) UpdateModel Uses

func (m *MockTenantServiceLabelDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceLabelDaoMockRecorder Uses

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

MockTenantServiceLabelDaoMockRecorder is the mock recorder for MockTenantServiceLabelDao.

func (*MockTenantServiceLabelDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceLabelDaoMockRecorder) DelTenantServiceLabelsByLabelValuesAndServiceID Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) DelTenantServiceLabelsByLabelValuesAndServiceID(serviceID interface{}) *gomock.Call

DelTenantServiceLabelsByLabelValuesAndServiceID indicates an expected call of DelTenantServiceLabelsByLabelValuesAndServiceID.

func (*MockTenantServiceLabelDaoMockRecorder) DelTenantServiceLabelsByServiceIDKey Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) DelTenantServiceLabelsByServiceIDKey(serviceID, labelKey interface{}) *gomock.Call

DelTenantServiceLabelsByServiceIDKey indicates an expected call of DelTenantServiceLabelsByServiceIDKey.

func (*MockTenantServiceLabelDaoMockRecorder) DelTenantServiceLabelsByServiceIDKeyValue Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) DelTenantServiceLabelsByServiceIDKeyValue(serviceID, labelKey, labelValue interface{}) *gomock.Call

DelTenantServiceLabelsByServiceIDKeyValue indicates an expected call of DelTenantServiceLabelsByServiceIDKeyValue.

func (*MockTenantServiceLabelDaoMockRecorder) DeleteLabelByServiceID Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) DeleteLabelByServiceID(serviceID interface{}) *gomock.Call

DeleteLabelByServiceID indicates an expected call of DeleteLabelByServiceID.

func (*MockTenantServiceLabelDaoMockRecorder) DeleteModel Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) DeleteModel(serviceID interface{}, arg ...interface{}) *gomock.Call

DeleteModel indicates an expected call of DeleteModel.

func (*MockTenantServiceLabelDaoMockRecorder) GetLabelByNodeSelectorKey Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) GetLabelByNodeSelectorKey(serviceID, labelValue interface{}) *gomock.Call

GetLabelByNodeSelectorKey indicates an expected call of GetLabelByNodeSelectorKey.

func (*MockTenantServiceLabelDaoMockRecorder) GetPrivilegedLabel Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) GetPrivilegedLabel(serviceID interface{}) *gomock.Call

GetPrivilegedLabel indicates an expected call of GetPrivilegedLabel.

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantNodeAffinityLabel Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) GetTenantNodeAffinityLabel(serviceID interface{}) *gomock.Call

GetTenantNodeAffinityLabel indicates an expected call of GetTenantNodeAffinityLabel.

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantServiceAffinityLabel Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) GetTenantServiceAffinityLabel(serviceID interface{}) *gomock.Call

GetTenantServiceAffinityLabel indicates an expected call of GetTenantServiceAffinityLabel.

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantServiceLabel Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) GetTenantServiceLabel(serviceID interface{}) *gomock.Call

GetTenantServiceLabel indicates an expected call of GetTenantServiceLabel.

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantServiceNodeSelectorLabel Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) GetTenantServiceNodeSelectorLabel(serviceID interface{}) *gomock.Call

GetTenantServiceNodeSelectorLabel indicates an expected call of GetTenantServiceNodeSelectorLabel.

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantServiceTypeLabel Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) GetTenantServiceTypeLabel(serviceID interface{}) *gomock.Call

GetTenantServiceTypeLabel indicates an expected call of GetTenantServiceTypeLabel.

func (*MockTenantServiceLabelDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceLabelDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceMonitorDao Uses

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

MockTenantServiceMonitorDao is a mock of TenantServiceMonitorDao interface.

func NewMockTenantServiceMonitorDao Uses

func NewMockTenantServiceMonitorDao(ctrl *gomock.Controller) *MockTenantServiceMonitorDao

NewMockTenantServiceMonitorDao creates a new mock instance.

func (*MockTenantServiceMonitorDao) AddModel Uses

func (m *MockTenantServiceMonitorDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceMonitorDao) DeleteServiceMonitor Uses

func (m *MockTenantServiceMonitorDao) DeleteServiceMonitor(mo *model.TenantServiceMonitor) error

DeleteServiceMonitor mocks base method.

func (*MockTenantServiceMonitorDao) DeleteServiceMonitorByServiceID Uses

func (m *MockTenantServiceMonitorDao) DeleteServiceMonitorByServiceID(serviceID string) error

DeleteServiceMonitorByServiceID mocks base method.

func (*MockTenantServiceMonitorDao) EXPECT Uses

func (m *MockTenantServiceMonitorDao) EXPECT() *MockTenantServiceMonitorDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceMonitorDao) GetByName Uses

func (m *MockTenantServiceMonitorDao) GetByName(serviceID, name string) (*model.TenantServiceMonitor, error)

GetByName mocks base method.

func (*MockTenantServiceMonitorDao) GetByServiceID Uses

func (m *MockTenantServiceMonitorDao) GetByServiceID(serviceID string) ([]*model.TenantServiceMonitor, error)

GetByServiceID mocks base method.

func (*MockTenantServiceMonitorDao) UpdateModel Uses

func (m *MockTenantServiceMonitorDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceMonitorDaoMockRecorder Uses

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

MockTenantServiceMonitorDaoMockRecorder is the mock recorder for MockTenantServiceMonitorDao.

func (*MockTenantServiceMonitorDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceMonitorDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceMonitorDaoMockRecorder) DeleteServiceMonitor Uses

func (mr *MockTenantServiceMonitorDaoMockRecorder) DeleteServiceMonitor(mo interface{}) *gomock.Call

DeleteServiceMonitor indicates an expected call of DeleteServiceMonitor.

func (*MockTenantServiceMonitorDaoMockRecorder) DeleteServiceMonitorByServiceID Uses

func (mr *MockTenantServiceMonitorDaoMockRecorder) DeleteServiceMonitorByServiceID(serviceID interface{}) *gomock.Call

DeleteServiceMonitorByServiceID indicates an expected call of DeleteServiceMonitorByServiceID.

func (*MockTenantServiceMonitorDaoMockRecorder) GetByName Uses

func (mr *MockTenantServiceMonitorDaoMockRecorder) GetByName(serviceID, name interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockTenantServiceMonitorDaoMockRecorder) GetByServiceID Uses

func (mr *MockTenantServiceMonitorDaoMockRecorder) GetByServiceID(serviceID interface{}) *gomock.Call

GetByServiceID indicates an expected call of GetByServiceID.

func (*MockTenantServiceMonitorDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceMonitorDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceMountRelationDao Uses

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

MockTenantServiceMountRelationDao is a mock of TenantServiceMountRelationDao interface.

func NewMockTenantServiceMountRelationDao Uses

func NewMockTenantServiceMountRelationDao(ctrl *gomock.Controller) *MockTenantServiceMountRelationDao

NewMockTenantServiceMountRelationDao creates a new mock instance.

func (*MockTenantServiceMountRelationDao) AddModel Uses

func (m *MockTenantServiceMountRelationDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceMountRelationDao) DELTenantServiceMountRelationByServiceID Uses

func (m *MockTenantServiceMountRelationDao) DELTenantServiceMountRelationByServiceID(serviceID string) error

DELTenantServiceMountRelationByServiceID mocks base method.

func (*MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByDepService Uses

func (m *MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByDepService(serviceID, depServiceID string) error

DElTenantServiceMountRelationByDepService mocks base method.

func (*MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByServiceAndName Uses

func (m *MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByServiceAndName(serviceID, mntDir string) error

DElTenantServiceMountRelationByServiceAndName mocks base method.

func (*MockTenantServiceMountRelationDao) EXPECT Uses

func (m *MockTenantServiceMountRelationDao) EXPECT() *MockTenantServiceMountRelationDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceMountRelationDao) GetTenantServiceMountRelationsByService Uses

func (m *MockTenantServiceMountRelationDao) GetTenantServiceMountRelationsByService(serviceID string) ([]*model.TenantServiceMountRelation, error)

GetTenantServiceMountRelationsByService mocks base method.

func (*MockTenantServiceMountRelationDao) UpdateModel Uses

func (m *MockTenantServiceMountRelationDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceMountRelationDaoMockRecorder Uses

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

MockTenantServiceMountRelationDaoMockRecorder is the mock recorder for MockTenantServiceMountRelationDao.

func (*MockTenantServiceMountRelationDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceMountRelationDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceMountRelationDaoMockRecorder) DELTenantServiceMountRelationByServiceID Uses

func (mr *MockTenantServiceMountRelationDaoMockRecorder) DELTenantServiceMountRelationByServiceID(serviceID interface{}) *gomock.Call

DELTenantServiceMountRelationByServiceID indicates an expected call of DELTenantServiceMountRelationByServiceID.

func (*MockTenantServiceMountRelationDaoMockRecorder) DElTenantServiceMountRelationByDepService Uses

func (mr *MockTenantServiceMountRelationDaoMockRecorder) DElTenantServiceMountRelationByDepService(serviceID, depServiceID interface{}) *gomock.Call

DElTenantServiceMountRelationByDepService indicates an expected call of DElTenantServiceMountRelationByDepService.

func (*MockTenantServiceMountRelationDaoMockRecorder) DElTenantServiceMountRelationByServiceAndName Uses

func (mr *MockTenantServiceMountRelationDaoMockRecorder) DElTenantServiceMountRelationByServiceAndName(serviceID, mntDir interface{}) *gomock.Call

DElTenantServiceMountRelationByServiceAndName indicates an expected call of DElTenantServiceMountRelationByServiceAndName.

func (*MockTenantServiceMountRelationDaoMockRecorder) GetTenantServiceMountRelationsByService Uses

func (mr *MockTenantServiceMountRelationDaoMockRecorder) GetTenantServiceMountRelationsByService(serviceID interface{}) *gomock.Call

GetTenantServiceMountRelationsByService indicates an expected call of GetTenantServiceMountRelationsByService.

func (*MockTenantServiceMountRelationDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceMountRelationDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServicePluginRelationDao Uses

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

MockTenantServicePluginRelationDao is a mock of TenantServicePluginRelationDao interface.

func NewMockTenantServicePluginRelationDao Uses

func NewMockTenantServicePluginRelationDao(ctrl *gomock.Controller) *MockTenantServicePluginRelationDao

NewMockTenantServicePluginRelationDao creates a new mock instance.

func (*MockTenantServicePluginRelationDao) AddModel Uses

func (m *MockTenantServicePluginRelationDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServicePluginRelationDao) CheckSomeModelLikePluginByServiceID Uses

func (m *MockTenantServicePluginRelationDao) CheckSomeModelLikePluginByServiceID(serviceID, pluginModel string) (bool, error)

CheckSomeModelLikePluginByServiceID mocks base method.

func (*MockTenantServicePluginRelationDao) CheckSomeModelPluginByServiceID Uses

func (m *MockTenantServicePluginRelationDao) CheckSomeModelPluginByServiceID(serviceID, pluginModel string) (bool, error)

CheckSomeModelPluginByServiceID mocks base method.

func (*MockTenantServicePluginRelationDao) DeleteALLRelationByPluginID Uses

func (m *MockTenantServicePluginRelationDao) DeleteALLRelationByPluginID(pluginID string) error

DeleteALLRelationByPluginID mocks base method.

func (*MockTenantServicePluginRelationDao) DeleteALLRelationByServiceID Uses

func (m *MockTenantServicePluginRelationDao) DeleteALLRelationByServiceID(serviceID string) error

DeleteALLRelationByServiceID mocks base method.

func (*MockTenantServicePluginRelationDao) DeleteRelationByServiceIDAndPluginID Uses

func (m *MockTenantServicePluginRelationDao) DeleteRelationByServiceIDAndPluginID(serviceID, pluginID string) error

DeleteRelationByServiceIDAndPluginID mocks base method.

func (*MockTenantServicePluginRelationDao) EXPECT Uses

func (m *MockTenantServicePluginRelationDao) EXPECT() *MockTenantServicePluginRelationDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServicePluginRelationDao) GetALLRelationByServiceID Uses

func (m *MockTenantServicePluginRelationDao) GetALLRelationByServiceID(serviceID string) ([]*model.TenantServicePluginRelation, error)

GetALLRelationByServiceID mocks base method.

func (*MockTenantServicePluginRelationDao) GetRelateionByServiceIDAndPluginID Uses

func (m *MockTenantServicePluginRelationDao) GetRelateionByServiceIDAndPluginID(serviceID, pluginID string) (*model.TenantServicePluginRelation, error)

GetRelateionByServiceIDAndPluginID mocks base method.

func (*MockTenantServicePluginRelationDao) UpdateModel Uses

func (m *MockTenantServicePluginRelationDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServicePluginRelationDaoMockRecorder Uses

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

MockTenantServicePluginRelationDaoMockRecorder is the mock recorder for MockTenantServicePluginRelationDao.

func (*MockTenantServicePluginRelationDaoMockRecorder) AddModel Uses

func (mr *MockTenantServicePluginRelationDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServicePluginRelationDaoMockRecorder) CheckSomeModelLikePluginByServiceID Uses

func (mr *MockTenantServicePluginRelationDaoMockRecorder) CheckSomeModelLikePluginByServiceID(serviceID, pluginModel interface{}) *gomock.Call

CheckSomeModelLikePluginByServiceID indicates an expected call of CheckSomeModelLikePluginByServiceID.

func (*MockTenantServicePluginRelationDaoMockRecorder) CheckSomeModelPluginByServiceID Uses

func (mr *MockTenantServicePluginRelationDaoMockRecorder) CheckSomeModelPluginByServiceID(serviceID, pluginModel interface{}) *gomock.Call

CheckSomeModelPluginByServiceID indicates an expected call of CheckSomeModelPluginByServiceID.

func (*MockTenantServicePluginRelationDaoMockRecorder) DeleteALLRelationByPluginID Uses

func (mr *MockTenantServicePluginRelationDaoMockRecorder) DeleteALLRelationByPluginID(pluginID interface{}) *gomock.Call

DeleteALLRelationByPluginID indicates an expected call of DeleteALLRelationByPluginID.

func (*MockTenantServicePluginRelationDaoMockRecorder) DeleteALLRelationByServiceID Uses

func (mr *MockTenantServicePluginRelationDaoMockRecorder) DeleteALLRelationByServiceID(serviceID interface{}) *gomock.Call

DeleteALLRelationByServiceID indicates an expected call of DeleteALLRelationByServiceID.

func (*MockTenantServicePluginRelationDaoMockRecorder) DeleteRelationByServiceIDAndPluginID Uses

func (mr *MockTenantServicePluginRelationDaoMockRecorder) DeleteRelationByServiceIDAndPluginID(serviceID, pluginID interface{}) *gomock.Call

DeleteRelationByServiceIDAndPluginID indicates an expected call of DeleteRelationByServiceIDAndPluginID.

func (*MockTenantServicePluginRelationDaoMockRecorder) GetALLRelationByServiceID Uses

func (mr *MockTenantServicePluginRelationDaoMockRecorder) GetALLRelationByServiceID(serviceID interface{}) *gomock.Call

GetALLRelationByServiceID indicates an expected call of GetALLRelationByServiceID.

func (*MockTenantServicePluginRelationDaoMockRecorder) GetRelateionByServiceIDAndPluginID Uses

func (mr *MockTenantServicePluginRelationDaoMockRecorder) GetRelateionByServiceIDAndPluginID(serviceID, pluginID interface{}) *gomock.Call

GetRelateionByServiceIDAndPluginID indicates an expected call of GetRelateionByServiceIDAndPluginID.

func (*MockTenantServicePluginRelationDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServicePluginRelationDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceRelationDao Uses

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

MockTenantServiceRelationDao is a mock of TenantServiceRelationDao interface.

func NewMockTenantServiceRelationDao Uses

func NewMockTenantServiceRelationDao(ctrl *gomock.Controller) *MockTenantServiceRelationDao

NewMockTenantServiceRelationDao creates a new mock instance.

func (*MockTenantServiceRelationDao) AddModel Uses

func (m *MockTenantServiceRelationDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceRelationDao) DELRelationsByServiceID Uses

func (m *MockTenantServiceRelationDao) DELRelationsByServiceID(serviceID string) error

DELRelationsByServiceID mocks base method.

func (*MockTenantServiceRelationDao) DeleteModel Uses

func (m *MockTenantServiceRelationDao) DeleteModel(serviceID string, arg ...interface{}) error

DeleteModel mocks base method.

func (*MockTenantServiceRelationDao) DeleteRelationByDepID Uses

func (m *MockTenantServiceRelationDao) DeleteRelationByDepID(serviceID, depID string) error

DeleteRelationByDepID mocks base method.

func (*MockTenantServiceRelationDao) EXPECT Uses

func (m *MockTenantServiceRelationDao) EXPECT() *MockTenantServiceRelationDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceRelationDao) GetTenantServiceRelations Uses

func (m *MockTenantServiceRelationDao) GetTenantServiceRelations(serviceID string) ([]*model.TenantServiceRelation, error)

GetTenantServiceRelations mocks base method.

func (*MockTenantServiceRelationDao) GetTenantServiceRelationsByDependServiceID Uses

func (m *MockTenantServiceRelationDao) GetTenantServiceRelationsByDependServiceID(dependServiceID string) ([]*model.TenantServiceRelation, error)

GetTenantServiceRelationsByDependServiceID mocks base method.

func (*MockTenantServiceRelationDao) HaveRelations Uses

func (m *MockTenantServiceRelationDao) HaveRelations(serviceID string) bool

HaveRelations mocks base method.

func (*MockTenantServiceRelationDao) ListByServiceIDs Uses

func (m *MockTenantServiceRelationDao) ListByServiceIDs(serviceIDs []string) ([]*model.TenantServiceRelation, error)

ListByK8sServiceNames mocks base method.

func (*MockTenantServiceRelationDao) UpdateModel Uses

func (m *MockTenantServiceRelationDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceRelationDaoMockRecorder Uses

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

MockTenantServiceRelationDaoMockRecorder is the mock recorder for MockTenantServiceRelationDao.

func (*MockTenantServiceRelationDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceRelationDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceRelationDaoMockRecorder) DELRelationsByServiceID Uses

func (mr *MockTenantServiceRelationDaoMockRecorder) DELRelationsByServiceID(serviceID interface{}) *gomock.Call

DELRelationsByServiceID indicates an expected call of DELRelationsByServiceID.

func (*MockTenantServiceRelationDaoMockRecorder) DeleteModel Uses

func (mr *MockTenantServiceRelationDaoMockRecorder) DeleteModel(serviceID interface{}, arg ...interface{}) *gomock.Call

DeleteModel indicates an expected call of DeleteModel.

func (*MockTenantServiceRelationDaoMockRecorder) DeleteRelationByDepID Uses

func (mr *MockTenantServiceRelationDaoMockRecorder) DeleteRelationByDepID(serviceID, depID interface{}) *gomock.Call

DeleteRelationByDepID indicates an expected call of DeleteRelationByDepID.

func (*MockTenantServiceRelationDaoMockRecorder) GetTenantServiceRelations Uses

func (mr *MockTenantServiceRelationDaoMockRecorder) GetTenantServiceRelations(serviceID interface{}) *gomock.Call

GetTenantServiceRelations indicates an expected call of GetTenantServiceRelations.

func (*MockTenantServiceRelationDaoMockRecorder) GetTenantServiceRelationsByDependServiceID Uses

func (mr *MockTenantServiceRelationDaoMockRecorder) GetTenantServiceRelationsByDependServiceID(dependServiceID interface{}) *gomock.Call

GetTenantServiceRelationsByDependServiceID indicates an expected call of GetTenantServiceRelationsByDependServiceID.

func (*MockTenantServiceRelationDaoMockRecorder) HaveRelations Uses

func (mr *MockTenantServiceRelationDaoMockRecorder) HaveRelations(serviceID interface{}) *gomock.Call

HaveRelations indicates an expected call of HaveRelations.

func (*MockTenantServiceRelationDaoMockRecorder) ListByServiceIDs Uses

func (mr *MockTenantServiceRelationDaoMockRecorder) ListByServiceIDs(serviceIDs interface{}) *gomock.Call

ListByK8sServiceNames indicates an expected call of ListByK8sServiceNames.

func (*MockTenantServiceRelationDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceRelationDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServiceScalingRecordsDao Uses

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

MockTenantServiceScalingRecordsDao is a mock of TenantServiceScalingRecordsDao interface.

func NewMockTenantServiceScalingRecordsDao Uses

func NewMockTenantServiceScalingRecordsDao(ctrl *gomock.Controller) *MockTenantServiceScalingRecordsDao

NewMockTenantServiceScalingRecordsDao creates a new mock instance.

func (*MockTenantServiceScalingRecordsDao) AddModel Uses

func (m *MockTenantServiceScalingRecordsDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceScalingRecordsDao) CountByServiceID Uses

func (m *MockTenantServiceScalingRecordsDao) CountByServiceID(serviceID string) (int, error)

CountByServiceID mocks base method.

func (*MockTenantServiceScalingRecordsDao) EXPECT Uses

func (m *MockTenantServiceScalingRecordsDao) EXPECT() *MockTenantServiceScalingRecordsDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceScalingRecordsDao) ListByServiceID Uses

func (m *MockTenantServiceScalingRecordsDao) ListByServiceID(serviceID string, offset, limit int) ([]*model.TenantServiceScalingRecords, error)

ListByServiceID mocks base method.

func (*MockTenantServiceScalingRecordsDao) UpdateModel Uses

func (m *MockTenantServiceScalingRecordsDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

func (*MockTenantServiceScalingRecordsDao) UpdateOrCreate Uses

func (m *MockTenantServiceScalingRecordsDao) UpdateOrCreate(new *model.TenantServiceScalingRecords) error

UpdateOrCreate mocks base method.

type MockTenantServiceScalingRecordsDaoMockRecorder Uses

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

MockTenantServiceScalingRecordsDaoMockRecorder is the mock recorder for MockTenantServiceScalingRecordsDao.

func (*MockTenantServiceScalingRecordsDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceScalingRecordsDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceScalingRecordsDaoMockRecorder) CountByServiceID Uses

func (mr *MockTenantServiceScalingRecordsDaoMockRecorder) CountByServiceID(serviceID interface{}) *gomock.Call

CountByServiceID indicates an expected call of CountByServiceID.

func (*MockTenantServiceScalingRecordsDaoMockRecorder) ListByServiceID Uses

func (mr *MockTenantServiceScalingRecordsDaoMockRecorder) ListByServiceID(serviceID, offset, limit interface{}) *gomock.Call

ListByServiceID indicates an expected call of ListByServiceID.

func (*MockTenantServiceScalingRecordsDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceScalingRecordsDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

func (*MockTenantServiceScalingRecordsDaoMockRecorder) UpdateOrCreate Uses

func (mr *MockTenantServiceScalingRecordsDaoMockRecorder) UpdateOrCreate(new interface{}) *gomock.Call

UpdateOrCreate indicates an expected call of UpdateOrCreate.

type MockTenantServiceVolumeDao Uses

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

MockTenantServiceVolumeDao is a mock of TenantServiceVolumeDao interface.

func NewMockTenantServiceVolumeDao Uses

func NewMockTenantServiceVolumeDao(ctrl *gomock.Controller) *MockTenantServiceVolumeDao

NewMockTenantServiceVolumeDao creates a new mock instance.

func (*MockTenantServiceVolumeDao) AddModel Uses

func (m *MockTenantServiceVolumeDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServiceVolumeDao) DelShareableBySID Uses

func (m *MockTenantServiceVolumeDao) DelShareableBySID(sid string) error

DelShareableBySID mocks base method.

func (*MockTenantServiceVolumeDao) DeleteByServiceIDAndVolumePath Uses

func (m *MockTenantServiceVolumeDao) DeleteByServiceIDAndVolumePath(serviceID, volumePath string) error

DeleteByServiceIDAndVolumePath mocks base method.

func (*MockTenantServiceVolumeDao) DeleteModel Uses

func (m *MockTenantServiceVolumeDao) DeleteModel(serviceID string, arg ...interface{}) error

DeleteModel mocks base method.

func (*MockTenantServiceVolumeDao) DeleteTenantServiceVolumesByServiceID Uses

func (m *MockTenantServiceVolumeDao) DeleteTenantServiceVolumesByServiceID(serviceID string) error

DeleteTenantServiceVolumesByServiceID mocks base method.

func (*MockTenantServiceVolumeDao) EXPECT Uses

func (m *MockTenantServiceVolumeDao) EXPECT() *MockTenantServiceVolumeDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServiceVolumeDao) GetAllVolumes Uses

func (m *MockTenantServiceVolumeDao) GetAllVolumes() ([]*model.TenantServiceVolume, error)

GetAllVolumes mocks base method.

func (*MockTenantServiceVolumeDao) GetTenantServiceVolumesByServiceID Uses

func (m *MockTenantServiceVolumeDao) GetTenantServiceVolumesByServiceID(serviceID string) ([]*model.TenantServiceVolume, error)

GetTenantServiceVolumesByServiceID mocks base method.

func (*MockTenantServiceVolumeDao) GetVolumeByID Uses

func (m *MockTenantServiceVolumeDao) GetVolumeByID(id int) (*model.TenantServiceVolume, error)

GetVolumeByID mocks base method.

func (*MockTenantServiceVolumeDao) GetVolumeByServiceIDAndName Uses

func (m *MockTenantServiceVolumeDao) GetVolumeByServiceIDAndName(serviceID, name string) (*model.TenantServiceVolume, error)

GetVolumeByServiceIDAndName mocks base method.

func (*MockTenantServiceVolumeDao) UpdateModel Uses

func (m *MockTenantServiceVolumeDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServiceVolumeDaoMockRecorder Uses

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

MockTenantServiceVolumeDaoMockRecorder is the mock recorder for MockTenantServiceVolumeDao.

func (*MockTenantServiceVolumeDaoMockRecorder) AddModel Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServiceVolumeDaoMockRecorder) DelShareableBySID Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) DelShareableBySID(sid interface{}) *gomock.Call

DelShareableBySID indicates an expected call of DelShareableBySID.

func (*MockTenantServiceVolumeDaoMockRecorder) DeleteByServiceIDAndVolumePath Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) DeleteByServiceIDAndVolumePath(serviceID, volumePath interface{}) *gomock.Call

DeleteByServiceIDAndVolumePath indicates an expected call of DeleteByServiceIDAndVolumePath.

func (*MockTenantServiceVolumeDaoMockRecorder) DeleteModel Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) DeleteModel(serviceID interface{}, arg ...interface{}) *gomock.Call

DeleteModel indicates an expected call of DeleteModel.

func (*MockTenantServiceVolumeDaoMockRecorder) DeleteTenantServiceVolumesByServiceID Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) DeleteTenantServiceVolumesByServiceID(serviceID interface{}) *gomock.Call

DeleteTenantServiceVolumesByServiceID indicates an expected call of DeleteTenantServiceVolumesByServiceID.

func (*MockTenantServiceVolumeDaoMockRecorder) GetAllVolumes Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) GetAllVolumes() *gomock.Call

GetAllVolumes indicates an expected call of GetAllVolumes.

func (*MockTenantServiceVolumeDaoMockRecorder) GetTenantServiceVolumesByServiceID Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) GetTenantServiceVolumesByServiceID(serviceID interface{}) *gomock.Call

GetTenantServiceVolumesByServiceID indicates an expected call of GetTenantServiceVolumesByServiceID.

func (*MockTenantServiceVolumeDaoMockRecorder) GetVolumeByID Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) GetVolumeByID(id interface{}) *gomock.Call

GetVolumeByID indicates an expected call of GetVolumeByID.

func (*MockTenantServiceVolumeDaoMockRecorder) GetVolumeByServiceIDAndName Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) GetVolumeByServiceIDAndName(serviceID, name interface{}) *gomock.Call

GetVolumeByServiceIDAndName indicates an expected call of GetVolumeByServiceIDAndName.

func (*MockTenantServiceVolumeDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServiceVolumeDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServicesPortDao Uses

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

MockTenantServicesPortDao is a mock of TenantServicesPortDao interface.

func NewMockTenantServicesPortDao Uses

func NewMockTenantServicesPortDao(ctrl *gomock.Controller) *MockTenantServicesPortDao

NewMockTenantServicesPortDao creates a new mock instance.

func (*MockTenantServicesPortDao) AddModel Uses

func (m *MockTenantServicesPortDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServicesPortDao) DELPortsByServiceID Uses

func (m *MockTenantServicesPortDao) DELPortsByServiceID(serviceID string) error

DELPortsByServiceID mocks base method.

func (*MockTenantServicesPortDao) DelByServiceID Uses

func (m *MockTenantServicesPortDao) DelByServiceID(sid string) error

DelByServiceID mocks base method.

func (*MockTenantServicesPortDao) DeleteModel Uses

func (m *MockTenantServicesPortDao) DeleteModel(serviceID string, arg ...interface{}) error

DeleteModel mocks base method.

func (*MockTenantServicesPortDao) EXPECT Uses

func (m *MockTenantServicesPortDao) EXPECT() *MockTenantServicesPortDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServicesPortDao) GetDepUDPPort Uses

func (m *MockTenantServicesPortDao) GetDepUDPPort(serviceID string) ([]*model.TenantServicesPort, error)

GetDepUDPPort mocks base method.

func (*MockTenantServicesPortDao) GetInnerPorts Uses

func (m *MockTenantServicesPortDao) GetInnerPorts(serviceID string) ([]*model.TenantServicesPort, error)

GetInnerPorts mocks base method.

func (*MockTenantServicesPortDao) GetOpenedPorts Uses

func (m *MockTenantServicesPortDao) GetOpenedPorts(serviceID string) ([]*model.TenantServicesPort, error)

GetOpenedPorts mocks base method.

func (*MockTenantServicesPortDao) GetOuterPorts Uses

func (m *MockTenantServicesPortDao) GetOuterPorts(serviceID string) ([]*model.TenantServicesPort, error)

GetOuterPorts mocks base method.

func (*MockTenantServicesPortDao) GetPort Uses

func (m *MockTenantServicesPortDao) GetPort(serviceID string, port int) (*model.TenantServicesPort, error)

GetPort mocks base method.

func (*MockTenantServicesPortDao) GetPortsByServiceID Uses

func (m *MockTenantServicesPortDao) GetPortsByServiceID(serviceID string) ([]*model.TenantServicesPort, error)

GetPortsByServiceID mocks base method.

func (*MockTenantServicesPortDao) HasOpenPort Uses

func (m *MockTenantServicesPortDao) HasOpenPort(sid string) bool

HasOpenPort mocks base method.

func (*MockTenantServicesPortDao) ListInnerPortsByServiceIDs Uses

func (m *MockTenantServicesPortDao) ListInnerPortsByServiceIDs(serviceIDs []string) ([]*model.TenantServicesPort, error)

ListInnerPortsByServiceIDs mocks base method.

func (*MockTenantServicesPortDao) UpdateModel Uses

func (m *MockTenantServicesPortDao) UpdateModel(arg0 model.Interface) error

UpdateModel mocks base method.

type MockTenantServicesPortDaoMockRecorder Uses

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

MockTenantServicesPortDaoMockRecorder is the mock recorder for MockTenantServicesPortDao.

func (*MockTenantServicesPortDaoMockRecorder) AddModel Uses

func (mr *MockTenantServicesPortDaoMockRecorder) AddModel(arg0 interface{}) *gomock.Call

AddModel indicates an expected call of AddModel.

func (*MockTenantServicesPortDaoMockRecorder) DELPortsByServiceID Uses

func (mr *MockTenantServicesPortDaoMockRecorder) DELPortsByServiceID(serviceID interface{}) *gomock.Call

DELPortsByServiceID indicates an expected call of DELPortsByServiceID.

func (*MockTenantServicesPortDaoMockRecorder) DelByServiceID Uses

func (mr *MockTenantServicesPortDaoMockRecorder) DelByServiceID(sid interface{}) *gomock.Call

DelByServiceID indicates an expected call of DelByServiceID.

func (*MockTenantServicesPortDaoMockRecorder) DeleteModel Uses

func (mr *MockTenantServicesPortDaoMockRecorder) DeleteModel(serviceID interface{}, arg ...interface{}) *gomock.Call

DeleteModel indicates an expected call of DeleteModel.

func (*MockTenantServicesPortDaoMockRecorder) GetDepUDPPort Uses

func (mr *MockTenantServicesPortDaoMockRecorder) GetDepUDPPort(serviceID interface{}) *gomock.Call

GetDepUDPPort indicates an expected call of GetDepUDPPort.

func (*MockTenantServicesPortDaoMockRecorder) GetInnerPorts Uses

func (mr *MockTenantServicesPortDaoMockRecorder) GetInnerPorts(serviceID interface{}) *gomock.Call

GetInnerPorts indicates an expected call of GetInnerPorts.

func (*MockTenantServicesPortDaoMockRecorder) GetOpenedPorts Uses

func (mr *MockTenantServicesPortDaoMockRecorder) GetOpenedPorts(serviceID interface{}) *gomock.Call

GetOpenedPorts indicates an expected call of GetOpenedPorts.

func (*MockTenantServicesPortDaoMockRecorder) GetOuterPorts Uses

func (mr *MockTenantServicesPortDaoMockRecorder) GetOuterPorts(serviceID interface{}) *gomock.Call

GetOuterPorts indicates an expected call of GetOuterPorts.

func (*MockTenantServicesPortDaoMockRecorder) GetPort Uses

func (mr *MockTenantServicesPortDaoMockRecorder) GetPort(serviceID, port interface{}) *gomock.Call

GetPort indicates an expected call of GetPort.

func (*MockTenantServicesPortDaoMockRecorder) GetPortsByServiceID Uses

func (mr *MockTenantServicesPortDaoMockRecorder) GetPortsByServiceID(serviceID interface{}) *gomock.Call

GetPortsByServiceID indicates an expected call of GetPortsByServiceID.

func (*MockTenantServicesPortDaoMockRecorder) HasOpenPort Uses

func (mr *MockTenantServicesPortDaoMockRecorder) HasOpenPort(sid interface{}) *gomock.Call

HasOpenPort indicates an expected call of HasOpenPort.

func (*MockTenantServicesPortDaoMockRecorder) ListInnerPortsByServiceIDs Uses

func (mr *MockTenantServicesPortDaoMockRecorder) ListInnerPortsByServiceIDs(serviceIDs interface{}) *gomock.Call

ListInnerPortsByServiceIDs indicates an expected call of ListInnerPortsByServiceIDs.

func (*MockTenantServicesPortDaoMockRecorder) UpdateModel Uses

func (mr *MockTenantServicesPortDaoMockRecorder) UpdateModel(arg0 interface{}) *gomock.Call

UpdateModel indicates an expected call of UpdateModel.

type MockTenantServicesStreamPluginPortDao Uses

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

MockTenantServicesStreamPluginPortDao is a mock of TenantServicesStreamPluginPortDao interface.

func NewMockTenantServicesStreamPluginPortDao Uses

func NewMockTenantServicesStreamPluginPortDao(ctrl *gomock.Controller) *MockTenantServicesStreamPluginPortDao

NewMockTenantServicesStreamPluginPortDao creates a new mock instance.

func (*MockTenantServicesStreamPluginPortDao) AddModel Uses

func (m *MockTenantServicesStreamPluginPortDao) AddModel(arg0 model.Interface) error

AddModel mocks base method.

func (*MockTenantServicesStreamPluginPortDao) DeleteAllPluginMappingPortByServiceID Uses

func (m *MockTenantServicesStreamPluginPortDao) DeleteAllPluginMappingPortByServiceID(serviceID string) error

DeleteAllPluginMappingPortByServiceID mocks base method.

func (*MockTenantServicesStreamPluginPortDao) DeletePluginMappingPortByContainerPort Uses

func (m *MockTenantServicesStreamPluginPortDao) DeletePluginMappingPortByContainerPort(serviceID, pluginModel string, containerPort int) error

DeletePluginMappingPortByContainerPort mocks base method.

func (*MockTenantServicesStreamPluginPortDao) EXPECT Uses

func (m *MockTenantServicesStreamPluginPortDao) EXPECT() *MockTenantServicesStreamPluginPortDaoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTenantServicesStreamPluginPortDao)