plugin

package
v2.1.1-rc21 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 9 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAppHistory added in v2.1.1

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

MockAppHistory is a mock of AppHistory interface

func NewMockAppHistory added in v2.1.1

func NewMockAppHistory(ctrl *gomock.Controller) *MockAppHistory

NewMockAppHistory creates a new mock instance

func (*MockAppHistory) Close added in v2.1.1

func (m *MockAppHistory) Close() error

Close mocks base method

func (*MockAppHistory) CountApplication added in v2.1.1

func (m *MockAppHistory) CountApplication(arg0 *sqlx.Tx, arg1, arg2 string) (int, error)

CountApplication mocks base method

func (*MockAppHistory) CreateApplication added in v2.1.1

func (m *MockAppHistory) CreateApplication(arg0 *v1.Application) (sql.Result, error)

CreateApplication mocks base method

func (*MockAppHistory) CreateApplicationWithTx added in v2.1.1

func (m *MockAppHistory) CreateApplicationWithTx(arg0 *sqlx.Tx, arg1 *v1.Application) (sql.Result, error)

CreateApplicationWithTx mocks base method

func (*MockAppHistory) DeleteApplication added in v2.1.1

func (m *MockAppHistory) DeleteApplication(arg0, arg1, arg2 string) (sql.Result, error)

DeleteApplication mocks base method

func (*MockAppHistory) DeleteApplicationWithTx added in v2.1.1

func (m *MockAppHistory) DeleteApplicationWithTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (sql.Result, error)

DeleteApplicationWithTx mocks base method

func (*MockAppHistory) EXPECT added in v2.1.1

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

func (*MockAppHistory) GetApplication added in v2.1.1

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

GetApplication mocks base method

func (*MockAppHistory) ListApplication added in v2.1.1

func (m *MockAppHistory) ListApplication(arg0 string, arg1 *models.Filter) ([]v1.Application, error)

ListApplication mocks base method

func (*MockAppHistory) UpdateApplication added in v2.1.1

func (m *MockAppHistory) UpdateApplication(arg0 *v1.Application, arg1 string) (sql.Result, error)

UpdateApplication mocks base method

func (*MockAppHistory) UpdateApplicationWithTx added in v2.1.1

func (m *MockAppHistory) UpdateApplicationWithTx(arg0 *sqlx.Tx, arg1 *v1.Application, arg2 string) (sql.Result, error)

UpdateApplicationWithTx mocks base method

type MockAppHistoryMockRecorder added in v2.1.1

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

MockAppHistoryMockRecorder is the mock recorder for MockAppHistory

func (*MockAppHistoryMockRecorder) Close added in v2.1.1

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

Close indicates an expected call of Close

func (*MockAppHistoryMockRecorder) CountApplication added in v2.1.1

func (mr *MockAppHistoryMockRecorder) CountApplication(arg0, arg1, arg2 interface{}) *gomock.Call

CountApplication indicates an expected call of CountApplication

func (*MockAppHistoryMockRecorder) CreateApplication added in v2.1.1

func (mr *MockAppHistoryMockRecorder) CreateApplication(arg0 interface{}) *gomock.Call

CreateApplication indicates an expected call of CreateApplication

func (*MockAppHistoryMockRecorder) CreateApplicationWithTx added in v2.1.1

func (mr *MockAppHistoryMockRecorder) CreateApplicationWithTx(arg0, arg1 interface{}) *gomock.Call

CreateApplicationWithTx indicates an expected call of CreateApplicationWithTx

func (*MockAppHistoryMockRecorder) DeleteApplication added in v2.1.1

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

DeleteApplication indicates an expected call of DeleteApplication

func (*MockAppHistoryMockRecorder) DeleteApplicationWithTx added in v2.1.1

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

DeleteApplicationWithTx indicates an expected call of DeleteApplicationWithTx

func (*MockAppHistoryMockRecorder) GetApplication added in v2.1.1

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

GetApplication indicates an expected call of GetApplication

func (*MockAppHistoryMockRecorder) ListApplication added in v2.1.1

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

ListApplication indicates an expected call of ListApplication

func (*MockAppHistoryMockRecorder) UpdateApplication added in v2.1.1

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

UpdateApplication indicates an expected call of UpdateApplication

