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.
Index ¶
- type MockAppHistory
- func (m *MockAppHistory) Close() error
- func (m *MockAppHistory) CountApplicationHis(arg0 *sqlx.Tx, arg1, arg2 string) (int, error)
- func (m *MockAppHistory) CreateApplicationHis(arg0 *v1.Application) (sql.Result, error)
- func (m *MockAppHistory) CreateApplicationHisWithTx(arg0 *sqlx.Tx, arg1 *v1.Application) (sql.Result, error)
- func (m *MockAppHistory) DeleteApplicationHis(arg0, arg1, arg2 string) (sql.Result, error)
- func (m *MockAppHistory) DeleteApplicationHisWithTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (sql.Result, error)
- func (m *MockAppHistory) EXPECT() *MockAppHistoryMockRecorder
- func (m *MockAppHistory) GetApplicationHis(arg0, arg1, arg2 string) (*v1.Application, error)
- func (m *MockAppHistory) ListApplicationHis(arg0 string, arg1 *models.Filter) ([]v1.Application, error)
- func (m *MockAppHistory) UpdateApplicationHis(arg0 *v1.Application, arg1 string) (sql.Result, error)
- func (m *MockAppHistory) UpdateApplicationHisWithTx(arg0 *sqlx.Tx, arg1 *v1.Application, arg2 string) (sql.Result, error)
- type MockAppHistoryMockRecorder
- func (mr *MockAppHistoryMockRecorder) Close() *gomock.Call
- func (mr *MockAppHistoryMockRecorder) CountApplicationHis(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAppHistoryMockRecorder) CreateApplicationHis(arg0 interface{}) *gomock.Call
- func (mr *MockAppHistoryMockRecorder) CreateApplicationHisWithTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppHistoryMockRecorder) DeleteApplicationHis(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAppHistoryMockRecorder) DeleteApplicationHisWithTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAppHistoryMockRecorder) GetApplicationHis(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAppHistoryMockRecorder) ListApplicationHis(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppHistoryMockRecorder) UpdateApplicationHis(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAppHistoryMockRecorder) UpdateApplicationHisWithTx(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockAuth
- type MockAuthMockRecorder
- type MockFunction
- func (m *MockFunction) Close() error
- func (m *MockFunction) EXPECT() *MockFunctionMockRecorder
- func (m *MockFunction) Get(arg0, arg1, arg2 string) (*models.Function, error)
- func (m *MockFunction) List(arg0 string) ([]models.Function, error)
- func (m *MockFunction) ListFunctionVersions(arg0, arg1 string) ([]models.Function, error)
- type MockFunctionMockRecorder
- func (mr *MockFunctionMockRecorder) Close() *gomock.Call
- func (mr *MockFunctionMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFunctionMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockFunctionMockRecorder) ListFunctionVersions(arg0, arg1 interface{}) *gomock.Call
- type MockIndex
- func (m *MockIndex) Close() error
- func (m *MockIndex) CreateIndex(arg0 string, arg1, arg2 common.Resource, arg3, arg4 string) (sql.Result, error)
- func (m *MockIndex) CreateIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4, arg5 string) (sql.Result, error)
- func (m *MockIndex) DeleteIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) (sql.Result, error)
- func (m *MockIndex) DeleteIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4 string) (sql.Result, error)
- func (m *MockIndex) EXPECT() *MockIndexMockRecorder
- func (m *MockIndex) ListIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) ([]string, error)
- func (m *MockIndex) ListIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4 string) ([]string, error)
- func (m *MockIndex) RefreshIndex(arg0 string, arg1, arg2 common.Resource, arg3 string, arg4 []string) error
- type MockIndexMockRecorder
- func (mr *MockIndexMockRecorder) Close() *gomock.Call
- func (mr *MockIndexMockRecorder) CreateIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) CreateIndexTx(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) DeleteIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) DeleteIndexTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) ListIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) ListIndexTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) RefreshIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockLicense
- func (m *MockLicense) AcquireQuota(arg0, arg1 string, arg2 int) error
- func (m *MockLicense) CheckLicense() error
- func (m *MockLicense) Close() error
- func (m *MockLicense) CreateQuota(arg0 string, arg1 map[string]int) error
- func (m *MockLicense) DeleteQuota(arg0, arg1 string) error
- func (m *MockLicense) DeleteQuotaByNamespace(arg0 string) error
- func (m *MockLicense) EXPECT() *MockLicenseMockRecorder
- func (m *MockLicense) GetDefaultQuotas(arg0 string) (map[string]int, error)
- func (m *MockLicense) GetQuota(arg0 string) (map[string]int, error)
- func (m *MockLicense) ProtectCode() error
- func (m *MockLicense) ReleaseQuota(arg0, arg1 string, arg2 int) error
- func (m *MockLicense) UpdateQuota(arg0, arg1 string, arg2 int) error
- type MockLicenseMockRecorder
- func (mr *MockLicenseMockRecorder) AcquireQuota(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLicenseMockRecorder) CheckLicense() *gomock.Call
- func (mr *MockLicenseMockRecorder) Close() *gomock.Call
- func (mr *MockLicenseMockRecorder) CreateQuota(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLicenseMockRecorder) DeleteQuota(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLicenseMockRecorder) DeleteQuotaByNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockLicenseMockRecorder) GetDefaultQuotas(arg0 interface{}) *gomock.Call
- func (mr *MockLicenseMockRecorder) GetQuota(arg0 interface{}) *gomock.Call
- func (mr *MockLicenseMockRecorder) ProtectCode() *gomock.Call
- func (mr *MockLicenseMockRecorder) ReleaseQuota(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLicenseMockRecorder) UpdateQuota(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockLocker
- type MockLockerMockRecorder
- type MockModule
- func (m *MockModule) Close() error
- func (m *MockModule) CreateModule(arg0 *models.Module) (*models.Module, error)
- func (m *MockModule) CreateModuleTx(arg0 *sqlx.Tx, arg1 *models.Module) error
- func (m *MockModule) DeleteModuleByVersion(arg0, arg1 string) error
- func (m *MockModule) DeleteModuleByVersionTx(arg0 *sqlx.Tx, arg1, arg2 string) error
- func (m *MockModule) DeleteModules(arg0 string) error
- func (m *MockModule) DeleteModulesTx(arg0 *sqlx.Tx, arg1 string) error
- func (m *MockModule) EXPECT() *MockModuleMockRecorder
- func (m *MockModule) GetLatestModule(arg0 string) (*models.Module, error)
- func (m *MockModule) GetLatestModuleImage(arg0 string) (string, error)
- func (m *MockModule) GetLatestModuleImageTx(arg0 *sqlx.Tx, arg1 string) (string, error)
- func (m *MockModule) GetLatestModuleProgram(arg0, arg1 string) (string, error)
- func (m *MockModule) GetLatestModuleProgramTx(arg0 *sqlx.Tx, arg1, arg2 string) (string, error)
- func (m *MockModule) GetLatestModuleTx(arg0 *sqlx.Tx, arg1 string) (*models.Module, error)
- func (m *MockModule) GetModuleByImage(arg0, arg1 string) (*models.Module, error)
- func (m *MockModule) GetModuleByImageTx(arg0 *sqlx.Tx, arg1, arg2 string) (*models.Module, error)
- func (m *MockModule) GetModuleByVersion(arg0, arg1 string) (*models.Module, error)
- func (m *MockModule) GetModuleByVersionTx(arg0 *sqlx.Tx, arg1, arg2 string) (*models.Module, error)
- func (m *MockModule) GetModuleTx(arg0 *sqlx.Tx, arg1 string) ([]models.Module, error)
- func (m *MockModule) GetModules(arg0 string) ([]models.Module, error)
- func (m *MockModule) ListModules(arg0 *models.Filter) ([]models.Module, error)
- func (m *MockModule) ListModulesTx(arg0 *sqlx.Tx, arg1 *models.Filter) ([]models.Module, error)
- func (m *MockModule) ListOptionalSysModules(arg0 *models.Filter) ([]models.Module, error)
- func (m *MockModule) ListOptionalSysModulesTx(arg0 *sqlx.Tx, arg1 *models.Filter) ([]models.Module, error)
- func (m *MockModule) ListRuntimeModules(arg0 *models.Filter) ([]models.Module, error)
- func (m *MockModule) ListRuntimeModulesTx(arg0 *sqlx.Tx, arg1 *models.Filter) ([]models.Module, error)
- func (m *MockModule) UpdateModuleByVersion(arg0 *models.Module) (*models.Module, error)
- func (m *MockModule) UpdateModuleByVersionTx(arg0 *sqlx.Tx, arg1 *models.Module) error
- type MockModuleMockRecorder
- func (mr *MockModuleMockRecorder) Close() *gomock.Call
- func (mr *MockModuleMockRecorder) CreateModule(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) CreateModuleTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) DeleteModuleByVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) DeleteModuleByVersionTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) DeleteModules(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) DeleteModulesTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetLatestModule(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetLatestModuleImage(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetLatestModuleImageTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetLatestModuleProgram(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetLatestModuleProgramTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetLatestModuleTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetModuleByImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetModuleByImageTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetModuleByVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetModuleByVersionTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetModuleTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) GetModules(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) ListModules(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) ListModulesTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) ListOptionalSysModules(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) ListOptionalSysModulesTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) ListRuntimeModules(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) ListRuntimeModulesTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) UpdateModuleByVersion(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) UpdateModuleByVersionTx(arg0, arg1 interface{}) *gomock.Call
- type MockNode
- func (m *MockNode) CreateNode(arg0 string, arg1 *v1.Node) (*v1.Node, error)
- func (m *MockNode) DeleteNode(arg0, arg1 string) error
- func (m *MockNode) EXPECT() *MockNodeMockRecorder
- func (m *MockNode) GetNode(arg0, arg1 string) (*v1.Node, error)
- func (m *MockNode) ListNode(arg0 string, arg1 *models.ListOptions) (*models.NodeList, error)
- func (m *MockNode) UpdateNode(arg0 string, arg1 *v1.Node) (*v1.Node, error)
- type MockNodeMockRecorder
- func (mr *MockNodeMockRecorder) CreateNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) ListNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) UpdateNode(arg0, arg1 interface{}) *gomock.Call
- type MockObject
- func (m *MockObject) Close() error
- func (m *MockObject) CreateInternalBucket(arg0, arg1, arg2 string) error
- func (m *MockObject) DeleteInternalObject(arg0, arg1, arg2 string) error
- func (m *MockObject) EXPECT() *MockObjectMockRecorder
- func (m *MockObject) GenExternalObjectURL(arg0 models.ExternalObjectInfo, arg1, arg2 string) (*models.ObjectURL, error)
- func (m *MockObject) GenInternalObjectURL(arg0, arg1, arg2 string) (*models.ObjectURL, error)
- func (m *MockObject) GetInternalObject(arg0, arg1, arg2 string) (*models.Object, error)
- func (m *MockObject) HeadExternalBucket(arg0 models.ExternalObjectInfo, arg1 string) error
- func (m *MockObject) HeadInternalBucket(arg0, arg1 string) error
- func (m *MockObject) HeadInternalObject(arg0, arg1, arg2 string) (*models.ObjectMeta, error)
- func (m *MockObject) IsAccountEnabled() bool
- func (m *MockObject) ListExternalBucketObjects(arg0 models.ExternalObjectInfo, arg1 string, arg2 *models.ObjectParams) (*models.ListObjectsResult, error)
- func (m *MockObject) ListExternalBuckets(arg0 models.ExternalObjectInfo) ([]models.Bucket, error)
- func (m *MockObject) ListInternalBucketObjects(arg0, arg1 string, arg2 *models.ObjectParams) (*models.ListObjectsResult, error)
- func (m *MockObject) ListInternalBuckets(arg0 string) ([]models.Bucket, error)
- func (m *MockObject) PutInternalObject(arg0, arg1, arg2 string, arg3 []byte) error
- func (m *MockObject) PutInternalObjectFromURL(arg0, arg1, arg2, arg3 string) error
- type MockObjectMockRecorder
- func (mr *MockObjectMockRecorder) Close() *gomock.Call
- func (mr *MockObjectMockRecorder) CreateInternalBucket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) DeleteInternalObject(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) GenExternalObjectURL(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) GenInternalObjectURL(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) GetInternalObject(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) HeadExternalBucket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) HeadInternalBucket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) HeadInternalObject(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) IsAccountEnabled() *gomock.Call
- func (mr *MockObjectMockRecorder) ListExternalBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) ListExternalBuckets(arg0 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) ListInternalBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) ListInternalBuckets(arg0 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) PutInternalObject(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) PutInternalObjectFromURL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockPKI
- func (m *MockPKI) Close() error
- func (m *MockPKI) CreateClientCert(csr []byte, rootId string) (string, error)
- func (m *MockPKI) CreateRootCert(info *x509.CertificateRequest, parentId string) (string, error)
- func (m *MockPKI) CreateServerCert(csr []byte, rootId string) (string, error)
- func (m *MockPKI) DeleteClientCert(certId string) error
- func (m *MockPKI) DeleteRootCert(rootId string) error
- func (m *MockPKI) DeleteServerCert(certId string) error
- func (m *MockPKI) EXPECT() *MockPKIMockRecorder
- func (m *MockPKI) GetClientCert(certId string) ([]byte, error)
- func (m *MockPKI) GetRootCert(rootId string) ([]byte, error)
- func (m *MockPKI) GetRootCertId() string
- func (m *MockPKI) GetServerCert(certId string) ([]byte, error)
- type MockPKIMockRecorder
- func (mr *MockPKIMockRecorder) Close() *gomock.Call
- func (mr *MockPKIMockRecorder) CreateClientCert(csr, rootId interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) CreateRootCert(info, parentId interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) CreateServerCert(csr, rootId interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) DeleteClientCert(certId interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) DeleteRootCert(rootId interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) DeleteServerCert(certId interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) GetClientCert(certId interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) GetRootCert(rootId interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) GetRootCertId() *gomock.Call
- func (mr *MockPKIMockRecorder) GetServerCert(certId interface{}) *gomock.Call
- type MockPKIStorage
- func (m *MockPKIStorage) Close() error
- func (m *MockPKIStorage) CountCertByParentId(parentId string) (int, error)
- func (m *MockPKIStorage) CreateCert(cert plugin.Cert) error
- func (m *MockPKIStorage) DeleteCert(certId string) error
- func (m *MockPKIStorage) EXPECT() *MockPKIStorageMockRecorder
- func (m *MockPKIStorage) GetCert(certId string) (*plugin.Cert, error)
- func (m *MockPKIStorage) UpdateCert(cert plugin.Cert) error
- type MockPKIStorageMockRecorder
- func (mr *MockPKIStorageMockRecorder) Close() *gomock.Call
- func (mr *MockPKIStorageMockRecorder) CountCertByParentId(parentId interface{}) *gomock.Call
- func (mr *MockPKIStorageMockRecorder) CreateCert(cert interface{}) *gomock.Call
- func (mr *MockPKIStorageMockRecorder) DeleteCert(certId interface{}) *gomock.Call
- func (mr *MockPKIStorageMockRecorder) GetCert(certId interface{}) *gomock.Call
- func (mr *MockPKIStorageMockRecorder) UpdateCert(cert interface{}) *gomock.Call
- type MockProperty
- func (m *MockProperty) Close() error
- func (m *MockProperty) CountProperty(arg0 string) (int, error)
- func (m *MockProperty) CreateProperty(arg0 *models.Property) error
- func (m *MockProperty) DeleteProperty(arg0 string) error
- func (m *MockProperty) EXPECT() *MockPropertyMockRecorder
- func (m *MockProperty) GetProperty(arg0 string) (*models.Property, error)
- func (m *MockProperty) GetPropertyValue(arg0 string) (string, error)
- func (m *MockProperty) ListProperty(arg0 *models.Filter) ([]models.Property, error)
- func (m *MockProperty) UpdateProperty(arg0 *models.Property) error
- type MockPropertyMockRecorder
- func (mr *MockPropertyMockRecorder) Close() *gomock.Call
- func (mr *MockPropertyMockRecorder) CountProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyMockRecorder) CreateProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyMockRecorder) DeleteProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyMockRecorder) GetProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyMockRecorder) GetPropertyValue(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyMockRecorder) ListProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyMockRecorder) UpdateProperty(arg0 interface{}) *gomock.Call
- type MockPubsub
- func (m *MockPubsub) Close() error
- func (m *MockPubsub) EXPECT() *MockPubsubMockRecorder
- func (m *MockPubsub) Publish(arg0 string, arg1 interface{}) error
- func (m *MockPubsub) Subscribe(arg0 string) (<-chan interface{}, error)
- func (m *MockPubsub) Unsubscribe(arg0 string, arg1 <-chan interface{}) error
- type MockPubsubMockRecorder
- type MockResource
- func (m *MockResource) Close() error
- func (m *MockResource) CreateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)
- func (m *MockResource) CreateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
- func (m *MockResource) CreateNamespace(arg0 *models.Namespace) (*models.Namespace, error)
- func (m *MockResource) CreateNode(arg0 string, arg1 *v1.Node) (*v1.Node, error)
- func (m *MockResource) CreateSecret(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)
- func (m *MockResource) DeleteApplication(arg0, arg1 string) error
- func (m *MockResource) DeleteConfig(arg0, arg1 string) error
- func (m *MockResource) DeleteNamespace(arg0 *models.Namespace) error
- func (m *MockResource) DeleteNode(arg0, arg1 string) error
- func (m *MockResource) DeleteSecret(arg0, arg1 string) error
- func (m *MockResource) EXPECT() *MockResourceMockRecorder
- func (m *MockResource) GetApplication(arg0, arg1, arg2 string) (*v1.Application, error)
- func (m *MockResource) GetConfig(arg0, arg1, arg2 string) (*v1.Configuration, error)
- func (m *MockResource) GetNamespace(arg0 string) (*models.Namespace, error)
- func (m *MockResource) GetNode(arg0, arg1 string) (*v1.Node, error)
- func (m *MockResource) GetSecret(arg0, arg1, arg2 string) (*v1.Secret, error)
- func (m *MockResource) ListApplication(arg0 string, arg1 *models.ListOptions) (*models.ApplicationList, error)
- func (m *MockResource) ListConfig(arg0 string, arg1 *models.ListOptions) (*models.ConfigurationList, error)
- func (m *MockResource) ListNamespace(arg0 *models.ListOptions) (*models.NamespaceList, error)
- func (m *MockResource) ListNode(arg0 string, arg1 *models.ListOptions) (*models.NodeList, error)
- func (m *MockResource) ListSecret(arg0 string, arg1 *models.ListOptions) (*models.SecretList, error)
- func (m *MockResource) UpdateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)
- func (m *MockResource) UpdateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
- func (m *MockResource) UpdateNode(arg0 string, arg1 *v1.Node) (*v1.Node, error)
- func (m *MockResource) UpdateSecret(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)
- type MockResourceMockRecorder
- func (mr *MockResourceMockRecorder) Close() *gomock.Call
- func (mr *MockResourceMockRecorder) CreateApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) CreateConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) CreateNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) CreateNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) CreateSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) DeleteApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) DeleteConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) DeleteNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) GetApplication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) GetConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) GetNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) GetSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) ListApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) ListConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) ListNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) ListNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) ListSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) UpdateApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) UpdateConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) UpdateNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) UpdateSecret(arg0, arg1 interface{}) *gomock.Call
- type MockShadow
- func (m *MockShadow) Close() error
- func (m *MockShadow) Create(arg0 *models.Shadow) (*models.Shadow, error)
- func (m *MockShadow) Delete(arg0, arg1 string) error
- func (m *MockShadow) EXPECT() *MockShadowMockRecorder
- func (m *MockShadow) Get(arg0, arg1 string) (*models.Shadow, error)
- func (m *MockShadow) List(arg0 string, arg1 *models.NodeList) (*models.ShadowList, error)
- func (m *MockShadow) UpdateDesire(arg0 *models.Shadow) (*models.Shadow, error)
- func (m *MockShadow) UpdateReport(arg0 *models.Shadow) (*models.Shadow, error)
- type MockShadowMockRecorder
- func (mr *MockShadowMockRecorder) Close() *gomock.Call
- func (mr *MockShadowMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockShadowMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockShadowMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockShadowMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockShadowMockRecorder) UpdateDesire(arg0 interface{}) *gomock.Call
- func (mr *MockShadowMockRecorder) UpdateReport(arg0 interface{}) *gomock.Call
- type MockTask
- func (m *MockTask) AcquireTaskLock(arg0 *models.Task) (bool, error)
- func (m *MockTask) Close() error
- func (m *MockTask) CreateTask(arg0 *models.Task) (bool, error)
- func (m *MockTask) DeleteTask(arg0 string) (bool, error)
- func (m *MockTask) EXPECT() *MockTaskMockRecorder
- func (m *MockTask) GetNeedProcessTask(arg0, arg1 int32) ([]*models.Task, error)
- func (m *MockTask) GetTask(arg0 string) (*models.Task, error)
- func (m *MockTask) UpdateTask(arg0 *models.Task) (bool, error)
- type MockTaskMockRecorder
- func (mr *MockTaskMockRecorder) AcquireTaskLock(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) Close() *gomock.Call
- func (mr *MockTaskMockRecorder) CreateTask(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) DeleteTask(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) GetNeedProcessTask(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) GetTask(arg0 interface{}) *gomock.Call
- func (mr *MockTaskMockRecorder) UpdateTask(arg0 interface{}) *gomock.Call
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) CountApplicationHis ¶
CountApplicationHis mocks base method
func (*MockAppHistory) CreateApplicationHis ¶
func (m *MockAppHistory) CreateApplicationHis(arg0 *v1.Application) (sql.Result, error)
CreateApplicationHis mocks base method
func (*MockAppHistory) CreateApplicationHisWithTx ¶
func (m *MockAppHistory) CreateApplicationHisWithTx(arg0 *sqlx.Tx, arg1 *v1.Application) (sql.Result, error)
CreateApplicationHisWithTx mocks base method
func (*MockAppHistory) DeleteApplicationHis ¶
func (m *MockAppHistory) DeleteApplicationHis(arg0, arg1, arg2 string) (sql.Result, error)
DeleteApplicationHis mocks base method
func (*MockAppHistory) DeleteApplicationHisWithTx ¶
func (m *MockAppHistory) DeleteApplicationHisWithTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (sql.Result, error)
DeleteApplicationHisWithTx mocks base method
func (*MockAppHistory) EXPECT ¶ added in v2.1.1
func (m *MockAppHistory) EXPECT() *MockAppHistoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAppHistory) GetApplicationHis ¶
func (m *MockAppHistory) GetApplicationHis(arg0, arg1, arg2 string) (*v1.Application, error)
GetApplicationHis mocks base method
func (*MockAppHistory) ListApplicationHis ¶
func (m *MockAppHistory) ListApplicationHis(arg0 string, arg1 *models.Filter) ([]v1.Application, error)
ListApplicationHis mocks base method
func (*MockAppHistory) UpdateApplicationHis ¶
func (m *MockAppHistory) UpdateApplicationHis(arg0 *v1.Application, arg1 string) (sql.Result, error)
UpdateApplicationHis mocks base method
func (*MockAppHistory) UpdateApplicationHisWithTx ¶
func (m *MockAppHistory) UpdateApplicationHisWithTx(arg0 *sqlx.Tx, arg1 *v1.Application, arg2 string) (sql.Result, error)
UpdateApplicationHisWithTx 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) CountApplicationHis ¶
func (mr *MockAppHistoryMockRecorder) CountApplicationHis(arg0, arg1, arg2 interface{}) *gomock.Call
CountApplicationHis indicates an expected call of CountApplicationHis
func (*MockAppHistoryMockRecorder) CreateApplicationHis ¶
func (mr *MockAppHistoryMockRecorder) CreateApplicationHis(arg0 interface{}) *gomock.Call
CreateApplicationHis indicates an expected call of CreateApplicationHis
func (*MockAppHistoryMockRecorder) CreateApplicationHisWithTx ¶
func (mr *MockAppHistoryMockRecorder) CreateApplicationHisWithTx(arg0, arg1 interface{}) *gomock.Call
CreateApplicationHisWithTx indicates an expected call of CreateApplicationHisWithTx
func (*MockAppHistoryMockRecorder) DeleteApplicationHis ¶
func (mr *MockAppHistoryMockRecorder) DeleteApplicationHis(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteApplicationHis indicates an expected call of DeleteApplicationHis
func (*MockAppHistoryMockRecorder) DeleteApplicationHisWithTx ¶
func (mr *MockAppHistoryMockRecorder) DeleteApplicationHisWithTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteApplicationHisWithTx indicates an expected call of DeleteApplicationHisWithTx
func (*MockAppHistoryMockRecorder) GetApplicationHis ¶
func (mr *MockAppHistoryMockRecorder) GetApplicationHis(arg0, arg1, arg2 interface{}) *gomock.Call
GetApplicationHis indicates an expected call of GetApplicationHis
func (*MockAppHistoryMockRecorder) ListApplicationHis ¶
func (mr *MockAppHistoryMockRecorder) ListApplicationHis(arg0, arg1 interface{}) *gomock.Call
ListApplicationHis indicates an expected call of ListApplicationHis
func (*MockAppHistoryMockRecorder) UpdateApplicationHis ¶
func (mr *MockAppHistoryMockRecorder) UpdateApplicationHis(arg0, arg1 interface{}) *gomock.Call
UpdateApplicationHis indicates an expected call of UpdateApplicationHis
func (*MockAppHistoryMockRecorder) UpdateApplicationHisWithTx ¶
func (mr *MockAppHistoryMockRecorder) UpdateApplicationHisWithTx(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateApplicationHisWithTx indicates an expected call of UpdateApplicationHisWithTx
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 ¶
Authenticate 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) VerifyToken ¶
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 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) EXPECT ¶
func (m *MockFunction) EXPECT() *MockFunctionMockRecorder
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) 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
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) 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) 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 string) error
Lock mocks base method
func (*MockLocker) LockWithExpireTime ¶
func (m *MockLocker) LockWithExpireTime(arg0 string, arg1 int64) error
LockWithExpireTime 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) Lock ¶ added in v2.2.0
func (mr *MockLockerMockRecorder) Lock(arg0 interface{}) *gomock.Call
Lock indicates an expected call of Lock
func (*MockLockerMockRecorder) LockWithExpireTime ¶
func (mr *MockLockerMockRecorder) LockWithExpireTime(arg0, arg1 interface{}) *gomock.Call
LockWithExpireTime indicates an expected call of LockWithExpireTime
func (*MockLockerMockRecorder) UnLock ¶
func (mr *MockLockerMockRecorder) UnLock(arg0 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
CreateModule mocks base method
func (*MockModule) CreateModuleTx ¶ added in v2.2.0
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
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
GetLatestModuleProgramTx mocks base method
func (*MockModule) GetLatestModuleTx ¶ added in v2.2.0
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
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
GetModuleByVersionTx mocks base method
func (*MockModule) GetModuleTx ¶ added in v2.2.0
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
ListModules mocks base method
func (*MockModule) ListModulesTx ¶ added in v2.2.0
ListModulesTx mocks base method
func (*MockModule) ListOptionalSysModules ¶ added in v2.2.0
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
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
UpdateModule mocks base method
func (*MockModule) UpdateModuleByVersionTx ¶ added in v2.2.0
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
CreateNode mocks base method
func (*MockNode) DeleteNode ¶ added in v2.1.1
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
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 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) 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) CreateClientCert ¶
CreateClientCert mocks base method
func (*MockPKI) CreateRootCert ¶
CreateRootCert mocks base method
func (*MockPKI) CreateServerCert ¶
CreateServerCert mocks base method
func (*MockPKI) DeleteClientCert ¶
DeleteClientCert mocks base method
func (*MockPKI) DeleteRootCert ¶
DeleteRootCert mocks base method
func (*MockPKI) DeleteServerCert ¶
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 ¶
GetClientCert mocks base method
func (*MockPKI) GetRootCert ¶
GetRootCert mocks base method
func (*MockPKI) GetRootCertId ¶
GetRootCertId 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) 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 ¶
func (m *MockPKIStorage) EXPECT() *MockPKIStorageMockRecorder
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) 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 ¶
func (m *MockProperty) EXPECT() *MockPropertyMockRecorder
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 ¶
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) 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 string, arg1 *v1.Application) (*v1.Application, error)
CreateApplication mocks base method
func (*MockResource) CreateConfig ¶ added in v2.2.0
func (m *MockResource) CreateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
CreateConfig mocks base method
func (*MockResource) CreateNamespace ¶ added in v2.2.0
CreateNamespace mocks base method
func (*MockResource) CreateNode ¶ added in v2.2.0
CreateNode mocks base method
func (*MockResource) CreateSecret ¶ added in v2.2.0
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, arg1 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
func (m *MockResource) EXPECT() *MockResourceMockRecorder
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, arg1, arg2 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, arg1 string) (*v1.Node, error)
GetNode mocks base method
func (*MockResource) GetSecret ¶ added in v2.2.0
func (m *MockResource) GetSecret(arg0, arg1, arg2 string) (*v1.Secret, error)
GetSecret mocks base method
func (*MockResource) ListApplication ¶ added in v2.2.0
func (m *MockResource) ListApplication(arg0 string, arg1 *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 string, arg1 *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 string, arg1 *v1.Configuration) (*v1.Configuration, error)
UpdateConfig mocks base method
func (*MockResource) UpdateNode ¶ added in v2.2.0
UpdateNode mocks base method
func (*MockResource) UpdateSecret ¶ added in v2.2.0
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 interface{}) *gomock.Call
CreateApplication indicates an expected call of CreateApplication
func (*MockResourceMockRecorder) CreateConfig ¶ added in v2.2.0
func (mr *MockResourceMockRecorder) CreateConfig(arg0, arg1 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 interface{}) *gomock.Call
CreateNode indicates an expected call of CreateNode
func (*MockResourceMockRecorder) CreateSecret ¶ added in v2.2.0
func (mr *MockResourceMockRecorder) CreateSecret(arg0, arg1 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 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 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 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 interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret
func (*MockResourceMockRecorder) ListApplication ¶ added in v2.2.0
func (mr *MockResourceMockRecorder) ListApplication(arg0, arg1 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 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 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 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) 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 ¶
UpdateDesire mocks base method
func (*MockShadow) UpdateReport ¶
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
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
AcquireTaskLock mocks base method
func (*MockTask) CreateTask ¶ added in v2.2.0
CreateTask mocks base method
func (*MockTask) DeleteTask ¶ added in v2.2.0
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
GetNeedProcessTask 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