dao

package
v5.2.0-beta2+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Package dao is a generated GoMock package.

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type AppBackupDao

type AppBackupDao interface {
	Dao
	CheckHistory(groupID, version string) bool
	GetAppBackups(groupID string) ([]*model.AppBackup, error)
	DeleteAppBackup(backupID string) error
	GetAppBackup(backupID string) (*model.AppBackup, error)
	GetDeleteAppBackup(backupID string) (*model.AppBackup, error)
	GetDeleteAppBackups() ([]*model.AppBackup, error)
}

AppBackupDao group app backup history

type AppDao

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

AppDao tenant dao

type CertificateDao

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

CertificateDao -

type CodeCheckResultDao

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

CodeCheckResultDao CodeCheckResultDao

type Dao

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

Dao 数据持久化层接口

type DelDao

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

DelDao 删除接口

type EndpointsDao

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

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

EnterpriseDao enterprise dao

type EventDao

type EventDao interface {
	Dao
	GetEventByEventID(eventID string) (*model.ServiceEvent, error)
	GetEventByEventIDs(eventIDs []string) ([]*model.ServiceEvent, error)
	GetEventByServiceID(serviceID string) ([]*model.ServiceEvent, error)
	DelEventByServiceID(serviceID string) error
	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

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

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

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

LicenseDao LicenseDao

type LocalSchedulerDao

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

LocalSchedulerDao 本地调度信息

type MockAppBackupDao

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

MockAppBackupDao is a mock of AppBackupDao interface

func NewMockAppBackupDao

func NewMockAppBackupDao(ctrl *gomock.Controller) *MockAppBackupDao

NewMockAppBackupDao creates a new mock instance

func (*MockAppBackupDao) AddModel

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

AddModel mocks base method

func (*MockAppBackupDao) CheckHistory

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

CheckHistory mocks base method

func (*MockAppBackupDao) DeleteAppBackup

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

DeleteAppBackup mocks base method

func (*MockAppBackupDao) EXPECT

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

func (*MockAppBackupDao) GetAppBackup

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

GetAppBackup mocks base method

func (*MockAppBackupDao) GetAppBackups

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

GetAppBackups mocks base method

func (*MockAppBackupDao) GetDeleteAppBackup

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

GetDeleteAppBackup mocks base method

func (*MockAppBackupDao) GetDeleteAppBackups

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

GetDeleteAppBackups mocks base method

func (*MockAppBackupDao) UpdateModel

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

UpdateModel mocks base method

type MockAppBackupDaoMockRecorder

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

MockAppBackupDaoMockRecorder is the mock recorder for MockAppBackupDao

func (*MockAppBackupDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockAppBackupDaoMockRecorder) CheckHistory

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

CheckHistory indicates an expected call of CheckHistory

func (*MockAppBackupDaoMockRecorder) DeleteAppBackup

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

DeleteAppBackup indicates an expected call of DeleteAppBackup

func (*MockAppBackupDaoMockRecorder) GetAppBackup

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

GetAppBackup indicates an expected call of GetAppBackup

func (*MockAppBackupDaoMockRecorder) GetAppBackups

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

GetAppBackups indicates an expected call of GetAppBackups

func (*MockAppBackupDaoMockRecorder) GetDeleteAppBackup

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

GetDeleteAppBackup indicates an expected call of GetDeleteAppBackup

func (*MockAppBackupDaoMockRecorder) GetDeleteAppBackups

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

GetDeleteAppBackups indicates an expected call of GetDeleteAppBackups

func (*MockAppBackupDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockAppDao

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

MockAppDao is a mock of AppDao interface

func NewMockAppDao

func NewMockAppDao(ctrl *gomock.Controller) *MockAppDao

NewMockAppDao creates a new mock instance

func (*MockAppDao) AddModel

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

AddModel mocks base method

func (*MockAppDao) DeleteModelByEventId

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

DeleteModelByEventId mocks base method

func (*MockAppDao) EXPECT

func (m *MockAppDao) EXPECT() *MockAppDaoMockRecorder

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

func (*MockAppDao) GetByEventId

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

GetByEventId mocks base method

func (*MockAppDao) UpdateModel

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

UpdateModel mocks base method

type MockAppDaoMockRecorder

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

MockAppDaoMockRecorder is the mock recorder for MockAppDao

func (*MockAppDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockAppDaoMockRecorder) DeleteModelByEventId

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

DeleteModelByEventId indicates an expected call of DeleteModelByEventId

func (*MockAppDaoMockRecorder) GetByEventId

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

GetByEventId indicates an expected call of GetByEventId

func (*MockAppDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockCertificateDao

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

MockCertificateDao is a mock of CertificateDao interface

func NewMockCertificateDao

func NewMockCertificateDao(ctrl *gomock.Controller) *MockCertificateDao

NewMockCertificateDao creates a new mock instance

func (*MockCertificateDao) AddModel

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

AddModel mocks base method

func (*MockCertificateDao) AddOrUpdate

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

AddOrUpdate mocks base method

func (*MockCertificateDao) DeleteCertificateByID

func (m *MockCertificateDao) DeleteCertificateByID(certificateID string) error

DeleteCertificateByID mocks base method

func (*MockCertificateDao) EXPECT

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

func (*MockCertificateDao) GetCertificateByID

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

GetCertificateByID mocks base method

func (*MockCertificateDao) UpdateModel

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

UpdateModel mocks base method

type MockCertificateDaoMockRecorder

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

MockCertificateDaoMockRecorder is the mock recorder for MockCertificateDao

func (*MockCertificateDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockCertificateDaoMockRecorder) AddOrUpdate

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

AddOrUpdate indicates an expected call of AddOrUpdate

func (*MockCertificateDaoMockRecorder) DeleteCertificateByID

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

DeleteCertificateByID indicates an expected call of DeleteCertificateByID

func (*MockCertificateDaoMockRecorder) GetCertificateByID

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

GetCertificateByID indicates an expected call of GetCertificateByID

func (*MockCertificateDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockCodeCheckResultDao

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

MockCodeCheckResultDao is a mock of CodeCheckResultDao interface

func NewMockCodeCheckResultDao

func NewMockCodeCheckResultDao(ctrl *gomock.Controller) *MockCodeCheckResultDao

NewMockCodeCheckResultDao creates a new mock instance

func (*MockCodeCheckResultDao) AddModel

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

AddModel mocks base method

func (*MockCodeCheckResultDao) DeleteByServiceID

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

DeleteByServiceID mocks base method

func (*MockCodeCheckResultDao) EXPECT

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

func (*MockCodeCheckResultDao) GetCodeCheckResult

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

GetCodeCheckResult mocks base method

func (*MockCodeCheckResultDao) UpdateModel

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

UpdateModel mocks base method

type MockCodeCheckResultDaoMockRecorder

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

MockCodeCheckResultDaoMockRecorder is the mock recorder for MockCodeCheckResultDao

func (*MockCodeCheckResultDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockCodeCheckResultDaoMockRecorder) DeleteByServiceID

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

DeleteByServiceID indicates an expected call of DeleteByServiceID

func (*MockCodeCheckResultDaoMockRecorder) GetCodeCheckResult

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

GetCodeCheckResult indicates an expected call of GetCodeCheckResult

func (*MockCodeCheckResultDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockDao

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

MockDao is a mock of Dao interface

func NewMockDao

func NewMockDao(ctrl *gomock.Controller) *MockDao

NewMockDao creates a new mock instance

func (*MockDao) AddModel

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

AddModel mocks base method

func (*MockDao) EXPECT

func (m *MockDao) EXPECT() *MockDaoMockRecorder

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

func (*MockDao) UpdateModel

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

UpdateModel mocks base method

type MockDaoMockRecorder

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

MockDaoMockRecorder is the mock recorder for MockDao

func (*MockDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockDelDao

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

MockDelDao is a mock of DelDao interface

func NewMockDelDao

func NewMockDelDao(ctrl *gomock.Controller) *MockDelDao

NewMockDelDao creates a new mock instance

func (*MockDelDao) DeleteModel

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

DeleteModel mocks base method

func (*MockDelDao) EXPECT

func (m *MockDelDao) EXPECT() *MockDelDaoMockRecorder

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

type MockDelDaoMockRecorder

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

MockDelDaoMockRecorder is the mock recorder for MockDelDao

func (*MockDelDaoMockRecorder) DeleteModel

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

DeleteModel indicates an expected call of DeleteModel

type MockEndpointsDao

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

MockEndpointsDao is a mock of EndpointsDao interface

func NewMockEndpointsDao

func NewMockEndpointsDao(ctrl *gomock.Controller) *MockEndpointsDao

NewMockEndpointsDao creates a new mock instance

func (*MockEndpointsDao) AddModel

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

AddModel mocks base method

func (*MockEndpointsDao) DelByUUID

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

DelByUUID mocks base method

func (*MockEndpointsDao) DeleteByServiceID

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

DeleteByServiceID mocks base method

func (*MockEndpointsDao) EXPECT

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

func (*MockEndpointsDao) GetByUUID

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

GetByUUID mocks base method

func (*MockEndpointsDao) List

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

List mocks base method

func (*MockEndpointsDao) ListIsOnline

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

ListIsOnline mocks base method

func (*MockEndpointsDao) UpdateModel

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

UpdateModel mocks base method

type MockEndpointsDaoMockRecorder

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

MockEndpointsDaoMockRecorder is the mock recorder for MockEndpointsDao

func (*MockEndpointsDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockEndpointsDaoMockRecorder) DelByUUID

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

DelByUUID indicates an expected call of DelByUUID

func (*MockEndpointsDaoMockRecorder) DeleteByServiceID

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

DeleteByServiceID indicates an expected call of DeleteByServiceID

func (*MockEndpointsDaoMockRecorder) GetByUUID

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

GetByUUID indicates an expected call of GetByUUID

func (*MockEndpointsDaoMockRecorder) List

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

List indicates an expected call of List

func (*MockEndpointsDaoMockRecorder) ListIsOnline

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

ListIsOnline indicates an expected call of ListIsOnline

func (*MockEndpointsDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockEnterpriseDao

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

MockEnterpriseDao is a mock of EnterpriseDao interface

func NewMockEnterpriseDao

func NewMockEnterpriseDao(ctrl *gomock.Controller) *MockEnterpriseDao

NewMockEnterpriseDao creates a new mock instance

func (*MockEnterpriseDao) EXPECT

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

func (*MockEnterpriseDao) GetEnterpriseTenants

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

GetEnterpriseTenants mocks base method

type MockEnterpriseDaoMockRecorder

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

MockEnterpriseDaoMockRecorder is the mock recorder for MockEnterpriseDao

func (*MockEnterpriseDaoMockRecorder) GetEnterpriseTenants

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

GetEnterpriseTenants indicates an expected call of GetEnterpriseTenants

type MockEventDao

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

MockEventDao is a mock of EventDao interface

func NewMockEventDao

func NewMockEventDao(ctrl *gomock.Controller) *MockEventDao

NewMockEventDao creates a new mock instance

func (*MockEventDao) AddModel

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

AddModel mocks base method

func (*MockEventDao) DelEventByServiceID

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

DelEventByServiceID mocks base method

func (*MockEventDao) EXPECT

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

func (*MockEventDao) GetEventByEventID

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

GetEventByEventID mocks base method

func (*MockEventDao) GetEventByEventIDs

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

GetEventByEventIDs mocks base method

func (*MockEventDao) GetEventByServiceID

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

GetEventByServiceID mocks base method

func (*MockEventDao) GetEventsByTarget

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

GetEventsByTarget mocks base method

func (*MockEventDao) GetEventsByTenantID

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

GetEventsByTenantID mocks base method

func (*MockEventDao) GetLastASyncEvent

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

GetLastASyncEvent mocks base method

func (*MockEventDao) LatestFailurePodEvent

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

LatestFailurePodEvent mocks base method

func (*MockEventDao) ListByTargetID

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

ListByTargetID mocks base method

func (*MockEventDao) UnfinishedEvents

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

UnfinishedEvents mocks base method

func (*MockEventDao) UpdateModel

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

UpdateModel mocks base method

type MockEventDaoMockRecorder

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

MockEventDaoMockRecorder is the mock recorder for MockEventDao

func (*MockEventDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockEventDaoMockRecorder) DelEventByServiceID

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

DelEventByServiceID indicates an expected call of DelEventByServiceID

func (*MockEventDaoMockRecorder) GetEventByEventID

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

GetEventByEventID indicates an expected call of GetEventByEventID

func (*MockEventDaoMockRecorder) GetEventByEventIDs

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

GetEventByEventIDs indicates an expected call of GetEventByEventIDs

func (*MockEventDaoMockRecorder) GetEventByServiceID

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

GetEventByServiceID indicates an expected call of GetEventByServiceID

func (*MockEventDaoMockRecorder) GetEventsByTarget

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

GetEventsByTarget indicates an expected call of GetEventsByTarget

func (*MockEventDaoMockRecorder) GetEventsByTenantID

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

GetEventsByTenantID indicates an expected call of GetEventsByTenantID

func (*MockEventDaoMockRecorder) GetLastASyncEvent

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

GetLastASyncEvent indicates an expected call of GetLastASyncEvent

func (*MockEventDaoMockRecorder) LatestFailurePodEvent

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

LatestFailurePodEvent indicates an expected call of LatestFailurePodEvent

func (*MockEventDaoMockRecorder) ListByTargetID

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

ListByTargetID indicates an expected call of ListByTargetID

func (*MockEventDaoMockRecorder) UnfinishedEvents

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

UnfinishedEvents indicates an expected call of UnfinishedEvents

func (*MockEventDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockGwRuleConfigDao

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

MockGwRuleConfigDao is a mock of GwRuleConfigDao interface

func NewMockGwRuleConfigDao

func NewMockGwRuleConfigDao(ctrl *gomock.Controller) *MockGwRuleConfigDao

NewMockGwRuleConfigDao creates a new mock instance

func (*MockGwRuleConfigDao) AddModel

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

AddModel mocks base method

func (*MockGwRuleConfigDao) DeleteByRuleID

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

DeleteByRuleID mocks base method

func (*MockGwRuleConfigDao) EXPECT

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

func (*MockGwRuleConfigDao) ListByRuleID

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

ListByRuleID mocks base method

func (*MockGwRuleConfigDao) UpdateModel

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

UpdateModel mocks base method

type MockGwRuleConfigDaoMockRecorder

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

MockGwRuleConfigDaoMockRecorder is the mock recorder for MockGwRuleConfigDao

func (*MockGwRuleConfigDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockGwRuleConfigDaoMockRecorder) DeleteByRuleID

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

DeleteByRuleID indicates an expected call of DeleteByRuleID

func (*MockGwRuleConfigDaoMockRecorder) ListByRuleID

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

ListByRuleID indicates an expected call of ListByRuleID

func (*MockGwRuleConfigDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockHTTPRuleDao

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

MockHTTPRuleDao is a mock of HTTPRuleDao interface

func NewMockHTTPRuleDao

func NewMockHTTPRuleDao(ctrl *gomock.Controller) *MockHTTPRuleDao

NewMockHTTPRuleDao creates a new mock instance

func (*MockHTTPRuleDao) AddModel

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

AddModel mocks base method

func (*MockHTTPRuleDao) DeleteHTTPRuleByID

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

DeleteHTTPRuleByID mocks base method

func (*MockHTTPRuleDao) DeleteHTTPRuleByServiceID

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

DeleteHTTPRuleByServiceID mocks base method

func (*MockHTTPRuleDao) EXPECT

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

func (*MockHTTPRuleDao) GetHTTPRuleByID

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

GetHTTPRuleByID mocks base method

func (*MockHTTPRuleDao) GetHTTPRuleByServiceIDAndContainerPort

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

GetHTTPRuleByServiceIDAndContainerPort mocks base method

func (*MockHTTPRuleDao) ListByCertID

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

ListByCertID mocks base method

func (*MockHTTPRuleDao) ListByServiceID

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

ListByServiceID mocks base method

func (*MockHTTPRuleDao) UpdateModel

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

UpdateModel mocks base method

type MockHTTPRuleDaoMockRecorder

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

MockHTTPRuleDaoMockRecorder is the mock recorder for MockHTTPRuleDao

func (*MockHTTPRuleDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockHTTPRuleDaoMockRecorder) DeleteHTTPRuleByID

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

DeleteHTTPRuleByID indicates an expected call of DeleteHTTPRuleByID

func (*MockHTTPRuleDaoMockRecorder) DeleteHTTPRuleByServiceID

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

DeleteHTTPRuleByServiceID indicates an expected call of DeleteHTTPRuleByServiceID

func (*MockHTTPRuleDaoMockRecorder) GetHTTPRuleByID

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

GetHTTPRuleByID indicates an expected call of GetHTTPRuleByID

func (*MockHTTPRuleDaoMockRecorder) GetHTTPRuleByServiceIDAndContainerPort

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

GetHTTPRuleByServiceIDAndContainerPort indicates an expected call of GetHTTPRuleByServiceIDAndContainerPort

func (*MockHTTPRuleDaoMockRecorder) ListByCertID

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

ListByCertID indicates an expected call of ListByCertID

func (*MockHTTPRuleDaoMockRecorder) ListByServiceID

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

ListByServiceID indicates an expected call of ListByServiceID

func (*MockHTTPRuleDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockLicenseDao

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

MockLicenseDao is a mock of LicenseDao interface

func NewMockLicenseDao

func NewMockLicenseDao(ctrl *gomock.Controller) *MockLicenseDao

NewMockLicenseDao creates a new mock instance

func (*MockLicenseDao) AddModel

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

AddModel mocks base method

func (*MockLicenseDao) EXPECT

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

func (*MockLicenseDao) ListLicenses

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

ListLicenses mocks base method

func (*MockLicenseDao) UpdateModel

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

UpdateModel mocks base method

type MockLicenseDaoMockRecorder

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

MockLicenseDaoMockRecorder is the mock recorder for MockLicenseDao

func (*MockLicenseDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockLicenseDaoMockRecorder) ListLicenses

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

ListLicenses indicates an expected call of ListLicenses

func (*MockLicenseDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockLocalSchedulerDao

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

MockLocalSchedulerDao is a mock of LocalSchedulerDao interface

func NewMockLocalSchedulerDao

func NewMockLocalSchedulerDao(ctrl *gomock.Controller) *MockLocalSchedulerDao

NewMockLocalSchedulerDao creates a new mock instance

func (*MockLocalSchedulerDao) AddModel

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

AddModel mocks base method

func (*MockLocalSchedulerDao) EXPECT

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

func (*MockLocalSchedulerDao) GetLocalScheduler

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

GetLocalScheduler mocks base method

func (*MockLocalSchedulerDao) UpdateModel

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

UpdateModel mocks base method

type MockLocalSchedulerDaoMockRecorder

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

MockLocalSchedulerDaoMockRecorder is the mock recorder for MockLocalSchedulerDao

func (*MockLocalSchedulerDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockLocalSchedulerDaoMockRecorder) GetLocalScheduler

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

GetLocalScheduler indicates an expected call of GetLocalScheduler

func (*MockLocalSchedulerDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockNotificationEventDao

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

MockNotificationEventDao is a mock of NotificationEventDao interface

func NewMockNotificationEventDao

func NewMockNotificationEventDao(ctrl *gomock.Controller) *MockNotificationEventDao

NewMockNotificationEventDao creates a new mock instance

func (*MockNotificationEventDao) AddModel

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

AddModel mocks base method

func (*MockNotificationEventDao) EXPECT

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

func (*MockNotificationEventDao) GetNotificationEventByHash

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

GetNotificationEventByHash mocks base method

func (*MockNotificationEventDao) GetNotificationEventByKind

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

GetNotificationEventByKind mocks base method

func (*MockNotificationEventDao) GetNotificationEventByTime

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

GetNotificationEventByTime mocks base method

func (*MockNotificationEventDao) GetNotificationEventNotHandle

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

GetNotificationEventNotHandle mocks base method

func (*MockNotificationEventDao) UpdateModel

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

UpdateModel mocks base method

type MockNotificationEventDaoMockRecorder

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

MockNotificationEventDaoMockRecorder is the mock recorder for MockNotificationEventDao

func (*MockNotificationEventDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockNotificationEventDaoMockRecorder) GetNotificationEventByHash

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

GetNotificationEventByHash indicates an expected call of GetNotificationEventByHash

func (*MockNotificationEventDaoMockRecorder) GetNotificationEventByKind

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

GetNotificationEventByKind indicates an expected call of GetNotificationEventByKind

func (*MockNotificationEventDaoMockRecorder) GetNotificationEventByTime

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

GetNotificationEventByTime indicates an expected call of GetNotificationEventByTime

func (*MockNotificationEventDaoMockRecorder) GetNotificationEventNotHandle

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

GetNotificationEventNotHandle indicates an expected call of GetNotificationEventNotHandle

func (*MockNotificationEventDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockRegionAPIClassDao

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

MockRegionAPIClassDao is a mock of RegionAPIClassDao interface

func NewMockRegionAPIClassDao

func NewMockRegionAPIClassDao(ctrl *gomock.Controller) *MockRegionAPIClassDao

NewMockRegionAPIClassDao creates a new mock instance

func (*MockRegionAPIClassDao) AddModel

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

AddModel mocks base method

func (*MockRegionAPIClassDao) DeletePrefixInClass

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

DeletePrefixInClass mocks base method

func (*MockRegionAPIClassDao) EXPECT

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

func (*MockRegionAPIClassDao) GetPrefixesByClass

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

GetPrefixesByClass mocks base method

func (*MockRegionAPIClassDao) UpdateModel

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

UpdateModel mocks base method

type MockRegionAPIClassDaoMockRecorder

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

MockRegionAPIClassDaoMockRecorder is the mock recorder for MockRegionAPIClassDao

func (*MockRegionAPIClassDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockRegionAPIClassDaoMockRecorder) DeletePrefixInClass

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

DeletePrefixInClass indicates an expected call of DeletePrefixInClass

func (*MockRegionAPIClassDaoMockRecorder) GetPrefixesByClass

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

GetPrefixesByClass indicates an expected call of GetPrefixesByClass

func (*MockRegionAPIClassDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockRegionProcotolsDao

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

MockRegionProcotolsDao is a mock of RegionProcotolsDao interface

func NewMockRegionProcotolsDao

func NewMockRegionProcotolsDao(ctrl *gomock.Controller) *MockRegionProcotolsDao

NewMockRegionProcotolsDao creates a new mock instance

func (*MockRegionProcotolsDao) AddModel

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

AddModel mocks base method

func (*MockRegionProcotolsDao) EXPECT

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

func (*MockRegionProcotolsDao) GetAllSupportProtocol

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

GetAllSupportProtocol mocks base method

func (*MockRegionProcotolsDao) GetProtocolGroupByProtocolChild

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

GetProtocolGroupByProtocolChild mocks base method

func (*MockRegionProcotolsDao) UpdateModel

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

UpdateModel mocks base method

type MockRegionProcotolsDaoMockRecorder

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

MockRegionProcotolsDaoMockRecorder is the mock recorder for MockRegionProcotolsDao

func (*MockRegionProcotolsDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockRegionProcotolsDaoMockRecorder) GetAllSupportProtocol

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

GetAllSupportProtocol indicates an expected call of GetAllSupportProtocol

func (*MockRegionProcotolsDaoMockRecorder) GetProtocolGroupByProtocolChild

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

GetProtocolGroupByProtocolChild indicates an expected call of GetProtocolGroupByProtocolChild

func (*MockRegionProcotolsDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockRegionUserInfoDao

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

MockRegionUserInfoDao is a mock of RegionUserInfoDao interface

func NewMockRegionUserInfoDao

func NewMockRegionUserInfoDao(ctrl *gomock.Controller) *MockRegionUserInfoDao

NewMockRegionUserInfoDao creates a new mock instance

func (*MockRegionUserInfoDao) AddModel

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

AddModel mocks base method

func (*MockRegionUserInfoDao) EXPECT

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

func (*MockRegionUserInfoDao) GetALLTokenInValidityPeriod

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

GetALLTokenInValidityPeriod mocks base method

func (*MockRegionUserInfoDao) GetTokenByEid

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

GetTokenByEid mocks base method

func (*MockRegionUserInfoDao) GetTokenByTokenID

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

GetTokenByTokenID mocks base method

func (*MockRegionUserInfoDao) UpdateModel

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

UpdateModel mocks base method

type MockRegionUserInfoDaoMockRecorder

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

MockRegionUserInfoDaoMockRecorder is the mock recorder for MockRegionUserInfoDao

func (*MockRegionUserInfoDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockRegionUserInfoDaoMockRecorder) GetALLTokenInValidityPeriod

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

GetALLTokenInValidityPeriod indicates an expected call of GetALLTokenInValidityPeriod

func (*MockRegionUserInfoDaoMockRecorder) GetTokenByEid

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

GetTokenByEid indicates an expected call of GetTokenByEid

func (*MockRegionUserInfoDaoMockRecorder) GetTokenByTokenID

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

GetTokenByTokenID indicates an expected call of GetTokenByTokenID

func (*MockRegionUserInfoDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockRuleExtensionDao

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

MockRuleExtensionDao is a mock of RuleExtensionDao interface

func NewMockRuleExtensionDao

func NewMockRuleExtensionDao(ctrl *gomock.Controller) *MockRuleExtensionDao

NewMockRuleExtensionDao creates a new mock instance

func (*MockRuleExtensionDao) AddModel

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

AddModel mocks base method

func (*MockRuleExtensionDao) DeleteRuleExtensionByRuleID

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

DeleteRuleExtensionByRuleID mocks base method

func (*MockRuleExtensionDao) EXPECT

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

func (*MockRuleExtensionDao) GetRuleExtensionByRuleID

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

GetRuleExtensionByRuleID mocks base method

func (*MockRuleExtensionDao) UpdateModel

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

UpdateModel mocks base method

type MockRuleExtensionDaoMockRecorder

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

MockRuleExtensionDaoMockRecorder is the mock recorder for MockRuleExtensionDao

func (*MockRuleExtensionDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockRuleExtensionDaoMockRecorder) DeleteRuleExtensionByRuleID

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

DeleteRuleExtensionByRuleID indicates an expected call of DeleteRuleExtensionByRuleID

func (*MockRuleExtensionDaoMockRecorder) GetRuleExtensionByRuleID

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

GetRuleExtensionByRuleID indicates an expected call of GetRuleExtensionByRuleID

func (*MockRuleExtensionDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockServiceProbeDao

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

MockServiceProbeDao is a mock of ServiceProbeDao interface

func NewMockServiceProbeDao

func NewMockServiceProbeDao(ctrl *gomock.Controller) *MockServiceProbeDao

NewMockServiceProbeDao creates a new mock instance

func (*MockServiceProbeDao) AddModel

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

AddModel mocks base method

func (*MockServiceProbeDao) DELServiceProbesByServiceID

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

DELServiceProbesByServiceID mocks base method

func (*MockServiceProbeDao) DelByServiceID

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

DelByServiceID mocks base method

func (*MockServiceProbeDao) DeleteModel

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

DeleteModel mocks base method

func (*MockServiceProbeDao) EXPECT

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

func (*MockServiceProbeDao) GetServiceProbes

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

GetServiceProbes mocks base method

func (*MockServiceProbeDao) GetServiceUsedProbe

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

GetServiceUsedProbe mocks base method

func (*MockServiceProbeDao) UpdateModel

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

UpdateModel mocks base method

type MockServiceProbeDaoMockRecorder

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

MockServiceProbeDaoMockRecorder is the mock recorder for MockServiceProbeDao

func (*MockServiceProbeDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockServiceProbeDaoMockRecorder) DELServiceProbesByServiceID

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

DELServiceProbesByServiceID indicates an expected call of DELServiceProbesByServiceID

func (*MockServiceProbeDaoMockRecorder) DelByServiceID

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

DelByServiceID indicates an expected call of DelByServiceID

func (*MockServiceProbeDaoMockRecorder) DeleteModel

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

DeleteModel indicates an expected call of DeleteModel

func (*MockServiceProbeDaoMockRecorder) GetServiceProbes

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

GetServiceProbes indicates an expected call of GetServiceProbes

func (*MockServiceProbeDaoMockRecorder) GetServiceUsedProbe

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

GetServiceUsedProbe indicates an expected call of GetServiceUsedProbe

func (*MockServiceProbeDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockServiceSourceDao

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

MockServiceSourceDao is a mock of ServiceSourceDao interface

func NewMockServiceSourceDao

func NewMockServiceSourceDao(ctrl *gomock.Controller) *MockServiceSourceDao

NewMockServiceSourceDao creates a new mock instance

func (*MockServiceSourceDao) AddModel

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

AddModel mocks base method

func (*MockServiceSourceDao) EXPECT

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

func (*MockServiceSourceDao) GetServiceSource

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

GetServiceSource mocks base method

func (*MockServiceSourceDao) UpdateModel

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

UpdateModel mocks base method

type MockServiceSourceDaoMockRecorder

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

MockServiceSourceDaoMockRecorder is the mock recorder for MockServiceSourceDao

func (*MockServiceSourceDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockServiceSourceDaoMockRecorder) GetServiceSource

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

GetServiceSource indicates an expected call of GetServiceSource

func (*MockServiceSourceDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTCPRuleDao

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

MockTCPRuleDao is a mock of TCPRuleDao interface

func NewMockTCPRuleDao

func NewMockTCPRuleDao(ctrl *gomock.Controller) *MockTCPRuleDao

NewMockTCPRuleDao creates a new mock instance

func (*MockTCPRuleDao) AddModel

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

AddModel mocks base method

func (*MockTCPRuleDao) DeleteByID

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

DeleteByID mocks base method

func (*MockTCPRuleDao) DeleteTCPRuleByServiceID

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

DeleteTCPRuleByServiceID mocks base method

func (*MockTCPRuleDao) EXPECT

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

func (*MockTCPRuleDao) GetTCPRuleByID

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

GetTCPRuleByID mocks base method

func (*MockTCPRuleDao) GetTCPRuleByServiceID

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

GetTCPRuleByServiceID mocks base method

func (*MockTCPRuleDao) GetTCPRuleByServiceIDAndContainerPort

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

GetTCPRuleByServiceIDAndContainerPort mocks base method

func (*MockTCPRuleDao) GetUsedPortsByIP

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

GetUsedPortsByIP mocks base method

func (*MockTCPRuleDao) ListByServiceID

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

ListByServiceID mocks base method

func (*MockTCPRuleDao) UpdateModel

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

UpdateModel mocks base method

type MockTCPRuleDaoMockRecorder

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

MockTCPRuleDaoMockRecorder is the mock recorder for MockTCPRuleDao

func (*MockTCPRuleDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTCPRuleDaoMockRecorder) DeleteByID

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

DeleteByID indicates an expected call of DeleteByID

func (*MockTCPRuleDaoMockRecorder) DeleteTCPRuleByServiceID

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

DeleteTCPRuleByServiceID indicates an expected call of DeleteTCPRuleByServiceID

func (*MockTCPRuleDaoMockRecorder) GetTCPRuleByID

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

GetTCPRuleByID indicates an expected call of GetTCPRuleByID

func (*MockTCPRuleDaoMockRecorder) GetTCPRuleByServiceID

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

GetTCPRuleByServiceID indicates an expected call of GetTCPRuleByServiceID

func (*MockTCPRuleDaoMockRecorder) GetTCPRuleByServiceIDAndContainerPort

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

GetTCPRuleByServiceIDAndContainerPort indicates an expected call of GetTCPRuleByServiceIDAndContainerPort

func (*MockTCPRuleDaoMockRecorder) GetUsedPortsByIP

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

GetUsedPortsByIP indicates an expected call of GetUsedPortsByIP

func (*MockTCPRuleDaoMockRecorder) ListByServiceID

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

ListByServiceID indicates an expected call of ListByServiceID

func (*MockTCPRuleDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantDao

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

MockTenantDao is a mock of TenantDao interface

func NewMockTenantDao

func NewMockTenantDao(ctrl *gomock.Controller) *MockTenantDao

NewMockTenantDao creates a new mock instance

func (*MockTenantDao) AddModel

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

AddModel mocks base method

func (*MockTenantDao) DelByTenantID

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

DelByTenantID mocks base method

func (*MockTenantDao) EXPECT

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

func (*MockTenantDao) GetALLTenants

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

GetALLTenants mocks base method

func (*MockTenantDao) GetPagedTenants

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

GetPagedTenants mocks base method

func (*MockTenantDao) GetTenantByEid

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

GetTenantByEid mocks base method

func (*MockTenantDao) GetTenantByUUID

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

GetTenantByUUID mocks base method

func (*MockTenantDao) GetTenantByUUIDIsExist

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

GetTenantByUUIDIsExist mocks base method

func (*MockTenantDao) GetTenantIDByName

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

GetTenantIDByName mocks base method

func (*MockTenantDao) GetTenantIDsByNames

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

GetTenantIDsByNames mocks base method

func (*MockTenantDao) GetTenantLimitsByNames

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

GetTenantLimitsByNames mocks base method

func (*MockTenantDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantDaoMockRecorder

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

MockTenantDaoMockRecorder is the mock recorder for MockTenantDao

func (*MockTenantDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantDaoMockRecorder) DelByTenantID

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

DelByTenantID indicates an expected call of DelByTenantID

func (*MockTenantDaoMockRecorder) GetALLTenants

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

GetALLTenants indicates an expected call of GetALLTenants

func (*MockTenantDaoMockRecorder) GetPagedTenants

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

GetPagedTenants indicates an expected call of GetPagedTenants

func (*MockTenantDaoMockRecorder) GetTenantByEid

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

GetTenantByEid indicates an expected call of GetTenantByEid

func (*MockTenantDaoMockRecorder) GetTenantByUUID

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

GetTenantByUUID indicates an expected call of GetTenantByUUID

func (*MockTenantDaoMockRecorder) GetTenantByUUIDIsExist

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

GetTenantByUUIDIsExist indicates an expected call of GetTenantByUUIDIsExist

func (*MockTenantDaoMockRecorder) GetTenantIDByName

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

GetTenantIDByName indicates an expected call of GetTenantIDByName

func (*MockTenantDaoMockRecorder) GetTenantIDsByNames

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

GetTenantIDsByNames indicates an expected call of GetTenantIDsByNames

func (*MockTenantDaoMockRecorder) GetTenantLimitsByNames

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

GetTenantLimitsByNames indicates an expected call of GetTenantLimitsByNames

func (*MockTenantDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantPluginBuildVersionDao

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

MockTenantPluginBuildVersionDao is a mock of TenantPluginBuildVersionDao interface

func NewMockTenantPluginBuildVersionDao

func NewMockTenantPluginBuildVersionDao(ctrl *gomock.Controller) *MockTenantPluginBuildVersionDao

NewMockTenantPluginBuildVersionDao creates a new mock instance

func (*MockTenantPluginBuildVersionDao) AddModel

AddModel mocks base method

func (*MockTenantPluginBuildVersionDao) DeleteBuildVersionByPluginID

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

DeleteBuildVersionByPluginID mocks base method

func (*MockTenantPluginBuildVersionDao) DeleteBuildVersionByVersionID

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

DeleteBuildVersionByVersionID mocks base method

func (*MockTenantPluginBuildVersionDao) EXPECT

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

func (*MockTenantPluginBuildVersionDao) GetBuildVersionByDeployVersion

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

GetBuildVersionByDeployVersion mocks base method

func (*MockTenantPluginBuildVersionDao) GetBuildVersionByPluginID

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

GetBuildVersionByPluginID mocks base method

func (*MockTenantPluginBuildVersionDao) GetBuildVersionByVersionID

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

GetBuildVersionByVersionID mocks base method

func (*MockTenantPluginBuildVersionDao) GetLastBuildVersionByVersionID

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

GetLastBuildVersionByVersionID mocks base method

func (*MockTenantPluginBuildVersionDao) ListSuccessfulOnesByPluginIDs

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

ListSuccessfulOnesByPluginIDs mocks base method

func (*MockTenantPluginBuildVersionDao) UpdateModel

UpdateModel mocks base method

type MockTenantPluginBuildVersionDaoMockRecorder

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

MockTenantPluginBuildVersionDaoMockRecorder is the mock recorder for MockTenantPluginBuildVersionDao

func (*MockTenantPluginBuildVersionDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantPluginBuildVersionDaoMockRecorder) DeleteBuildVersionByPluginID

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

DeleteBuildVersionByPluginID indicates an expected call of DeleteBuildVersionByPluginID

func (*MockTenantPluginBuildVersionDaoMockRecorder) DeleteBuildVersionByVersionID

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

DeleteBuildVersionByVersionID indicates an expected call of DeleteBuildVersionByVersionID

func (*MockTenantPluginBuildVersionDaoMockRecorder) GetBuildVersionByDeployVersion

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

GetBuildVersionByDeployVersion indicates an expected call of GetBuildVersionByDeployVersion

func (*MockTenantPluginBuildVersionDaoMockRecorder) GetBuildVersionByPluginID

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

GetBuildVersionByPluginID indicates an expected call of GetBuildVersionByPluginID

func (*MockTenantPluginBuildVersionDaoMockRecorder) GetBuildVersionByVersionID

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

GetBuildVersionByVersionID indicates an expected call of GetBuildVersionByVersionID

func (*MockTenantPluginBuildVersionDaoMockRecorder) GetLastBuildVersionByVersionID

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

GetLastBuildVersionByVersionID indicates an expected call of GetLastBuildVersionByVersionID

func (*MockTenantPluginBuildVersionDaoMockRecorder) ListSuccessfulOnesByPluginIDs

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

ListSuccessfulOnesByPluginIDs indicates an expected call of ListSuccessfulOnesByPluginIDs

func (*MockTenantPluginBuildVersionDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantPluginDao

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

MockTenantPluginDao is a mock of TenantPluginDao interface

func NewMockTenantPluginDao

func NewMockTenantPluginDao(ctrl *gomock.Controller) *MockTenantPluginDao

NewMockTenantPluginDao creates a new mock instance

func (*MockTenantPluginDao) AddModel

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

AddModel mocks base method

func (*MockTenantPluginDao) DeletePluginByID

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

DeletePluginByID mocks base method

func (*MockTenantPluginDao) EXPECT

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

func (*MockTenantPluginDao) GetPluginByID

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

GetPluginByID mocks base method

func (*MockTenantPluginDao) GetPluginsByTenantID

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

GetPluginsByTenantID mocks base method

func (*MockTenantPluginDao) ListByIDs

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

ListByIDs mocks base method

func (*MockTenantPluginDao) ListByTenantID

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

ListByTenantID mocks base method

func (*MockTenantPluginDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantPluginDaoMockRecorder

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

MockTenantPluginDaoMockRecorder is the mock recorder for MockTenantPluginDao

func (*MockTenantPluginDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantPluginDaoMockRecorder) DeletePluginByID

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

DeletePluginByID indicates an expected call of DeletePluginByID

func (*MockTenantPluginDaoMockRecorder) GetPluginByID

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

GetPluginByID indicates an expected call of GetPluginByID

func (*MockTenantPluginDaoMockRecorder) GetPluginsByTenantID

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

GetPluginsByTenantID indicates an expected call of GetPluginsByTenantID

func (*MockTenantPluginDaoMockRecorder) ListByIDs

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

ListByIDs indicates an expected call of ListByIDs

func (*MockTenantPluginDaoMockRecorder) ListByTenantID

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

ListByTenantID indicates an expected call of ListByTenantID

func (*MockTenantPluginDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantPluginDefaultENVDao

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

MockTenantPluginDefaultENVDao is a mock of TenantPluginDefaultENVDao interface

func NewMockTenantPluginDefaultENVDao

func NewMockTenantPluginDefaultENVDao(ctrl *gomock.Controller) *MockTenantPluginDefaultENVDao

NewMockTenantPluginDefaultENVDao creates a new mock instance

func (*MockTenantPluginDefaultENVDao) AddModel

AddModel mocks base method

func (*MockTenantPluginDefaultENVDao) DeleteAllDefaultENVByPluginID

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

DeleteAllDefaultENVByPluginID mocks base method

func (*MockTenantPluginDefaultENVDao) DeleteDefaultENVByName

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

DeleteDefaultENVByName mocks base method

func (*MockTenantPluginDefaultENVDao) DeleteDefaultENVByPluginIDAndVersionID

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

DeleteDefaultENVByPluginIDAndVersionID mocks base method

func (*MockTenantPluginDefaultENVDao) EXPECT

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

func (*MockTenantPluginDefaultENVDao) GetALLMasterDefultENVs

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

GetALLMasterDefultENVs mocks base method

func (*MockTenantPluginDefaultENVDao) GetDefaultENVByName

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

GetDefaultENVByName mocks base method

func (*MockTenantPluginDefaultENVDao) GetDefaultENVSByPluginID

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

GetDefaultENVSByPluginID mocks base method

func (*MockTenantPluginDefaultENVDao) GetDefaultEnvWhichCanBeSetByPluginID

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

GetDefaultEnvWhichCanBeSetByPluginID mocks base method

func (*MockTenantPluginDefaultENVDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantPluginDefaultENVDaoMockRecorder

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

MockTenantPluginDefaultENVDaoMockRecorder is the mock recorder for MockTenantPluginDefaultENVDao

func (*MockTenantPluginDefaultENVDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantPluginDefaultENVDaoMockRecorder) DeleteAllDefaultENVByPluginID

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

DeleteAllDefaultENVByPluginID indicates an expected call of DeleteAllDefaultENVByPluginID

func (*MockTenantPluginDefaultENVDaoMockRecorder) DeleteDefaultENVByName

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

DeleteDefaultENVByName indicates an expected call of DeleteDefaultENVByName

func (*MockTenantPluginDefaultENVDaoMockRecorder) DeleteDefaultENVByPluginIDAndVersionID

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

DeleteDefaultENVByPluginIDAndVersionID indicates an expected call of DeleteDefaultENVByPluginIDAndVersionID

func (*MockTenantPluginDefaultENVDaoMockRecorder) GetALLMasterDefultENVs

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

GetALLMasterDefultENVs indicates an expected call of GetALLMasterDefultENVs

func (*MockTenantPluginDefaultENVDaoMockRecorder) GetDefaultENVByName

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

GetDefaultENVByName indicates an expected call of GetDefaultENVByName

func (*MockTenantPluginDefaultENVDaoMockRecorder) GetDefaultENVSByPluginID

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

GetDefaultENVSByPluginID indicates an expected call of GetDefaultENVSByPluginID

func (*MockTenantPluginDefaultENVDaoMockRecorder) GetDefaultEnvWhichCanBeSetByPluginID

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

GetDefaultEnvWhichCanBeSetByPluginID indicates an expected call of GetDefaultEnvWhichCanBeSetByPluginID

func (*MockTenantPluginDefaultENVDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantPluginVersionConfigDao

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

MockTenantPluginVersionConfigDao is a mock of TenantPluginVersionConfigDao interface

func NewMockTenantPluginVersionConfigDao

func NewMockTenantPluginVersionConfigDao(ctrl *gomock.Controller) *MockTenantPluginVersionConfigDao

NewMockTenantPluginVersionConfigDao creates a new mock instance

func (*MockTenantPluginVersionConfigDao) AddModel

AddModel mocks base method

func (*MockTenantPluginVersionConfigDao) DeletePluginConfig

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

DeletePluginConfig mocks base method

func (*MockTenantPluginVersionConfigDao) DeletePluginConfigByServiceID

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

DeletePluginConfigByServiceID mocks base method

func (*MockTenantPluginVersionConfigDao) EXPECT

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

func (*MockTenantPluginVersionConfigDao) GetPluginConfig

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

GetPluginConfig mocks base method

func (*MockTenantPluginVersionConfigDao) GetPluginConfigs

GetPluginConfigs mocks base method

func (*MockTenantPluginVersionConfigDao) UpdateModel

UpdateModel mocks base method

type MockTenantPluginVersionConfigDaoMockRecorder

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

MockTenantPluginVersionConfigDaoMockRecorder is the mock recorder for MockTenantPluginVersionConfigDao

func (*MockTenantPluginVersionConfigDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantPluginVersionConfigDaoMockRecorder) DeletePluginConfig

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

DeletePluginConfig indicates an expected call of DeletePluginConfig

func (*MockTenantPluginVersionConfigDaoMockRecorder) DeletePluginConfigByServiceID

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

DeletePluginConfigByServiceID indicates an expected call of DeletePluginConfigByServiceID

func (*MockTenantPluginVersionConfigDaoMockRecorder) GetPluginConfig

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

GetPluginConfig indicates an expected call of GetPluginConfig

func (*MockTenantPluginVersionConfigDaoMockRecorder) GetPluginConfigs

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

GetPluginConfigs indicates an expected call of GetPluginConfigs

func (*MockTenantPluginVersionConfigDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantPluginVersionEnvDao

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

MockTenantPluginVersionEnvDao is a mock of TenantPluginVersionEnvDao interface

func NewMockTenantPluginVersionEnvDao

func NewMockTenantPluginVersionEnvDao(ctrl *gomock.Controller) *MockTenantPluginVersionEnvDao

NewMockTenantPluginVersionEnvDao creates a new mock instance

func (*MockTenantPluginVersionEnvDao) AddModel

AddModel mocks base method

func (*MockTenantPluginVersionEnvDao) DeleteEnvByEnvName

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

DeleteEnvByEnvName mocks base method

func (*MockTenantPluginVersionEnvDao) DeleteEnvByPluginID

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

DeleteEnvByPluginID mocks base method

func (*MockTenantPluginVersionEnvDao) DeleteEnvByServiceID

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

DeleteEnvByServiceID mocks base method

func (*MockTenantPluginVersionEnvDao) EXPECT

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

func (*MockTenantPluginVersionEnvDao) GetVersionEnvByEnvName

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

GetVersionEnvByEnvName mocks base method

func (*MockTenantPluginVersionEnvDao) GetVersionEnvByServiceID

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

GetVersionEnvByServiceID mocks base method

func (*MockTenantPluginVersionEnvDao) ListByServiceID

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

ListByServiceID mocks base method

func (*MockTenantPluginVersionEnvDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantPluginVersionEnvDaoMockRecorder

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

MockTenantPluginVersionEnvDaoMockRecorder is the mock recorder for MockTenantPluginVersionEnvDao

func (*MockTenantPluginVersionEnvDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantPluginVersionEnvDaoMockRecorder) DeleteEnvByEnvName

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

DeleteEnvByEnvName indicates an expected call of DeleteEnvByEnvName

func (*MockTenantPluginVersionEnvDaoMockRecorder) DeleteEnvByPluginID

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

DeleteEnvByPluginID indicates an expected call of DeleteEnvByPluginID

func (*MockTenantPluginVersionEnvDaoMockRecorder) DeleteEnvByServiceID

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

DeleteEnvByServiceID indicates an expected call of DeleteEnvByServiceID

func (*MockTenantPluginVersionEnvDaoMockRecorder) GetVersionEnvByEnvName

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

GetVersionEnvByEnvName indicates an expected call of GetVersionEnvByEnvName

func (*MockTenantPluginVersionEnvDaoMockRecorder) GetVersionEnvByServiceID

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

GetVersionEnvByServiceID indicates an expected call of GetVersionEnvByServiceID

func (*MockTenantPluginVersionEnvDaoMockRecorder) ListByServiceID

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

ListByServiceID indicates an expected call of ListByServiceID

func (*MockTenantPluginVersionEnvDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServceAutoscalerRuleMetricsDao

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

MockTenantServceAutoscalerRuleMetricsDao is a mock of TenantServceAutoscalerRuleMetricsDao interface

func NewMockTenantServceAutoscalerRuleMetricsDao

func NewMockTenantServceAutoscalerRuleMetricsDao(ctrl *gomock.Controller) *MockTenantServceAutoscalerRuleMetricsDao

NewMockTenantServceAutoscalerRuleMetricsDao creates a new mock instance

func (*MockTenantServceAutoscalerRuleMetricsDao) AddModel

AddModel mocks base method

func (*MockTenantServceAutoscalerRuleMetricsDao) DeleteByRuleID

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

DeleteByRuleID mocks base method

func (*MockTenantServceAutoscalerRuleMetricsDao) EXPECT

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

func (*MockTenantServceAutoscalerRuleMetricsDao) ListByRuleID

ListByRuleID mocks base method

func (*MockTenantServceAutoscalerRuleMetricsDao) UpdateModel

UpdateModel mocks base method

func (*MockTenantServceAutoscalerRuleMetricsDao) UpdateOrCreate

UpdateOrCreate mocks base method

type MockTenantServceAutoscalerRuleMetricsDaoMockRecorder

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

MockTenantServceAutoscalerRuleMetricsDaoMockRecorder is the mock recorder for MockTenantServceAutoscalerRuleMetricsDao

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) DeleteByRuleID

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

DeleteByRuleID indicates an expected call of DeleteByRuleID

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) ListByRuleID

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

ListByRuleID indicates an expected call of ListByRuleID

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

func (*MockTenantServceAutoscalerRuleMetricsDaoMockRecorder) UpdateOrCreate

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

UpdateOrCreate indicates an expected call of UpdateOrCreate

type MockTenantServceAutoscalerRulesDao

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

MockTenantServceAutoscalerRulesDao is a mock of TenantServceAutoscalerRulesDao interface

func NewMockTenantServceAutoscalerRulesDao

func NewMockTenantServceAutoscalerRulesDao(ctrl *gomock.Controller) *MockTenantServceAutoscalerRulesDao

NewMockTenantServceAutoscalerRulesDao creates a new mock instance

func (*MockTenantServceAutoscalerRulesDao) AddModel

AddModel mocks base method

func (*MockTenantServceAutoscalerRulesDao) EXPECT

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

func (*MockTenantServceAutoscalerRulesDao) GetByRuleID

GetByRuleID mocks base method

func (*MockTenantServceAutoscalerRulesDao) ListByServiceID

ListByServiceID mocks base method

func (*MockTenantServceAutoscalerRulesDao) ListEnableOnesByServiceID

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

ListEnableOnesByServiceID mocks base method

func (*MockTenantServceAutoscalerRulesDao) UpdateModel

UpdateModel mocks base method

type MockTenantServceAutoscalerRulesDaoMockRecorder

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

MockTenantServceAutoscalerRulesDaoMockRecorder is the mock recorder for MockTenantServceAutoscalerRulesDao

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) GetByRuleID

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

GetByRuleID indicates an expected call of GetByRuleID

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) ListByServiceID

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

ListByServiceID indicates an expected call of ListByServiceID

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) ListEnableOnesByServiceID

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

ListEnableOnesByServiceID indicates an expected call of ListEnableOnesByServiceID

func (*MockTenantServceAutoscalerRulesDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServiceConfigFileDao

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

MockTenantServiceConfigFileDao is a mock of TenantServiceConfigFileDao interface

func NewMockTenantServiceConfigFileDao

func NewMockTenantServiceConfigFileDao(ctrl *gomock.Controller) *MockTenantServiceConfigFileDao

NewMockTenantServiceConfigFileDao creates a new mock instance

func (*MockTenantServiceConfigFileDao) AddModel

AddModel mocks base method

func (*MockTenantServiceConfigFileDao) DelByServiceID

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

DelByServiceID mocks base method

func (*MockTenantServiceConfigFileDao) DelByVolumeID

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

DelByVolumeID mocks base method

func (*MockTenantServiceConfigFileDao) EXPECT

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

func (*MockTenantServiceConfigFileDao) GetByVolumeName

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

GetByVolumeName mocks base method

func (*MockTenantServiceConfigFileDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantServiceConfigFileDaoMockRecorder

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

MockTenantServiceConfigFileDaoMockRecorder is the mock recorder for MockTenantServiceConfigFileDao

func (*MockTenantServiceConfigFileDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceConfigFileDaoMockRecorder) DelByServiceID

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

DelByServiceID indicates an expected call of DelByServiceID

func (*MockTenantServiceConfigFileDaoMockRecorder) DelByVolumeID

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

DelByVolumeID indicates an expected call of DelByVolumeID

func (*MockTenantServiceConfigFileDaoMockRecorder) GetByVolumeName

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

GetByVolumeName indicates an expected call of GetByVolumeName

func (*MockTenantServiceConfigFileDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServiceDao

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

MockTenantServiceDao is a mock of TenantServiceDao interface

func NewMockTenantServiceDao

func NewMockTenantServiceDao(ctrl *gomock.Controller) *MockTenantServiceDao

NewMockTenantServiceDao creates a new mock instance

func (*MockTenantServiceDao) AddModel

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

AddModel mocks base method

func (*MockTenantServiceDao) DeleteServiceByServiceID

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

DeleteServiceByServiceID mocks base method

func (*MockTenantServiceDao) EXPECT

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

func (*MockTenantServiceDao) GetAllServicesID

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

GetAllServicesID mocks base method

func (*MockTenantServiceDao) GetPagedTenantService

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

GetPagedTenantService mocks base method

func (*MockTenantServiceDao) GetServiceAliasByIDs

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

GetServiceAliasByIDs mocks base method

func (*MockTenantServiceDao) GetServiceByID

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

GetServiceByID mocks base method

func (*MockTenantServiceDao) GetServiceByIDs

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

GetServiceByIDs mocks base method

func (*MockTenantServiceDao) GetServiceByServiceAlias

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

GetServiceByServiceAlias mocks base method

func (*MockTenantServiceDao) GetServiceByTenantIDAndServiceAlias

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

GetServiceByTenantIDAndServiceAlias mocks base method

func (*MockTenantServiceDao) GetServiceMemoryByServiceIDs

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

GetServiceMemoryByServiceIDs mocks base method

func (*MockTenantServiceDao) GetServiceMemoryByTenantIDs

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

GetServiceMemoryByTenantIDs mocks base method

func (*MockTenantServiceDao) GetServiceTypeById

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

GetServiceTypeById mocks base method

func (*MockTenantServiceDao) GetServicesAllInfoByTenantID

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

GetServicesAllInfoByTenantID mocks base method

func (*MockTenantServiceDao) GetServicesByTenantID

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

GetServicesByTenantID mocks base method

func (*MockTenantServiceDao) GetServicesByTenantIDs

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

GetServicesByTenantIDs mocks base method

func (*MockTenantServiceDao) ListServicesByTenantID

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

ListServicesByTenantID mocks base method

func (*MockTenantServiceDao) ListThirdPartyServices

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

ListThirdPartyServices mocks base method

func (*MockTenantServiceDao) SetTenantServiceStatus

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

SetTenantServiceStatus mocks base method

func (*MockTenantServiceDao) UpdateDeployVersion

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

UpdateDeployVersion mocks base method

func (*MockTenantServiceDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantServiceDaoMockRecorder

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

MockTenantServiceDaoMockRecorder is the mock recorder for MockTenantServiceDao

func (*MockTenantServiceDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceDaoMockRecorder) DeleteServiceByServiceID

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

DeleteServiceByServiceID indicates an expected call of DeleteServiceByServiceID

func (*MockTenantServiceDaoMockRecorder) GetAllServicesID

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

GetAllServicesID indicates an expected call of GetAllServicesID

func (*MockTenantServiceDaoMockRecorder) GetPagedTenantService

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

GetPagedTenantService indicates an expected call of GetPagedTenantService

func (*MockTenantServiceDaoMockRecorder) GetServiceAliasByIDs

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

GetServiceAliasByIDs indicates an expected call of GetServiceAliasByIDs

func (*MockTenantServiceDaoMockRecorder) GetServiceByID

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

GetServiceByID indicates an expected call of GetServiceByID

func (*MockTenantServiceDaoMockRecorder) GetServiceByIDs

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

GetServiceByIDs indicates an expected call of GetServiceByIDs

func (*MockTenantServiceDaoMockRecorder) GetServiceByServiceAlias

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

GetServiceByServiceAlias indicates an expected call of GetServiceByServiceAlias

func (*MockTenantServiceDaoMockRecorder) GetServiceByTenantIDAndServiceAlias

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

GetServiceByTenantIDAndServiceAlias indicates an expected call of GetServiceByTenantIDAndServiceAlias

func (*MockTenantServiceDaoMockRecorder) GetServiceMemoryByServiceIDs

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

GetServiceMemoryByServiceIDs indicates an expected call of GetServiceMemoryByServiceIDs

func (*MockTenantServiceDaoMockRecorder) GetServiceMemoryByTenantIDs

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

GetServiceMemoryByTenantIDs indicates an expected call of GetServiceMemoryByTenantIDs

func (*MockTenantServiceDaoMockRecorder) GetServiceTypeById

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

GetServiceTypeById indicates an expected call of GetServiceTypeById

func (*MockTenantServiceDaoMockRecorder) GetServicesAllInfoByTenantID

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

GetServicesAllInfoByTenantID indicates an expected call of GetServicesAllInfoByTenantID

func (*MockTenantServiceDaoMockRecorder) GetServicesByTenantID

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

GetServicesByTenantID indicates an expected call of GetServicesByTenantID

func (*MockTenantServiceDaoMockRecorder) GetServicesByTenantIDs

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

GetServicesByTenantIDs indicates an expected call of GetServicesByTenantIDs

func (*MockTenantServiceDaoMockRecorder) ListServicesByTenantID

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

ListServicesByTenantID indicates an expected call of ListServicesByTenantID

func (*MockTenantServiceDaoMockRecorder) ListThirdPartyServices

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

ListThirdPartyServices indicates an expected call of ListThirdPartyServices

func (*MockTenantServiceDaoMockRecorder) SetTenantServiceStatus

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

SetTenantServiceStatus indicates an expected call of SetTenantServiceStatus

func (*MockTenantServiceDaoMockRecorder) UpdateDeployVersion

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

UpdateDeployVersion indicates an expected call of UpdateDeployVersion

func (*MockTenantServiceDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServiceDeleteDao

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

MockTenantServiceDeleteDao is a mock of TenantServiceDeleteDao interface

func NewMockTenantServiceDeleteDao

func NewMockTenantServiceDeleteDao(ctrl *gomock.Controller) *MockTenantServiceDeleteDao

NewMockTenantServiceDeleteDao creates a new mock instance

func (*MockTenantServiceDeleteDao) AddModel

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

AddModel mocks base method

func (*MockTenantServiceDeleteDao) DeleteTenantServicesDelete

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

DeleteTenantServicesDelete mocks base method

func (*MockTenantServiceDeleteDao) EXPECT

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

func (*MockTenantServiceDeleteDao) GetTenantServicesDeleteByCreateTime

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

GetTenantServicesDeleteByCreateTime mocks base method

func (*MockTenantServiceDeleteDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantServiceDeleteDaoMockRecorder

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

MockTenantServiceDeleteDaoMockRecorder is the mock recorder for MockTenantServiceDeleteDao

func (*MockTenantServiceDeleteDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceDeleteDaoMockRecorder) DeleteTenantServicesDelete

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

DeleteTenantServicesDelete indicates an expected call of DeleteTenantServicesDelete

func (*MockTenantServiceDeleteDaoMockRecorder) GetTenantServicesDeleteByCreateTime

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

GetTenantServicesDeleteByCreateTime indicates an expected call of GetTenantServicesDeleteByCreateTime

func (*MockTenantServiceDeleteDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServiceEnvVarDao

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

MockTenantServiceEnvVarDao is a mock of TenantServiceEnvVarDao interface

func NewMockTenantServiceEnvVarDao

func NewMockTenantServiceEnvVarDao(ctrl *gomock.Controller) *MockTenantServiceEnvVarDao

NewMockTenantServiceEnvVarDao creates a new mock instance

func (*MockTenantServiceEnvVarDao) AddModel

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

AddModel mocks base method

func (*MockTenantServiceEnvVarDao) DELServiceEnvsByServiceID

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

DELServiceEnvsByServiceID mocks base method

func (*MockTenantServiceEnvVarDao) DelByServiceIDAndScope

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

DelByServiceIDAndScope mocks base method

func (*MockTenantServiceEnvVarDao) DeleteModel

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

DeleteModel mocks base method

func (*MockTenantServiceEnvVarDao) EXPECT

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

func (*MockTenantServiceEnvVarDao) GetDependServiceEnvs

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

GetDependServiceEnvs mocks base method

func (*MockTenantServiceEnvVarDao) GetEnv

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

GetEnv mocks base method

func (*MockTenantServiceEnvVarDao) GetServiceEnvs

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

GetServiceEnvs mocks base method

func (*MockTenantServiceEnvVarDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantServiceEnvVarDaoMockRecorder

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

MockTenantServiceEnvVarDaoMockRecorder is the mock recorder for MockTenantServiceEnvVarDao

func (*MockTenantServiceEnvVarDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceEnvVarDaoMockRecorder) DELServiceEnvsByServiceID

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

DELServiceEnvsByServiceID indicates an expected call of DELServiceEnvsByServiceID

func (*MockTenantServiceEnvVarDaoMockRecorder) DelByServiceIDAndScope

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

DelByServiceIDAndScope indicates an expected call of DelByServiceIDAndScope

func (*MockTenantServiceEnvVarDaoMockRecorder) DeleteModel

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

DeleteModel indicates an expected call of DeleteModel

func (*MockTenantServiceEnvVarDaoMockRecorder) GetDependServiceEnvs

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

GetDependServiceEnvs indicates an expected call of GetDependServiceEnvs

func (*MockTenantServiceEnvVarDaoMockRecorder) GetEnv

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

GetEnv indicates an expected call of GetEnv

func (*MockTenantServiceEnvVarDaoMockRecorder) GetServiceEnvs

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

GetServiceEnvs indicates an expected call of GetServiceEnvs

func (*MockTenantServiceEnvVarDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServiceLBMappingPortDao

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

MockTenantServiceLBMappingPortDao is a mock of TenantServiceLBMappingPortDao interface

func NewMockTenantServiceLBMappingPortDao

func NewMockTenantServiceLBMappingPortDao(ctrl *gomock.Controller) *MockTenantServiceLBMappingPortDao

NewMockTenantServiceLBMappingPortDao creates a new mock instance

func (*MockTenantServiceLBMappingPortDao) AddModel

AddModel mocks base method

func (*MockTenantServiceLBMappingPortDao) CreateTenantServiceLBMappingPort

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

CreateTenantServiceLBMappingPort mocks base method

func (*MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceID

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

DELServiceLBMappingPortByServiceID mocks base method

func (*MockTenantServiceLBMappingPortDao) DELServiceLBMappingPortByServiceIDAndPort

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

DELServiceLBMappingPortByServiceIDAndPort mocks base method

func (*MockTenantServiceLBMappingPortDao) EXPECT

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

func (*MockTenantServiceLBMappingPortDao) GetLBMappingPortByServiceIDAndPort

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

GetLBMappingPortByServiceIDAndPort mocks base method

func (*MockTenantServiceLBMappingPortDao) GetLBPortByTenantAndPort

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

GetLBPortByTenantAndPort mocks base method

func (*MockTenantServiceLBMappingPortDao) GetLBPortsASC

GetLBPortsASC mocks base method

func (*MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPort

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

GetTenantServiceLBMappingPort mocks base method

func (*MockTenantServiceLBMappingPortDao) GetTenantServiceLBMappingPortByService

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

GetTenantServiceLBMappingPortByService mocks base method

func (*MockTenantServiceLBMappingPortDao) PortExists

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

PortExists mocks base method

func (*MockTenantServiceLBMappingPortDao) UpdateModel

UpdateModel mocks base method

type MockTenantServiceLBMappingPortDaoMockRecorder

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

MockTenantServiceLBMappingPortDaoMockRecorder is the mock recorder for MockTenantServiceLBMappingPortDao

func (*MockTenantServiceLBMappingPortDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceLBMappingPortDaoMockRecorder) CreateTenantServiceLBMappingPort

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

CreateTenantServiceLBMappingPort indicates an expected call of CreateTenantServiceLBMappingPort

func (*MockTenantServiceLBMappingPortDaoMockRecorder) DELServiceLBMappingPortByServiceID

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

DELServiceLBMappingPortByServiceID indicates an expected call of DELServiceLBMappingPortByServiceID

func (*MockTenantServiceLBMappingPortDaoMockRecorder) DELServiceLBMappingPortByServiceIDAndPort

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

DELServiceLBMappingPortByServiceIDAndPort indicates an expected call of DELServiceLBMappingPortByServiceIDAndPort

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetLBMappingPortByServiceIDAndPort

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

GetLBMappingPortByServiceIDAndPort indicates an expected call of GetLBMappingPortByServiceIDAndPort

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetLBPortByTenantAndPort

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

GetLBPortByTenantAndPort indicates an expected call of GetLBPortByTenantAndPort

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetLBPortsASC

GetLBPortsASC indicates an expected call of GetLBPortsASC

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetTenantServiceLBMappingPort

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

GetTenantServiceLBMappingPort indicates an expected call of GetTenantServiceLBMappingPort

func (*MockTenantServiceLBMappingPortDaoMockRecorder) GetTenantServiceLBMappingPortByService

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

GetTenantServiceLBMappingPortByService indicates an expected call of GetTenantServiceLBMappingPortByService

func (*MockTenantServiceLBMappingPortDaoMockRecorder) PortExists

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

PortExists indicates an expected call of PortExists

func (*MockTenantServiceLBMappingPortDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServiceLabelDao

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

MockTenantServiceLabelDao is a mock of TenantServiceLabelDao interface

func NewMockTenantServiceLabelDao

func NewMockTenantServiceLabelDao(ctrl *gomock.Controller) *MockTenantServiceLabelDao

NewMockTenantServiceLabelDao creates a new mock instance

func (*MockTenantServiceLabelDao) AddModel

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

AddModel mocks base method

func (*MockTenantServiceLabelDao) DelTenantServiceLabelsByLabelValuesAndServiceID

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

DelTenantServiceLabelsByLabelValuesAndServiceID mocks base method

func (*MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKey

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

DelTenantServiceLabelsByServiceIDKey mocks base method

func (*MockTenantServiceLabelDao) DelTenantServiceLabelsByServiceIDKeyValue

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

DelTenantServiceLabelsByServiceIDKeyValue mocks base method

func (*MockTenantServiceLabelDao) DeleteLabelByServiceID

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

DeleteLabelByServiceID mocks base method

func (*MockTenantServiceLabelDao) DeleteModel

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

DeleteModel mocks base method

func (*MockTenantServiceLabelDao) EXPECT

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

func (*MockTenantServiceLabelDao) GetLabelByNodeSelectorKey

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

GetLabelByNodeSelectorKey mocks base method

func (*MockTenantServiceLabelDao) GetPrivilegedLabel

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

GetPrivilegedLabel mocks base method

func (*MockTenantServiceLabelDao) GetTenantNodeAffinityLabel

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

GetTenantNodeAffinityLabel mocks base method

func (*MockTenantServiceLabelDao) GetTenantServiceAffinityLabel

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

GetTenantServiceAffinityLabel mocks base method

func (*MockTenantServiceLabelDao) GetTenantServiceLabel

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

GetTenantServiceLabel mocks base method

func (*MockTenantServiceLabelDao) GetTenantServiceNodeSelectorLabel

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

GetTenantServiceNodeSelectorLabel mocks base method

func (*MockTenantServiceLabelDao) GetTenantServiceTypeLabel

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

GetTenantServiceTypeLabel mocks base method

func (*MockTenantServiceLabelDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantServiceLabelDaoMockRecorder

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

MockTenantServiceLabelDaoMockRecorder is the mock recorder for MockTenantServiceLabelDao

func (*MockTenantServiceLabelDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceLabelDaoMockRecorder) DelTenantServiceLabelsByLabelValuesAndServiceID

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

DelTenantServiceLabelsByLabelValuesAndServiceID indicates an expected call of DelTenantServiceLabelsByLabelValuesAndServiceID

func (*MockTenantServiceLabelDaoMockRecorder) DelTenantServiceLabelsByServiceIDKey

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

DelTenantServiceLabelsByServiceIDKey indicates an expected call of DelTenantServiceLabelsByServiceIDKey

func (*MockTenantServiceLabelDaoMockRecorder) DelTenantServiceLabelsByServiceIDKeyValue

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

DelTenantServiceLabelsByServiceIDKeyValue indicates an expected call of DelTenantServiceLabelsByServiceIDKeyValue

func (*MockTenantServiceLabelDaoMockRecorder) DeleteLabelByServiceID

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

DeleteLabelByServiceID indicates an expected call of DeleteLabelByServiceID

func (*MockTenantServiceLabelDaoMockRecorder) DeleteModel

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

DeleteModel indicates an expected call of DeleteModel

func (*MockTenantServiceLabelDaoMockRecorder) GetLabelByNodeSelectorKey

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

GetLabelByNodeSelectorKey indicates an expected call of GetLabelByNodeSelectorKey

func (*MockTenantServiceLabelDaoMockRecorder) GetPrivilegedLabel

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

GetPrivilegedLabel indicates an expected call of GetPrivilegedLabel

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantNodeAffinityLabel

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

GetTenantNodeAffinityLabel indicates an expected call of GetTenantNodeAffinityLabel

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantServiceAffinityLabel

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

GetTenantServiceAffinityLabel indicates an expected call of GetTenantServiceAffinityLabel

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantServiceLabel

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

GetTenantServiceLabel indicates an expected call of GetTenantServiceLabel

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantServiceNodeSelectorLabel

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

GetTenantServiceNodeSelectorLabel indicates an expected call of GetTenantServiceNodeSelectorLabel

func (*MockTenantServiceLabelDaoMockRecorder) GetTenantServiceTypeLabel

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

GetTenantServiceTypeLabel indicates an expected call of GetTenantServiceTypeLabel

func (*MockTenantServiceLabelDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServiceMountRelationDao

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

MockTenantServiceMountRelationDao is a mock of TenantServiceMountRelationDao interface

func NewMockTenantServiceMountRelationDao

func NewMockTenantServiceMountRelationDao(ctrl *gomock.Controller) *MockTenantServiceMountRelationDao

NewMockTenantServiceMountRelationDao creates a new mock instance

func (*MockTenantServiceMountRelationDao) AddModel

AddModel mocks base method

func (*MockTenantServiceMountRelationDao) DELTenantServiceMountRelationByServiceID

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

DELTenantServiceMountRelationByServiceID mocks base method

func (*MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByDepService

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

DElTenantServiceMountRelationByDepService mocks base method

func (*MockTenantServiceMountRelationDao) DElTenantServiceMountRelationByServiceAndName

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

DElTenantServiceMountRelationByServiceAndName mocks base method

func (*MockTenantServiceMountRelationDao) EXPECT

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

func (*MockTenantServiceMountRelationDao) GetTenantServiceMountRelationsByService

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

GetTenantServiceMountRelationsByService mocks base method

func (*MockTenantServiceMountRelationDao) UpdateModel

UpdateModel mocks base method

type MockTenantServiceMountRelationDaoMockRecorder

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

MockTenantServiceMountRelationDaoMockRecorder is the mock recorder for MockTenantServiceMountRelationDao

func (*MockTenantServiceMountRelationDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceMountRelationDaoMockRecorder) DELTenantServiceMountRelationByServiceID

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

DELTenantServiceMountRelationByServiceID indicates an expected call of DELTenantServiceMountRelationByServiceID

func (*MockTenantServiceMountRelationDaoMockRecorder) DElTenantServiceMountRelationByDepService

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

DElTenantServiceMountRelationByDepService indicates an expected call of DElTenantServiceMountRelationByDepService

func (*MockTenantServiceMountRelationDaoMockRecorder) DElTenantServiceMountRelationByServiceAndName

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

DElTenantServiceMountRelationByServiceAndName indicates an expected call of DElTenantServiceMountRelationByServiceAndName

func (*MockTenantServiceMountRelationDaoMockRecorder) GetTenantServiceMountRelationsByService

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

GetTenantServiceMountRelationsByService indicates an expected call of GetTenantServiceMountRelationsByService

func (*MockTenantServiceMountRelationDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServicePluginRelationDao

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

MockTenantServicePluginRelationDao is a mock of TenantServicePluginRelationDao interface

func NewMockTenantServicePluginRelationDao

func NewMockTenantServicePluginRelationDao(ctrl *gomock.Controller) *MockTenantServicePluginRelationDao

NewMockTenantServicePluginRelationDao creates a new mock instance

func (*MockTenantServicePluginRelationDao) AddModel

AddModel mocks base method

func (*MockTenantServicePluginRelationDao) CheckSomeModelLikePluginByServiceID

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

CheckSomeModelLikePluginByServiceID mocks base method

func (*MockTenantServicePluginRelationDao) CheckSomeModelPluginByServiceID

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

CheckSomeModelPluginByServiceID mocks base method

func (*MockTenantServicePluginRelationDao) DeleteALLRelationByPluginID

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

DeleteALLRelationByPluginID mocks base method

func (*MockTenantServicePluginRelationDao) DeleteALLRelationByServiceID

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

DeleteALLRelationByServiceID mocks base method

func (*MockTenantServicePluginRelationDao) DeleteRelationByServiceIDAndPluginID

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

DeleteRelationByServiceIDAndPluginID mocks base method

func (*MockTenantServicePluginRelationDao) EXPECT

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

func (*MockTenantServicePluginRelationDao) GetALLRelationByServiceID

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

GetALLRelationByServiceID mocks base method

func (*MockTenantServicePluginRelationDao) GetRelateionByServiceIDAndPluginID

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

GetRelateionByServiceIDAndPluginID mocks base method

func (*MockTenantServicePluginRelationDao) UpdateModel

UpdateModel mocks base method

type MockTenantServicePluginRelationDaoMockRecorder

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

MockTenantServicePluginRelationDaoMockRecorder is the mock recorder for MockTenantServicePluginRelationDao

func (*MockTenantServicePluginRelationDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServicePluginRelationDaoMockRecorder) CheckSomeModelLikePluginByServiceID

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

CheckSomeModelLikePluginByServiceID indicates an expected call of CheckSomeModelLikePluginByServiceID

func (*MockTenantServicePluginRelationDaoMockRecorder) CheckSomeModelPluginByServiceID

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

CheckSomeModelPluginByServiceID indicates an expected call of CheckSomeModelPluginByServiceID

func (*MockTenantServicePluginRelationDaoMockRecorder) DeleteALLRelationByPluginID

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

DeleteALLRelationByPluginID indicates an expected call of DeleteALLRelationByPluginID

func (*MockTenantServicePluginRelationDaoMockRecorder) DeleteALLRelationByServiceID

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

DeleteALLRelationByServiceID indicates an expected call of DeleteALLRelationByServiceID

func (*MockTenantServicePluginRelationDaoMockRecorder) DeleteRelationByServiceIDAndPluginID

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

DeleteRelationByServiceIDAndPluginID indicates an expected call of DeleteRelationByServiceIDAndPluginID

func (*MockTenantServicePluginRelationDaoMockRecorder) GetALLRelationByServiceID

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

GetALLRelationByServiceID indicates an expected call of GetALLRelationByServiceID

func (*MockTenantServicePluginRelationDaoMockRecorder) GetRelateionByServiceIDAndPluginID

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

GetRelateionByServiceIDAndPluginID indicates an expected call of GetRelateionByServiceIDAndPluginID

func (*MockTenantServicePluginRelationDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServiceRelationDao

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

MockTenantServiceRelationDao is a mock of TenantServiceRelationDao interface

func NewMockTenantServiceRelationDao

func NewMockTenantServiceRelationDao(ctrl *gomock.Controller) *MockTenantServiceRelationDao

NewMockTenantServiceRelationDao creates a new mock instance

func (*MockTenantServiceRelationDao) AddModel

AddModel mocks base method

func (*MockTenantServiceRelationDao) DELRelationsByServiceID

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

DELRelationsByServiceID mocks base method

func (*MockTenantServiceRelationDao) DeleteModel

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

DeleteModel mocks base method

func (*MockTenantServiceRelationDao) DeleteRelationByDepID

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

DeleteRelationByDepID mocks base method

func (*MockTenantServiceRelationDao) EXPECT

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

func (*MockTenantServiceRelationDao) GetTenantServiceRelations

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

GetTenantServiceRelations mocks base method

func (*MockTenantServiceRelationDao) GetTenantServiceRelationsByDependServiceID

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

GetTenantServiceRelationsByDependServiceID mocks base method

func (*MockTenantServiceRelationDao) HaveRelations

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

HaveRelations mocks base method

func (*MockTenantServiceRelationDao) ListByServiceIDs

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

ListByServiceIDs mocks base method

func (*MockTenantServiceRelationDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantServiceRelationDaoMockRecorder

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

MockTenantServiceRelationDaoMockRecorder is the mock recorder for MockTenantServiceRelationDao

func (*MockTenantServiceRelationDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceRelationDaoMockRecorder) DELRelationsByServiceID

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

DELRelationsByServiceID indicates an expected call of DELRelationsByServiceID

func (*MockTenantServiceRelationDaoMockRecorder) DeleteModel

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

DeleteModel indicates an expected call of DeleteModel

func (*MockTenantServiceRelationDaoMockRecorder) DeleteRelationByDepID

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

DeleteRelationByDepID indicates an expected call of DeleteRelationByDepID

func (*MockTenantServiceRelationDaoMockRecorder) GetTenantServiceRelations

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

GetTenantServiceRelations indicates an expected call of GetTenantServiceRelations

func (*MockTenantServiceRelationDaoMockRecorder) GetTenantServiceRelationsByDependServiceID

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

GetTenantServiceRelationsByDependServiceID indicates an expected call of GetTenantServiceRelationsByDependServiceID

func (*MockTenantServiceRelationDaoMockRecorder) HaveRelations

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

HaveRelations indicates an expected call of HaveRelations

func (*MockTenantServiceRelationDaoMockRecorder) ListByServiceIDs

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

ListByServiceIDs indicates an expected call of ListByServiceIDs

func (*MockTenantServiceRelationDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServiceScalingRecordsDao

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

MockTenantServiceScalingRecordsDao is a mock of TenantServiceScalingRecordsDao interface

func NewMockTenantServiceScalingRecordsDao

func NewMockTenantServiceScalingRecordsDao(ctrl *gomock.Controller) *MockTenantServiceScalingRecordsDao

NewMockTenantServiceScalingRecordsDao creates a new mock instance

func (*MockTenantServiceScalingRecordsDao) AddModel

AddModel mocks base method

func (*MockTenantServiceScalingRecordsDao) CountByServiceID

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

CountByServiceID mocks base method

func (*MockTenantServiceScalingRecordsDao) EXPECT

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

func (*MockTenantServiceScalingRecordsDao) ListByServiceID

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

ListByServiceID mocks base method

func (*MockTenantServiceScalingRecordsDao) UpdateModel

UpdateModel mocks base method

func (*MockTenantServiceScalingRecordsDao) UpdateOrCreate

UpdateOrCreate mocks base method

type MockTenantServiceScalingRecordsDaoMockRecorder

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

MockTenantServiceScalingRecordsDaoMockRecorder is the mock recorder for MockTenantServiceScalingRecordsDao

func (*MockTenantServiceScalingRecordsDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceScalingRecordsDaoMockRecorder) CountByServiceID

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

CountByServiceID indicates an expected call of CountByServiceID

func (*MockTenantServiceScalingRecordsDaoMockRecorder) ListByServiceID

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

ListByServiceID indicates an expected call of ListByServiceID

func (*MockTenantServiceScalingRecordsDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

func (*MockTenantServiceScalingRecordsDaoMockRecorder) UpdateOrCreate

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

UpdateOrCreate indicates an expected call of UpdateOrCreate

type MockTenantServiceVolumeDao

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

MockTenantServiceVolumeDao is a mock of TenantServiceVolumeDao interface

func NewMockTenantServiceVolumeDao

func NewMockTenantServiceVolumeDao(ctrl *gomock.Controller) *MockTenantServiceVolumeDao

NewMockTenantServiceVolumeDao creates a new mock instance

func (*MockTenantServiceVolumeDao) AddModel

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

AddModel mocks base method

func (*MockTenantServiceVolumeDao) DelShareableBySID

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

DelShareableBySID mocks base method

func (*MockTenantServiceVolumeDao) DeleteByServiceIDAndVolumePath

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

DeleteByServiceIDAndVolumePath mocks base method

func (*MockTenantServiceVolumeDao) DeleteModel

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

DeleteModel mocks base method

func (*MockTenantServiceVolumeDao) DeleteTenantServiceVolumesByServiceID

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

DeleteTenantServiceVolumesByServiceID mocks base method

func (*MockTenantServiceVolumeDao) EXPECT

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

func (*MockTenantServiceVolumeDao) GetAllVolumes

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

GetAllVolumes mocks base method

func (*MockTenantServiceVolumeDao) GetTenantServiceVolumesByServiceID

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

GetTenantServiceVolumesByServiceID mocks base method

func (*MockTenantServiceVolumeDao) GetVolumeByID

GetVolumeByID mocks base method

func (*MockTenantServiceVolumeDao) GetVolumeByServiceIDAndName

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

GetVolumeByServiceIDAndName mocks base method

func (*MockTenantServiceVolumeDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantServiceVolumeDaoMockRecorder

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

MockTenantServiceVolumeDaoMockRecorder is the mock recorder for MockTenantServiceVolumeDao

func (*MockTenantServiceVolumeDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServiceVolumeDaoMockRecorder) DelShareableBySID

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

DelShareableBySID indicates an expected call of DelShareableBySID

func (*MockTenantServiceVolumeDaoMockRecorder) DeleteByServiceIDAndVolumePath

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

DeleteByServiceIDAndVolumePath indicates an expected call of DeleteByServiceIDAndVolumePath

func (*MockTenantServiceVolumeDaoMockRecorder) DeleteModel

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

DeleteModel indicates an expected call of DeleteModel

func (*MockTenantServiceVolumeDaoMockRecorder) DeleteTenantServiceVolumesByServiceID

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

DeleteTenantServiceVolumesByServiceID indicates an expected call of DeleteTenantServiceVolumesByServiceID

func (*MockTenantServiceVolumeDaoMockRecorder) GetAllVolumes

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

GetAllVolumes indicates an expected call of GetAllVolumes

func (*MockTenantServiceVolumeDaoMockRecorder) GetTenantServiceVolumesByServiceID

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

GetTenantServiceVolumesByServiceID indicates an expected call of GetTenantServiceVolumesByServiceID

func (*MockTenantServiceVolumeDaoMockRecorder) GetVolumeByID

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

GetVolumeByID indicates an expected call of GetVolumeByID

func (*MockTenantServiceVolumeDaoMockRecorder) GetVolumeByServiceIDAndName

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

GetVolumeByServiceIDAndName indicates an expected call of GetVolumeByServiceIDAndName

func (*MockTenantServiceVolumeDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServicesPortDao

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

MockTenantServicesPortDao is a mock of TenantServicesPortDao interface

func NewMockTenantServicesPortDao

func NewMockTenantServicesPortDao(ctrl *gomock.Controller) *MockTenantServicesPortDao

NewMockTenantServicesPortDao creates a new mock instance

func (*MockTenantServicesPortDao) AddModel

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

AddModel mocks base method

func (*MockTenantServicesPortDao) DELPortsByServiceID

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

DELPortsByServiceID mocks base method

func (*MockTenantServicesPortDao) DelByServiceID

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

DelByServiceID mocks base method

func (*MockTenantServicesPortDao) DeleteModel

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

DeleteModel mocks base method

func (*MockTenantServicesPortDao) EXPECT

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

func (*MockTenantServicesPortDao) GetDepUDPPort

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

GetDepUDPPort mocks base method

func (*MockTenantServicesPortDao) GetInnerPorts

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

GetInnerPorts mocks base method

func (*MockTenantServicesPortDao) GetOpenedPorts

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

GetOpenedPorts mocks base method

func (*MockTenantServicesPortDao) GetOuterPorts

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

GetOuterPorts mocks base method

func (*MockTenantServicesPortDao) GetPort

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

GetPort mocks base method

func (*MockTenantServicesPortDao) GetPortsByServiceID

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

GetPortsByServiceID mocks base method

func (*MockTenantServicesPortDao) HasOpenPort

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

HasOpenPort mocks base method

func (*MockTenantServicesPortDao) ListInnerPortsByServiceIDs

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

ListInnerPortsByServiceIDs mocks base method

func (*MockTenantServicesPortDao) UpdateModel

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

UpdateModel mocks base method

type MockTenantServicesPortDaoMockRecorder

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

MockTenantServicesPortDaoMockRecorder is the mock recorder for MockTenantServicesPortDao

func (*MockTenantServicesPortDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServicesPortDaoMockRecorder) DELPortsByServiceID

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

DELPortsByServiceID indicates an expected call of DELPortsByServiceID

func (*MockTenantServicesPortDaoMockRecorder) DelByServiceID

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

DelByServiceID indicates an expected call of DelByServiceID

func (*MockTenantServicesPortDaoMockRecorder) DeleteModel

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

DeleteModel indicates an expected call of DeleteModel

func (*MockTenantServicesPortDaoMockRecorder) GetDepUDPPort

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

GetDepUDPPort indicates an expected call of GetDepUDPPort

func (*MockTenantServicesPortDaoMockRecorder) GetInnerPorts

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

GetInnerPorts indicates an expected call of GetInnerPorts

func (*MockTenantServicesPortDaoMockRecorder) GetOpenedPorts

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

GetOpenedPorts indicates an expected call of GetOpenedPorts

func (*MockTenantServicesPortDaoMockRecorder) GetOuterPorts

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

GetOuterPorts indicates an expected call of GetOuterPorts

func (*MockTenantServicesPortDaoMockRecorder) GetPort

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

GetPort indicates an expected call of GetPort

func (*MockTenantServicesPortDaoMockRecorder) GetPortsByServiceID

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

GetPortsByServiceID indicates an expected call of GetPortsByServiceID

func (*MockTenantServicesPortDaoMockRecorder) HasOpenPort

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

HasOpenPort indicates an expected call of HasOpenPort

func (*MockTenantServicesPortDaoMockRecorder) ListInnerPortsByServiceIDs

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

ListInnerPortsByServiceIDs indicates an expected call of ListInnerPortsByServiceIDs

func (*MockTenantServicesPortDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockTenantServicesStreamPluginPortDao

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

MockTenantServicesStreamPluginPortDao is a mock of TenantServicesStreamPluginPortDao interface

func NewMockTenantServicesStreamPluginPortDao

func NewMockTenantServicesStreamPluginPortDao(ctrl *gomock.Controller) *MockTenantServicesStreamPluginPortDao

NewMockTenantServicesStreamPluginPortDao creates a new mock instance

func (*MockTenantServicesStreamPluginPortDao) AddModel

AddModel mocks base method

func (*MockTenantServicesStreamPluginPortDao) DeleteAllPluginMappingPortByServiceID

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

DeleteAllPluginMappingPortByServiceID mocks base method

func (*MockTenantServicesStreamPluginPortDao) DeletePluginMappingPortByContainerPort

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

DeletePluginMappingPortByContainerPort mocks base method

func (*MockTenantServicesStreamPluginPortDao) EXPECT

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

func (*MockTenantServicesStreamPluginPortDao) GetPluginMappingPortByServiceIDAndContainerPort

func (m *MockTenantServicesStreamPluginPortDao) GetPluginMappingPortByServiceIDAndContainerPort(serviceID, pluginModel string, containerPort int) (*model.TenantServicesStreamPluginPort, error)

GetPluginMappingPortByServiceIDAndContainerPort mocks base method

func (*MockTenantServicesStreamPluginPortDao) GetPluginMappingPorts

GetPluginMappingPorts mocks base method

func (*MockTenantServicesStreamPluginPortDao) ListByServiceID

ListByServiceID mocks base method

func (*MockTenantServicesStreamPluginPortDao) SetPluginMappingPort

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

SetPluginMappingPort mocks base method

func (*MockTenantServicesStreamPluginPortDao) UpdateModel

UpdateModel mocks base method

type MockTenantServicesStreamPluginPortDaoMockRecorder

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

MockTenantServicesStreamPluginPortDaoMockRecorder is the mock recorder for MockTenantServicesStreamPluginPortDao

func (*MockTenantServicesStreamPluginPortDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockTenantServicesStreamPluginPortDaoMockRecorder) DeleteAllPluginMappingPortByServiceID

func (mr *MockTenantServicesStreamPluginPortDaoMockRecorder) DeleteAllPluginMappingPortByServiceID(serviceID interface{}) *gomock.Call

DeleteAllPluginMappingPortByServiceID indicates an expected call of DeleteAllPluginMappingPortByServiceID

func (*MockTenantServicesStreamPluginPortDaoMockRecorder) DeletePluginMappingPortByContainerPort

func (mr *MockTenantServicesStreamPluginPortDaoMockRecorder) DeletePluginMappingPortByContainerPort(serviceID, pluginModel, containerPort interface{}) *gomock.Call

DeletePluginMappingPortByContainerPort indicates an expected call of DeletePluginMappingPortByContainerPort

func (*MockTenantServicesStreamPluginPortDaoMockRecorder) GetPluginMappingPortByServiceIDAndContainerPort

func (mr *MockTenantServicesStreamPluginPortDaoMockRecorder) GetPluginMappingPortByServiceIDAndContainerPort(serviceID, pluginModel, containerPort interface{}) *gomock.Call

GetPluginMappingPortByServiceIDAndContainerPort indicates an expected call of GetPluginMappingPortByServiceIDAndContainerPort

func (*MockTenantServicesStreamPluginPortDaoMockRecorder) GetPluginMappingPorts

func (mr *MockTenantServicesStreamPluginPortDaoMockRecorder) GetPluginMappingPorts(serviceID interface{}) *gomock.Call

GetPluginMappingPorts indicates an expected call of GetPluginMappingPorts

func (*MockTenantServicesStreamPluginPortDaoMockRecorder) ListByServiceID

func (mr *MockTenantServicesStreamPluginPortDaoMockRecorder) ListByServiceID(sid interface{}) *gomock.Call

ListByServiceID indicates an expected call of ListByServiceID

func (*MockTenantServicesStreamPluginPortDaoMockRecorder) SetPluginMappingPort

func (mr *MockTenantServicesStreamPluginPortDaoMockRecorder) SetPluginMappingPort(tenantID, serviceID, pluginModel, containerPort interface{}) *gomock.Call

SetPluginMappingPort indicates an expected call of SetPluginMappingPort

func (*MockTenantServicesStreamPluginPortDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockThirdPartySvcDiscoveryCfgDao

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

MockThirdPartySvcDiscoveryCfgDao is a mock of ThirdPartySvcDiscoveryCfgDao interface

func NewMockThirdPartySvcDiscoveryCfgDao

func NewMockThirdPartySvcDiscoveryCfgDao(ctrl *gomock.Controller) *MockThirdPartySvcDiscoveryCfgDao

NewMockThirdPartySvcDiscoveryCfgDao creates a new mock instance

func (*MockThirdPartySvcDiscoveryCfgDao) AddModel

AddModel mocks base method

func (*MockThirdPartySvcDiscoveryCfgDao) DeleteByServiceID

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

DeleteByServiceID mocks base method

func (*MockThirdPartySvcDiscoveryCfgDao) EXPECT

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

func (*MockThirdPartySvcDiscoveryCfgDao) GetByServiceID

GetByServiceID mocks base method

func (*MockThirdPartySvcDiscoveryCfgDao) UpdateModel

UpdateModel mocks base method

type MockThirdPartySvcDiscoveryCfgDaoMockRecorder

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

MockThirdPartySvcDiscoveryCfgDaoMockRecorder is the mock recorder for MockThirdPartySvcDiscoveryCfgDao

func (*MockThirdPartySvcDiscoveryCfgDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockThirdPartySvcDiscoveryCfgDaoMockRecorder) DeleteByServiceID

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

DeleteByServiceID indicates an expected call of DeleteByServiceID

func (*MockThirdPartySvcDiscoveryCfgDaoMockRecorder) GetByServiceID

func (mr *MockThirdPartySvcDiscoveryCfgDaoMockRecorder) GetByServiceID(sid interface{}) *gomock.Call

GetByServiceID indicates an expected call of GetByServiceID

func (*MockThirdPartySvcDiscoveryCfgDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockVersionInfoDao

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

MockVersionInfoDao is a mock of VersionInfoDao interface

func NewMockVersionInfoDao

func NewMockVersionInfoDao(ctrl *gomock.Controller) *MockVersionInfoDao

NewMockVersionInfoDao creates a new mock instance

func (*MockVersionInfoDao) AddModel

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

AddModel mocks base method

func (*MockVersionInfoDao) DeleteFailureVersionInfo

func (m *MockVersionInfoDao) DeleteFailureVersionInfo(timePoint time.Time, status string, serviceIDList []string) error

DeleteFailureVersionInfo mocks base method

func (*MockVersionInfoDao) DeleteVersionByEventID

func (m *MockVersionInfoDao) DeleteVersionByEventID(eventID string) error

DeleteVersionByEventID mocks base method

func (*MockVersionInfoDao) DeleteVersionByServiceID

func (m *MockVersionInfoDao) DeleteVersionByServiceID(serviceID string) error

DeleteVersionByServiceID mocks base method

func (*MockVersionInfoDao) DeleteVersionInfo

func (m *MockVersionInfoDao) DeleteVersionInfo(obj *model.VersionInfo) error

DeleteVersionInfo mocks base method

func (*MockVersionInfoDao) EXPECT

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

func (*MockVersionInfoDao) GetAllVersionByServiceID

func (m *MockVersionInfoDao) GetAllVersionByServiceID(serviceID string) ([]*model.VersionInfo, error)

GetAllVersionByServiceID mocks base method

func (*MockVersionInfoDao) GetLatestScsVersion

func (m *MockVersionInfoDao) GetLatestScsVersion(sid string) (*model.VersionInfo, error)

GetLatestScsVersion mocks base method

func (*MockVersionInfoDao) GetVersionByDeployVersion

func (m *MockVersionInfoDao) GetVersionByDeployVersion(version, serviceID string) (*model.VersionInfo, error)

GetVersionByDeployVersion mocks base method

func (*MockVersionInfoDao) GetVersionByEventID

func (m *MockVersionInfoDao) GetVersionByEventID(eventID string) (*model.VersionInfo, error)

GetVersionByEventID mocks base method

func (*MockVersionInfoDao) GetVersionByServiceID

func (m *MockVersionInfoDao) GetVersionByServiceID(serviceID string) ([]*model.VersionInfo, error)

GetVersionByServiceID mocks base method

func (*MockVersionInfoDao) GetVersionInfo

func (m *MockVersionInfoDao) GetVersionInfo(timePoint time.Time, serviceIDList []string) ([]*model.VersionInfo, error)

GetVersionInfo mocks base method

func (*MockVersionInfoDao) ListSuccessfulOnes

func (m *MockVersionInfoDao) ListSuccessfulOnes() ([]*model.VersionInfo, error)

ListSuccessfulOnes mocks base method

func (*MockVersionInfoDao) SearchVersionInfo

func (m *MockVersionInfoDao) SearchVersionInfo() ([]*model.VersionInfo, error)

SearchVersionInfo mocks base method

func (*MockVersionInfoDao) UpdateModel

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

UpdateModel mocks base method

type MockVersionInfoDaoMockRecorder

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

MockVersionInfoDaoMockRecorder is the mock recorder for MockVersionInfoDao

func (*MockVersionInfoDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockVersionInfoDaoMockRecorder) DeleteFailureVersionInfo

func (mr *MockVersionInfoDaoMockRecorder) DeleteFailureVersionInfo(timePoint, status, serviceIDList interface{}) *gomock.Call

DeleteFailureVersionInfo indicates an expected call of DeleteFailureVersionInfo

func (*MockVersionInfoDaoMockRecorder) DeleteVersionByEventID

func (mr *MockVersionInfoDaoMockRecorder) DeleteVersionByEventID(eventID interface{}) *gomock.Call

DeleteVersionByEventID indicates an expected call of DeleteVersionByEventID

func (*MockVersionInfoDaoMockRecorder) DeleteVersionByServiceID

func (mr *MockVersionInfoDaoMockRecorder) DeleteVersionByServiceID(serviceID interface{}) *gomock.Call

DeleteVersionByServiceID indicates an expected call of DeleteVersionByServiceID

func (*MockVersionInfoDaoMockRecorder) DeleteVersionInfo

func (mr *MockVersionInfoDaoMockRecorder) DeleteVersionInfo(obj interface{}) *gomock.Call

DeleteVersionInfo indicates an expected call of DeleteVersionInfo

func (*MockVersionInfoDaoMockRecorder) GetAllVersionByServiceID

func (mr *MockVersionInfoDaoMockRecorder) GetAllVersionByServiceID(serviceID interface{}) *gomock.Call

GetAllVersionByServiceID indicates an expected call of GetAllVersionByServiceID

func (*MockVersionInfoDaoMockRecorder) GetLatestScsVersion

func (mr *MockVersionInfoDaoMockRecorder) GetLatestScsVersion(sid interface{}) *gomock.Call

GetLatestScsVersion indicates an expected call of GetLatestScsVersion

func (*MockVersionInfoDaoMockRecorder) GetVersionByDeployVersion

func (mr *MockVersionInfoDaoMockRecorder) GetVersionByDeployVersion(version, serviceID interface{}) *gomock.Call

GetVersionByDeployVersion indicates an expected call of GetVersionByDeployVersion

func (*MockVersionInfoDaoMockRecorder) GetVersionByEventID

func (mr *MockVersionInfoDaoMockRecorder) GetVersionByEventID(eventID interface{}) *gomock.Call

GetVersionByEventID indicates an expected call of GetVersionByEventID

func (*MockVersionInfoDaoMockRecorder) GetVersionByServiceID

func (mr *MockVersionInfoDaoMockRecorder) GetVersionByServiceID(serviceID interface{}) *gomock.Call

GetVersionByServiceID indicates an expected call of GetVersionByServiceID

func (*MockVersionInfoDaoMockRecorder) GetVersionInfo

func (mr *MockVersionInfoDaoMockRecorder) GetVersionInfo(timePoint, serviceIDList interface{}) *gomock.Call

GetVersionInfo indicates an expected call of GetVersionInfo

func (*MockVersionInfoDaoMockRecorder) ListSuccessfulOnes

func (mr *MockVersionInfoDaoMockRecorder) ListSuccessfulOnes() *gomock.Call

ListSuccessfulOnes indicates an expected call of ListSuccessfulOnes

func (*MockVersionInfoDaoMockRecorder) SearchVersionInfo

func (mr *MockVersionInfoDaoMockRecorder) SearchVersionInfo() *gomock.Call

SearchVersionInfo indicates an expected call of SearchVersionInfo

func (*MockVersionInfoDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type MockVolumeTypeDao

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

MockVolumeTypeDao is a mock of VolumeTypeDao interface

func NewMockVolumeTypeDao

func NewMockVolumeTypeDao(ctrl *gomock.Controller) *MockVolumeTypeDao

NewMockVolumeTypeDao creates a new mock instance

func (*MockVolumeTypeDao) AddModel

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

AddModel mocks base method

func (*MockVolumeTypeDao) CreateOrUpdateVolumeType

CreateOrUpdateVolumeType mocks base method

func (*MockVolumeTypeDao) DeleteModelByVolumeTypes

func (m *MockVolumeTypeDao) DeleteModelByVolumeTypes(volumeType string) error

DeleteModelByVolumeTypes mocks base method

func (*MockVolumeTypeDao) EXPECT

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

func (*MockVolumeTypeDao) GetAllVolumeTypes

func (m *MockVolumeTypeDao) GetAllVolumeTypes() ([]*model.TenantServiceVolumeType, error)

GetAllVolumeTypes mocks base method

func (*MockVolumeTypeDao) GetAllVolumeTypesByPage

func (m *MockVolumeTypeDao) GetAllVolumeTypesByPage(page, pageSize int) ([]*model.TenantServiceVolumeType, error)

GetAllVolumeTypesByPage mocks base method

func (*MockVolumeTypeDao) GetVolumeTypeByType

func (m *MockVolumeTypeDao) GetVolumeTypeByType(vt string) (*model.TenantServiceVolumeType, error)

GetVolumeTypeByType mocks base method

func (*MockVolumeTypeDao) UpdateModel

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

UpdateModel mocks base method

type MockVolumeTypeDaoMockRecorder

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

MockVolumeTypeDaoMockRecorder is the mock recorder for MockVolumeTypeDao

func (*MockVolumeTypeDaoMockRecorder) AddModel

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

AddModel indicates an expected call of AddModel

func (*MockVolumeTypeDaoMockRecorder) CreateOrUpdateVolumeType

func (mr *MockVolumeTypeDaoMockRecorder) CreateOrUpdateVolumeType(vt interface{}) *gomock.Call

CreateOrUpdateVolumeType indicates an expected call of CreateOrUpdateVolumeType

func (*MockVolumeTypeDaoMockRecorder) DeleteModelByVolumeTypes

func (mr *MockVolumeTypeDaoMockRecorder) DeleteModelByVolumeTypes(volumeType interface{}) *gomock.Call

DeleteModelByVolumeTypes indicates an expected call of DeleteModelByVolumeTypes

func (*MockVolumeTypeDaoMockRecorder) GetAllVolumeTypes

func (mr *MockVolumeTypeDaoMockRecorder) GetAllVolumeTypes() *gomock.Call

GetAllVolumeTypes indicates an expected call of GetAllVolumeTypes

func (*MockVolumeTypeDaoMockRecorder) GetAllVolumeTypesByPage

func (mr *MockVolumeTypeDaoMockRecorder) GetAllVolumeTypesByPage(page, pageSize interface{}) *gomock.Call

GetAllVolumeTypesByPage indicates an expected call of GetAllVolumeTypesByPage

func (*MockVolumeTypeDaoMockRecorder) GetVolumeTypeByType

func (mr *MockVolumeTypeDaoMockRecorder) GetVolumeTypeByType(vt interface{}) *gomock.Call

GetVolumeTypeByType indicates an expected call of GetVolumeTypeByType

func (*MockVolumeTypeDaoMockRecorder) UpdateModel

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

UpdateModel indicates an expected call of UpdateModel

type NotificationEventDao

type NotificationEventDao interface {
	Dao
	GetNotificationEventByHash(hash string) (*model.NotificationEvent, error)
	GetNotificationEventByKind(kind, kindID string) ([]*model.NotificationEvent, error)
	GetNotificationEventByTime(start, end time.Time) ([]*model.NotificationEvent, error)
	GetNotificationEventNotHandle() ([]*model.NotificationEvent, error)
}

NotificationEventDao NotificationEventDao

type RegionAPIClassDao

type RegionAPIClassDao interface {
	Dao
	GetPrefixesByClass(apiClass string) ([]*model.RegionAPIClass, error)
	DeletePrefixInClass(apiClass, prefix string) error
}

RegionAPIClassDao RegionAPIClassDao

type RegionProcotolsDao

type RegionProcotolsDao interface {
	Dao
	GetAllSupportProtocol(version string) ([]*model.RegionProcotols, error)
	GetProtocolGroupByProtocolChild(version, protocolChild string) (*model.RegionProcotols, error)
}

RegionProcotolsDao RegionProcotolsDao

type RegionUserInfoDao

type RegionUserInfoDao interface {
	Dao
	GetALLTokenInValidityPeriod() ([]*model.RegionUserInfo, error)
	GetTokenByEid(eid string) (*model.RegionUserInfo, error)
	GetTokenByTokenID(token string) (*model.RegionUserInfo, error)
}

RegionUserInfoDao UserRegionInfoDao

type RuleExtensionDao

type RuleExtensionDao interface {
	Dao
	GetRuleExtensionByRuleID(ruleID string) ([]*model.RuleExtension, error)
	DeleteRuleExtensionByRuleID(ruleID string) error
}

RuleExtensionDao -

type ServiceProbeDao

type ServiceProbeDao interface {
	Dao
	DelDao
	GetServiceProbes(serviceID string) ([]*model.TenantServiceProbe, error)
	GetServiceUsedProbe(serviceID, mode string) (*model.TenantServiceProbe, error)
	DELServiceProbesByServiceID(serviceID string) error
	DelByServiceID(sid string) error
}

ServiceProbeDao ServiceProbeDao

type ServiceSourceDao

type ServiceSourceDao interface {
	Dao
	GetServiceSource(serviceID string) ([]*model.ServiceSourceConfig, error)
}

ServiceSourceDao service source dao

type TCPRuleDao

type TCPRuleDao interface {
	Dao
	GetTCPRuleByServiceIDAndContainerPort(serviceID string, containerPort int) ([]*model.TCPRule, error)
	GetTCPRuleByID(id string) (*model.TCPRule, error)
	GetTCPRuleByServiceID(sid string) ([]*model.TCPRule, error)
	DeleteByID(uuid string) error
	DeleteTCPRuleByServiceID(serviceID string) error
	ListByServiceID(serviceID string) ([]*model.TCPRule, error)
	GetUsedPortsByIP(ip string) ([]*model.TCPRule, error)
}

TCPRuleDao -

type TenantDao

type TenantDao interface {
	Dao
	GetTenantByUUID(uuid string) (*model.Tenants, error)
	GetTenantIDByName(tenantName string) (*model.Tenants, error)
	GetALLTenants(query string) ([]*model.Tenants, error)
	GetTenantByEid(eid, query string) ([]*model.Tenants, error)
	GetPagedTenants(offset, len int) ([]*model.Tenants, error)
	GetTenantIDsByNames(names []string) ([]string, error)
	GetTenantLimitsByNames(names []string) (map[string]int, error)
	GetTenantByUUIDIsExist(uuid string) bool
	DelByTenantID(tenantID string) error
}

TenantDao tenant dao

type TenantPluginBuildVersionDao

type TenantPluginBuildVersionDao interface {
	Dao
	DeleteBuildVersionByVersionID(versionID string) error
	DeleteBuildVersionByPluginID(pluginID string) error
	GetBuildVersionByPluginID(pluginID string) ([]*model.TenantPluginBuildVersion, error)
	GetBuildVersionByVersionID(pluginID, versionID string) (*model.TenantPluginBuildVersion, error)
	GetLastBuildVersionByVersionID(pluginID, versionID string) (*model.TenantPluginBuildVersion, error)
	GetBuildVersionByDeployVersion(pluginID, versionID, deployVersion string) (*model.TenantPluginBuildVersion, error)
	ListSuccessfulOnesByPluginIDs(pluginIDs []string) ([]*model.TenantPluginBuildVersion, error)
}

TenantPluginBuildVersionDao TenantPluginBuildVersionDao

type TenantPluginDao

type TenantPluginDao interface {
	Dao
	GetPluginByID(pluginID, tenantID string) (*model.TenantPlugin, error)
	DeletePluginByID(pluginID, tenantID string) error
	GetPluginsByTenantID(tenantID string) ([]*model.TenantPlugin, error)
	ListByIDs(ids []string) ([]*model.TenantPlugin, error)
	ListByTenantID(tenantID string) ([]*model.TenantPlugin, error)
}

TenantPluginDao TenantPluginDao

type TenantPluginDefaultENVDao

type TenantPluginDefaultENVDao interface {
	Dao
	GetDefaultENVByName(pluginID, name, versionID string) (*model.TenantPluginDefaultENV, error)
	GetDefaultENVSByPluginID(pluginID, versionID string) ([]*model.TenantPluginDefaultENV, error)
	//GetDefaultENVSByPluginIDCantBeSet(pluginID string) ([]*model.TenantPluginDefaultENV, error)
	DeleteDefaultENVByName(pluginID, name, versionID string) error
	DeleteAllDefaultENVByPluginID(PluginID string) error
	DeleteDefaultENVByPluginIDAndVersionID(pluginID, versionID string) error
	GetALLMasterDefultENVs(pluginID string) ([]*model.TenantPluginDefaultENV, error)
	GetDefaultEnvWhichCanBeSetByPluginID(pluginID, versionID string) ([]*model.TenantPluginDefaultENV, error)
}

TenantPluginDefaultENVDao TenantPluginDefaultENVDao

type TenantPluginVersionConfigDao

type TenantPluginVersionConfigDao interface {
	Dao
	GetPluginConfig(serviceID, pluginID string) (*model.TenantPluginVersionDiscoverConfig, error)
	GetPluginConfigs(serviceID string) ([]*model.TenantPluginVersionDiscoverConfig, error)
	DeletePluginConfig(serviceID, pluginID string) error
	DeletePluginConfigByServiceID(serviceID string) error
}

TenantPluginVersionConfigDao service plugin config that can be dynamic discovery dao interface

type TenantPluginVersionEnvDao

type TenantPluginVersionEnvDao interface {
	Dao
	DeleteEnvByEnvName(envName, pluginID, serviceID string) error
	DeleteEnvByPluginID(serviceID, pluginID string) error
	DeleteEnvByServiceID(serviceID string) error
	GetVersionEnvByServiceID(serviceID string, pluginID string) ([]*model.TenantPluginVersionEnv, error)
	ListByServiceID(serviceID string) ([]*model.TenantPluginVersionEnv, error)
	GetVersionEnvByEnvName(serviceID, pluginID, envName string) (*model.TenantPluginVersionEnv, error)
}

TenantPluginVersionEnvDao TenantPluginVersionEnvDao

type TenantServceAutoscalerRuleMetricsDao

type TenantServceAutoscalerRuleMetricsDao interface {
	Dao
	UpdateOrCreate(metric *model.TenantServiceAutoscalerRuleMetrics) error
	ListByRuleID(ruleID string) ([]*model.TenantServiceAutoscalerRuleMetrics, error)
	DeleteByRuleID(ruldID string) error
}

TenantServceAutoscalerRuleMetricsDao -

type TenantServceAutoscalerRulesDao

type TenantServceAutoscalerRulesDao interface {
	Dao
	GetByRuleID(ruleID string) (*model.TenantServiceAutoscalerRules, error)
	ListByServiceID(serviceID string) ([]*model.TenantServiceAutoscalerRules, error)
	ListEnableOnesByServiceID(serviceID string) ([]*model.TenantServiceAutoscalerRules, error)
}

TenantServceAutoscalerRulesDao -

type TenantServiceConfigFileDao

type TenantServiceConfigFileDao interface {
	Dao
	GetByVolumeName(sid, volumeName string) (*model.TenantServiceConfigFile, error)
	DelByVolumeID(sid string, volumeName string) error
	DelByServiceID(sid string) error
}

TenantServiceConfigFileDao tenant service config file dao interface

type TenantServiceDao

type TenantServiceDao interface {
	Dao
	GetServiceByID(serviceID string) (*model.TenantServices, error)
	GetServiceByServiceAlias(serviceAlias string) (*model.TenantServices, error)
	GetServiceByIDs(serviceIDs []string) ([]*model.TenantServices, error)
	GetServiceAliasByIDs(uids []string) ([]*model.TenantServices, error)
	GetServiceByTenantIDAndServiceAlias(tenantID, serviceName string) (*model.TenantServices, error)
	SetTenantServiceStatus(serviceID, status string) error
	GetServicesByTenantID(tenantID string) ([]*model.TenantServices, error)
	GetServicesByTenantIDs(tenantIDs []string) ([]*model.TenantServices, error)
	GetServicesAllInfoByTenantID(tenantID string) ([]*model.TenantServices, error)
	DeleteServiceByServiceID(serviceID string) error
	GetServiceMemoryByTenantIDs(tenantIDs, serviceIDs []string) (map[string]map[string]interface{}, error)
	GetServiceMemoryByServiceIDs(serviceIDs []string) (map[string]map[string]interface{}, error)
	GetPagedTenantService(offset, len int, serviceIDs []string) ([]map[string]interface{}, int, error)
	GetAllServicesID() ([]*model.TenantServices, error)
	UpdateDeployVersion(serviceID, deployversion string) error
	ListThirdPartyServices() ([]*model.TenantServices, error)
	ListServicesByTenantID(tenantID string) ([]*model.TenantServices, error)
	GetServiceTypeById(serviceID string) (*model.TenantServices, error)
}

TenantServiceDao TenantServiceDao

type TenantServiceDeleteDao

type TenantServiceDeleteDao interface {
	Dao
	GetTenantServicesDeleteByCreateTime(createTime time.Time) ([]*model.TenantServicesDelete, error)
	DeleteTenantServicesDelete(record *model.TenantServicesDelete) error
}

TenantServiceDeleteDao TenantServiceDeleteDao

type TenantServiceEnvVarDao

type TenantServiceEnvVarDao interface {
	Dao
	DelDao
	//service_id__in=sids, scope__in=("outer", "both")
	GetDependServiceEnvs(serviceIDs []string, scopes []string) ([]*model.TenantServiceEnvVar, error)
	GetServiceEnvs(serviceID string, scopes []string) ([]*model.TenantServiceEnvVar, error)
	GetEnv(serviceID, envName string) (*model.TenantServiceEnvVar, error)
	DELServiceEnvsByServiceID(serviceID string) error
	DelByServiceIDAndScope(sid, scope string) error
}

TenantServiceEnvVarDao TenantServiceEnvVarDao

type TenantServiceLBMappingPortDao

type TenantServiceLBMappingPortDao interface {
	Dao
	GetTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error)
	GetLBMappingPortByServiceIDAndPort(serviceID string, port int) (*model.TenantServiceLBMappingPort, error)
	GetTenantServiceLBMappingPortByService(serviceID string) ([]*model.TenantServiceLBMappingPort, error)
	GetLBPortsASC() ([]*model.TenantServiceLBMappingPort, error)
	CreateTenantServiceLBMappingPort(serviceID string, containerPort int) (*model.TenantServiceLBMappingPort, error)
	DELServiceLBMappingPortByServiceID(serviceID string) error
	DELServiceLBMappingPortByServiceIDAndPort(serviceID string, lbPort int) error
	GetLBPortByTenantAndPort(tenantID string, lbport int) (*model.TenantServiceLBMappingPort, error)
	PortExists(port int) bool
}

TenantServiceLBMappingPortDao vs lb mapping port dao

type TenantServiceLabelDao

type TenantServiceLabelDao interface {
	Dao
	DelDao
	GetTenantServiceLabel(serviceID string) ([]*model.TenantServiceLable, error)
	DeleteLabelByServiceID(serviceID string) error
	GetTenantServiceNodeSelectorLabel(serviceID string) ([]*model.TenantServiceLable, error)
	GetTenantNodeAffinityLabel(serviceID string) (*model.TenantServiceLable, error)
	GetTenantServiceAffinityLabel(serviceID string) ([]*model.TenantServiceLable, error)
	GetTenantServiceTypeLabel(serviceID string) (*model.TenantServiceLable, error)
	DelTenantServiceLabelsByLabelValuesAndServiceID(serviceID string) error
	DelTenantServiceLabelsByServiceIDKey(serviceID string, labelKey string) error
	DelTenantServiceLabelsByServiceIDKeyValue(serviceID string, labelKey string, labelValue string) error
	GetLabelByNodeSelectorKey(serviceID string, labelValue string) (*model.TenantServiceLable, error)
	GetPrivilegedLabel(serviceID string) (*model.TenantServiceLable, error)
}

TenantServiceLabelDao TenantServiceLabelDao

type TenantServiceMountRelationDao

type TenantServiceMountRelationDao interface {
	Dao
	GetTenantServiceMountRelationsByService(serviceID string) ([]*model.TenantServiceMountRelation, error)
	DElTenantServiceMountRelationByServiceAndName(serviceID, mntDir string) error
	DELTenantServiceMountRelationByServiceID(serviceID string) error
	DElTenantServiceMountRelationByDepService(serviceID, depServiceID string) error
}

TenantServiceMountRelationDao TenantServiceMountRelationDao

type TenantServicePluginRelationDao

type TenantServicePluginRelationDao interface {
	Dao
	DeleteRelationByServiceIDAndPluginID(serviceID, pluginID string) error
	DeleteALLRelationByServiceID(serviceID string) error
	DeleteALLRelationByPluginID(pluginID string) error
	GetALLRelationByServiceID(serviceID string) ([]*model.TenantServicePluginRelation, error)
	GetRelateionByServiceIDAndPluginID(serviceID, pluginID string) (*model.TenantServicePluginRelation, error)
	CheckSomeModelPluginByServiceID(serviceID, pluginModel string) (bool, error)
	CheckSomeModelLikePluginByServiceID(serviceID, pluginModel string) (bool, error)
}

TenantServicePluginRelationDao TenantServicePluginRelationDao

type TenantServiceRelationDao

type TenantServiceRelationDao interface {
	Dao
	DelDao
	GetTenantServiceRelations(serviceID string) ([]*model.TenantServiceRelation, error)
	ListByServiceIDs(serviceIDs []string) ([]*model.TenantServiceRelation, error)
	GetTenantServiceRelationsByDependServiceID(dependServiceID string) ([]*model.TenantServiceRelation, error)
	HaveRelations(serviceID string) bool
	DELRelationsByServiceID(serviceID string) error
	DeleteRelationByDepID(serviceID, depID string) error
}

TenantServiceRelationDao TenantServiceRelationDao

type TenantServiceScalingRecordsDao

type TenantServiceScalingRecordsDao interface {
	Dao
	UpdateOrCreate(new *model.TenantServiceScalingRecords) error
	ListByServiceID(serviceID string, offset, limit int) ([]*model.TenantServiceScalingRecords, error)
	CountByServiceID(serviceID string) (int, error)
}

TenantServiceScalingRecordsDao -

type TenantServiceVolumeDao

type TenantServiceVolumeDao interface {
	Dao
	DelDao
	GetTenantServiceVolumesByServiceID(serviceID string) ([]*model.TenantServiceVolume, error)
	DeleteTenantServiceVolumesByServiceID(serviceID string) error
	DeleteByServiceIDAndVolumePath(serviceID string, volumePath string) error
	GetVolumeByServiceIDAndName(serviceID, name string) (*model.TenantServiceVolume, error)
	GetAllVolumes() ([]*model.TenantServiceVolume, error)
	GetVolumeByID(id int) (*model.TenantServiceVolume, error)
	DelShareableBySID(sid string) error
}

TenantServiceVolumeDao TenantServiceVolumeDao

type TenantServicesPortDao

type TenantServicesPortDao interface {
	Dao
	DelDao
	GetPortsByServiceID(serviceID string) ([]*model.TenantServicesPort, error)
	GetOuterPorts(serviceID string) ([]*model.TenantServicesPort, error)
	GetInnerPorts(serviceID string) ([]*model.TenantServicesPort, error)
	GetPort(serviceID string, port int) (*model.TenantServicesPort, error)
	GetOpenedPorts(serviceID string) ([]*model.TenantServicesPort, error)
	//GetDepUDPPort get all depend service udp port info
	GetDepUDPPort(serviceID string) ([]*model.TenantServicesPort, error)
	DELPortsByServiceID(serviceID string) error
	HasOpenPort(sid string) bool
	DelByServiceID(sid string) error
	ListInnerPortsByServiceIDs(serviceIDs []string) ([]*model.TenantServicesPort, error)
}

TenantServicesPortDao TenantServicesPortDao

type TenantServicesStreamPluginPortDao

type TenantServicesStreamPluginPortDao interface {
	Dao
	GetPluginMappingPorts(serviceID string) ([]*model.TenantServicesStreamPluginPort, error)
	SetPluginMappingPort(
		tenantID string,
		serviceID string,
		pluginModel string,
		containerPort int,
	) (int, error)
	DeletePluginMappingPortByContainerPort(
		serviceID string,
		pluginModel string,
		containerPort int,
	) error
	DeleteAllPluginMappingPortByServiceID(serviceID string) error
	GetPluginMappingPortByServiceIDAndContainerPort(
		serviceID string,
		pluginModel string,
		containerPort int,
	) (*model.TenantServicesStreamPluginPort, error)
	ListByServiceID(sid string) ([]*model.TenantServicesStreamPluginPort, error)
}

TenantServicesStreamPluginPortDao TenantServicesStreamPluginPortDao

type ThirdPartySvcDiscoveryCfgDao

type ThirdPartySvcDiscoveryCfgDao interface {
	Dao
	GetByServiceID(sid string) (*model.ThirdPartySvcDiscoveryCfg, error)
	DeleteByServiceID(sid string) error
}

ThirdPartySvcDiscoveryCfgDao is an interface for defining method for operating table 3rd_party_svc_discovery_cfg.

type VersionInfoDao

type VersionInfoDao interface {
	Dao
	ListSuccessfulOnes() ([]*model.VersionInfo, error)
	GetVersionByEventID(eventID string) (*model.VersionInfo, error)
	GetVersionByDeployVersion(version, serviceID string) (*model.VersionInfo, error)
	GetVersionByServiceID(serviceID string) ([]*model.VersionInfo, error)
	GetLatestScsVersion(sid string) (*model.VersionInfo, error)
	GetAllVersionByServiceID(serviceID string) ([]*model.VersionInfo, error)
	DeleteVersionByEventID(eventID string) error
	DeleteVersionByServiceID(serviceID string) error
	GetVersionInfo(timePoint time.Time, serviceIDList []string) ([]*model.VersionInfo, error)
	DeleteVersionInfo(obj *model.VersionInfo) error
	DeleteFailureVersionInfo(timePoint time.Time, status string, serviceIDList []string) error
	SearchVersionInfo() ([]*model.VersionInfo, error)
}

VersionInfoDao VersionInfoDao

type VolumeTypeDao

type VolumeTypeDao interface {
	Dao
	DeleteModelByVolumeTypes(volumeType string) error
	GetAllVolumeTypes() ([]*model.TenantServiceVolumeType, error)
	GetAllVolumeTypesByPage(page int, pageSize int) ([]*model.TenantServiceVolumeType, error)
	GetVolumeTypeByType(vt string) (*model.TenantServiceVolumeType, error)
	CreateOrUpdateVolumeType(vt *model.TenantServiceVolumeType) (*model.TenantServiceVolumeType, error)
}

VolumeTypeDao volume type dao

Jump to

Keyboard shortcuts

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