func (*MockAppHistoryMockRecorder) UpdateApplicationWithTx added in v2.1.1

func (mr *MockAppHistoryMockRecorder) UpdateApplicationWithTx(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateApplicationWithTx indicates an expected call of UpdateApplicationWithTx

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) Close added in v2.1.1

func (m *MockApplication) Close() error

Close mocks base method

func (*MockApplication) CreateApplication added in v2.1.1

func (m *MockApplication) CreateApplication(arg0 string, arg1 *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 string, arg1 *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) Close added in v2.1.1

Close indicates an expected call of Close

func (*MockApplicationMockRecorder) CreateApplication added in v2.1.1

func (mr *MockApplicationMockRecorder) CreateApplication(arg0, arg1 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 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) 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) SignToken

func (m *MockAuth) SignToken(arg0 []byte) ([]byte, error)

SignToken mocks base method

func (*MockAuth) VerifyToken

func (m *MockAuth) VerifyToken(arg0, arg1 []byte) bool

VerifyToken mocks base method

type MockAuthMockRecorder

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

MockAuthMockRecorder is the mock recorder for MockAuth

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) SignToken

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

SignToken indicates an expected call of SignToken

func (*MockAuthMockRecorder) VerifyToken

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

VerifyToken indicates an expected call of VerifyToken

type MockBatch

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

MockBatch is a mock of Batch interface

func NewMockBatch

func NewMockBatch(ctrl *gomock.Controller) *MockBatch

NewMockBatch creates a new mock instance

func (*MockBatch) Close

func (m *MockBatch) Close() error

Close mocks base method

func (*MockBatch) CountBatch

func (m *MockBatch) CountBatch(arg0, arg1 string) (int, error)

CountBatch mocks base method

func (*MockBatch) CountBatchByCallback

func (m *MockBatch) CountBatchByCallback(arg0, arg1 string) (int, error)

CountBatchByCallback mocks base method

func (*MockBatch) CountBatchByCallbackTx

func (m *MockBatch) CountBatchByCallbackTx(arg0 *sqlx.Tx, arg1, arg2 string) (int, error)

CountBatchByCallbackTx mocks base method

func (*MockBatch) CountBatchTx

func (m *MockBatch) CountBatchTx(arg0 *sqlx.Tx, arg1, arg2 string) (int, error)

CountBatchTx mocks base method

func (*MockBatch) CreateBatch

func (m *MockBatch) CreateBatch(arg0 *models.Batch) (sql.Result, error)

CreateBatch mocks base method

func (*MockBatch) CreateBatchTx

func (m *MockBatch) CreateBatchTx(arg0 *sqlx.Tx, arg1 *models.Batch) (sql.Result, error)

CreateBatchTx mocks base method

func (*MockBatch) DeleteBatch

func (m *MockBatch) DeleteBatch(arg0, arg1 string) (sql.Result, error)

DeleteBatch mocks base method

func (*MockBatch) DeleteBatchTx

func (m *MockBatch) DeleteBatchTx(arg0 *sqlx.Tx, arg1, arg2 string) (sql.Result, error)

DeleteBatchTx mocks base method

func (*MockBatch) EXPECT

func (m *MockBatch) EXPECT() *MockBatchMockRecorder

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

func (*MockBatch) GetBatch

func (m *MockBatch) GetBatch(arg0, arg1 string) (*models.Batch, error)

GetBatch mocks base method

func (*MockBatch) GetBatchTx

func (m *MockBatch) GetBatchTx(arg0 *sqlx.Tx, arg1, arg2 string) (*models.Batch, error)

GetBatchTx mocks base method

func (*MockBatch) ListBatch

func (m *MockBatch) ListBatch(arg0 string, arg1 *models.Filter) ([]models.Batch, error)

ListBatch mocks base method

func (*MockBatch) ListBatchTx

func (m *MockBatch) ListBatchTx(arg0 *sqlx.Tx, arg1 string, arg2 *models.Filter) ([]models.Batch, error)

ListBatchTx mocks base method

func (*MockBatch) UpdateBatch

func (m *MockBatch) UpdateBatch(arg0 *models.Batch) (sql.Result, error)

UpdateBatch mocks base method

func (*MockBatch) UpdateBatchTx

