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.
Index ¶
- type MockAuth
- type MockAuthMockRecorder
- type MockDBStorage
- func (m *MockDBStorage) Close() error
- func (m *MockDBStorage) CountApplication(arg0 *sqlx.Tx, arg1, arg2 string) (int, error)
- func (m *MockDBStorage) CountBatch(arg0, arg1 string) (int, error)
- func (m *MockDBStorage) CountBatchByCallback(arg0, arg1 string) (int, error)
- func (m *MockDBStorage) CountBatchByCallbackTx(arg0 *sqlx.Tx, arg1, arg2 string) (int, error)
- func (m *MockDBStorage) CountBatchTx(arg0 *sqlx.Tx, arg1, arg2 string) (int, error)
- func (m *MockDBStorage) CountRecord(arg0, arg1, arg2 string) (int, error)
- func (m *MockDBStorage) CountRecordTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (int, error)
- func (m *MockDBStorage) CountTask(arg0 *models.Task) (int, error)
- func (m *MockDBStorage) Create(arg0 *models.Shadow) (*models.Shadow, error)
- func (m *MockDBStorage) CreateApplication(arg0 *v1.Application) (sql.Result, error)
- func (m *MockDBStorage) CreateApplicationWithTx(arg0 *sqlx.Tx, arg1 *v1.Application) (sql.Result, error)
- func (m *MockDBStorage) CreateBatch(arg0 *models.Batch) (sql.Result, error)
- func (m *MockDBStorage) CreateBatchTx(arg0 *sqlx.Tx, arg1 *models.Batch) (sql.Result, error)
- func (m *MockDBStorage) CreateCallback(arg0 *models.Callback) (sql.Result, error)
- func (m *MockDBStorage) CreateCallbackTx(arg0 *sqlx.Tx, arg1 *models.Callback) (sql.Result, error)
- func (m *MockDBStorage) CreateIndex(arg0 string, arg1, arg2 common.Resource, arg3, arg4 string) (sql.Result, error)
- func (m *MockDBStorage) CreateIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4, arg5 string) (sql.Result, error)
- func (m *MockDBStorage) CreateRecord(arg0 []models.Record) (sql.Result, error)
- func (m *MockDBStorage) CreateRecordTx(arg0 *sqlx.Tx, arg1 []models.Record) (sql.Result, error)
- func (m *MockDBStorage) CreateSysConfig(arg0 *models.SysConfig) (sql.Result, error)
- func (m *MockDBStorage) CreateTask(arg0 *models.Task) (sql.Result, error)
- func (m *MockDBStorage) CreateTaskTx(arg0 *sqlx.Tx, arg1 *models.Task) (sql.Result, error)
- func (m *MockDBStorage) Delete(arg0, arg1 string) error
- func (m *MockDBStorage) DeleteApplication(arg0, arg1, arg2 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteApplicationWithTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteBatch(arg0, arg1 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteBatchTx(arg0 *sqlx.Tx, arg1, arg2 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteCallback(arg0, arg1 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteCallbackTx(arg0 *sqlx.Tx, arg1, arg2 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteRecord(arg0, arg1, arg2 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteRecordTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteSysConfig(arg0, arg1 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteTask(arg0 string) (sql.Result, error)
- func (m *MockDBStorage) DeleteTaskTx(arg0 *sqlx.Tx, arg1 string) (sql.Result, error)
- func (m *MockDBStorage) EXPECT() *MockDBStorageMockRecorder
- func (m *MockDBStorage) Get(arg0, arg1 string) (*models.Shadow, error)
- func (m *MockDBStorage) GetApplication(arg0, arg1, arg2 string) (*v1.Application, error)
- func (m *MockDBStorage) GetBatch(arg0, arg1 string) (*models.Batch, error)
- func (m *MockDBStorage) GetBatchTx(arg0 *sqlx.Tx, arg1, arg2 string) (*models.Batch, error)
- func (m *MockDBStorage) GetCallback(arg0, arg1 string) (*models.Callback, error)
- func (m *MockDBStorage) GetCallbackTx(arg0 *sqlx.Tx, arg1, arg2 string) (*models.Callback, error)
- func (m *MockDBStorage) GetRecord(arg0, arg1, arg2 string) (*models.Record, error)
- func (m *MockDBStorage) GetRecordByFingerprint(arg0, arg1, arg2 string) (*models.Record, error)
- func (m *MockDBStorage) GetRecordByFingerprintTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (*models.Record, error)
- func (m *MockDBStorage) GetRecordTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (*models.Record, error)
- func (m *MockDBStorage) GetSysConfig(arg0, arg1 string) (*models.SysConfig, error)
- func (m *MockDBStorage) GetTask(arg0 string) (*models.Task, error)
- func (m *MockDBStorage) GetTaskTx(arg0 *sqlx.Tx, arg1 string) (*models.Task, error)
- func (m *MockDBStorage) List(arg0 string, arg1 *models.NodeList) (*models.ShadowList, error)
- func (m *MockDBStorage) ListApplication(arg0, arg1 string, arg2, arg3 int) ([]v1.Application, error)
- func (m *MockDBStorage) ListBatch(arg0, arg1 string, arg2, arg3 int) ([]models.Batch, error)
- func (m *MockDBStorage) ListBatchTx(arg0 *sqlx.Tx, arg1, arg2 string, arg3, arg4 int) ([]models.Batch, error)
- func (m *MockDBStorage) ListIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) ([]string, error)
- func (m *MockDBStorage) ListIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4 string) ([]string, error)
- func (m *MockDBStorage) ListRecord(arg0, arg1, arg2 string, arg3, arg4 int) ([]models.Record, error)
- func (m *MockDBStorage) ListRecordTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string, arg4, arg5 int) ([]models.Record, error)
- func (m *MockDBStorage) ListSysConfig(arg0 string, arg1, arg2 int) ([]models.SysConfig, error)
- func (m *MockDBStorage) ListSysConfigAll(arg0 string) ([]models.SysConfig, error)
- func (m *MockDBStorage) RefreshIndex(arg0 string, arg1, arg2 common.Resource, arg3 string, arg4 []string) error
- func (m *MockDBStorage) Transact(arg0 func(*sqlx.Tx) error) error
- func (m *MockDBStorage) UpdateApplication(arg0 *v1.Application, arg1 string) (sql.Result, error)
- func (m *MockDBStorage) UpdateApplicationWithTx(arg0 *sqlx.Tx, arg1 *v1.Application, arg2 string) (sql.Result, error)
- func (m *MockDBStorage) UpdateBatch(arg0 *models.Batch) (sql.Result, error)
- func (m *MockDBStorage) UpdateBatchTx(arg0 *sqlx.Tx, arg1 *models.Batch) (sql.Result, error)
- func (m *MockDBStorage) UpdateCallback(arg0 *models.Callback) (sql.Result, error)
- func (m *MockDBStorage) UpdateCallbackTx(arg0 *sqlx.Tx, arg1 *models.Callback) (sql.Result, error)
- func (m *MockDBStorage) UpdateDesire(arg0 *models.Shadow) (*models.Shadow, error)
- func (m *MockDBStorage) UpdateRecord(arg0 *models.Record) (sql.Result, error)
- func (m *MockDBStorage) UpdateRecordTx(arg0 *sqlx.Tx, arg1 *models.Record) (sql.Result, error)
- func (m *MockDBStorage) UpdateReport(arg0 *models.Shadow) (*models.Shadow, error)
- func (m *MockDBStorage) UpdateSysConfig(arg0 *models.SysConfig) (sql.Result, error)
- func (m *MockDBStorage) UpdateTask(arg0 *models.Task) (sql.Result, error)
- func (m *MockDBStorage) UpdateTaskTx(arg0 *sqlx.Tx, arg1 *models.Task) (sql.Result, error)
- type MockDBStorageMockRecorder
- func (mr *MockDBStorageMockRecorder) Close() *gomock.Call
- func (mr *MockDBStorageMockRecorder) CountApplication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CountBatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CountBatchByCallback(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CountBatchByCallbackTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CountBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CountRecord(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CountRecordTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CountTask(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateApplication(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateApplicationWithTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateBatch(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateBatchTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateCallback(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateCallbackTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateIndexTx(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateRecord(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateRecordTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateSysConfig(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateTask(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) CreateTaskTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteApplication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteApplicationWithTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteBatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteCallback(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteCallbackTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteIndexTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteRecord(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteRecordTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteSysConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteTask(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) DeleteTaskTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetApplication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetBatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetCallback(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetCallbackTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetRecord(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetRecordByFingerprint(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetRecordByFingerprintTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetRecordTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetSysConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetTask(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) GetTaskTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) ListApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) ListBatch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) ListBatchTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) ListIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) ListIndexTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) ListRecord(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) ListRecordTx(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) ListSysConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) ListSysConfigAll(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) RefreshIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) Transact(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateApplicationWithTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateBatch(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateBatchTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateCallback(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateCallbackTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateDesire(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateRecord(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateRecordTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateReport(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateSysConfig(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateTask(arg0 interface{}) *gomock.Call
- func (mr *MockDBStorageMockRecorder) UpdateTaskTx(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 MockLicense
- type MockLicenseMockRecorder
- type MockModelStorage
- func (m *MockModelStorage) Close() error
- func (m *MockModelStorage) Create(arg0 *models.Shadow) (*models.Shadow, error)
- func (m *MockModelStorage) CreateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)
- func (m *MockModelStorage) CreateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
- func (m *MockModelStorage) CreateNamespace(arg0 *models.Namespace) (*models.Namespace, error)
- func (m *MockModelStorage) CreateNode(arg0 string, arg1 *v1.Node) (*v1.Node, error)
- func (m *MockModelStorage) CreateSecret(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)
- func (m *MockModelStorage) Delete(arg0, arg1 string) error
- func (m *MockModelStorage) DeleteApplication(arg0, arg1 string) error
- func (m *MockModelStorage) DeleteConfig(arg0, arg1 string) error
- func (m *MockModelStorage) DeleteNamespace(arg0 *models.Namespace) error
- func (m *MockModelStorage) DeleteNode(arg0, arg1 string) error
- func (m *MockModelStorage) DeleteSecret(arg0, arg1 string) error
- func (m *MockModelStorage) EXPECT() *MockModelStorageMockRecorder
- func (m *MockModelStorage) Get(arg0, arg1 string) (*models.Shadow, error)
- func (m *MockModelStorage) GetApplication(arg0, arg1, arg2 string) (*v1.Application, error)
- func (m *MockModelStorage) GetConfig(arg0, arg1, arg2 string) (*v1.Configuration, error)
- func (m *MockModelStorage) GetNamespace(arg0 string) (*models.Namespace, error)
- func (m *MockModelStorage) GetNode(arg0, arg1 string) (*v1.Node, error)
- func (m *MockModelStorage) GetSecret(arg0, arg1, arg2 string) (*v1.Secret, error)
- func (m *MockModelStorage) IsLabelMatch(arg0 string, arg1 map[string]string) (bool, error)
- func (m *MockModelStorage) List(arg0 string, arg1 *models.NodeList) (*models.ShadowList, error)
- func (m *MockModelStorage) ListApplication(arg0 string, arg1 *models.ListOptions) (*models.ApplicationList, error)
- func (m *MockModelStorage) ListConfig(arg0 string, arg1 *models.ListOptions) (*models.ConfigurationList, error)
- func (m *MockModelStorage) ListNode(arg0 string, arg1 *models.ListOptions) (*models.NodeList, error)
- func (m *MockModelStorage) ListSecret(arg0 string, arg1 *models.ListOptions) (*models.SecretList, error)
- func (m *MockModelStorage) UpdateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)
- func (m *MockModelStorage) UpdateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
- func (m *MockModelStorage) UpdateDesire(arg0 *models.Shadow) (*models.Shadow, error)
- func (m *MockModelStorage) UpdateNode(arg0 string, arg1 *v1.Node) (*v1.Node, error)
- func (m *MockModelStorage) UpdateReport(arg0 *models.Shadow) (*models.Shadow, error)
- func (m *MockModelStorage) UpdateSecret(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)
- type MockModelStorageMockRecorder
- func (mr *MockModelStorageMockRecorder) Close() *gomock.Call
- func (mr *MockModelStorageMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) CreateApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) CreateConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) CreateNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) CreateNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) CreateSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) DeleteApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) DeleteConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) DeleteNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) GetApplication(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) GetConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) GetNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) GetSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) IsLabelMatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) ListApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) ListConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) ListNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) ListSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) UpdateApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) UpdateConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) UpdateDesire(arg0 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) UpdateNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) UpdateReport(arg0 interface{}) *gomock.Call
- func (mr *MockModelStorageMockRecorder) UpdateSecret(arg0, arg1 interface{}) *gomock.Call
- type MockObject
- func (m *MockObject) Close() error
- func (m *MockObject) CreateBucket(arg0, arg1, arg2 string) error
- func (m *MockObject) DeleteObject(arg0, arg1, arg2 string) error
- func (m *MockObject) EXPECT() *MockObjectMockRecorder
- func (m *MockObject) GenObjectURL(arg0, arg1, arg2 string) (*models.ObjectURL, error)
- func (m *MockObject) GetObject(arg0, arg1, arg2 string) (*models.Object, error)
- func (m *MockObject) HeadBucket(arg0, arg1 string) error
- func (m *MockObject) HeadObject(arg0, arg1, arg2 string) (*models.ObjectMeta, error)
- func (m *MockObject) ListBucketObjects(arg0, arg1 string, arg2 *models.ObjectParams) (*models.ListObjectsResult, error)
- func (m *MockObject) ListBuckets(arg0 string) ([]models.Bucket, error)
- func (m *MockObject) PutObject(arg0, arg1, arg2 string, arg3 []byte) error
- func (m *MockObject) PutObjectFromURL(arg0, arg1, arg2, arg3 string) error
- type MockObjectMockRecorder
- func (mr *MockObjectMockRecorder) Close() *gomock.Call
- func (mr *MockObjectMockRecorder) CreateBucket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) DeleteObject(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) GenObjectURL(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) GetObject(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) HeadBucket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) HeadObject(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) ListBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) ListBuckets(arg0 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) PutObject(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockObjectMockRecorder) PutObjectFromURL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockPKI
- func (m *MockPKI) Close() error
- func (m *MockPKI) CreateClientCert(arg0 []byte, arg1 string) (string, error)
- func (m *MockPKI) CreateRootCert(arg0 *x509.CertificateRequest, arg1 string) (string, error)
- func (m *MockPKI) CreateServerCert(arg0 []byte, arg1 string) (string, error)
- func (m *MockPKI) DeleteClientCert(arg0 string) error
- func (m *MockPKI) DeleteRootCert(arg0 string) error
- func (m *MockPKI) DeleteServerCert(arg0 string) error
- func (m *MockPKI) EXPECT() *MockPKIMockRecorder
- func (m *MockPKI) GetClientCert(arg0 string) ([]byte, error)
- func (m *MockPKI) GetRootCert(arg0 string) ([]byte, error)
- func (m *MockPKI) GetServerCert(arg0 string) ([]byte, error)
- type MockPKIMockRecorder
- func (mr *MockPKIMockRecorder) Close() *gomock.Call
- func (mr *MockPKIMockRecorder) CreateClientCert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) CreateRootCert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) CreateServerCert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) DeleteClientCert(arg0 interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) DeleteRootCert(arg0 interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) DeleteServerCert(arg0 interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) GetClientCert(arg0 interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) GetRootCert(arg0 interface{}) *gomock.Call
- func (mr *MockPKIMockRecorder) GetServerCert(arg0 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 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 MockDBStorage ¶
type MockDBStorage struct {
// contains filtered or unexported fields
}
MockDBStorage is a mock of DBStorage interface
func NewMockDBStorage ¶
func NewMockDBStorage(ctrl *gomock.Controller) *MockDBStorage
NewMockDBStorage creates a new mock instance
func (*MockDBStorage) CountApplication ¶
CountApplication mocks base method
func (*MockDBStorage) CountBatch ¶
func (m *MockDBStorage) CountBatch(arg0, arg1 string) (int, error)
CountBatch mocks base method
func (*MockDBStorage) CountBatchByCallback ¶
func (m *MockDBStorage) CountBatchByCallback(arg0, arg1 string) (int, error)
CountBatchByCallback mocks base method
func (*MockDBStorage) CountBatchByCallbackTx ¶
CountBatchByCallbackTx mocks base method
func (*MockDBStorage) CountBatchTx ¶
CountBatchTx mocks base method
func (*MockDBStorage) CountRecord ¶
func (m *MockDBStorage) CountRecord(arg0, arg1, arg2 string) (int, error)
CountRecord mocks base method
func (*MockDBStorage) CountRecordTx ¶
CountRecordTx mocks base method
func (*MockDBStorage) CountTask ¶
func (m *MockDBStorage) CountTask(arg0 *models.Task) (int, error)
CountTask mocks base method
func (*MockDBStorage) CreateApplication ¶
func (m *MockDBStorage) CreateApplication(arg0 *v1.Application) (sql.Result, error)
CreateApplication mocks base method
func (*MockDBStorage) CreateApplicationWithTx ¶
func (m *MockDBStorage) CreateApplicationWithTx(arg0 *sqlx.Tx, arg1 *v1.Application) (sql.Result, error)
CreateApplicationWithTx mocks base method
func (*MockDBStorage) CreateBatch ¶
CreateBatch mocks base method
func (*MockDBStorage) CreateBatchTx ¶
CreateBatchTx mocks base method
func (*MockDBStorage) CreateCallback ¶
CreateCallback mocks base method
func (*MockDBStorage) CreateCallbackTx ¶
CreateCallbackTx mocks base method
func (*MockDBStorage) CreateIndex ¶
func (m *MockDBStorage) CreateIndex(arg0 string, arg1, arg2 common.Resource, arg3, arg4 string) (sql.Result, error)
CreateIndex mocks base method
func (*MockDBStorage) CreateIndexTx ¶
func (m *MockDBStorage) CreateIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4, arg5 string) (sql.Result, error)
CreateIndexTx mocks base method
func (*MockDBStorage) CreateRecord ¶
CreateRecord mocks base method
func (*MockDBStorage) CreateRecordTx ¶
CreateRecordTx mocks base method
func (*MockDBStorage) CreateSysConfig ¶
CreateSysConfig mocks base method
func (*MockDBStorage) CreateTask ¶
CreateTask mocks base method
func (*MockDBStorage) CreateTaskTx ¶
CreateTaskTx mocks base method
func (*MockDBStorage) Delete ¶
func (m *MockDBStorage) Delete(arg0, arg1 string) error
Delete mocks base method
func (*MockDBStorage) DeleteApplication ¶
func (m *MockDBStorage) DeleteApplication(arg0, arg1, arg2 string) (sql.Result, error)
DeleteApplication mocks base method
func (*MockDBStorage) DeleteApplicationWithTx ¶
func (m *MockDBStorage) DeleteApplicationWithTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (sql.Result, error)
DeleteApplicationWithTx mocks base method
func (*MockDBStorage) DeleteBatch ¶
func (m *MockDBStorage) DeleteBatch(arg0, arg1 string) (sql.Result, error)
DeleteBatch mocks base method
func (*MockDBStorage) DeleteBatchTx ¶
DeleteBatchTx mocks base method
func (*MockDBStorage) DeleteCallback ¶
func (m *MockDBStorage) DeleteCallback(arg0, arg1 string) (sql.Result, error)
DeleteCallback mocks base method
func (*MockDBStorage) DeleteCallbackTx ¶
DeleteCallbackTx mocks base method
func (*MockDBStorage) DeleteIndex ¶
func (m *MockDBStorage) DeleteIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) (sql.Result, error)
DeleteIndex mocks base method
func (*MockDBStorage) DeleteIndexTx ¶
func (m *MockDBStorage) DeleteIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4 string) (sql.Result, error)
DeleteIndexTx mocks base method
func (*MockDBStorage) DeleteRecord ¶
func (m *MockDBStorage) DeleteRecord(arg0, arg1, arg2 string) (sql.Result, error)
DeleteRecord mocks base method
func (*MockDBStorage) DeleteRecordTx ¶
DeleteRecordTx mocks base method
func (*MockDBStorage) DeleteSysConfig ¶
func (m *MockDBStorage) DeleteSysConfig(arg0, arg1 string) (sql.Result, error)
DeleteSysConfig mocks base method
func (*MockDBStorage) DeleteTask ¶
func (m *MockDBStorage) DeleteTask(arg0 string) (sql.Result, error)
DeleteTask mocks base method
func (*MockDBStorage) DeleteTaskTx ¶
DeleteTaskTx mocks base method
func (*MockDBStorage) EXPECT ¶
func (m *MockDBStorage) EXPECT() *MockDBStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDBStorage) Get ¶
func (m *MockDBStorage) Get(arg0, arg1 string) (*models.Shadow, error)
Get mocks base method
func (*MockDBStorage) GetApplication ¶
func (m *MockDBStorage) GetApplication(arg0, arg1, arg2 string) (*v1.Application, error)
GetApplication mocks base method
func (*MockDBStorage) GetBatch ¶
func (m *MockDBStorage) GetBatch(arg0, arg1 string) (*models.Batch, error)
GetBatch mocks base method
func (*MockDBStorage) GetBatchTx ¶
GetBatchTx mocks base method
func (*MockDBStorage) GetCallback ¶
func (m *MockDBStorage) GetCallback(arg0, arg1 string) (*models.Callback, error)
GetCallback mocks base method
func (*MockDBStorage) GetCallbackTx ¶
GetCallbackTx mocks base method
func (*MockDBStorage) GetRecord ¶
func (m *MockDBStorage) GetRecord(arg0, arg1, arg2 string) (*models.Record, error)
GetRecord mocks base method
func (*MockDBStorage) GetRecordByFingerprint ¶
func (m *MockDBStorage) GetRecordByFingerprint(arg0, arg1, arg2 string) (*models.Record, error)
GetRecordByFingerprint mocks base method
func (*MockDBStorage) GetRecordByFingerprintTx ¶
func (m *MockDBStorage) GetRecordByFingerprintTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string) (*models.Record, error)
GetRecordByFingerprintTx mocks base method
func (*MockDBStorage) GetRecordTx ¶
GetRecordTx mocks base method
func (*MockDBStorage) GetSysConfig ¶
func (m *MockDBStorage) GetSysConfig(arg0, arg1 string) (*models.SysConfig, error)
GetSysConfig mocks base method
func (*MockDBStorage) GetTask ¶
func (m *MockDBStorage) GetTask(arg0 string) (*models.Task, error)
GetTask mocks base method
func (*MockDBStorage) List ¶
func (m *MockDBStorage) List(arg0 string, arg1 *models.NodeList) (*models.ShadowList, error)
List mocks base method
func (*MockDBStorage) ListApplication ¶
func (m *MockDBStorage) ListApplication(arg0, arg1 string, arg2, arg3 int) ([]v1.Application, error)
ListApplication mocks base method
func (*MockDBStorage) ListBatchTx ¶
func (m *MockDBStorage) ListBatchTx(arg0 *sqlx.Tx, arg1, arg2 string, arg3, arg4 int) ([]models.Batch, error)
ListBatchTx mocks base method
func (*MockDBStorage) ListIndex ¶
func (m *MockDBStorage) ListIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) ([]string, error)
ListIndex mocks base method
func (*MockDBStorage) ListIndexTx ¶
func (m *MockDBStorage) ListIndexTx(arg0 *sqlx.Tx, arg1 string, arg2, arg3 common.Resource, arg4 string) ([]string, error)
ListIndexTx mocks base method
func (*MockDBStorage) ListRecord ¶
func (m *MockDBStorage) ListRecord(arg0, arg1, arg2 string, arg3, arg4 int) ([]models.Record, error)
ListRecord mocks base method
func (*MockDBStorage) ListRecordTx ¶
func (m *MockDBStorage) ListRecordTx(arg0 *sqlx.Tx, arg1, arg2, arg3 string, arg4, arg5 int) ([]models.Record, error)
ListRecordTx mocks base method
func (*MockDBStorage) ListSysConfig ¶
ListSysConfig mocks base method
func (*MockDBStorage) ListSysConfigAll ¶
func (m *MockDBStorage) ListSysConfigAll(arg0 string) ([]models.SysConfig, error)
ListSysConfigAll mocks base method
func (*MockDBStorage) RefreshIndex ¶
func (m *MockDBStorage) RefreshIndex(arg0 string, arg1, arg2 common.Resource, arg3 string, arg4 []string) error
RefreshIndex mocks base method
func (*MockDBStorage) Transact ¶
func (m *MockDBStorage) Transact(arg0 func(*sqlx.Tx) error) error
Transact mocks base method
func (*MockDBStorage) UpdateApplication ¶
func (m *MockDBStorage) UpdateApplication(arg0 *v1.Application, arg1 string) (sql.Result, error)
UpdateApplication mocks base method
func (*MockDBStorage) UpdateApplicationWithTx ¶
func (m *MockDBStorage) UpdateApplicationWithTx(arg0 *sqlx.Tx, arg1 *v1.Application, arg2 string) (sql.Result, error)
UpdateApplicationWithTx mocks base method
func (*MockDBStorage) UpdateBatch ¶
UpdateBatch mocks base method
func (*MockDBStorage) UpdateBatchTx ¶
UpdateBatchTx mocks base method
func (*MockDBStorage) UpdateCallback ¶
UpdateCallback mocks base method
func (*MockDBStorage) UpdateCallbackTx ¶
UpdateCallbackTx mocks base method
func (*MockDBStorage) UpdateDesire ¶
UpdateDesire mocks base method
func (*MockDBStorage) UpdateRecord ¶
UpdateRecord mocks base method
func (*MockDBStorage) UpdateRecordTx ¶
UpdateRecordTx mocks base method
func (*MockDBStorage) UpdateReport ¶
UpdateReport mocks base method
func (*MockDBStorage) UpdateSysConfig ¶
UpdateSysConfig mocks base method
func (*MockDBStorage) UpdateTask ¶
UpdateTask mocks base method
func (*MockDBStorage) UpdateTaskTx ¶
UpdateTaskTx mocks base method
type MockDBStorageMockRecorder ¶
type MockDBStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockDBStorageMockRecorder is the mock recorder for MockDBStorage
func (*MockDBStorageMockRecorder) Close ¶
func (mr *MockDBStorageMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockDBStorageMockRecorder) CountApplication ¶
func (mr *MockDBStorageMockRecorder) CountApplication(arg0, arg1, arg2 interface{}) *gomock.Call
CountApplication indicates an expected call of CountApplication
func (*MockDBStorageMockRecorder) CountBatch ¶
func (mr *MockDBStorageMockRecorder) CountBatch(arg0, arg1 interface{}) *gomock.Call
CountBatch indicates an expected call of CountBatch
func (*MockDBStorageMockRecorder) CountBatchByCallback ¶
func (mr *MockDBStorageMockRecorder) CountBatchByCallback(arg0, arg1 interface{}) *gomock.Call
CountBatchByCallback indicates an expected call of CountBatchByCallback
func (*MockDBStorageMockRecorder) CountBatchByCallbackTx ¶
func (mr *MockDBStorageMockRecorder) CountBatchByCallbackTx(arg0, arg1, arg2 interface{}) *gomock.Call
CountBatchByCallbackTx indicates an expected call of CountBatchByCallbackTx
func (*MockDBStorageMockRecorder) CountBatchTx ¶
func (mr *MockDBStorageMockRecorder) CountBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call
CountBatchTx indicates an expected call of CountBatchTx
func (*MockDBStorageMockRecorder) CountRecord ¶
func (mr *MockDBStorageMockRecorder) CountRecord(arg0, arg1, arg2 interface{}) *gomock.Call
CountRecord indicates an expected call of CountRecord
func (*MockDBStorageMockRecorder) CountRecordTx ¶
func (mr *MockDBStorageMockRecorder) CountRecordTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CountRecordTx indicates an expected call of CountRecordTx
func (*MockDBStorageMockRecorder) CountTask ¶
func (mr *MockDBStorageMockRecorder) CountTask(arg0 interface{}) *gomock.Call
CountTask indicates an expected call of CountTask
func (*MockDBStorageMockRecorder) Create ¶
func (mr *MockDBStorageMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockDBStorageMockRecorder) CreateApplication ¶
func (mr *MockDBStorageMockRecorder) CreateApplication(arg0 interface{}) *gomock.Call
CreateApplication indicates an expected call of CreateApplication
func (*MockDBStorageMockRecorder) CreateApplicationWithTx ¶
func (mr *MockDBStorageMockRecorder) CreateApplicationWithTx(arg0, arg1 interface{}) *gomock.Call
CreateApplicationWithTx indicates an expected call of CreateApplicationWithTx
func (*MockDBStorageMockRecorder) CreateBatch ¶
func (mr *MockDBStorageMockRecorder) CreateBatch(arg0 interface{}) *gomock.Call
CreateBatch indicates an expected call of CreateBatch
func (*MockDBStorageMockRecorder) CreateBatchTx ¶
func (mr *MockDBStorageMockRecorder) CreateBatchTx(arg0, arg1 interface{}) *gomock.Call
CreateBatchTx indicates an expected call of CreateBatchTx
func (*MockDBStorageMockRecorder) CreateCallback ¶
func (mr *MockDBStorageMockRecorder) CreateCallback(arg0 interface{}) *gomock.Call
CreateCallback indicates an expected call of CreateCallback
func (*MockDBStorageMockRecorder) CreateCallbackTx ¶
func (mr *MockDBStorageMockRecorder) CreateCallbackTx(arg0, arg1 interface{}) *gomock.Call
CreateCallbackTx indicates an expected call of CreateCallbackTx
func (*MockDBStorageMockRecorder) CreateIndex ¶
func (mr *MockDBStorageMockRecorder) CreateIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateIndex indicates an expected call of CreateIndex
func (*MockDBStorageMockRecorder) CreateIndexTx ¶
func (mr *MockDBStorageMockRecorder) CreateIndexTx(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CreateIndexTx indicates an expected call of CreateIndexTx
func (*MockDBStorageMockRecorder) CreateRecord ¶
func (mr *MockDBStorageMockRecorder) CreateRecord(arg0 interface{}) *gomock.Call
CreateRecord indicates an expected call of CreateRecord
func (*MockDBStorageMockRecorder) CreateRecordTx ¶
func (mr *MockDBStorageMockRecorder) CreateRecordTx(arg0, arg1 interface{}) *gomock.Call
CreateRecordTx indicates an expected call of CreateRecordTx
func (*MockDBStorageMockRecorder) CreateSysConfig ¶
func (mr *MockDBStorageMockRecorder) CreateSysConfig(arg0 interface{}) *gomock.Call
CreateSysConfig indicates an expected call of CreateSysConfig
func (*MockDBStorageMockRecorder) CreateTask ¶
func (mr *MockDBStorageMockRecorder) CreateTask(arg0 interface{}) *gomock.Call
CreateTask indicates an expected call of CreateTask
func (*MockDBStorageMockRecorder) CreateTaskTx ¶
func (mr *MockDBStorageMockRecorder) CreateTaskTx(arg0, arg1 interface{}) *gomock.Call
CreateTaskTx indicates an expected call of CreateTaskTx
func (*MockDBStorageMockRecorder) Delete ¶
func (mr *MockDBStorageMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDBStorageMockRecorder) DeleteApplication ¶
func (mr *MockDBStorageMockRecorder) DeleteApplication(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteApplication indicates an expected call of DeleteApplication
func (*MockDBStorageMockRecorder) DeleteApplicationWithTx ¶
func (mr *MockDBStorageMockRecorder) DeleteApplicationWithTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteApplicationWithTx indicates an expected call of DeleteApplicationWithTx
func (*MockDBStorageMockRecorder) DeleteBatch ¶
func (mr *MockDBStorageMockRecorder) DeleteBatch(arg0, arg1 interface{}) *gomock.Call
DeleteBatch indicates an expected call of DeleteBatch
func (*MockDBStorageMockRecorder) DeleteBatchTx ¶
func (mr *MockDBStorageMockRecorder) DeleteBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteBatchTx indicates an expected call of DeleteBatchTx
func (*MockDBStorageMockRecorder) DeleteCallback ¶
func (mr *MockDBStorageMockRecorder) DeleteCallback(arg0, arg1 interface{}) *gomock.Call
DeleteCallback indicates an expected call of DeleteCallback
func (*MockDBStorageMockRecorder) DeleteCallbackTx ¶
func (mr *MockDBStorageMockRecorder) DeleteCallbackTx(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteCallbackTx indicates an expected call of DeleteCallbackTx
func (*MockDBStorageMockRecorder) DeleteIndex ¶
func (mr *MockDBStorageMockRecorder) DeleteIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteIndex indicates an expected call of DeleteIndex
func (*MockDBStorageMockRecorder) DeleteIndexTx ¶
func (mr *MockDBStorageMockRecorder) DeleteIndexTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
DeleteIndexTx indicates an expected call of DeleteIndexTx
func (*MockDBStorageMockRecorder) DeleteRecord ¶
func (mr *MockDBStorageMockRecorder) DeleteRecord(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteRecord indicates an expected call of DeleteRecord
func (*MockDBStorageMockRecorder) DeleteRecordTx ¶
func (mr *MockDBStorageMockRecorder) DeleteRecordTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteRecordTx indicates an expected call of DeleteRecordTx
func (*MockDBStorageMockRecorder) DeleteSysConfig ¶
func (mr *MockDBStorageMockRecorder) DeleteSysConfig(arg0, arg1 interface{}) *gomock.Call
DeleteSysConfig indicates an expected call of DeleteSysConfig
func (*MockDBStorageMockRecorder) DeleteTask ¶
func (mr *MockDBStorageMockRecorder) DeleteTask(arg0 interface{}) *gomock.Call
DeleteTask indicates an expected call of DeleteTask
func (*MockDBStorageMockRecorder) DeleteTaskTx ¶
func (mr *MockDBStorageMockRecorder) DeleteTaskTx(arg0, arg1 interface{}) *gomock.Call
DeleteTaskTx indicates an expected call of DeleteTaskTx
func (*MockDBStorageMockRecorder) Get ¶
func (mr *MockDBStorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDBStorageMockRecorder) GetApplication ¶
func (mr *MockDBStorageMockRecorder) GetApplication(arg0, arg1, arg2 interface{}) *gomock.Call
GetApplication indicates an expected call of GetApplication
func (*MockDBStorageMockRecorder) GetBatch ¶
func (mr *MockDBStorageMockRecorder) GetBatch(arg0, arg1 interface{}) *gomock.Call
GetBatch indicates an expected call of GetBatch
func (*MockDBStorageMockRecorder) GetBatchTx ¶
func (mr *MockDBStorageMockRecorder) GetBatchTx(arg0, arg1, arg2 interface{}) *gomock.Call
GetBatchTx indicates an expected call of GetBatchTx
func (*MockDBStorageMockRecorder) GetCallback ¶
func (mr *MockDBStorageMockRecorder) GetCallback(arg0, arg1 interface{}) *gomock.Call
GetCallback indicates an expected call of GetCallback
func (*MockDBStorageMockRecorder) GetCallbackTx ¶
func (mr *MockDBStorageMockRecorder) GetCallbackTx(arg0, arg1, arg2 interface{}) *gomock.Call
GetCallbackTx indicates an expected call of GetCallbackTx
func (*MockDBStorageMockRecorder) GetRecord ¶
func (mr *MockDBStorageMockRecorder) GetRecord(arg0, arg1, arg2 interface{}) *gomock.Call
GetRecord indicates an expected call of GetRecord
func (*MockDBStorageMockRecorder) GetRecordByFingerprint ¶
func (mr *MockDBStorageMockRecorder) GetRecordByFingerprint(arg0, arg1, arg2 interface{}) *gomock.Call
GetRecordByFingerprint indicates an expected call of GetRecordByFingerprint
func (*MockDBStorageMockRecorder) GetRecordByFingerprintTx ¶
func (mr *MockDBStorageMockRecorder) GetRecordByFingerprintTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetRecordByFingerprintTx indicates an expected call of GetRecordByFingerprintTx
func (*MockDBStorageMockRecorder) GetRecordTx ¶
func (mr *MockDBStorageMockRecorder) GetRecordTx(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetRecordTx indicates an expected call of GetRecordTx
func (*MockDBStorageMockRecorder) GetSysConfig ¶
func (mr *MockDBStorageMockRecorder) GetSysConfig(arg0, arg1 interface{}) *gomock.Call
GetSysConfig indicates an expected call of GetSysConfig
func (*MockDBStorageMockRecorder) GetTask ¶
func (mr *MockDBStorageMockRecorder) GetTask(arg0 interface{}) *gomock.Call
GetTask indicates an expected call of GetTask
func (*MockDBStorageMockRecorder) GetTaskTx ¶
func (mr *MockDBStorageMockRecorder) GetTaskTx(arg0, arg1 interface{}) *gomock.Call
GetTaskTx indicates an expected call of GetTaskTx
func (*MockDBStorageMockRecorder) List ¶
func (mr *MockDBStorageMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockDBStorageMockRecorder) ListApplication ¶
func (mr *MockDBStorageMockRecorder) ListApplication(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListApplication indicates an expected call of ListApplication
func (*MockDBStorageMockRecorder) ListBatch ¶
func (mr *MockDBStorageMockRecorder) ListBatch(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListBatch indicates an expected call of ListBatch
func (*MockDBStorageMockRecorder) ListBatchTx ¶
func (mr *MockDBStorageMockRecorder) ListBatchTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListBatchTx indicates an expected call of ListBatchTx
func (*MockDBStorageMockRecorder) ListIndex ¶
func (mr *MockDBStorageMockRecorder) ListIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListIndex indicates an expected call of ListIndex
func (*MockDBStorageMockRecorder) ListIndexTx ¶
func (mr *MockDBStorageMockRecorder) ListIndexTx(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListIndexTx indicates an expected call of ListIndexTx
func (*MockDBStorageMockRecorder) ListRecord ¶
func (mr *MockDBStorageMockRecorder) ListRecord(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ListRecord indicates an expected call of ListRecord
func (*MockDBStorageMockRecorder) ListRecordTx ¶
func (mr *MockDBStorageMockRecorder) ListRecordTx(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
ListRecordTx indicates an expected call of ListRecordTx
func (*MockDBStorageMockRecorder) ListSysConfig ¶
func (mr *MockDBStorageMockRecorder) ListSysConfig(arg0, arg1, arg2 interface{}) *gomock.Call
ListSysConfig indicates an expected call of ListSysConfig
func (*MockDBStorageMockRecorder) ListSysConfigAll ¶
func (mr *MockDBStorageMockRecorder) ListSysConfigAll(arg0 interface{}) *gomock.Call
ListSysConfigAll indicates an expected call of ListSysConfigAll
func (*MockDBStorageMockRecorder) RefreshIndex ¶
func (mr *MockDBStorageMockRecorder) RefreshIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
RefreshIndex indicates an expected call of RefreshIndex
func (*MockDBStorageMockRecorder) Transact ¶
func (mr *MockDBStorageMockRecorder) Transact(arg0 interface{}) *gomock.Call
Transact indicates an expected call of Transact
func (*MockDBStorageMockRecorder) UpdateApplication ¶
func (mr *MockDBStorageMockRecorder) UpdateApplication(arg0, arg1 interface{}) *gomock.Call
UpdateApplication indicates an expected call of UpdateApplication
func (*MockDBStorageMockRecorder) UpdateApplicationWithTx ¶
func (mr *MockDBStorageMockRecorder) UpdateApplicationWithTx(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateApplicationWithTx indicates an expected call of UpdateApplicationWithTx
func (*MockDBStorageMockRecorder) UpdateBatch ¶
func (mr *MockDBStorageMockRecorder) UpdateBatch(arg0 interface{}) *gomock.Call
UpdateBatch indicates an expected call of UpdateBatch
func (*MockDBStorageMockRecorder) UpdateBatchTx ¶
func (mr *MockDBStorageMockRecorder) UpdateBatchTx(arg0, arg1 interface{}) *gomock.Call
UpdateBatchTx indicates an expected call of UpdateBatchTx
func (*MockDBStorageMockRecorder) UpdateCallback ¶
func (mr *MockDBStorageMockRecorder) UpdateCallback(arg0 interface{}) *gomock.Call
UpdateCallback indicates an expected call of UpdateCallback
func (*MockDBStorageMockRecorder) UpdateCallbackTx ¶
func (mr *MockDBStorageMockRecorder) UpdateCallbackTx(arg0, arg1 interface{}) *gomock.Call
UpdateCallbackTx indicates an expected call of UpdateCallbackTx
func (*MockDBStorageMockRecorder) UpdateDesire ¶
func (mr *MockDBStorageMockRecorder) UpdateDesire(arg0 interface{}) *gomock.Call
UpdateDesire indicates an expected call of UpdateDesire
func (*MockDBStorageMockRecorder) UpdateRecord ¶
func (mr *MockDBStorageMockRecorder) UpdateRecord(arg0 interface{}) *gomock.Call
UpdateRecord indicates an expected call of UpdateRecord
func (*MockDBStorageMockRecorder) UpdateRecordTx ¶
func (mr *MockDBStorageMockRecorder) UpdateRecordTx(arg0, arg1 interface{}) *gomock.Call
UpdateRecordTx indicates an expected call of UpdateRecordTx
func (*MockDBStorageMockRecorder) UpdateReport ¶
func (mr *MockDBStorageMockRecorder) UpdateReport(arg0 interface{}) *gomock.Call
UpdateReport indicates an expected call of UpdateReport
func (*MockDBStorageMockRecorder) UpdateSysConfig ¶
func (mr *MockDBStorageMockRecorder) UpdateSysConfig(arg0 interface{}) *gomock.Call
UpdateSysConfig indicates an expected call of UpdateSysConfig
func (*MockDBStorageMockRecorder) UpdateTask ¶
func (mr *MockDBStorageMockRecorder) UpdateTask(arg0 interface{}) *gomock.Call
UpdateTask indicates an expected call of UpdateTask
func (*MockDBStorageMockRecorder) UpdateTaskTx ¶
func (mr *MockDBStorageMockRecorder) UpdateTaskTx(arg0, arg1 interface{}) *gomock.Call
UpdateTaskTx indicates an expected call of UpdateTaskTx
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 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) CheckLicense ¶
func (m *MockLicense) CheckLicense() error
CheckLicense mocks base method
func (*MockLicense) CheckQuota ¶
func (m *MockLicense) CheckQuota(arg0 string, arg1 plugin.QuotaCollector) error
CheckQuota 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) ProtectCode ¶
func (m *MockLicense) ProtectCode() error
ProtectCode mocks base method
type MockLicenseMockRecorder ¶
type MockLicenseMockRecorder struct {
// contains filtered or unexported fields
}
MockLicenseMockRecorder is the mock recorder for MockLicense
func (*MockLicenseMockRecorder) CheckLicense ¶
func (mr *MockLicenseMockRecorder) CheckLicense() *gomock.Call
CheckLicense indicates an expected call of CheckLicense
func (*MockLicenseMockRecorder) CheckQuota ¶
func (mr *MockLicenseMockRecorder) CheckQuota(arg0, arg1 interface{}) *gomock.Call
CheckQuota indicates an expected call of CheckQuota
func (*MockLicenseMockRecorder) Close ¶
func (mr *MockLicenseMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockLicenseMockRecorder) ProtectCode ¶
func (mr *MockLicenseMockRecorder) ProtectCode() *gomock.Call
ProtectCode indicates an expected call of ProtectCode
type MockModelStorage ¶
type MockModelStorage struct {
// contains filtered or unexported fields
}
MockModelStorage is a mock of ModelStorage interface
func NewMockModelStorage ¶
func NewMockModelStorage(ctrl *gomock.Controller) *MockModelStorage
NewMockModelStorage creates a new mock instance
func (*MockModelStorage) CreateApplication ¶
func (m *MockModelStorage) CreateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)
CreateApplication mocks base method
func (*MockModelStorage) CreateConfig ¶
func (m *MockModelStorage) CreateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
CreateConfig mocks base method
func (*MockModelStorage) CreateNamespace ¶
CreateNamespace mocks base method
func (*MockModelStorage) CreateNode ¶
CreateNode mocks base method
func (*MockModelStorage) CreateSecret ¶
CreateSecret mocks base method
func (*MockModelStorage) Delete ¶
func (m *MockModelStorage) Delete(arg0, arg1 string) error
Delete mocks base method
func (*MockModelStorage) DeleteApplication ¶
func (m *MockModelStorage) DeleteApplication(arg0, arg1 string) error
DeleteApplication mocks base method
func (*MockModelStorage) DeleteConfig ¶
func (m *MockModelStorage) DeleteConfig(arg0, arg1 string) error
DeleteConfig mocks base method
func (*MockModelStorage) DeleteNamespace ¶
func (m *MockModelStorage) DeleteNamespace(arg0 *models.Namespace) error
DeleteNamespace mocks base method
func (*MockModelStorage) DeleteNode ¶
func (m *MockModelStorage) DeleteNode(arg0, arg1 string) error
DeleteNode mocks base method
func (*MockModelStorage) DeleteSecret ¶
func (m *MockModelStorage) DeleteSecret(arg0, arg1 string) error
DeleteSecret mocks base method
func (*MockModelStorage) EXPECT ¶
func (m *MockModelStorage) EXPECT() *MockModelStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockModelStorage) Get ¶
func (m *MockModelStorage) Get(arg0, arg1 string) (*models.Shadow, error)
Get mocks base method
func (*MockModelStorage) GetApplication ¶
func (m *MockModelStorage) GetApplication(arg0, arg1, arg2 string) (*v1.Application, error)
GetApplication mocks base method
func (*MockModelStorage) GetConfig ¶
func (m *MockModelStorage) GetConfig(arg0, arg1, arg2 string) (*v1.Configuration, error)
GetConfig mocks base method
func (*MockModelStorage) GetNamespace ¶
func (m *MockModelStorage) GetNamespace(arg0 string) (*models.Namespace, error)
GetNamespace mocks base method
func (*MockModelStorage) GetNode ¶
func (m *MockModelStorage) GetNode(arg0, arg1 string) (*v1.Node, error)
GetNode mocks base method
func (*MockModelStorage) GetSecret ¶
func (m *MockModelStorage) GetSecret(arg0, arg1, arg2 string) (*v1.Secret, error)
GetSecret mocks base method
func (*MockModelStorage) IsLabelMatch ¶
IsLabelMatch mocks base method
func (*MockModelStorage) List ¶
func (m *MockModelStorage) List(arg0 string, arg1 *models.NodeList) (*models.ShadowList, error)
List mocks base method
func (*MockModelStorage) ListApplication ¶
func (m *MockModelStorage) ListApplication(arg0 string, arg1 *models.ListOptions) (*models.ApplicationList, error)
ListApplication mocks base method
func (*MockModelStorage) ListConfig ¶
func (m *MockModelStorage) ListConfig(arg0 string, arg1 *models.ListOptions) (*models.ConfigurationList, error)
ListConfig mocks base method
func (*MockModelStorage) ListNode ¶
func (m *MockModelStorage) ListNode(arg0 string, arg1 *models.ListOptions) (*models.NodeList, error)
ListNode mocks base method
func (*MockModelStorage) ListSecret ¶
func (m *MockModelStorage) ListSecret(arg0 string, arg1 *models.ListOptions) (*models.SecretList, error)
ListSecret mocks base method
func (*MockModelStorage) UpdateApplication ¶
func (m *MockModelStorage) UpdateApplication(arg0 string, arg1 *v1.Application) (*v1.Application, error)
UpdateApplication mocks base method
func (*MockModelStorage) UpdateConfig ¶
func (m *MockModelStorage) UpdateConfig(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
UpdateConfig mocks base method
func (*MockModelStorage) UpdateDesire ¶
UpdateDesire mocks base method
func (*MockModelStorage) UpdateNode ¶
UpdateNode mocks base method
func (*MockModelStorage) UpdateReport ¶
UpdateReport mocks base method
func (*MockModelStorage) UpdateSecret ¶
UpdateSecret mocks base method
type MockModelStorageMockRecorder ¶
type MockModelStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockModelStorageMockRecorder is the mock recorder for MockModelStorage
func (*MockModelStorageMockRecorder) Close ¶
func (mr *MockModelStorageMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockModelStorageMockRecorder) Create ¶
func (mr *MockModelStorageMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockModelStorageMockRecorder) CreateApplication ¶
func (mr *MockModelStorageMockRecorder) CreateApplication(arg0, arg1 interface{}) *gomock.Call
CreateApplication indicates an expected call of CreateApplication
func (*MockModelStorageMockRecorder) CreateConfig ¶
func (mr *MockModelStorageMockRecorder) CreateConfig(arg0, arg1 interface{}) *gomock.Call
CreateConfig indicates an expected call of CreateConfig
func (*MockModelStorageMockRecorder) CreateNamespace ¶
func (mr *MockModelStorageMockRecorder) CreateNamespace(arg0 interface{}) *gomock.Call
CreateNamespace indicates an expected call of CreateNamespace
func (*MockModelStorageMockRecorder) CreateNode ¶
func (mr *MockModelStorageMockRecorder) CreateNode(arg0, arg1 interface{}) *gomock.Call
CreateNode indicates an expected call of CreateNode
func (*MockModelStorageMockRecorder) CreateSecret ¶
func (mr *MockModelStorageMockRecorder) CreateSecret(arg0, arg1 interface{}) *gomock.Call
CreateSecret indicates an expected call of CreateSecret
func (*MockModelStorageMockRecorder) Delete ¶
func (mr *MockModelStorageMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockModelStorageMockRecorder) DeleteApplication ¶
func (mr *MockModelStorageMockRecorder) DeleteApplication(arg0, arg1 interface{}) *gomock.Call
DeleteApplication indicates an expected call of DeleteApplication
func (*MockModelStorageMockRecorder) DeleteConfig ¶
func (mr *MockModelStorageMockRecorder) DeleteConfig(arg0, arg1 interface{}) *gomock.Call
DeleteConfig indicates an expected call of DeleteConfig
func (*MockModelStorageMockRecorder) DeleteNamespace ¶
func (mr *MockModelStorageMockRecorder) DeleteNamespace(arg0 interface{}) *gomock.Call
DeleteNamespace indicates an expected call of DeleteNamespace
func (*MockModelStorageMockRecorder) DeleteNode ¶
func (mr *MockModelStorageMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call
DeleteNode indicates an expected call of DeleteNode
func (*MockModelStorageMockRecorder) DeleteSecret ¶
func (mr *MockModelStorageMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call
DeleteSecret indicates an expected call of DeleteSecret
func (*MockModelStorageMockRecorder) Get ¶
func (mr *MockModelStorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockModelStorageMockRecorder) GetApplication ¶
func (mr *MockModelStorageMockRecorder) GetApplication(arg0, arg1, arg2 interface{}) *gomock.Call
GetApplication indicates an expected call of GetApplication
func (*MockModelStorageMockRecorder) GetConfig ¶
func (mr *MockModelStorageMockRecorder) GetConfig(arg0, arg1, arg2 interface{}) *gomock.Call
GetConfig indicates an expected call of GetConfig
func (*MockModelStorageMockRecorder) GetNamespace ¶
func (mr *MockModelStorageMockRecorder) GetNamespace(arg0 interface{}) *gomock.Call
GetNamespace indicates an expected call of GetNamespace
func (*MockModelStorageMockRecorder) GetNode ¶
func (mr *MockModelStorageMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call
GetNode indicates an expected call of GetNode
func (*MockModelStorageMockRecorder) GetSecret ¶
func (mr *MockModelStorageMockRecorder) GetSecret(arg0, arg1, arg2 interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret
func (*MockModelStorageMockRecorder) IsLabelMatch ¶
func (mr *MockModelStorageMockRecorder) IsLabelMatch(arg0, arg1 interface{}) *gomock.Call
IsLabelMatch indicates an expected call of IsLabelMatch
func (*MockModelStorageMockRecorder) List ¶
func (mr *MockModelStorageMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockModelStorageMockRecorder) ListApplication ¶
func (mr *MockModelStorageMockRecorder) ListApplication(arg0, arg1 interface{}) *gomock.Call
ListApplication indicates an expected call of ListApplication
func (*MockModelStorageMockRecorder) ListConfig ¶
func (mr *MockModelStorageMockRecorder) ListConfig(arg0, arg1 interface{}) *gomock.Call
ListConfig indicates an expected call of ListConfig
func (*MockModelStorageMockRecorder) ListNode ¶
func (mr *MockModelStorageMockRecorder) ListNode(arg0, arg1 interface{}) *gomock.Call
ListNode indicates an expected call of ListNode
func (*MockModelStorageMockRecorder) ListSecret ¶
func (mr *MockModelStorageMockRecorder) ListSecret(arg0, arg1 interface{}) *gomock.Call
ListSecret indicates an expected call of ListSecret
func (*MockModelStorageMockRecorder) UpdateApplication ¶
func (mr *MockModelStorageMockRecorder) UpdateApplication(arg0, arg1 interface{}) *gomock.Call
UpdateApplication indicates an expected call of UpdateApplication
func (*MockModelStorageMockRecorder) UpdateConfig ¶
func (mr *MockModelStorageMockRecorder) UpdateConfig(arg0, arg1 interface{}) *gomock.Call
UpdateConfig indicates an expected call of UpdateConfig
func (*MockModelStorageMockRecorder) UpdateDesire ¶
func (mr *MockModelStorageMockRecorder) UpdateDesire(arg0 interface{}) *gomock.Call
UpdateDesire indicates an expected call of UpdateDesire
func (*MockModelStorageMockRecorder) UpdateNode ¶
func (mr *MockModelStorageMockRecorder) UpdateNode(arg0, arg1 interface{}) *gomock.Call
UpdateNode indicates an expected call of UpdateNode
func (*MockModelStorageMockRecorder) UpdateReport ¶
func (mr *MockModelStorageMockRecorder) UpdateReport(arg0 interface{}) *gomock.Call
UpdateReport indicates an expected call of UpdateReport
func (*MockModelStorageMockRecorder) UpdateSecret ¶
func (mr *MockModelStorageMockRecorder) UpdateSecret(arg0, arg1 interface{}) *gomock.Call
UpdateSecret indicates an expected call of UpdateSecret
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) CreateBucket ¶
func (m *MockObject) CreateBucket(arg0, arg1, arg2 string) error
CreateBucket mocks base method
func (*MockObject) DeleteObject ¶
func (m *MockObject) DeleteObject(arg0, arg1, arg2 string) error
DeleteObject 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) GenObjectURL ¶
func (m *MockObject) GenObjectURL(arg0, arg1, arg2 string) (*models.ObjectURL, error)
GenObjectURL mocks base method
func (*MockObject) GetObject ¶
func (m *MockObject) GetObject(arg0, arg1, arg2 string) (*models.Object, error)
GetObject mocks base method
func (*MockObject) HeadBucket ¶
func (m *MockObject) HeadBucket(arg0, arg1 string) error
HeadBucket mocks base method
func (*MockObject) HeadObject ¶
func (m *MockObject) HeadObject(arg0, arg1, arg2 string) (*models.ObjectMeta, error)
HeadObject mocks base method
func (*MockObject) ListBucketObjects ¶
func (m *MockObject) ListBucketObjects(arg0, arg1 string, arg2 *models.ObjectParams) (*models.ListObjectsResult, error)
ListBucketObjects mocks base method
func (*MockObject) ListBuckets ¶
func (m *MockObject) ListBuckets(arg0 string) ([]models.Bucket, error)
ListBuckets mocks base method
func (*MockObject) PutObject ¶
func (m *MockObject) PutObject(arg0, arg1, arg2 string, arg3 []byte) error
PutObject mocks base method
func (*MockObject) PutObjectFromURL ¶
func (m *MockObject) PutObjectFromURL(arg0, arg1, arg2, arg3 string) error
PutObjectFromURL 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) CreateBucket ¶
func (mr *MockObjectMockRecorder) CreateBucket(arg0, arg1, arg2 interface{}) *gomock.Call
CreateBucket indicates an expected call of CreateBucket
func (*MockObjectMockRecorder) DeleteObject ¶
func (mr *MockObjectMockRecorder) DeleteObject(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteObject indicates an expected call of DeleteObject
func (*MockObjectMockRecorder) GenObjectURL ¶
func (mr *MockObjectMockRecorder) GenObjectURL(arg0, arg1, arg2 interface{}) *gomock.Call
GenObjectURL indicates an expected call of GenObjectURL
func (*MockObjectMockRecorder) GetObject ¶
func (mr *MockObjectMockRecorder) GetObject(arg0, arg1, arg2 interface{}) *gomock.Call
GetObject indicates an expected call of GetObject
func (*MockObjectMockRecorder) HeadBucket ¶
func (mr *MockObjectMockRecorder) HeadBucket(arg0, arg1 interface{}) *gomock.Call
HeadBucket indicates an expected call of HeadBucket
func (*MockObjectMockRecorder) HeadObject ¶
func (mr *MockObjectMockRecorder) HeadObject(arg0, arg1, arg2 interface{}) *gomock.Call
HeadObject indicates an expected call of HeadObject
func (*MockObjectMockRecorder) ListBucketObjects ¶
func (mr *MockObjectMockRecorder) ListBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call
ListBucketObjects indicates an expected call of ListBucketObjects
func (*MockObjectMockRecorder) ListBuckets ¶
func (mr *MockObjectMockRecorder) ListBuckets(arg0 interface{}) *gomock.Call
ListBuckets indicates an expected call of ListBuckets
func (*MockObjectMockRecorder) PutObject ¶
func (mr *MockObjectMockRecorder) PutObject(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PutObject indicates an expected call of PutObject
func (*MockObjectMockRecorder) PutObjectFromURL ¶
func (mr *MockObjectMockRecorder) PutObjectFromURL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PutObjectFromURL indicates an expected call of PutObjectFromURL
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
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(arg0, arg1 interface{}) *gomock.Call
CreateClientCert indicates an expected call of CreateClientCert
func (*MockPKIMockRecorder) CreateRootCert ¶
func (mr *MockPKIMockRecorder) CreateRootCert(arg0, arg1 interface{}) *gomock.Call
CreateRootCert indicates an expected call of CreateRootCert
func (*MockPKIMockRecorder) CreateServerCert ¶
func (mr *MockPKIMockRecorder) CreateServerCert(arg0, arg1 interface{}) *gomock.Call
CreateServerCert indicates an expected call of CreateServerCert
func (*MockPKIMockRecorder) DeleteClientCert ¶
func (mr *MockPKIMockRecorder) DeleteClientCert(arg0 interface{}) *gomock.Call
DeleteClientCert indicates an expected call of DeleteClientCert
func (*MockPKIMockRecorder) DeleteRootCert ¶
func (mr *MockPKIMockRecorder) DeleteRootCert(arg0 interface{}) *gomock.Call
DeleteRootCert indicates an expected call of DeleteRootCert
func (*MockPKIMockRecorder) DeleteServerCert ¶
func (mr *MockPKIMockRecorder) DeleteServerCert(arg0 interface{}) *gomock.Call
DeleteServerCert indicates an expected call of DeleteServerCert
func (*MockPKIMockRecorder) GetClientCert ¶
func (mr *MockPKIMockRecorder) GetClientCert(arg0 interface{}) *gomock.Call
GetClientCert indicates an expected call of GetClientCert
func (*MockPKIMockRecorder) GetRootCert ¶
func (mr *MockPKIMockRecorder) GetRootCert(arg0 interface{}) *gomock.Call
GetRootCert indicates an expected call of GetRootCert
func (*MockPKIMockRecorder) GetServerCert ¶
func (mr *MockPKIMockRecorder) GetServerCert(arg0 interface{}) *gomock.Call
GetServerCert indicates an expected call of GetServerCert
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