plugin

package
v2.2.1-rc11 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApplication added in v2.1.1

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

MockApplication is a mock of Application interface

func NewMockApplication added in v2.1.1

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

NewMockApplication creates a new mock instance

func (*MockApplication) CreateApplication added in v2.1.1

func (m *MockApplication) CreateApplication(arg0 interface{}, arg1 string, arg2 *v1.Application) (*v1.Application, error)

CreateApplication mocks base method

func (*MockApplication) DeleteApplication added in v2.1.1

func (m *MockApplication) DeleteApplication(arg0, arg1 string) error

DeleteApplication mocks base method

func (*MockApplication) EXPECT added in v2.1.1

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

func (*MockApplication) GetApplication added in v2.1.1

func (m *MockApplication) GetApplication(arg0, arg1, arg2 string) (*v1.Application, error)

GetApplication mocks base method

func (*MockApplication) ListApplication added in v2.1.1

func (m *MockApplication) ListApplication(arg0 interface{}, arg1 string, arg2 *models.ListOptions) (*models.ApplicationList, error)

ListApplication mocks base method

func (*MockApplication) UpdateApplication added in v2.1.1

func (m *MockApplication) UpdateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)

UpdateApplication mocks base method

type MockApplicationMockRecorder added in v2.1.1

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

MockApplicationMockRecorder is the mock recorder for MockApplication

func (*MockApplicationMockRecorder) CreateApplication added in v2.1.1

func (mr *MockApplicationMockRecorder) CreateApplication(arg0, arg1, arg2 interface{}) *gomock.Call

CreateApplication indicates an expected call of CreateApplication

func (*MockApplicationMockRecorder) DeleteApplication added in v2.1.1

func (mr *MockApplicationMockRecorder) DeleteApplication(arg0, arg1 interface{}) *gomock.Call

DeleteApplication indicates an expected call of DeleteApplication

func (*MockApplicationMockRecorder) GetApplication added in v2.1.1

func (mr *MockApplicationMockRecorder) GetApplication(arg0, arg1, arg2 interface{}) *gomock.Call

GetApplication indicates an expected call of GetApplication

func (*MockApplicationMockRecorder) ListApplication added in v2.1.1

func (mr *MockApplicationMockRecorder) ListApplication(arg0, arg1, arg2 interface{}) *gomock.Call

ListApplication indicates an expected call of ListApplication

func (*MockApplicationMockRecorder) UpdateApplication added in v2.1.1

func (mr *MockApplicationMockRecorder) UpdateApplication(arg0, arg1 interface{}) *gomock.Call

UpdateApplication indicates an expected call of UpdateApplication

type MockAuth

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

MockAuth is a mock of Auth interface

func NewMockAuth

func NewMockAuth(ctrl *gomock.Controller) *MockAuth

NewMockAuth creates a new mock instance

func (*MockAuth) AuthAndVerify added in v2.2.0

func (m *MockAuth) AuthAndVerify(arg0 *common.Context, arg1 *plugin.PermissionRequest) error

AuthAndVerify mocks base method

func (*MockAuth) Authenticate

func (m *MockAuth) Authenticate(arg0 *common.Context) error

Authenticate mocks base method

func (*MockAuth) Close

func (m *MockAuth) Close() error

Close mocks base method

func (*MockAuth) EXPECT

func (m *MockAuth) EXPECT() *MockAuthMockRecorder

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

func (*MockAuth) Verify added in v2.2.0

func (m *MockAuth) Verify(arg0 *common.Context, arg1 *plugin.PermissionRequest) error

Verify mocks base method

type MockAuthMockRecorder

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

MockAuthMockRecorder is the mock recorder for MockAuth

func (*MockAuthMockRecorder) AuthAndVerify added in v2.2.0

func (mr *MockAuthMockRecorder) AuthAndVerify(arg0, arg1 interface{}) *gomock.Call

AuthAndVerify indicates an expected call of AuthAndVerify

func (*MockAuthMockRecorder) Authenticate

func (mr *MockAuthMockRecorder) Authenticate(arg0 interface{}) *gomock.Call

Authenticate indicates an expected call of Authenticate

func (*MockAuthMockRecorder) Close

func (mr *MockAuthMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockAuthMockRecorder) Verify added in v2.2.0

func (mr *MockAuthMockRecorder) Verify(arg0, arg1 interface{}) *gomock.Call

Verify indicates an expected call of Verify

type MockConfiguration added in v2.1.1

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

MockConfiguration is a mock of Configuration interface

func NewMockConfiguration added in v2.1.1

func NewMockConfiguration(ctrl *gomock.Controller) *MockConfiguration

NewMockConfiguration creates a new mock instance

func (*MockConfiguration) CreateConfig added in v2.1.1

func (m *MockConfiguration) CreateConfig(arg0 interface{}, arg1 string, arg2 *v1.Configuration) (*v1.Configuration, error)

CreateConfig mocks base method

func (*MockConfiguration) DeleteConfig added in v2.1.1

func (m *MockConfiguration) DeleteConfig(arg0 interface{}, arg1, arg2 string) error

DeleteConfig mocks base method

func (*MockConfiguration) EXPECT added in v2.1.1

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

func (*MockConfiguration) GetConfig added in v2.1.1

func (m *MockConfiguration) GetConfig(arg0 interface{}, arg1, arg2, arg3 string) (*v1.Configuration, error)

GetConfig mocks base method

func (*MockConfiguration) ListConfig added in v2.1.1

func (m *MockConfiguration) ListConfig(arg0 string, arg1 *models.ListOptions) (*models.ConfigurationList, error)

ListConfig mocks base method

func (*MockConfiguration) UpdateConfig added in v2.1.1

func (m *MockConfiguration) UpdateConfig(arg0 interface{}, arg1 string, arg2 *v1.Configuration) (*v1.Configuration, error)

UpdateConfig mocks base method

type MockConfigurationMockRecorder added in v2.1.1

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

MockConfigurationMockRecorder is the mock recorder for MockConfiguration

func (*MockConfigurationMockRecorder) CreateConfig added in v2.1.1

func (mr *MockConfigurationMockRecorder) CreateConfig(arg0, arg1, arg2 interface{}) *gomock.Call

CreateConfig indicates an expected call of CreateConfig

func (*MockConfigurationMockRecorder) DeleteConfig added in v2.1.1

func (mr *MockConfigurationMockRecorder) DeleteConfig(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteConfig indicates an expected call of DeleteConfig

func (*MockConfigurationMockRecorder) GetConfig added in v2.1.1

func (mr *MockConfigurationMockRecorder) GetConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetConfig indicates an expected call of GetConfig

func (*MockConfigurationMockRecorder) ListConfig added in v2.1.1

func (mr *MockConfigurationMockRecorder) ListConfig(arg0, arg1 interface{}) *gomock.Call

ListConfig indicates an expected call of ListConfig

func (*MockConfigurationMockRecorder) UpdateConfig added in v2.1.1

func (mr *MockConfigurationMockRecorder) UpdateConfig(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateConfig indicates an expected call of UpdateConfig

type MockFunction

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

MockFunction is a mock of Function interface

func NewMockFunction

func NewMockFunction(ctrl *gomock.Controller) *MockFunction

NewMockFunction creates a new mock instance

func (*MockFunction) Close

func (m *MockFunction) Close() error

Close mocks base method

func (*MockFunction) EXPECT

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

func (*MockFunction) Get

func (m *MockFunction) Get(arg0, arg1, arg2 string) (*models.Function, error)

Get mocks base method

func (*MockFunction) List

func (m *MockFunction) List(arg0 string) ([]models.Function, error)

List mocks base method

func (*MockFunction) ListFunctionVersions

func (m *MockFunction) ListFunctionVersions(arg0, arg1 string) ([]models.Function, error)

ListFunctionVersions mocks base method

type MockFunctionMockRecorder

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

MockFunctionMockRecorder is the mock recorder for MockFunction

func (*MockFunctionMockRecorder) Close

func (mr *MockFunctionMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockFunctionMockRecorder) Get

func (mr *MockFunctionMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockFunctionMockRecorder) List

func (mr *MockFunctionMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockFunctionMockRecorder) ListFunctionVersions

func (mr *MockFunctionMockRecorder) ListFunctionVersions(arg0, arg1 interface{}) *gomock.Call

ListFunctionVersions indicates an expected call of ListFunctionVersions

type MockIndex added in v2.1.1

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

MockIndex is a mock of Index interface

func NewMockIndex added in v2.1.1

func NewMockIndex(ctrl *gomock.Controller) *MockIndex

NewMockIndex creates a new mock instance

func (*MockIndex) Close added in v2.1.1

func (m *MockIndex) Close() error

Close mocks base method

func (*MockIndex) CreateIndex added in v2.1.1

func (m *MockIndex) CreateIndex(arg0 string, arg1, arg2 common.Resource, arg3, arg4 string) (sql.Result, error)

CreateIndex mocks base method

func (*MockIndex) CreateIndexTx added in v2.1.1

func (m *MockIndex) CreateIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4, arg5 string) (sql.Result, error)

CreateIndexTx mocks base method

func (*MockIndex) DeleteIndex added in v2.1.1

func (m *MockIndex) DeleteIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) (sql.Result, error)