func (m *MockBatch) UpdateBatchTx(arg0 *sqlx.Tx, arg1 *models.Batch) (sql.Result, error)

UpdateBatchTx mocks base method

type MockBatchMockRecorder

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

MockBatchMockRecorder is the mock recorder for MockBatch

func (*MockBatchMockRecorder) Close

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

Close indicates an expected call of Close

func (*MockBatchMockRecorder) CountBatch

func (mr *MockBatchMockRecorder) CountBatch(arg0, arg1 interface{}) *gomock.Call

CountBatch indicates an expected call of CountBatch

func (*MockBatchMockRecorder) CountBatchByCallback

func (mr *MockBatchMockRecorder) CountBatchByCallback(arg0, arg1 interface{}) *gomock.Call

CountBatchByCallback indicates an expected call of CountBatchByCallback

func (*MockBatchMockRecorder) CountBatchByCallbackTx

func (mr *MockBatchMockRecorder) CountBatchByCallbackTx(arg0, arg1, arg2 interface{}) *gomock.Call

CountBatchByCallbackTx indicates an expected call of CountBatchByCallbackTx

func (*MockBatchMockRecorder) CountBatchTx

func (mr *MockBatchMockRecorder) CountBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call

CountBatchTx indicates an expected call of CountBatchTx

func (*MockBatchMockRecorder) CreateBatch

func (mr *MockBatchMockRecorder) CreateBatch(arg0 interface{}) *gomock.Call

CreateBatch indicates an expected call of CreateBatch

func (*MockBatchMockRecorder) CreateBatchTx

func (mr *MockBatchMockRecorder) CreateBatchTx(arg0, arg1 interface{}) *gomock.Call

CreateBatchTx indicates an expected call of CreateBatchTx

func (*MockBatchMockRecorder) DeleteBatch

func (mr *MockBatchMockRecorder) DeleteBatch(arg0, arg1 interface{}) *gomock.Call

DeleteBatch indicates an expected call of DeleteBatch

func (*MockBatchMockRecorder) DeleteBatchTx

func (mr *MockBatchMockRecorder) DeleteBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteBatchTx indicates an expected call of DeleteBatchTx

func (*MockBatchMockRecorder) GetBatch

func (mr *MockBatchMockRecorder) GetBatch(arg0, arg1 interface{}) *gomock.Call

GetBatch indicates an expected call of GetBatch

func (*MockBatchMockRecorder) GetBatchTx

func (mr *MockBatchMockRecorder) GetBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call

GetBatchTx indicates an expected call of GetBatchTx

func (*MockBatchMockRecorder) ListBatch

func (mr *MockBatchMockRecorder) ListBatch(arg0, arg1 interface{}) *gomock.Call

ListBatch indicates an expected call of ListBatch

func (*MockBatchMockRecorder) ListBatchTx

func (mr *MockBatchMockRecorder) ListBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call

ListBatchTx indicates an expected call of ListBatchTx

func (*MockBatchMockRecorder) UpdateBatch

func (mr *MockBatchMockRecorder) UpdateBatch(arg0 interface{}) *gomock.Call

UpdateBatch indicates an expected call of UpdateBatch

func (*MockBatchMockRecorder) UpdateBatchTx

func (mr *MockBatchMockRecorder) UpdateBatchTx(arg0, arg1 interface{}) *gomock.Call

UpdateBatchTx indicates an expected call of UpdateBatchTx

type MockCallback

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

MockCallback is a mock of Callback interface

func NewMockCallback

func NewMockCallback(ctrl *gomock.Controller) *MockCallback

NewMockCallback creates a new mock instance

func (*MockCallback) Close

func (m *MockCallback) Close() error

Close mocks base method

func (*MockCallback) CreateCallback

func (m *MockCallback) CreateCallback(arg0 *models.Callback) (sql.Result, error)

CreateCallback mocks base method

func (*MockCallback) CreateCallbackTx

func (m *MockCallback) CreateCallbackTx(arg0 *sqlx.Tx, arg1 *models.Callback) (sql.Result, error)

CreateCallbackTx mocks base method

func (*MockCallback) DeleteCallback

func (m *MockCallback) DeleteCallback(arg0, arg1 string) (sql.Result, error)

DeleteCallback mocks base method

