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 MockApplication
- func (m *MockApplication) Close() error
- func (m *MockApplication) CreateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)
- func (m *MockApplication) DeleteApplication(arg0, arg1 string) error
- func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
- func (m *MockApplication) GetApplication(arg0, arg1, arg2 string) (*v1.Application, error)
- func (m *MockApplication) ListApplication(arg0 string, arg1 *models.ListOptions) (*models.ApplicationList, error)
- func (m *MockApplication) UpdateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)
- type MockApplicationMockRecorder
- func (mr *MockApplicationMockRecorder) Close() *gomock.Call
- func (mr *MockApplicationMockRecorder) CreateApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) DeleteApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) GetApplication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) ListApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationMockRecorder) UpdateApplication(arg0, arg1 interface{}) *gomock.Call
- type MockAuth
- type MockAuthMockRecorder
- type MockConfiguration
- func (m *MockConfiguration) Close() error
- func (m *MockConfiguration) CreateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
- func (m *MockConfiguration) DeleteConfig(arg0, arg1 string) error
- func (m *MockConfiguration) EXPECT() *MockConfigurationMockRecorder
- func (m *MockConfiguration) GetConfig(arg0, arg1, arg2 string) (*v1.Configuration, error)
- func (m *MockConfiguration) ListConfig(arg0 string, arg1 *models.ListOptions) (*models.ConfigurationList, error)
- func (m *MockConfiguration) UpdateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
- type MockConfigurationMockRecorder
- func (mr *MockConfigurationMockRecorder) Close() *gomock.Call
- func (mr *MockConfigurationMockRecorder) CreateConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) DeleteConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) ListConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) UpdateConfig(arg0, arg1 interface{}) *gomock.Call
- 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 MockNamespace
- func (m *MockNamespace) Close() error
- func (m *MockNamespace) CreateNamespace(arg0 *models.Namespace) (*models.Namespace, error)
- func (m *MockNamespace) DeleteNamespace(arg0 *models.Namespace) error
- func (m *MockNamespace) EXPECT() *MockNamespaceMockRecorder
- func (m *MockNamespace) GetNamespace(arg0 string) (*models.Namespace, error)
- type MockNamespaceMockRecorder
- func (mr *MockNamespaceMockRecorder) Close() *gomock.Call
- func (mr *MockNamespaceMockRecorder) CreateNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceMockRecorder) DeleteNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockNamespaceMockRecorder) GetNamespace(arg0 interface{}) *gomock.Call
- type MockNode
- func (m *MockNode) Close() error
- 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) Close() *gomock.Call
- 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
- type MockPubsubMockRecorder
- type MockSecret
- func (m *MockSecret) Close() error
- func (m *MockSecret) CreateSecret(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)
- func (m *MockSecret) DeleteSecret(arg0, arg1 string) error
- func (m *MockSecret) EXPECT() *MockSecretMockRecorder
- func (m *MockSecret) GetSecret(arg0, arg1, arg2 string) (*v1.Secret, error)
- func (m *MockSecret) ListSecret(arg0 string, arg1 *models.ListOptions) (*models.SecretList, error)
- func (m *MockSecret) UpdateSecret(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)
- type MockSecretMockRecorder
- func (mr *MockSecretMockRecorder) Close() *gomock.Call
- func (mr *MockSecretMockRecorder) CreateSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretMockRecorder) GetSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSecretMockRecorder) ListSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretMockRecorder) 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
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 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
func (m *MockApplication) EXPECT() *MockApplicationMockRecorder
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
func (mr *MockApplicationMockRecorder) Close() *gomock.Call
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 ¶
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 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
func (m *MockConfiguration) EXPECT() *MockConfigurationMockRecorder
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
func (mr *MockConfigurationMockRecorder) Close() *gomock.Call
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) 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 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
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
func (m *MockNamespace) EXPECT() *MockNamespaceMockRecorder
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) 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) 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) 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 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
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
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) 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