DeleteIndex mocks base method

func (*MockIndex) DeleteIndexTx added in v2.1.1

func (m *MockIndex) DeleteIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4 string) (sql.Result, error)

DeleteIndexTx mocks base method

func (*MockIndex) EXPECT added in v2.1.1

func (m *MockIndex) EXPECT() *MockIndexMockRecorder

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

func (*MockIndex) ListIndex added in v2.1.1

func (m *MockIndex) ListIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) ([]string, error)

ListIndex mocks base method

func (*MockIndex) ListIndexTx added in v2.1.1

func (m *MockIndex) ListIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4 string) ([]string, error)

ListIndexTx mocks base method

func (*MockIndex) RefreshIndex added in v2.1.1

func (m *MockIndex) RefreshIndex(arg0 interface{}, arg1 string, arg2, arg3 common.Resource, arg4 string, arg5 []string) error

RefreshIndex mocks base method

type MockIndexMockRecorder added in v2.1.1

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

MockIndexMockRecorder is the mock recorder for MockIndex

func (*MockIndexMockRecorder) Close added in v2.1.1

func (mr *MockIndexMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockIndexMockRecorder) CreateIndex added in v2.1.1

func (mr *MockIndexMockRecorder) CreateIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreateIndex indicates an expected call of CreateIndex

func (*MockIndexMockRecorder) CreateIndexTx added in v2.1.1