func (*MockCallback) DeleteCallbackTx

func (m *MockCallback) DeleteCallbackTx(arg0 *sqlx.Tx, arg1, arg2 string) (sql.Result, error)

DeleteCallbackTx mocks base method

func (*MockCallback) EXPECT

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

func (*MockCallback) GetCallback

func (m *MockCallback) GetCallback(arg0, arg1 string) (*models.Callback, error)

GetCallback mocks base method

func (*MockCallback) GetCallbackTx

func (m *MockCallback) GetCallbackTx(arg0 *sqlx.Tx, arg1, arg2 string) (*models.Callback, error)

GetCallbackTx mocks base method

func (*MockCallback) UpdateCallback

func (m *MockCallback) UpdateCallback(arg0 *models.Callback) (sql.Result, error)

UpdateCallback mocks base method

func (*MockCallback) UpdateCallbackTx

func (m *MockCallback) UpdateCallbackTx(arg0 *sqlx.Tx, arg1 *models.Callback) (sql.Result, error)

UpdateCallbackTx mocks base method

type MockCallbackMockRecorder

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

MockCallbackMockRecorder is the mock recorder for MockCallback

func (*MockCallbackMockRecorder) Close

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

Close indicates an expected call of Close

func (*MockCallbackMockRecorder) CreateCallback

func (mr *MockCallbackMockRecorder) CreateCallback(arg0 interface{}) *gomock.Call

CreateCallback indicates an expected call of CreateCallback

func (*MockCallbackMockRecorder) CreateCallbackTx

func (mr *MockCallbackMockRecorder) CreateCallbackTx(arg0, arg1 interface{}) *gomock.Call

CreateCallbackTx indicates an expected call of CreateCallbackTx

func (*MockCallbackMockRecorder) DeleteCallback

func (mr *MockCallbackMockRecorder) DeleteCallback(arg0, arg1 interface{}) *gomock.Call

DeleteCallback indicates an expected call of DeleteCallback

func (*MockCallbackMockRecorder) DeleteCallbackTx

func (mr *MockCallbackMockRecorder) DeleteCallbackTx(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteCallbackTx indicates an expected call of DeleteCallbackTx

func (*MockCallbackMockRecorder) GetCallback

func (mr *MockCallbackMockRecorder) GetCallback(arg0, arg1 interface{}) *gomock.Call

GetCallback indicates an expected call of GetCallback

func (*MockCallbackMockRecorder) GetCallbackTx

func (mr *MockCallbackMockRecorder) GetCallbackTx(arg0, arg1, arg2 interface{}) *gomock.Call

GetCallbackTx indicates an expected call of GetCallbackTx

func (*MockCallbackMockRecorder) UpdateCallback

func (mr *MockCallbackMockRecorder) UpdateCallback(arg0 interface{}) *gomock.Call

UpdateCallback indicates an expected call of UpdateCallback

func (*MockCallbackMockRecorder) UpdateCallbackTx

func (mr *MockCallbackMockRecorder) UpdateCallbackTx(arg0, arg1 interface{}) *gomock.Call

UpdateCallbackTx indicates an expected call of UpdateCallbackTx

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) Close added in v2.1.1

func (m *MockConfiguration) Close() error

Close mocks base method

func (*MockConfiguration) CreateConfig added in v2.1.1

func (m *MockConfiguration) CreateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)

CreateConfig mocks base method

func (*MockConfiguration) DeleteConfig added in v2.1.1

func (m *MockConfiguration) DeleteConfig(arg0, arg1 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, arg1, arg2 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 string, arg1 *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) Close added in v2.1.1

Close indicates an expected call of Close

func (*MockConfigurationMockRecorder) CreateConfig added in v2.1.1

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

CreateConfig indicates an expected call of CreateConfig

func (*MockConfigurationMockRecorder) DeleteConfig added in v2.1.1

func (mr *MockConfigurationMockRecorder) DeleteConfig(arg0, arg1 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 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 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 string, arg1, arg2 common.Resource, arg3 string, arg4 []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 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 MockNamespace added in v2.1.1

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

MockNamespace is a mock of Namespace interface

func NewMockNamespace added in v2.1.1

func NewMockNamespace(ctrl *gomock.Controller) *MockNamespace

NewMockNamespace creates a new mock instance

func (*MockNamespace) Close added in v2.1.1

func (m *MockNamespace) Close() error

Close mocks base method

func (*MockNamespace) CreateNamespace added in v2.1.1

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

CreateNamespace mocks base method

func (*MockNamespace) DeleteNamespace added in v2.1.1

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

DeleteNamespace mocks base method

func (*MockNamespace) EXPECT added in v2.1.1

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

func (*MockNamespace) GetNamespace added in v2.1.1

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

GetNamespace mocks base method

type MockNamespaceMockRecorder added in v2.1.1

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

MockNamespaceMockRecorder is the mock recorder for MockNamespace

func (*MockNamespaceMockRecorder) Close added in v2.1.1

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

Close indicates an expected call of Close

func (*MockNamespaceMockRecorder) CreateNamespace added in v2.1.1

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

CreateNamespace indicates an expected call of CreateNamespace

func (*MockNamespaceMockRecorder) DeleteNamespace added in v2.1.1

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

DeleteNamespace indicates an expected call of DeleteNamespace

func (*MockNamespaceMockRecorder) GetNamespace added in v2.1.1

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

GetNamespace indicates an expected call of GetNamespace

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) Close added in v2.1.1

func (m *MockNode) Close() error

Close mocks base method

func (*MockNode) CreateNode added in v2.1.1

func (m *MockNode) CreateNode(arg0 string, arg1 *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, arg1 string) (*v1.Node, error)

GetNode mocks base method

func (*MockNode) ListNode added in v2.1.1

func (m *MockNode) ListNode(arg0 string, arg1 *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) Close added in v2.1.1

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

Close indicates an expected call of Close

func (*MockNodeMockRecorder) CreateNode added in v2.1.1

func (mr *MockNodeMockRecorder) CreateNode(arg0, arg1 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 interface{}) *gomock.Call

GetNode indicates an expected call of GetNode

func (*MockNodeMockRecorder) ListNode added in v2.1.1