func (mr *MockIndexMockRecorder) CreateIndexTx(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CreateIndexTx indicates an expected call of CreateIndexTx

func (*MockIndexMockRecorder) DeleteIndex added in v2.1.1

func (mr *MockIndexMockRecorder) DeleteIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteIndex indicates an expected call of DeleteIndex

func (*MockIndexMockRecorder) DeleteIndexTx added in v2.1.1

func (mr *MockIndexMockRecorder) DeleteIndexTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

DeleteIndexTx indicates an expected call of DeleteIndexTx

func (*MockIndexMockRecorder) ListIndex added in v2.1.1

func (mr *MockIndexMockRecorder) ListIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ListIndex indicates an expected call of ListIndex

func (*MockIndexMockRecorder) ListIndexTx added in v2.1.1

func (mr *MockIndexMockRecorder) ListIndexTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ListIndexTx indicates an expected call of ListIndexTx

func (*MockIndexMockRecorder) RefreshIndex added in v2.1.1

func (mr *MockIndexMockRecorder) RefreshIndex(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

RefreshIndex indicates an expected call of RefreshIndex

type MockLicense

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

MockLicense is a mock of License interface

func NewMockLicense

func NewMockLicense(ctrl *gomock.Controller) *MockLicense

NewMockLicense creates a new mock instance

func (*MockLicense) AcquireQuota added in v2.1.1

func (m *MockLicense) AcquireQuota(arg0, arg1 string, arg2 int) error

AcquireQuota mocks base method

func (*MockLicense) CheckLicense

func (m *MockLicense) CheckLicense() error

CheckLicense mocks base method

func (*MockLicense) Close

func (m *MockLicense) Close() error

Close mocks base method

func (*MockLicense) CreateQuota added in v2.1.1

func (m *MockLicense) CreateQuota(arg0 string, arg1 map[string]int) error

CreateQuota mocks base method

func (*MockLicense) DeleteQuota added in v2.1.1

func (m *MockLicense) DeleteQuota(arg0, arg1 string) error

DeleteQuota mocks base method

func (*MockLicense) DeleteQuotaByNamespace added in v2.1.1

func (m *MockLicense) DeleteQuotaByNamespace(arg0 string) error

DeleteQuotaByNamespace mocks base method

func (*MockLicense) EXPECT

func (m *MockLicense) EXPECT() *MockLicenseMockRecorder

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

func (*MockLicense) GetDefaultQuotas added in v2.1.1

func (m *MockLicense) GetDefaultQuotas(arg0 string) (map[string]int, error)

GetDefaultQuotas mocks base method

func (*MockLicense) GetQuota

func (m *MockLicense) GetQuota(arg0 string) (map[string]int, error)

GetQuota mocks base method

func (*MockLicense) ProtectCode

func (m *MockLicense) ProtectCode() error

ProtectCode mocks base method

func (*MockLicense) ReleaseQuota added in v2.1.1

func (m *MockLicense) ReleaseQuota(arg0, arg1 string, arg2 int) error

ReleaseQuota mocks base method

func (*MockLicense) UpdateQuota added in v2.1.1

func (m *MockLicense) UpdateQuota(arg0, arg1 string, arg2 int) error

UpdateQuota mocks base method

type MockLicenseMockRecorder

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

MockLicenseMockRecorder is the mock recorder for MockLicense

func (*MockLicenseMockRecorder) AcquireQuota added in v2.1.1

func (mr *MockLicenseMockRecorder) AcquireQuota(arg0, arg1, arg2 interface{}) *gomock.Call

AcquireQuota indicates an expected call of AcquireQuota

func (*MockLicenseMockRecorder) CheckLicense

func (mr *MockLicenseMockRecorder) CheckLicense() *gomock.Call

CheckLicense indicates an expected call of CheckLicense

func (*MockLicenseMockRecorder) Close

func (mr *MockLicenseMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockLicenseMockRecorder) CreateQuota added in v2.1.1

func (mr *MockLicenseMockRecorder) CreateQuota(arg0, arg1 interface{}) *gomock.Call

CreateQuota indicates an expected call of CreateQuota

func (*MockLicenseMockRecorder) DeleteQuota added in v2.1.1

func (mr *MockLicenseMockRecorder) DeleteQuota(arg0, arg1 interface{}) *gomock.Call

DeleteQuota indicates an expected call of DeleteQuota

func (*MockLicenseMockRecorder) DeleteQuotaByNamespace added in v2.1.1

func (mr *MockLicenseMockRecorder) DeleteQuotaByNamespace(arg0 interface{}) *gomock.Call

DeleteQuotaByNamespace indicates an expected call of DeleteQuotaByNamespace

func (*MockLicenseMockRecorder) GetDefaultQuotas added in v2.1.1

func (mr *MockLicenseMockRecorder) GetDefaultQuotas(arg0 interface{}) *gomock.Call

GetDefaultQuotas indicates an expected call of GetDefaultQuotas

func (*MockLicenseMockRecorder) GetQuota

func (mr *MockLicenseMockRecorder) GetQuota(arg0 interface{}) *gomock.Call

GetQuota indicates an expected call of GetQuota

func (*MockLicenseMockRecorder) ProtectCode

func (mr *MockLicenseMockRecorder) ProtectCode() *gomock.Call

ProtectCode indicates an expected call of ProtectCode

func (*MockLicenseMockRecorder) ReleaseQuota added in v2.1.1

func (mr *MockLicenseMockRecorder) ReleaseQuota(arg0, arg1, arg2 interface{}) *gomock.Call

ReleaseQuota indicates an expected call of ReleaseQuota

func (*MockLicenseMockRecorder) UpdateQuota added in v2.1.1

func (mr *MockLicenseMockRecorder) UpdateQuota(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateQuota indicates an expected call of UpdateQuota

type MockLocker added in v2.2.0

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

MockLocker is a mock of Locker interface

func NewMockLocker added in v2.2.0

func NewMockLocker(ctrl *gomock.Controller) *MockLocker

NewMockLocker creates a new mock instance

func (*MockLocker) Close added in v2.2.0

func (m *MockLocker) Close() error

Close mocks base method

func (*MockLocker) EXPECT added in v2.2.0

func (m *MockLocker) EXPECT() *MockLockerMockRecorder

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

func (*MockLocker) Lock added in v2.2.0

func (m *MockLocker) Lock(arg0 context.Context, arg1 string, arg2 int64) (string, error)

Lock mocks base method

func (*MockLocker) Unlock added in v2.2.0

func (m *MockLocker) Unlock(arg0 context.Context, arg1, arg2 string)

Unlock mocks base method

type MockLockerMockRecorder added in v2.2.0

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

MockLockerMockRecorder is the mock recorder for MockLocker

func (*MockLockerMockRecorder) Close added in v2.2.0

func (mr *MockLockerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockLockerMockRecorder) Lock added in v2.2.0

func (mr *MockLockerMockRecorder) Lock(arg0, arg1, arg2 interface{}) *gomock.Call

Lock indicates an expected call of Lock

func (*MockLockerMockRecorder) Unlock added in v2.2.0

func (mr *MockLockerMockRecorder) Unlock(arg0, arg1, arg2 interface{}) *gomock.Call

Unlock indicates an expected call of Unlock

type MockModule added in v2.2.0

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

MockModule is a mock of Module interface

func NewMockModule added in v2.2.0

func NewMockModule(ctrl *gomock.Controller) *MockModule

NewMockModule creates a new mock instance

func (*MockModule) Close added in v2.2.0

func (m *MockModule) Close() error

Close mocks base method

func (*MockModule) CreateModule added in v2.2.0

func (m *MockModule) CreateModule(arg0 *models.Module) (*models.Module, error)

CreateModule mocks base method

func (*MockModule) CreateModuleTx added in v2.2.0

func (m *MockModule) CreateModuleTx(arg0 *sqlx.Tx, arg1 *models.Module) error

CreateModuleTx mocks base method

func (*MockModule) DeleteModuleByVersion added in v2.2.0

func (m *MockModule) DeleteModuleByVersion(arg0, arg1 string) error

DeleteModuleByVersion mocks base method

func (*MockModule) DeleteModuleByVersionTx added in v2.2.0

func (m *MockModule) DeleteModuleByVersionTx(arg0 *sqlx.Tx, arg1, arg2 string) error

DeleteModuleByVersionTx mocks base method

func (*MockModule) DeleteModules added in v2.2.0

func (m *MockModule) DeleteModules(arg0 string) error

DeleteModules mocks base method

func (*MockModule) DeleteModulesTx added in v2.2.0

func (m *MockModule) DeleteModulesTx(arg0 *sqlx.Tx, arg1 string) error

DeleteModulesTx mocks base method

func (*MockModule) EXPECT added in v2.2.0

func (m *MockModule) EXPECT() *MockModuleMockRecorder

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

func (*MockModule) GetLatestModule added in v2.2.0

func (m *MockModule) GetLatestModule(arg0 string) (*models.Module, error)

GetLatestModule mocks base method

func (*MockModule) GetLatestModuleImage added in v2.2.0

func (m *MockModule) GetLatestModuleImage(arg0 string) (string, error)

GetLatestModuleImage mocks base method

func (*MockModule) GetLatestModuleImageTx added in v2.2.0

func (m *MockModule) GetLatestModuleImageTx(arg0 *sqlx.Tx, arg1 string) (string, error)

GetLatestModuleImageTx mocks base method

func (*MockModule) GetLatestModuleProgram added in v2.2.0

func (m *MockModule) GetLatestModuleProgram(arg0, arg1 string) (string, error)

GetLatestModuleProgram mocks base method

func (*MockModule) GetLatestModuleProgramTx added in v2.2.0

func (m *MockModule) GetLatestModuleProgramTx(arg0 *sqlx.Tx, arg1, arg2 string) (string, error)

GetLatestModuleProgramTx mocks base method

func (*MockModule) GetLatestModuleTx added in v2.2.0

func (m *MockModule) GetLatestModuleTx(arg0 *sqlx.Tx, arg1 string) (*models.Module, error)

GetLatestModuleTx mocks base method

func (*MockModule) GetModuleByImage added in v2.2.0

func (m *MockModule) GetModuleByImage(arg0, arg1 string) (*models.Module, error)

GetModuleByImage mocks base method

func (*MockModule) GetModuleByImageTx added in v2.2.0

func (m *MockModule) GetModuleByImageTx(arg0 *sqlx.Tx, arg1, arg2 string) (*models.Module, error)

GetModuleByImageTx mocks base method

func (*MockModule) GetModuleByVersion added in v2.2.0

func (m *MockModule) GetModuleByVersion(arg0, arg1 string) (*models.Module, error)

GetModuleByVersion mocks base method

func (*MockModule) GetModuleByVersionTx added in v2.2.0

func (m *MockModule) GetModuleByVersionTx(arg0 *sqlx.Tx, arg1, arg2 string) (*models.Module, error)

GetModuleByVersionTx mocks base method

func (*MockModule) GetModuleTx added in v2.2.0

func (m *MockModule) GetModuleTx(arg0 *sqlx.Tx, arg1 string) ([]models.Module, error)

GetModuleTx mocks base method

func (*MockModule) GetModules added in v2.2.0

func (m *MockModule) GetModules(arg0 string) ([]models.Module, error)

GetModules mocks base method

func (*MockModule) ListModules added in v2.2.0

func (m *MockModule) ListModules(arg0 *models.Filter) ([]models.Module, error)

ListModules mocks base method

func (*MockModule) ListModulesTx added in v2.2.0

func (m *MockModule) ListModulesTx(arg0 *sqlx.Tx, arg1 *models.Filter) ([]models.Module, error)

ListModulesTx mocks base method

func (*MockModule) ListOptionalSysModules added in v2.2.0

func (m *MockModule) ListOptionalSysModules(arg0 *models.Filter) ([]models.Module, error)

ListOptionalSysModules mocks base method

func (*MockModule) ListOptionalSysModulesTx added in v2.2.0

func (m *MockModule) ListOptionalSysModulesTx(arg0 *sqlx.Tx, arg1 *models.Filter) ([]models.Module, error)

ListOptionalSysModulesTx mocks base method

func (*MockModule) ListRuntimeModules added in v2.2.0

func (m *MockModule) ListRuntimeModules(arg0 *models.Filter) ([]models.Module, error)

ListRuntimeModules mocks base method

func (*MockModule) ListRuntimeModulesTx added in v2.2.0

func (m *MockModule) ListRuntimeModulesTx(arg0 *sqlx.Tx, arg1 *models.Filter) ([]models.Module, error)

ListRuntimeModulesTx mocks base method

func (*MockModule) UpdateModuleByVersion added in v2.2.0

func (m *MockModule) UpdateModuleByVersion(arg0 *models.Module) (*models.Module, error)

UpdateModule mocks base method

func (*MockModule) UpdateModuleByVersionTx added in v2.2.0

func (m *MockModule) UpdateModuleByVersionTx(arg0 *sqlx.Tx, arg1 *models.Module) error

UpdateModuleByVersionTx mocks base method

type MockModuleMockRecorder added in v2.2.0

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

MockModuleMockRecorder is the mock recorder for MockModule

func (*MockModuleMockRecorder) Close added in v2.2.0

func (mr *MockModuleMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockModuleMockRecorder) CreateModule added in v2.2.0

func (mr *MockModuleMockRecorder) CreateModule(arg0 interface{}) *gomock.Call

CreateModule indicates an expected call of CreateModule

func (*MockModuleMockRecorder) CreateModuleTx added in v2.2.0

func (mr *MockModuleMockRecorder) CreateModuleTx(arg0, arg1 interface{}) *gomock.Call

CreateModuleTx indicates an expected call of CreateModuleTx

func (*MockModuleMockRecorder) DeleteModuleByVersion added in v2.2.0

func (mr *MockModuleMockRecorder) DeleteModuleByVersion(arg0, arg1 interface{}) *gomock.Call

DeleteModuleByVersion indicates an expected call of DeleteModuleByVersion

func (*MockModuleMockRecorder) DeleteModuleByVersionTx added in v2.2.0

func (mr *MockModuleMockRecorder) DeleteModuleByVersionTx(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteModuleByVersionTx indicates an expected call of DeleteModuleByVersionTx

func (*MockModuleMockRecorder) DeleteModules added in v2.2.0

func (mr *MockModuleMockRecorder) DeleteModules(arg0 interface{}) *gomock.Call

DeleteModules indicates an expected call of DeleteModules

func (*MockModuleMockRecorder) DeleteModulesTx added in v2.2.0

func (mr *MockModuleMockRecorder) DeleteModulesTx(arg0, arg1 interface{}) *gomock.Call

DeleteModulesTx indicates an expected call of DeleteModulesTx

func (*MockModuleMockRecorder) GetLatestModule added in v2.2.0

func (mr *MockModuleMockRecorder) GetLatestModule(arg0 interface{}) *gomock.Call

GetLatestModule indicates an expected call of GetLatestModule

func (*MockModuleMockRecorder) GetLatestModuleImage added in v2.2.0

func (mr *MockModuleMockRecorder) GetLatestModuleImage(arg0 interface{}) *gomock.Call

GetLatestModuleImage indicates an expected call of GetLatestModuleImage

func (*MockModuleMockRecorder) GetLatestModuleImageTx added in v2.2.0

func (mr *MockModuleMockRecorder) GetLatestModuleImageTx(arg0, arg1 interface{}) *gomock.Call

GetLatestModuleImageTx indicates an expected call of GetLatestModuleImageTx

func (*MockModuleMockRecorder) GetLatestModuleProgram added in v2.2.0

func (mr *MockModuleMockRecorder) GetLatestModuleProgram(arg0, arg1 interface{}) *gomock.Call

GetLatestModuleProgram indicates an expected call of GetLatestModuleProgram

func (*MockModuleMockRecorder) GetLatestModuleProgramTx added in v2.2.0

func (mr *MockModuleMockRecorder) GetLatestModuleProgramTx(arg0, arg1, arg2 interface{}) *gomock.Call

GetLatestModuleProgramTx indicates an expected call of GetLatestModuleProgramTx

func (*MockModuleMockRecorder) GetLatestModuleTx added in v2.2.0

func (mr *MockModuleMockRecorder) GetLatestModuleTx(arg0, arg1 interface{}) *gomock.Call

GetLatestModuleTx indicates an expected call of GetLatestModuleTx

func (*MockModuleMockRecorder) GetModuleByImage added in v2.2.0

func (mr *MockModuleMockRecorder) GetModuleByImage(arg0, arg1 interface{}) *gomock.Call

GetModuleByImage indicates an expected call of GetModuleByImage

func (*MockModuleMockRecorder) GetModuleByImageTx added in v2.2.0

func (mr *MockModuleMockRecorder) GetModuleByImageTx(arg0, arg1, arg2 interface{}) *gomock.Call

GetModuleByImageTx indicates an expected call of GetModuleByImageTx

func (*MockModuleMockRecorder) GetModuleByVersion added in v2.2.0

func (mr *MockModuleMockRecorder) GetModuleByVersion(arg0, arg1 interface{}) *gomock.Call

GetModuleByVersion indicates an expected call of GetModuleByVersion

func (*MockModuleMockRecorder) GetModuleByVersionTx added in v2.2.0

func (mr *MockModuleMockRecorder) GetModuleByVersionTx(arg0, arg1, arg2 interface{}) *gomock.Call

GetModuleByVersionTx indicates an expected call of GetModuleByVersionTx

func (*MockModuleMockRecorder) GetModuleTx added in v2.2.0

func (mr *MockModuleMockRecorder) GetModuleTx(arg0, arg1 interface{}) *gomock.Call

GetModuleTx indicates an expected call of GetModuleTx

func (*MockModuleMockRecorder) GetModules added in v2.2.0

func (mr *MockModuleMockRecorder) GetModules(arg0 interface{}) *gomock.Call

GetModules indicates an expected call of GetModules

func (*MockModuleMockRecorder) ListModules added in v2.2.0

func (mr *MockModuleMockRecorder) ListModules(arg0 interface{}) *gomock.Call

ListModules indicates an expected call of ListModules

func (*MockModuleMockRecorder) ListModulesTx added in v2.2.0

func (mr *MockModuleMockRecorder) ListModulesTx(arg0, arg1 interface{}) *gomock.Call

ListModulesTx indicates an expected call of ListModulesTx

func (*MockModuleMockRecorder) ListOptionalSysModules added in v2.2.0

func (mr *MockModuleMockRecorder) ListOptionalSysModules(arg0 interface{}) *gomock.Call

ListOptionalSysModules indicates an expected call of ListOptionalSysModules

func (*MockModuleMockRecorder) ListOptionalSysModulesTx added in v2.2.0

func (mr *MockModuleMockRecorder) ListOptionalSysModulesTx(arg0, arg1 interface{}) *gomock.Call

ListOptionalSysModulesTx indicates an expected call of ListOptionalSysModulesTx

func (*MockModuleMockRecorder) ListRuntimeModules added in v2.2.0

func (mr *MockModuleMockRecorder) ListRuntimeModules(arg0 interface{}) *gomock.Call

ListRuntimeModules indicates an expected call of ListRuntimeModules

func (*MockModuleMockRecorder) ListRuntimeModulesTx added in v2.2.0

func (mr *MockModuleMockRecorder) ListRuntimeModulesTx(arg0, arg1 interface{}) *gomock.Call

ListRuntimeModulesTx indicates an expected call of ListRuntimeModulesTx

func (*MockModuleMockRecorder) UpdateModuleByVersion added in v2.2.0

func (mr *MockModuleMockRecorder) UpdateModuleByVersion(arg0 interface{}) *gomock.Call

UpdateModule indicates an expected call of UpdateModule

func (*MockModuleMockRecorder) UpdateModuleByVersionTx added in v2.2.0

func (mr *MockModuleMockRecorder) UpdateModuleByVersionTx(arg0, arg1 interface{}) *gomock.Call

UpdateModuleByVersionTx indicates an expected call of UpdateModuleByVersionTx

type MockNode added in v2.1.1

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

MockNode is a mock of Node interface

func NewMockNode added in v2.1.1

func NewMockNode(ctrl *gomock.Controller) *MockNode

NewMockNode creates a new mock instance

func (*MockNode) CreateNode added in v2.1.1

func (m *MockNode) CreateNode(arg0 interface{}, arg1 string, arg2 *v1.Node) (*v1.Node, error)

CreateNode mocks base method

func (*MockNode) DeleteNode added in v2.1.1

func (m *MockNode) DeleteNode(arg0, arg1 string) error

DeleteNode mocks base method

func (*MockNode) EXPECT added in v2.1.1

func (m *MockNode) EXPECT() *MockNodeMockRecorder

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

func (*MockNode) GetNode added in v2.1.1

func (m *MockNode) GetNode(arg0 interface{}, arg1, arg2 string) (*v1.Node, error)

GetNode mocks base method

func (*MockNode) ListNode added in v2.1.1

func (m *MockNode) ListNode(arg0 interface{}, arg1 string, arg2 *models.ListOptions) (*models.NodeList, error)

ListNode mocks base method

func (*MockNode) UpdateNode added in v2.1.1

func (m *MockNode) UpdateNode(arg0 string, arg1 *v1.Node) (*v1.Node, error)

UpdateNode mocks base method

type MockNodeMockRecorder added in v2.1.1

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

MockNodeMockRecorder is the mock recorder for MockNode

func (*MockNodeMockRecorder) CreateNode added in v2.1.1

func (mr *MockNodeMockRecorder) CreateNode(arg0, arg1, arg2 interface{}) *gomock.Call

CreateNode indicates an expected call of CreateNode

func (*MockNodeMockRecorder) DeleteNode added in v2.1.1

func (mr *MockNodeMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call

DeleteNode indicates an expected call of DeleteNode

func (*MockNodeMockRecorder) GetNode added in v2.1.1

func (mr *MockNodeMockRecorder) GetNode(arg0, arg1, arg2 interface{}) *gomock.Call

GetNode indicates an expected call of GetNode

func (*MockNodeMockRecorder) ListNode added in v2.1.1

func (mr *MockNodeMockRecorder) ListNode(arg0, arg1, arg2 interface{}) *gomock.Call

ListNode indicates an expected call of ListNode

func (*MockNodeMockRecorder) UpdateNode added in v2.1.1

func (mr *MockNodeMockRecorder) UpdateNode(arg0, arg1 interface{}) *gomock.Call

UpdateNode indicates an expected call of UpdateNode

type MockObject

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

MockObject is a mock of Object interface

func NewMockObject

func NewMockObject(ctrl *gomock.Controller) *MockObject

NewMockObject creates a new mock instance

func (*MockObject) Close

func (m *MockObject) Close() error

Close mocks base method

func (*MockObject) CreateInternalBucket

func (m *MockObject) CreateInternalBucket(arg0, arg1, arg2 string) error

CreateInternalBucket mocks base method

func (*MockObject) DeleteInternalObject

func (m *MockObject) DeleteInternalObject(arg0, arg1, arg2 string) error

DeleteInternalObject mocks base method

func (*MockObject) EXPECT

func (m *MockObject) EXPECT() *MockObjectMockRecorder

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

func (*MockObject) GenExternalObjectURL

func (m *MockObject) GenExternalObjectURL(arg0 models.ExternalObjectInfo, arg1, arg2 string) (*models.ObjectURL, error)

GenExternalObjectURL mocks base method

func (*MockObject) GenInternalObjectURL

func (m *MockObject) GenInternalObjectURL(arg0, arg1, arg2 string) (*models.ObjectURL, error)

GenInternalObjectURL mocks base method

func (*MockObject) GetInternalObject

func (m *MockObject) GetInternalObject(arg0, arg1, arg2 string) (*models.Object, error)

GetInternalObject mocks base method

func (*MockObject) HeadExternalBucket

func (m *MockObject) HeadExternalBucket(arg0 models.ExternalObjectInfo, arg1 string) error

HeadExternalBucket mocks base method

func (*MockObject) HeadInternalBucket

func (m *MockObject) HeadInternalBucket(arg0, arg1 string) error

HeadInternalBucket mocks base method

func (*MockObject) HeadInternalObject

func (m *MockObject) HeadInternalObject(arg0, arg1, arg2 string) (*models.ObjectMeta, error)

HeadInternalObject mocks base method

func (*MockObject) IsAccountEnabled

func (m *MockObject) IsAccountEnabled() bool

IsAccountEnabled mocks base method

func (*MockObject) ListExternalBucketObjects

func (m *MockObject) ListExternalBucketObjects(arg0 models.ExternalObjectInfo, arg1 string, arg2 *models.ObjectParams) (*models.ListObjectsResult, error)

ListExternalBucketObjects mocks base method

func (*MockObject) ListExternalBuckets

func (m *MockObject) ListExternalBuckets(arg0 models.ExternalObjectInfo) ([]models.Bucket, error)

ListExternalBuckets mocks base method

func (*MockObject) ListInternalBucketObjects

func (m *MockObject) ListInternalBucketObjects(arg0, arg1 string, arg2 *models.ObjectParams) (*models.ListObjectsResult, error)

ListInternalBucketObjects mocks base method

func (*MockObject) ListInternalBuckets

func (m *MockObject) ListInternalBuckets(arg0 string) ([]models.Bucket, error)

ListInternalBuckets mocks base method

func (*MockObject) PutInternalObject

func (m *MockObject) PutInternalObject(arg0, arg1, arg2 string, arg3 []byte) error

PutInternalObject mocks base method

func (*MockObject) PutInternalObjectFromURL

func (m *MockObject) PutInternalObjectFromURL(arg0, arg1, arg2, arg3 string) error

PutInternalObjectFromURL mocks base method

type MockObjectMockRecorder

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

MockObjectMockRecorder is the mock recorder for MockObject

func (*MockObjectMockRecorder) Close

func (mr *MockObjectMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockObjectMockRecorder) CreateInternalBucket

func (mr *MockObjectMockRecorder) CreateInternalBucket(arg0, arg1, arg2 interface{}) *gomock.Call

CreateInternalBucket indicates an expected call of CreateInternalBucket

func (*MockObjectMockRecorder) DeleteInternalObject

func (mr *MockObjectMockRecorder) DeleteInternalObject(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteInternalObject indicates an expected call of DeleteInternalObject

func (*MockObjectMockRecorder) GenExternalObjectURL

func (mr *MockObjectMockRecorder) GenExternalObjectURL(arg0, arg1, arg2 interface{}) *gomock.Call

GenExternalObjectURL indicates an expected call of GenExternalObjectURL

func (*MockObjectMockRecorder) GenInternalObjectURL

func (mr *MockObjectMockRecorder) GenInternalObjectURL(arg0, arg1, arg2 interface{}) *gomock.Call

GenInternalObjectURL indicates an expected call of GenInternalObjectURL

func (*MockObjectMockRecorder) GetInternalObject

func (mr *MockObjectMockRecorder) GetInternalObject(arg0, arg1, arg2 interface{}) *gomock.Call

GetInternalObject indicates an expected call of GetInternalObject

func (*MockObjectMockRecorder) HeadExternalBucket

func (mr *MockObjectMockRecorder) HeadExternalBucket(arg0, arg1 interface{}) *gomock.Call

HeadExternalBucket indicates an expected call of HeadExternalBucket

func (*MockObjectMockRecorder) HeadInternalBucket

func (mr *MockObjectMockRecorder) HeadInternalBucket(arg0, arg1 interface{}) *gomock.Call

HeadInternalBucket indicates an expected call of HeadInternalBucket

func (*MockObjectMockRecorder) HeadInternalObject

func (mr *MockObjectMockRecorder) HeadInternalObject(arg0, arg1, arg2 interface{}) *gomock.Call

HeadInternalObject indicates an expected call of HeadInternalObject

func (*MockObjectMockRecorder) IsAccountEnabled

func (mr *MockObjectMockRecorder) IsAccountEnabled() *gomock.Call

IsAccountEnabled indicates an expected call of IsAccountEnabled

func (*MockObjectMockRecorder) ListExternalBucketObjects

func (mr *MockObjectMockRecorder) ListExternalBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call

ListExternalBucketObjects indicates an expected call of ListExternalBucketObjects

func (*MockObjectMockRecorder) ListExternalBuckets

func (mr *MockObjectMockRecorder) ListExternalBuckets(arg0 interface{}) *gomock.Call

ListExternalBuckets indicates an expected call of ListExternalBuckets

func (*MockObjectMockRecorder) ListInternalBucketObjects

func (mr *MockObjectMockRecorder) ListInternalBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call

ListInternalBucketObjects indicates an expected call of ListInternalBucketObjects

func (*MockObjectMockRecorder) ListInternalBuckets

func (mr *MockObjectMockRecorder) ListInternalBuckets(arg0 interface{}) *gomock.Call

ListInternalBuckets indicates an expected call of ListInternalBuckets

func (*MockObjectMockRecorder) PutInternalObject

func (mr *MockObjectMockRecorder) PutInternalObject(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

PutInternalObject indicates an expected call of PutInternalObject

func (*MockObjectMockRecorder) PutInternalObjectFromURL

func (mr *MockObjectMockRecorder) PutInternalObjectFromURL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

PutInternalObjectFromURL indicates an expected call of PutInternalObjectFromURL

type MockPKI

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

MockPKI is a mock of PKI interface

func NewMockPKI

func NewMockPKI(ctrl *gomock.Controller) *MockPKI

NewMockPKI creates a new mock instance

func (*MockPKI) Close

func (m *MockPKI) Close() error

Close mocks base method

func (*MockPKI) CreateClientCert

func (m *MockPKI) CreateClientCert(csr []byte, rootId string) (string, error)

CreateClientCert mocks base method

func (*MockPKI) CreateRootCert

func (m *MockPKI) CreateRootCert(info *x509.CertificateRequest, parentId string) (string, error)

CreateRootCert mocks base method

func (*MockPKI) CreateServerCert

func (m *MockPKI) CreateServerCert(csr []byte, rootId string) (string, error)

CreateServerCert mocks base method

func (*MockPKI) DeleteClientCert

func (m *MockPKI) DeleteClientCert(certId string) error

DeleteClientCert mocks base method

func (*MockPKI) DeleteRootCert

func (m *MockPKI) DeleteRootCert(rootId string) error

DeleteRootCert mocks base method

func (*MockPKI) DeleteServerCert

func (m *MockPKI) DeleteServerCert(certId string) error

DeleteServerCert mocks base method

func (*MockPKI) EXPECT

func (m *MockPKI) EXPECT() *MockPKIMockRecorder

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

func (*MockPKI) GetClientCert

func (m *MockPKI) GetClientCert(certId string) ([]byte, error)

GetClientCert mocks base method

func (*MockPKI) GetRootCert

func (m *MockPKI) GetRootCert(rootId string) ([]byte, error)

GetRootCert mocks base method

func (*MockPKI) GetRootCertId

func (m *MockPKI) GetRootCertId() string

GetRootCertId mocks base method

func (*MockPKI) GetServerCert

func (m *MockPKI) GetServerCert(certId string) ([]byte, error)

GetServerCert mocks base method

type MockPKIMockRecorder

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

MockPKIMockRecorder is the mock recorder for MockPKI

func (*MockPKIMockRecorder) Close

func (mr *MockPKIMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockPKIMockRecorder) CreateClientCert

func (mr *MockPKIMockRecorder) CreateClientCert(csr, rootId interface{}) *gomock.Call

CreateClientCert indicates an expected call of CreateClientCert

func (*MockPKIMockRecorder) CreateRootCert

func (mr *MockPKIMockRecorder) CreateRootCert(info, parentId interface{}) *gomock.Call

CreateRootCert indicates an expected call of CreateRootCert

func (*MockPKIMockRecorder) CreateServerCert

func (mr *MockPKIMockRecorder) CreateServerCert(csr, rootId interface{}) *gomock.Call

CreateServerCert indicates an expected call of CreateServerCert

func (*MockPKIMockRecorder) DeleteClientCert

func (mr *MockPKIMockRecorder) DeleteClientCert(certId interface{}) *gomock.Call

DeleteClientCert indicates an expected call of DeleteClientCert

func (*MockPKIMockRecorder) DeleteRootCert

func (mr *MockPKIMockRecorder) DeleteRootCert(rootId interface{}) *gomock.Call

DeleteRootCert indicates an expected call of DeleteRootCert

func (*MockPKIMockRecorder) DeleteServerCert

func (mr *MockPKIMockRecorder) DeleteServerCert(certId interface{}) *gomock.Call

DeleteServerCert indicates an expected call of DeleteServerCert

func (*MockPKIMockRecorder) GetClientCert

func (mr *MockPKIMockRecorder) GetClientCert(certId interface{}) *gomock.Call

GetClientCert indicates an expected call of GetClientCert

func (*MockPKIMockRecorder) GetRootCert

func (mr *MockPKIMockRecorder) GetRootCert(rootId interface{}) *gomock.Call

GetRootCert indicates an expected call of GetRootCert

func (*MockPKIMockRecorder) GetRootCertId

func (mr *MockPKIMockRecorder) GetRootCertId() *gomock.Call

GetRootCertId indicates an expected call of GetRootCertId

func (*MockPKIMockRecorder) GetServerCert

func (mr *MockPKIMockRecorder) GetServerCert(certId interface{}) *gomock.Call

GetServerCert indicates an expected call of GetServerCert

type MockPKIStorage

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

MockPKIStorage is a mock of PKIStorage interface

func NewMockPKIStorage

func NewMockPKIStorage(ctrl *gomock.Controller) *MockPKIStorage

NewMockPKIStorage creates a new mock instance

func (*MockPKIStorage) Close

func (m *MockPKIStorage) Close() error

Close mocks base method

func (*MockPKIStorage) CountCertByParentId

func (m *MockPKIStorage) CountCertByParentId(parentId string) (int, error)

CountCertByParentId mocks base method

func (*MockPKIStorage) CreateCert

func (m *MockPKIStorage) CreateCert(cert plugin.Cert) error

CreateCert mocks base method

func (*MockPKIStorage) DeleteCert

func (m *MockPKIStorage) DeleteCert(certId string) error

DeleteCert mocks base method

func (*MockPKIStorage) EXPECT

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

func (*MockPKIStorage) GetCert

func (m *MockPKIStorage) GetCert(certId string) (*plugin.Cert, error)

GetCert mocks base method

func (*MockPKIStorage) UpdateCert

func (m *MockPKIStorage) UpdateCert(cert plugin.Cert) error

UpdateCert mocks base method

type MockPKIStorageMockRecorder

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

MockPKIStorageMockRecorder is the mock recorder for MockPKIStorage

func (*MockPKIStorageMockRecorder) Close

func (mr *MockPKIStorageMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockPKIStorageMockRecorder) CountCertByParentId

func (mr *MockPKIStorageMockRecorder) CountCertByParentId(parentId interface{}) *gomock.Call

CountCertByParentId indicates an expected call of CountCertByParentId

func (*MockPKIStorageMockRecorder) CreateCert

func (mr *MockPKIStorageMockRecorder) CreateCert(cert interface{}) *gomock.Call

CreateCert indicates an expected call of CreateCert

func (*MockPKIStorageMockRecorder) DeleteCert

func (mr *MockPKIStorageMockRecorder) DeleteCert(certId interface{}) *gomock.Call

DeleteCert indicates an expected call of DeleteCert

func (*MockPKIStorageMockRecorder) GetCert

func (mr *MockPKIStorageMockRecorder) GetCert(certId interface{}) *gomock.Call

GetCert indicates an expected call of GetCert

func (*MockPKIStorageMockRecorder) UpdateCert

func (mr *MockPKIStorageMockRecorder) UpdateCert(cert interface{}) *gomock.Call

UpdateCert indicates an expected call of UpdateCert

type MockProperty

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

MockProperty is a mock of Property interface

func NewMockProperty

func NewMockProperty(ctrl *gomock.Controller) *MockProperty

NewMockProperty creates a new mock instance

func (*MockProperty) Close

func (m *MockProperty) Close() error

Close mocks base method

func (*MockProperty) CountProperty

func (m *MockProperty) CountProperty(arg0 string) (int, error)

CountProperty mocks base method

func (*MockProperty) CreateProperty

func (m *MockProperty) CreateProperty(arg0 *models.Property) error

CreateProperty mocks base method

func (*MockProperty) DeleteProperty

func (m *MockProperty) DeleteProperty(arg0 string) error

DeleteProperty mocks base method

func (*MockProperty) EXPECT

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

func (*MockProperty) GetProperty

func (m *MockProperty) GetProperty(arg0 string) (*models.Property, error)

GetProperty mocks base method

func (*MockProperty) GetPropertyValue

func (m *MockProperty) GetPropertyValue(arg0 string) (string, error)

GetPropertyValue mocks base method

func (*MockProperty) ListProperty

func (m *MockProperty) ListProperty(arg0 *models.Filter) ([]models.Property, error)

ListProperty mocks base method

func (*MockProperty) UpdateProperty

func (m *MockProperty) UpdateProperty(arg0 *models.Property) error

UpdateProperty mocks base method

type MockPropertyMockRecorder

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

MockPropertyMockRecorder is the mock recorder for MockProperty

func (*MockPropertyMockRecorder) Close

func (mr *MockPropertyMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockPropertyMockRecorder) CountProperty

func (mr *MockPropertyMockRecorder) CountProperty(arg0 interface{}) *gomock.Call

CountProperty indicates an expected call of CountProperty

func (*MockPropertyMockRecorder) CreateProperty

func (mr *MockPropertyMockRecorder) CreateProperty(arg0 interface{}) *gomock.Call

CreateProperty indicates an expected call of CreateProperty

func (*MockPropertyMockRecorder) DeleteProperty

func (mr *MockPropertyMockRecorder) DeleteProperty(arg0 interface{}) *gomock.Call

DeleteProperty indicates an expected call of DeleteProperty

func (*MockPropertyMockRecorder) GetProperty

func (mr *MockPropertyMockRecorder) GetProperty(arg0 interface{}) *gomock.Call

GetProperty indicates an expected call of GetProperty

func (*MockPropertyMockRecorder) GetPropertyValue

func (mr *MockPropertyMockRecorder) GetPropertyValue(arg0 interface{}) *gomock.Call

GetPropertyValue indicates an expected call of GetPropertyValue

func (*MockPropertyMockRecorder) ListProperty

func (mr *MockPropertyMockRecorder) ListProperty(arg0 interface{}) *gomock.Call

ListProperty indicates an expected call of ListProperty

func (*MockPropertyMockRecorder) UpdateProperty

func (mr *MockPropertyMockRecorder) UpdateProperty(arg0 interface{}) *gomock.Call

UpdateProperty indicates an expected call of UpdateProperty

type MockPubsub

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

MockPubsub is a mock of Pubsub interface.

func NewMockPubsub

func NewMockPubsub(ctrl *gomock.Controller) *MockPubsub

NewMockPubsub creates a new mock instance.

func (*MockPubsub) Close

func (m *MockPubsub) Close() error

Close mocks base method.

func (*MockPubsub) EXPECT

func (m *MockPubsub) EXPECT() *MockPubsubMockRecorder

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

func (*MockPubsub) Publish

func (m *MockPubsub) Publish(arg0 string, arg1 interface{}) error

Publish mocks base method.

func (*MockPubsub) Subscribe

func (m *MockPubsub) Subscribe(arg0 string) (<-chan interface{}, error)

Subscribe mocks base method.

func (*MockPubsub) Unsubscribe

func (m *MockPubsub) Unsubscribe(arg0 string, arg1 <-chan interface{}) error

Unsubscribe mocks base method.

type MockPubsubMockRecorder

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

MockPubsubMockRecorder is the mock recorder for MockPubsub.

func (*MockPubsubMockRecorder) Close

func (mr *MockPubsubMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockPubsubMockRecorder) Publish

func (mr *MockPubsubMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockPubsubMockRecorder) Subscribe

func (mr *MockPubsubMockRecorder) Subscribe(arg0 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockPubsubMockRecorder) Unsubscribe

func (mr *MockPubsubMockRecorder) Unsubscribe(arg0, arg1 interface{}) *gomock.Call

Unsubscribe indicates an expected call of Unsubscribe.

type MockResource added in v2.2.0

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

MockResource is a mock of Resource interface

func NewMockResource added in v2.2.0

func NewMockResource(ctrl *gomock.Controller) *MockResource

NewMockResource creates a new mock instance

func (*MockResource) Close added in v2.2.0

func (m *MockResource) Close() error

Close mocks base method

func (*MockResource) CreateApplication added in v2.2.0

func (m *MockResource) CreateApplication(arg0 interface{}, arg1 string, arg2 *v1.Application) (*v1.Application, error)

CreateApplication mocks base method

func (*MockResource) CreateConfig added in v2.2.0

func (m *MockResource) CreateConfig(arg0 interface{}, arg1 string, arg2 *v1.Configuration) (*v1.Configuration, error)

CreateConfig mocks base method

func (*MockResource) CreateNamespace added in v2.2.0

func (m *MockResource) CreateNamespace(arg0 *models.Namespace) (*models.Namespace, error)

CreateNamespace mocks base method

func (*MockResource) CreateNode added in v2.2.0

func (m *MockResource) CreateNode(arg0 interface{}, arg1 string, arg2 *v1.Node) (*v1.Node, error)

CreateNode mocks base method

func (*MockResource) CreateSecret added in v2.2.0

func (m *MockResource) CreateSecret(arg0 interface{}, arg1 string, arg2 *v1.Secret) (*v1.Secret, error)

CreateSecret mocks base method

func (*MockResource) DeleteApplication added in v2.2.0

func (m *MockResource) DeleteApplication(arg0, arg1 string) error

DeleteApplication mocks base method

func (*MockResource) DeleteConfig added in v2.2.0

func (m *MockResource) DeleteConfig(arg0 interface{}, arg1, arg2 string) error

DeleteConfig mocks base method

func (*MockResource) DeleteNamespace added in v2.2.0

func (m *MockResource) DeleteNamespace(arg0 *models.Namespace) error

DeleteNamespace mocks base method

func (*MockResource) DeleteNode added in v2.2.0

func (m *MockResource) DeleteNode(arg0, arg1 string) error

DeleteNode mocks base method

func (*MockResource) DeleteSecret added in v2.2.0

func (m *MockResource) DeleteSecret(arg0, arg1 string) error

DeleteSecret mocks base method

func (*MockResource) EXPECT added in v2.2.0

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

func (*MockResource) GetApplication added in v2.2.0

func (m *MockResource) GetApplication(arg0, arg1, arg2 string) (*v1.Application, error)

GetApplication mocks base method

func (*MockResource) GetConfig added in v2.2.0

func (m *MockResource) GetConfig(arg0 interface{}, arg1, arg2, arg3 string) (*v1.Configuration, error)

GetConfig mocks base method

func (*MockResource) GetNamespace added in v2.2.0

func (m *MockResource) GetNamespace(arg0 string) (*models.Namespace, error)

GetNamespace mocks base method

func (*MockResource) GetNode added in v2.2.0

func (m *MockResource) GetNode(arg0 interface{}, arg1, arg2 string) (*v1.Node, error)

GetNode mocks base method

func (*MockResource) GetSecret added in v2.2.0

func (m *MockResource) GetSecret(arg0 interface{}, arg1, arg2, arg3 string) (*v1.Secret, error)

GetSecret mocks base method

func (*MockResource) ListApplication added in v2.2.0

func (m *MockResource) ListApplication(arg0 interface{}, arg1 string, arg2 *models.ListOptions) (*models.ApplicationList, error)

ListApplication mocks base method

func (*MockResource) ListConfig added in v2.2.0

func (m *MockResource) ListConfig(arg0 string, arg1 *models.ListOptions) (*models.ConfigurationList, error)

ListConfig mocks base method

func (*MockResource) ListNamespace added in v2.2.0

func (m *MockResource) ListNamespace(arg0 *models.ListOptions) (*models.NamespaceList, error)

ListNamespace mocks base method

func (*MockResource) ListNode added in v2.2.0

func (m *MockResource) ListNode(arg0 interface{}, arg1 string, arg2 *models.ListOptions) (*models.NodeList, error)

ListNode mocks base method

func (*MockResource) ListSecret added in v2.2.0

func (m *MockResource) ListSecret(arg0 string, arg1 *models.ListOptions) (*models.SecretList, error)

ListSecret mocks base method

func (*MockResource) UpdateApplication added in v2.2.0

func (m *MockResource) UpdateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)

UpdateApplication mocks base method

func (*MockResource) UpdateConfig added in v2.2.0

func (m *MockResource) UpdateConfig(arg0 interface{}, arg1 string, arg2 *v1.Configuration) (*v1.Configuration, error)

UpdateConfig mocks base method

func (*MockResource) UpdateNode added in v2.2.0

func (m *MockResource) UpdateNode(arg0 string, arg1 *v1.Node) (*v1.Node, error)

UpdateNode mocks base method

func (*MockResource) UpdateSecret added in v2.2.0

func (m *MockResource) UpdateSecret(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)

UpdateSecret mocks base method

type MockResourceMockRecorder added in v2.2.0

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

MockResourceMockRecorder is the mock recorder for MockResource

func (*MockResourceMockRecorder) Close added in v2.2.0

func (mr *MockResourceMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockResourceMockRecorder) CreateApplication added in v2.2.0

func (mr *MockResourceMockRecorder) CreateApplication(arg0, arg1, arg2 interface{}) *gomock.Call

CreateApplication indicates an expected call of CreateApplication

func (*MockResourceMockRecorder) CreateConfig added in v2.2.0

func (mr *MockResourceMockRecorder) CreateConfig(arg0, arg1, arg2 interface{}) *gomock.Call

CreateConfig indicates an expected call of CreateConfig

func (*MockResourceMockRecorder) CreateNamespace added in v2.2.0

func (mr *MockResourceMockRecorder) CreateNamespace(arg0 interface{}) *gomock.Call

CreateNamespace indicates an expected call of CreateNamespace

func (*MockResourceMockRecorder) CreateNode added in v2.2.0

func (mr *MockResourceMockRecorder) CreateNode(arg0, arg1, arg2 interface{}) *gomock.Call

CreateNode indicates an expected call of CreateNode

func (*MockResourceMockRecorder) CreateSecret added in v2.2.0

func (mr *MockResourceMockRecorder) CreateSecret(arg0, arg1, arg2 interface{}) *gomock.Call

CreateSecret indicates an expected call of CreateSecret

func (*MockResourceMockRecorder) DeleteApplication added in v2.2.0

func (mr *MockResourceMockRecorder) DeleteApplication(arg0, arg1 interface{}) *gomock.Call

DeleteApplication indicates an expected call of DeleteApplication

func (*MockResourceMockRecorder) DeleteConfig added in v2.2.0

func (mr *MockResourceMockRecorder) DeleteConfig(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteConfig indicates an expected call of DeleteConfig

func (*MockResourceMockRecorder) DeleteNamespace added in v2.2.0

func (mr *MockResourceMockRecorder) DeleteNamespace(arg0 interface{}) *gomock.Call

DeleteNamespace indicates an expected call of DeleteNamespace

func (*MockResourceMockRecorder) DeleteNode added in v2.2.0

func (mr *MockResourceMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call

DeleteNode indicates an expected call of DeleteNode

func (*MockResourceMockRecorder) DeleteSecret added in v2.2.0

func (mr *MockResourceMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret

func (*MockResourceMockRecorder) GetApplication added in v2.2.0

func (mr *MockResourceMockRecorder) GetApplication(arg0, arg1, arg2 interface{}) *gomock.Call

GetApplication indicates an expected call of GetApplication

func (*MockResourceMockRecorder) GetConfig added in v2.2.0

func (mr *MockResourceMockRecorder) GetConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetConfig indicates an expected call of GetConfig

func (*MockResourceMockRecorder) GetNamespace added in v2.2.0

func (mr *MockResourceMockRecorder) GetNamespace(arg0 interface{}) *gomock.Call

GetNamespace indicates an expected call of GetNamespace

func (*MockResourceMockRecorder) GetNode added in v2.2.0

func (mr *MockResourceMockRecorder) GetNode(arg0, arg1, arg2 interface{}) *gomock.Call

GetNode indicates an expected call of GetNode

func (*MockResourceMockRecorder) GetSecret added in v2.2.0

func (mr *MockResourceMockRecorder) GetSecret(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetSecret indicates an expected call of GetSecret

func (*MockResourceMockRecorder) ListApplication added in v2.2.0

func (mr *MockResourceMockRecorder) ListApplication(arg0, arg1, arg2 interface{}) *gomock.Call

ListApplication indicates an expected call of ListApplication

func (*MockResourceMockRecorder) ListConfig added in v2.2.0

func (mr *MockResourceMockRecorder) ListConfig(arg0, arg1 interface{}) *gomock.Call

ListConfig indicates an expected call of ListConfig

func (*MockResourceMockRecorder) ListNamespace added in v2.2.0

func (mr *MockResourceMockRecorder) ListNamespace(arg0 interface{}) *gomock.Call

ListNamespace indicates an expected call of ListNamespace

func (*MockResourceMockRecorder) ListNode added in v2.2.0

func (mr *MockResourceMockRecorder) ListNode(arg0, arg1, arg2 interface{}) *gomock.Call

ListNode indicates an expected call of ListNode

func (*MockResourceMockRecorder) ListSecret added in v2.2.0

func (mr *MockResourceMockRecorder) ListSecret(arg0, arg1 interface{}) *gomock.Call

ListSecret indicates an expected call of ListSecret

func (*MockResourceMockRecorder) UpdateApplication added in v2.2.0

func (mr *MockResourceMockRecorder) UpdateApplication(arg0, arg1 interface{}) *gomock.Call

UpdateApplication indicates an expected call of UpdateApplication

func (*MockResourceMockRecorder) UpdateConfig added in v2.2.0

func (mr *MockResourceMockRecorder) UpdateConfig(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateConfig indicates an expected call of UpdateConfig

func (*MockResourceMockRecorder) UpdateNode added in v2.2.0

func (mr *MockResourceMockRecorder) UpdateNode(arg0, arg1 interface{}) *gomock.Call

UpdateNode indicates an expected call of UpdateNode

func (*MockResourceMockRecorder) UpdateSecret added in v2.2.0

func (mr *MockResourceMockRecorder) UpdateSecret(arg0, arg1 interface{}) *gomock.Call

UpdateSecret indicates an expected call of UpdateSecret

type MockSecret added in v2.1.1

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

MockSecret is a mock of Secret interface

func NewMockSecret added in v2.1.1

func NewMockSecret(ctrl *gomock.Controller) *MockSecret

NewMockSecret creates a new mock instance

func (*MockSecret) CreateSecret added in v2.1.1

func (m *MockSecret) CreateSecret(arg0 interface{}, arg1 string, arg2 *v1.Secret) (*v1.Secret, error)

CreateSecret mocks base method

func (*MockSecret) DeleteSecret added in v2.1.1

func (m *MockSecret) DeleteSecret(arg0, arg1 string) error

DeleteSecret mocks base method

func (*MockSecret) EXPECT added in v2.1.1

func (m *MockSecret) EXPECT() *MockSecretMockRecorder

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

func (*MockSecret) GetSecret added in v2.1.1

func (m *MockSecret) GetSecret(arg0 interface{}, arg1, arg2, arg3 string) (*v1.Secret, error)

GetSecret mocks base method

func (*MockSecret) ListSecret added in v2.1.1

func (m *MockSecret) ListSecret(arg0 string, arg1 *models.ListOptions) (*models.SecretList, error)

ListSecret mocks base method

func (*MockSecret) UpdateSecret added in v2.1.1

func (m *MockSecret) UpdateSecret(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)

UpdateSecret mocks base method

type MockSecretMockRecorder added in v2.1.1

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

MockSecretMockRecorder is the mock recorder for MockSecret

func (*MockSecretMockRecorder) CreateSecret added in v2.1.1

func (mr *MockSecretMockRecorder) CreateSecret(arg0, arg1, arg2 interface{}) *gomock.Call

CreateSecret indicates an expected call of CreateSecret

func (*MockSecretMockRecorder) DeleteSecret added in v2.1.1

func (mr *MockSecretMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call

DeleteSecret indicates an expected call of DeleteSecret

func (*MockSecretMockRecorder) GetSecret added in v2.1.1

func (mr *MockSecretMockRecorder) GetSecret(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetSecret indicates an expected call of GetSecret

func (*MockSecretMockRecorder) ListSecret added in v2.1.1

func (mr *MockSecretMockRecorder) ListSecret(arg0, arg1 interface{}) *gomock.Call

ListSecret indicates an expected call of ListSecret

func (*MockSecretMockRecorder) UpdateSecret added in v2.1.1

func (mr *MockSecretMockRecorder) UpdateSecret(arg0, arg1 interface{}) *gomock.Call

UpdateSecret indicates an expected call of UpdateSecret

type MockShadow

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

MockShadow is a mock of Shadow interface

func NewMockShadow

func NewMockShadow(ctrl *gomock.Controller) *MockShadow

NewMockShadow creates a new mock instance

func (*MockShadow) Close

func (m *MockShadow) Close() error

Close mocks base method

func (*MockShadow) Create

func (m *MockShadow) Create(arg0 interface{}, arg1 *models.Shadow) (*models.Shadow, error)

Create mocks base method

func (*MockShadow) Delete

func (m *MockShadow) Delete(arg0, arg1 string) error

Delete mocks base method

func (*MockShadow) EXPECT

func (m *MockShadow) EXPECT() *MockShadowMockRecorder

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

func (*MockShadow) Get

func (m *MockShadow) Get(arg0 interface{}, arg1, arg2 string) (*models.Shadow, error)

Get mocks base method

func (*MockShadow) List

func (m *MockShadow) List(arg0 string, arg1 *models.NodeList) (*models.ShadowList, error)

List mocks base method

func (*MockShadow) UpdateDesire

func (m *MockShadow) UpdateDesire(arg0 interface{}, arg1 *models.Shadow) (*models.Shadow, error)

UpdateDesire mocks base method

func (*MockShadow) UpdateReport

func (m *MockShadow) UpdateReport(arg0 *models.Shadow) (*models.Shadow, error)

UpdateReport mocks base method

type MockShadowMockRecorder

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

MockShadowMockRecorder is the mock recorder for MockShadow

func (*MockShadowMockRecorder) Close

func (mr *MockShadowMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockShadowMockRecorder) Create

func (mr *MockShadowMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockShadowMockRecorder) Delete

func (mr *MockShadowMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockShadowMockRecorder) Get

func (mr *MockShadowMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockShadowMockRecorder) List

func (mr *MockShadowMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockShadowMockRecorder) UpdateDesire

func (mr *MockShadowMockRecorder) UpdateDesire(arg0, arg1 interface{}) *gomock.Call

UpdateDesire indicates an expected call of UpdateDesire

func (*MockShadowMockRecorder) UpdateReport

func (mr *MockShadowMockRecorder) UpdateReport(arg0 interface{}) *gomock.Call

UpdateReport indicates an expected call of UpdateReport

type MockSign added in v2.2.0

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

MockSign is a mock of Sign interface

func NewMockSign added in v2.2.0

func NewMockSign(ctrl *gomock.Controller) *MockSign

NewMockSign creates a new mock instance

func (*MockSign) Close added in v2.2.0

func (m *MockSign) Close() error

Close mocks base method

func (*MockSign) EXPECT added in v2.2.0

func (m *MockSign) EXPECT() *MockSignMockRecorder

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

func (*MockSign) Signature added in v2.2.0

func (m *MockSign) Signature(arg0 []byte) ([]byte, error)

Signature mocks base method

func (*MockSign) Verify added in v2.2.0

func (m *MockSign) Verify(arg0, arg1 []byte) bool

Verify mocks base method

type MockSignMockRecorder added in v2.2.0

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

MockSignMockRecorder is the mock recorder for MockSign

func (*MockSignMockRecorder) Close added in v2.2.0

func (mr *MockSignMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockSignMockRecorder) Signature added in v2.2.0

func (mr *MockSignMockRecorder) Signature(arg0 interface{}) *gomock.Call

Signature indicates an expected call of Signature

func (*MockSignMockRecorder) Verify added in v2.2.0

func (mr *MockSignMockRecorder) Verify(arg0, arg1 interface{}) *gomock.Call

Verify indicates an expected call of Verify

type MockTask added in v2.2.0

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

MockTask is a mock of Task interface

func NewMockTask added in v2.2.0

func NewMockTask(ctrl *gomock.Controller) *MockTask

NewMockTask creates a new mock instance

func (*MockTask) AcquireTaskLock added in v2.2.0

func (m *MockTask) AcquireTaskLock(arg0 *models.Task) (bool, error)

AcquireTaskLock mocks base method

func (*MockTask) Close added in v2.2.0

func (m *MockTask) Close() error

Close mocks base method

func (*MockTask) CreateTask added in v2.2.0

func (m *MockTask) CreateTask(arg0 *models.Task) (bool, error)

CreateTask mocks base method

func (*MockTask) DeleteTask added in v2.2.0

func (m *MockTask) DeleteTask(arg0 string) (bool, error)

DeleteTask mocks base method

func (*MockTask) EXPECT added in v2.2.0

func (m *MockTask) EXPECT() *MockTaskMockRecorder

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

func (*MockTask) GetNeedProcessTask added in v2.2.0

func (m *MockTask) GetNeedProcessTask(arg0, arg1 int32) ([]*models.Task, error)

GetNeedProcessTask mocks base method

func (*MockTask) GetTask added in v2.2.0

func (m *MockTask) GetTask(arg0 string) (*models.Task, error)

GetTask mocks base method

func (*MockTask) UpdateTask added in v2.2.0

func (m *MockTask) UpdateTask(arg0 *models.Task) (bool, error)

UpdateTask mocks base method

type MockTaskMockRecorder added in v2.2.0

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

MockTaskMockRecorder is the mock recorder for MockTask

func (*MockTaskMockRecorder) AcquireTaskLock added in v2.2.0

func (mr *MockTaskMockRecorder) AcquireTaskLock(arg0 interface{}) *gomock.Call

AcquireTaskLock indicates an expected call of AcquireTaskLock

func (*MockTaskMockRecorder) Close added in v2.2.0

func (mr *MockTaskMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockTaskMockRecorder) CreateTask added in v2.2.0

func (mr *MockTaskMockRecorder) CreateTask(arg0 interface{}) *gomock.Call

CreateTask indicates an expected call of CreateTask

func (*MockTaskMockRecorder) DeleteTask added in v2.2.0

func (mr *MockTaskMockRecorder) DeleteTask(arg0 interface{}) *gomock.Call

DeleteTask indicates an expected call of DeleteTask

func (*MockTaskMockRecorder) GetNeedProcessTask added in v2.2.0

func (mr *MockTaskMockRecorder) GetNeedProcessTask(arg0, arg1 interface{}) *gomock.Call

GetNeedProcessTask indicates an expected call of GetNeedProcessTask

func (*MockTaskMockRecorder) GetTask added in v2.2.0

func (mr *MockTaskMockRecorder) GetTask(arg0 interface{}) *gomock.Call

GetTask indicates an expected call of GetTask

func (*MockTaskMockRecorder) UpdateTask added in v2.2.0

func (mr *MockTaskMockRecorder) UpdateTask(arg0 interface{}) *gomock.Call

UpdateTask indicates an expected call of UpdateTask

type MockTransactionFactory added in v2.2.0

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

MockTransactionFactory is a mock of TransactionFactory interface

func NewMockTransactionFactory added in v2.2.0

func NewMockTransactionFactory(ctrl *gomock.Controller) *MockTransactionFactory

NewMockTransactionFactory creates a new mock instance

func (*MockTransactionFactory) BeginTx added in v2.2.0

func (m *MockTransactionFactory) BeginTx() (interface{}, error)

BeginTx mocks base method

func (*MockTransactionFactory) Close added in v2.2.0

func (m *MockTransactionFactory) Close() error

Close mocks base method

func (*MockTransactionFactory) Commit added in v2.2.0

func (m *MockTransactionFactory) Commit(arg0 interface{})

Commit mocks base method

func (*MockTransactionFactory) EXPECT added in v2.2.0

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

func (*MockTransactionFactory) Rollback added in v2.2.0

func (m *MockTransactionFactory) Rollback(arg0 interface{})

Rollback mocks base method

type MockTransactionFactoryMockRecorder added in v2.2.0

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

MockTransactionFactoryMockRecorder is the mock recorder for MockTransactionFactory

func (*MockTransactionFactoryMockRecorder) BeginTx added in v2.2.0

BeginTx indicates an expected call of BeginTx

func (*MockTransactionFactoryMockRecorder) Close added in v2.2.0

Close indicates an expected call of Close

func (*MockTransactionFactoryMockRecorder) Commit added in v2.2.0

func (mr *MockTransactionFactoryMockRecorder) Commit(arg0 interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockTransactionFactoryMockRecorder) Rollback added in v2.2.0

func (mr *MockTransactionFactoryMockRecorder) Rollback(arg0 interface{}) *gomock.Call

Rollback indicates an expected call of Rollback

Jump to

Keyboard shortcuts

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