func (mr *MockNodeMockRecorder) ListNode(arg0, arg1 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 MockRecord

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

MockRecord is a mock of Record interface

func NewMockRecord

func NewMockRecord(ctrl *gomock.Controller) *MockRecord

NewMockRecord creates a new mock instance

func (*MockRecord) Close

func (m *MockRecord) Close() error

Close mocks base method

func (*MockRecord) CountRecord

func (m *MockRecord) CountRecord(arg0, arg1, arg2 string) (int, error)

CountRecord mocks base method

func (*MockRecord) CountRecordTx

func (m *MockRecord) CountRecordTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (int, error)

CountRecordTx mocks base method

func (*MockRecord) CreateRecord

func (m *MockRecord) CreateRecord(arg0 []models.Record) (sql.Result, error)

CreateRecord mocks base method

func (*MockRecord) CreateRecordTx

func (m *MockRecord) CreateRecordTx(arg0 *sqlx.Tx, arg1 []models.Record) (sql.Result, error)

CreateRecordTx mocks base method

func (*MockRecord) DeleteRecord

func (m *MockRecord) DeleteRecord(arg0, arg1, arg2 string) (sql.Result, error)

DeleteRecord mocks base method

func (*MockRecord) DeleteRecordTx

func (m *MockRecord) DeleteRecordTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (sql.Result, error)

DeleteRecordTx mocks base method

func (*MockRecord) EXPECT

func (m *MockRecord) EXPECT() *MockRecordMockRecorder

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

func (*MockRecord) GetRecord

func (m *MockRecord) GetRecord(arg0, arg1, arg2 string) (*models.Record, error)

GetRecord mocks base method

func (*MockRecord) GetRecordByFingerprint

func (m *MockRecord) GetRecordByFingerprint(arg0, arg1, arg2 string) (*models.Record, error)

GetRecordByFingerprint mocks base method

func (*MockRecord) GetRecordByFingerprintTx

func (m *MockRecord) GetRecordByFingerprintTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (*models.Record, error)

GetRecordByFingerprintTx mocks base method

func (*MockRecord) GetRecordTx

func (m *MockRecord) GetRecordTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (*models.Record, error)

GetRecordTx mocks base method

func (*MockRecord) ListRecord

func (m *MockRecord) ListRecord(arg0, arg1 string, arg2 *models.Filter) ([]models.Record, error)

ListRecord mocks base method

func (*MockRecord) ListRecordTx

func (m *MockRecord) ListRecordTx(arg0 *sqlx.Tx, arg1, arg2 string, arg3 *models.Filter) ([]models.Record, error)

ListRecordTx mocks base method

func (*MockRecord) UpdateRecord

func (m *MockRecord) UpdateRecord(arg0 *models.Record) (sql.Result, error)

UpdateRecord mocks base method

func (*MockRecord) UpdateRecordTx

func (m *MockRecord) UpdateRecordTx(arg0 *sqlx.Tx, arg1 *models.Record) (sql.Result, error)

UpdateRecordTx mocks base method

type MockRecordMockRecorder

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

MockRecordMockRecorder is the mock recorder for MockRecord

func (*MockRecordMockRecorder) Close

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

Close indicates an expected call of Close

func (*MockRecordMockRecorder) CountRecord

func (mr *MockRecordMockRecorder) CountRecord(arg0, arg1, arg2 interface{}) *gomock.Call

CountRecord indicates an expected call of CountRecord

func (*MockRecordMockRecorder) CountRecordTx

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

CountRecordTx indicates an expected call of CountRecordTx

func (*MockRecordMockRecorder) CreateRecord

func (mr *MockRecordMockRecorder) CreateRecord(arg0 interface{}) *gomock.Call

CreateRecord indicates an expected call of CreateRecord

func (*MockRecordMockRecorder) CreateRecordTx

func (mr *MockRecordMockRecorder) CreateRecordTx(arg0, arg1 interface{}) *gomock.Call

CreateRecordTx indicates an expected call of CreateRecordTx

func (*MockRecordMockRecorder) DeleteRecord

func (mr *MockRecordMockRecorder) DeleteRecord(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteRecord indicates an expected call of DeleteRecord

func (*MockRecordMockRecorder) DeleteRecordTx

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

DeleteRecordTx indicates an expected call of DeleteRecordTx

func (*MockRecordMockRecorder) GetRecord

func (mr *MockRecordMockRecorder) GetRecord(arg0, arg1, arg2 interface{}) *gomock.Call

GetRecord indicates an expected call of GetRecord

func (*MockRecordMockRecorder) GetRecordByFingerprint

func (mr *MockRecordMockRecorder) GetRecordByFingerprint(arg0, arg1, arg2 interface{}) *gomock.Call

GetRecordByFingerprint indicates an expected call of GetRecordByFingerprint

func (*MockRecordMockRecorder) GetRecordByFingerprintTx

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

GetRecordByFingerprintTx indicates an expected call of GetRecordByFingerprintTx

func (*MockRecordMockRecorder) GetRecordTx

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

GetRecordTx indicates an expected call of GetRecordTx

func (*MockRecordMockRecorder) ListRecord

func (mr *MockRecordMockRecorder) ListRecord(arg0, arg1, arg2 interface{}) *gomock.Call

ListRecord indicates an expected call of ListRecord

func (*MockRecordMockRecorder) ListRecordTx

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

ListRecordTx indicates an expected call of ListRecordTx

func (*MockRecordMockRecorder) UpdateRecord

func (mr *MockRecordMockRecorder) UpdateRecord(arg0 interface{}) *gomock.Call

UpdateRecord indicates an expected call of UpdateRecord

func (*MockRecordMockRecorder) UpdateRecordTx

func (mr *MockRecordMockRecorder) UpdateRecordTx(arg0, arg1 interface{}) *gomock.Call

UpdateRecordTx indicates an expected call of UpdateRecordTx

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) Close added in v2.1.1

func (m *MockSecret) Close() error

Close mocks base method

func (*MockSecret) CreateSecret added in v2.1.1

func (m *MockSecret) CreateSecret(arg0 string, arg1 *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, arg1, arg2 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) Close added in v2.1.1

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

Close indicates an expected call of Close

func (*MockSecretMockRecorder) CreateSecret added in v2.1.1

func (mr *MockSecretMockRecorder) CreateSecret(arg0, arg1 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 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 *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, arg1 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 *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 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 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 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

Jump to

Keyboard shortcuts

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