Documentation ¶
Overview ¶
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Package service is a generated GoMock package.
Index ¶
- type MockApplicationService
- func (m *MockApplicationService) Create(arg0 string, arg1 *v1.Application) (*v1.Application, error)
- func (m *MockApplicationService) CreateWithBase(arg0 string, arg1, arg2 *v1.Application) (*v1.Application, error)
- func (m *MockApplicationService) Delete(arg0, arg1, arg2 string) error
- func (m *MockApplicationService) EXPECT() *MockApplicationServiceMockRecorder
- func (m *MockApplicationService) Get(arg0, arg1, arg2 string) (*v1.Application, error)
- func (m *MockApplicationService) List(arg0 string, arg1 *models.ListOptions) (*models.ApplicationList, error)
- func (m *MockApplicationService) Update(arg0 string, arg1 *v1.Application) (*v1.Application, error)
- type MockApplicationServiceMockRecorder
- func (mr *MockApplicationServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) CreateWithBase(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockApplicationServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockAuthService
- func (m *MockAuthService) Authenticate(arg0 *common.Context) error
- func (m *MockAuthService) EXPECT() *MockAuthServiceMockRecorder
- func (m *MockAuthService) GenToken(arg0 map[string]interface{}) (string, error)
- func (m *MockAuthService) SignToken(arg0 []byte) ([]byte, error)
- func (m *MockAuthService) VerifyToken(arg0, arg1 []byte) bool
- type MockAuthServiceMockRecorder
- func (mr *MockAuthServiceMockRecorder) Authenticate(arg0 interface{}) *gomock.Call
- func (mr *MockAuthServiceMockRecorder) GenToken(arg0 interface{}) *gomock.Call
- func (mr *MockAuthServiceMockRecorder) SignToken(arg0 interface{}) *gomock.Call
- func (mr *MockAuthServiceMockRecorder) VerifyToken(arg0, arg1 interface{}) *gomock.Call
- type MockCacheService
- type MockCacheServiceMockRecorder
- type MockConfigService
- func (m *MockConfigService) Create(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
- func (m *MockConfigService) Delete(arg0, arg1 string) error
- func (m *MockConfigService) EXPECT() *MockConfigServiceMockRecorder
- func (m *MockConfigService) Get(arg0, arg1, arg2 string) (*v1.Configuration, error)
- func (m *MockConfigService) List(arg0 string, arg1 *models.ListOptions) (*models.ConfigurationList, error)
- func (m *MockConfigService) Update(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
- func (m *MockConfigService) Upsert(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
- type MockConfigServiceMockRecorder
- func (mr *MockConfigServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockConfigServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigServiceMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
- type MockFunctionService
- func (m *MockFunctionService) EXPECT() *MockFunctionServiceMockRecorder
- func (m *MockFunctionService) GetFunction(arg0, arg1, arg2, arg3 string) (*models.Function, error)
- func (m *MockFunctionService) List(arg0, arg1 string) ([]models.Function, error)
- func (m *MockFunctionService) ListFunctionVersions(arg0, arg1, arg2 string) ([]models.Function, error)
- func (m *MockFunctionService) ListRuntimes() (map[string]string, error)
- func (m *MockFunctionService) ListSources() []models.FunctionSource
- type MockFunctionServiceMockRecorder
- func (mr *MockFunctionServiceMockRecorder) GetFunction(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) ListFunctionVersions(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) ListRuntimes() *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) ListSources() *gomock.Call
- type MockIndexService
- func (m *MockIndexService) EXPECT() *MockIndexServiceMockRecorder
- func (m *MockIndexService) ListAppIndexByConfig(arg0, arg1 string) ([]string, error)
- func (m *MockIndexService) ListAppIndexBySecret(arg0, arg1 string) ([]string, error)
- func (m *MockIndexService) ListAppsByNode(arg0, arg1 string) ([]string, error)
- func (m *MockIndexService) ListConfigIndexByApp(arg0, arg1 string) ([]string, error)
- func (m *MockIndexService) ListIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) ([]string, error)
- func (m *MockIndexService) ListNodesByApp(arg0, arg1 string) ([]string, error)
- func (m *MockIndexService) RefreshAppIndexByConfig(arg0, arg1 string, arg2 []string) error
- func (m *MockIndexService) RefreshAppsIndexByNode(arg0, arg1 string, arg2 []string) error
- func (m *MockIndexService) RefreshConfigIndexByApp(arg0, arg1 string, arg2 []string) error
- func (m *MockIndexService) RefreshIndex(arg0 string, arg1, arg2 common.Resource, arg3 string, arg4 []string) error
- func (m *MockIndexService) RefreshNodesIndexByApp(arg0, arg1 string, arg2 []string) error
- func (m *MockIndexService) RefreshSecretIndexByApp(arg0, arg1 string, arg2 []string) error
- type MockIndexServiceMockRecorder
- func (mr *MockIndexServiceMockRecorder) ListAppIndexByConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) ListAppIndexBySecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) ListAppsByNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) ListConfigIndexByApp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) ListIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) ListNodesByApp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) RefreshAppIndexByConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) RefreshAppsIndexByNode(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) RefreshConfigIndexByApp(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) RefreshIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) RefreshNodesIndexByApp(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockIndexServiceMockRecorder) RefreshSecretIndexByApp(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockInitService
- type MockInitServiceMockRecorder
- type MockLicenseService
- func (m *MockLicenseService) AcquireQuota(arg0, arg1 string, arg2 int) error
- func (m *MockLicenseService) CheckLicense() error
- func (m *MockLicenseService) CheckQuota(arg0 string, arg1 plugin.QuotaCollector) error
- func (m *MockLicenseService) CreateQuota(arg0 string, arg1 map[string]int) error
- func (m *MockLicenseService) DeleteQuota(arg0, arg1 string) error
- func (m *MockLicenseService) DeleteQuotaByNamespace(arg0 string) error
- func (m *MockLicenseService) EXPECT() *MockLicenseServiceMockRecorder
- func (m *MockLicenseService) GetDefaultQuotas(arg0 string) (map[string]int, error)
- func (m *MockLicenseService) GetQuota(arg0 string) (map[string]int, error)
- func (m *MockLicenseService) ProtectCode() error
- func (m *MockLicenseService) ReleaseQuota(arg0, arg1 string, arg2 int) error
- func (m *MockLicenseService) UpdateQuota(arg0, arg1 string, arg2 int) error
- type MockLicenseServiceMockRecorder
- func (mr *MockLicenseServiceMockRecorder) AcquireQuota(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) CheckLicense() *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) CheckQuota(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) CreateQuota(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) DeleteQuota(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) DeleteQuotaByNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) GetDefaultQuotas(arg0 interface{}) *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) GetQuota(arg0 interface{}) *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) ProtectCode() *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) ReleaseQuota(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLicenseServiceMockRecorder) UpdateQuota(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockNamespaceService
- func (m *MockNamespaceService) Create(arg0 *models.Namespace) (*models.Namespace, error)
- func (m *MockNamespaceService) Delete(arg0 *models.Namespace) error
- func (m *MockNamespaceService) EXPECT() *MockNamespaceServiceMockRecorder
- func (m *MockNamespaceService) Get(arg0 string) (*models.Namespace, error)
- type MockNamespaceServiceMockRecorder
- type MockNodeService
- func (m *MockNodeService) Count(arg0 string) (map[string]int, error)
- func (m *MockNodeService) Create(arg0 string, arg1 *v1.Node) (*v1.Node, error)
- func (m *MockNodeService) Delete(arg0, arg1 string) error
- func (m *MockNodeService) DeleteNodeAppVersion(arg0 string, arg1 *v1.Application) ([]string, error)
- func (m *MockNodeService) EXPECT() *MockNodeServiceMockRecorder
- func (m *MockNodeService) Get(arg0, arg1 string) (*v1.Node, error)
- func (m *MockNodeService) GetDesire(arg0, arg1 string) (*v1.Desire, error)
- func (m *MockNodeService) GetNodeProperties(arg0, arg1 string) (*models.NodeProperties, error)
- func (m *MockNodeService) List(arg0 string, arg1 *models.ListOptions) (*models.NodeList, error)
- func (m *MockNodeService) Update(arg0 string, arg1 *v1.Node) (*v1.Node, error)
- func (m *MockNodeService) UpdateDesire(arg0, arg1 string, arg2 v1.Desire) (*models.Shadow, error)
- func (m *MockNodeService) UpdateNodeAppVersion(arg0 string, arg1 *v1.Application) ([]string, error)
- func (m *MockNodeService) UpdateNodeMode(arg0, arg1, arg2 string) error
- func (m *MockNodeService) UpdateNodeProperties(arg0, arg1 string, arg2 *models.NodeProperties) (*models.NodeProperties, error)
- func (m *MockNodeService) UpdateReport(arg0, arg1 string, arg2 v1.Report) (*models.Shadow, error)
- type MockNodeServiceMockRecorder
- func (mr *MockNodeServiceMockRecorder) Count(arg0 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) DeleteNodeAppVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) GetDesire(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) GetNodeProperties(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) UpdateDesire(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) UpdateNodeAppVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) UpdateNodeMode(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) UpdateNodeProperties(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNodeServiceMockRecorder) UpdateReport(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockObjectService
- func (m *MockObjectService) CreateInternalBucketIfNotExist(arg0, arg1, arg2, arg3 string) (*models.Bucket, error)
- func (m *MockObjectService) EXPECT() *MockObjectServiceMockRecorder
- func (m *MockObjectService) GenExternalObjectURL(arg0 models.ExternalObjectInfo, arg1, arg2, arg3 string) (*models.ObjectURL, error)
- func (m *MockObjectService) GenInternalObjectURL(arg0, arg1, arg2, arg3 string) (*models.ObjectURL, error)
- func (m *MockObjectService) ListExternalBucketObjects(arg0 models.ExternalObjectInfo, arg1, arg2 string) (*models.ListObjectsResult, error)
- func (m *MockObjectService) ListExternalBuckets(arg0 models.ExternalObjectInfo, arg1 string) ([]models.Bucket, error)
- func (m *MockObjectService) ListInternalBucketObjects(arg0, arg1, arg2 string) (*models.ListObjectsResult, error)
- func (m *MockObjectService) ListInternalBuckets(arg0, arg1 string) ([]models.Bucket, error)
- func (m *MockObjectService) ListSources() map[string]models.ObjectStorageSourceV2
- func (m *MockObjectService) PutInternalObjectFromURLIfNotExist(arg0, arg1, arg2, arg3, arg4 string) error
- type MockObjectServiceMockRecorder
- func (mr *MockObjectServiceMockRecorder) CreateInternalBucketIfNotExist(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockObjectServiceMockRecorder) GenExternalObjectURL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockObjectServiceMockRecorder) GenInternalObjectURL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockObjectServiceMockRecorder) ListExternalBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectServiceMockRecorder) ListExternalBuckets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockObjectServiceMockRecorder) ListInternalBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockObjectServiceMockRecorder) ListInternalBuckets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockObjectServiceMockRecorder) ListSources() *gomock.Call
- func (mr *MockObjectServiceMockRecorder) PutInternalObjectFromURLIfNotExist(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockPKIService
- func (m *MockPKIService) DeleteClientCertificate(arg0 string) error
- func (m *MockPKIService) DeleteServerCertificate(arg0 string) error
- func (m *MockPKIService) EXPECT() *MockPKIServiceMockRecorder
- func (m *MockPKIService) GetCA() ([]byte, error)
- func (m *MockPKIService) SignClientCertificate(arg0 string, arg1 models.AltNames) (*models.PEMCredential, error)
- func (m *MockPKIService) SignServerCertificate(arg0 string, arg1 models.AltNames) (*models.PEMCredential, error)
- type MockPKIServiceMockRecorder
- func (mr *MockPKIServiceMockRecorder) DeleteClientCertificate(arg0 interface{}) *gomock.Call
- func (mr *MockPKIServiceMockRecorder) DeleteServerCertificate(arg0 interface{}) *gomock.Call
- func (mr *MockPKIServiceMockRecorder) GetCA() *gomock.Call
- func (mr *MockPKIServiceMockRecorder) SignClientCertificate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPKIServiceMockRecorder) SignServerCertificate(arg0, arg1 interface{}) *gomock.Call
- type MockPropertyService
- func (m *MockPropertyService) CountProperty(arg0 string) (int, error)
- func (m *MockPropertyService) CreateProperty(arg0 *models.Property) error
- func (m *MockPropertyService) DeleteProperty(arg0 string) error
- func (m *MockPropertyService) EXPECT() *MockPropertyServiceMockRecorder
- func (m *MockPropertyService) GetProperty(arg0 string) (*models.Property, error)
- func (m *MockPropertyService) GetPropertyValue(arg0 string) (string, error)
- func (m *MockPropertyService) ListProperty(arg0 *models.Filter) ([]models.Property, error)
- func (m *MockPropertyService) UpdateProperty(arg0 *models.Property) error
- type MockPropertyServiceMockRecorder
- func (mr *MockPropertyServiceMockRecorder) CountProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyServiceMockRecorder) CreateProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyServiceMockRecorder) DeleteProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyServiceMockRecorder) GetProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyServiceMockRecorder) GetPropertyValue(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyServiceMockRecorder) ListProperty(arg0 interface{}) *gomock.Call
- func (mr *MockPropertyServiceMockRecorder) UpdateProperty(arg0 interface{}) *gomock.Call
- type MockSecretService
- func (m *MockSecretService) Create(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)
- func (m *MockSecretService) Delete(arg0, arg1 string) error
- func (m *MockSecretService) EXPECT() *MockSecretServiceMockRecorder
- func (m *MockSecretService) Get(arg0, arg1, arg2 string) (*v1.Secret, error)
- func (m *MockSecretService) List(arg0 string, arg1 *models.ListOptions) (*models.SecretList, error)
- func (m *MockSecretService) Update(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)
- type MockSecretServiceMockRecorder
- func (mr *MockSecretServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSecretServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockSyncService
- type MockSyncServiceMockRecorder
- type MockTemplateService
- func (m *MockTemplateService) EXPECT() *MockTemplateServiceMockRecorder
- func (m *MockTemplateService) Execute(arg0, arg1 string, arg2 map[string]interface{}) ([]byte, error)
- func (m *MockTemplateService) GetTemplate(arg0 string) (string, error)
- func (m *MockTemplateService) ParseTemplate(arg0 string, arg1 map[string]interface{}) ([]byte, error)
- func (m *MockTemplateService) UnmarshalTemplate(arg0 string, arg1 map[string]interface{}, arg2 interface{}) error
- type MockTemplateServiceMockRecorder
- func (mr *MockTemplateServiceMockRecorder) Execute(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTemplateServiceMockRecorder) GetTemplate(arg0 interface{}) *gomock.Call
- func (mr *MockTemplateServiceMockRecorder) ParseTemplate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTemplateServiceMockRecorder) UnmarshalTemplate(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationService ¶
type MockApplicationService struct {
// contains filtered or unexported fields
}
MockApplicationService is a mock of ApplicationService interface
func NewMockApplicationService ¶
func NewMockApplicationService(ctrl *gomock.Controller) *MockApplicationService
NewMockApplicationService creates a new mock instance
func (*MockApplicationService) Create ¶
func (m *MockApplicationService) Create(arg0 string, arg1 *v1.Application) (*v1.Application, error)
Create mocks base method
func (*MockApplicationService) CreateWithBase ¶
func (m *MockApplicationService) CreateWithBase(arg0 string, arg1, arg2 *v1.Application) (*v1.Application, error)
CreateWithBase mocks base method
func (*MockApplicationService) Delete ¶
func (m *MockApplicationService) Delete(arg0, arg1, arg2 string) error
Delete mocks base method
func (*MockApplicationService) EXPECT ¶
func (m *MockApplicationService) EXPECT() *MockApplicationServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockApplicationService) Get ¶
func (m *MockApplicationService) Get(arg0, arg1, arg2 string) (*v1.Application, error)
Get mocks base method
func (*MockApplicationService) List ¶
func (m *MockApplicationService) List(arg0 string, arg1 *models.ListOptions) (*models.ApplicationList, error)
List mocks base method
func (*MockApplicationService) Update ¶
func (m *MockApplicationService) Update(arg0 string, arg1 *v1.Application) (*v1.Application, error)
Update mocks base method
type MockApplicationServiceMockRecorder ¶
type MockApplicationServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationServiceMockRecorder is the mock recorder for MockApplicationService
func (*MockApplicationServiceMockRecorder) Create ¶
func (mr *MockApplicationServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockApplicationServiceMockRecorder) CreateWithBase ¶
func (mr *MockApplicationServiceMockRecorder) CreateWithBase(arg0, arg1, arg2 interface{}) *gomock.Call
CreateWithBase indicates an expected call of CreateWithBase
func (*MockApplicationServiceMockRecorder) Delete ¶
func (mr *MockApplicationServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockApplicationServiceMockRecorder) Get ¶
func (mr *MockApplicationServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockApplicationServiceMockRecorder) List ¶
func (mr *MockApplicationServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockApplicationServiceMockRecorder) Update ¶
func (mr *MockApplicationServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockAuthService ¶
type MockAuthService struct {
// contains filtered or unexported fields
}
MockAuthService is a mock of AuthService interface
func NewMockAuthService ¶
func NewMockAuthService(ctrl *gomock.Controller) *MockAuthService
NewMockAuthService creates a new mock instance
func (*MockAuthService) Authenticate ¶
func (m *MockAuthService) Authenticate(arg0 *common.Context) error
Authenticate mocks base method
func (*MockAuthService) EXPECT ¶
func (m *MockAuthService) EXPECT() *MockAuthServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthService) GenToken ¶
func (m *MockAuthService) GenToken(arg0 map[string]interface{}) (string, error)
GenToken mocks base method
func (*MockAuthService) SignToken ¶
func (m *MockAuthService) SignToken(arg0 []byte) ([]byte, error)
SignToken mocks base method
func (*MockAuthService) VerifyToken ¶
func (m *MockAuthService) VerifyToken(arg0, arg1 []byte) bool
VerifyToken mocks base method
type MockAuthServiceMockRecorder ¶
type MockAuthServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceMockRecorder is the mock recorder for MockAuthService
func (*MockAuthServiceMockRecorder) Authenticate ¶
func (mr *MockAuthServiceMockRecorder) Authenticate(arg0 interface{}) *gomock.Call
Authenticate indicates an expected call of Authenticate
func (*MockAuthServiceMockRecorder) GenToken ¶
func (mr *MockAuthServiceMockRecorder) GenToken(arg0 interface{}) *gomock.Call
GenToken indicates an expected call of GenToken
func (*MockAuthServiceMockRecorder) SignToken ¶
func (mr *MockAuthServiceMockRecorder) SignToken(arg0 interface{}) *gomock.Call
SignToken indicates an expected call of SignToken
func (*MockAuthServiceMockRecorder) VerifyToken ¶
func (mr *MockAuthServiceMockRecorder) VerifyToken(arg0, arg1 interface{}) *gomock.Call
VerifyToken indicates an expected call of VerifyToken
type MockCacheService ¶
type MockCacheService struct {
// contains filtered or unexported fields
}
MockCacheService is a mock of CacheService interface
func NewMockCacheService ¶
func NewMockCacheService(ctrl *gomock.Controller) *MockCacheService
NewMockCacheService creates a new mock instance
func (*MockCacheService) EXPECT ¶
func (m *MockCacheService) EXPECT() *MockCacheServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCacheService) GetFileData ¶
func (m *MockCacheService) GetFileData(arg0 string) (string, error)
GetFileData mocks base method
func (*MockCacheService) GetProperty ¶
func (m *MockCacheService) GetProperty(arg0 string) (string, error)
GetProperty mocks base method
type MockCacheServiceMockRecorder ¶
type MockCacheServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheServiceMockRecorder is the mock recorder for MockCacheService
func (*MockCacheServiceMockRecorder) Get ¶
func (mr *MockCacheServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockCacheServiceMockRecorder) GetFileData ¶
func (mr *MockCacheServiceMockRecorder) GetFileData(arg0 interface{}) *gomock.Call
GetFileData indicates an expected call of GetFileData
func (*MockCacheServiceMockRecorder) GetProperty ¶
func (mr *MockCacheServiceMockRecorder) GetProperty(arg0 interface{}) *gomock.Call
GetProperty indicates an expected call of GetProperty
type MockConfigService ¶
type MockConfigService struct {
// contains filtered or unexported fields
}
MockConfigService is a mock of ConfigService interface
func NewMockConfigService ¶
func NewMockConfigService(ctrl *gomock.Controller) *MockConfigService
NewMockConfigService creates a new mock instance
func (*MockConfigService) Create ¶
func (m *MockConfigService) Create(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
Create mocks base method
func (*MockConfigService) Delete ¶
func (m *MockConfigService) Delete(arg0, arg1 string) error
Delete mocks base method
func (*MockConfigService) EXPECT ¶
func (m *MockConfigService) EXPECT() *MockConfigServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConfigService) Get ¶
func (m *MockConfigService) Get(arg0, arg1, arg2 string) (*v1.Configuration, error)
Get mocks base method
func (*MockConfigService) List ¶
func (m *MockConfigService) List(arg0 string, arg1 *models.ListOptions) (*models.ConfigurationList, error)
List mocks base method
func (*MockConfigService) Update ¶
func (m *MockConfigService) Update(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
Update mocks base method
func (*MockConfigService) Upsert ¶
func (m *MockConfigService) Upsert(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)
Upsert mocks base method
type MockConfigServiceMockRecorder ¶
type MockConfigServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigServiceMockRecorder is the mock recorder for MockConfigService
func (*MockConfigServiceMockRecorder) Create ¶
func (mr *MockConfigServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockConfigServiceMockRecorder) Delete ¶
func (mr *MockConfigServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockConfigServiceMockRecorder) Get ¶
func (mr *MockConfigServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockConfigServiceMockRecorder) List ¶
func (mr *MockConfigServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockConfigServiceMockRecorder) Update ¶
func (mr *MockConfigServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockConfigServiceMockRecorder) Upsert ¶
func (mr *MockConfigServiceMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert
type MockFunctionService ¶
type MockFunctionService struct {
// contains filtered or unexported fields
}
MockFunctionService is a mock of FunctionService interface
func NewMockFunctionService ¶
func NewMockFunctionService(ctrl *gomock.Controller) *MockFunctionService
NewMockFunctionService creates a new mock instance
func (*MockFunctionService) EXPECT ¶
func (m *MockFunctionService) EXPECT() *MockFunctionServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFunctionService) GetFunction ¶
func (m *MockFunctionService) GetFunction(arg0, arg1, arg2, arg3 string) (*models.Function, error)
GetFunction mocks base method
func (*MockFunctionService) List ¶
func (m *MockFunctionService) List(arg0, arg1 string) ([]models.Function, error)
List mocks base method
func (*MockFunctionService) ListFunctionVersions ¶
func (m *MockFunctionService) ListFunctionVersions(arg0, arg1, arg2 string) ([]models.Function, error)
ListFunctionVersions mocks base method
func (*MockFunctionService) ListRuntimes ¶
func (m *MockFunctionService) ListRuntimes() (map[string]string, error)
ListRuntimes mocks base method
func (*MockFunctionService) ListSources ¶
func (m *MockFunctionService) ListSources() []models.FunctionSource
ListSources mocks base method
type MockFunctionServiceMockRecorder ¶
type MockFunctionServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFunctionServiceMockRecorder is the mock recorder for MockFunctionService
func (*MockFunctionServiceMockRecorder) GetFunction ¶
func (mr *MockFunctionServiceMockRecorder) GetFunction(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetFunction indicates an expected call of GetFunction
func (*MockFunctionServiceMockRecorder) List ¶
func (mr *MockFunctionServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockFunctionServiceMockRecorder) ListFunctionVersions ¶
func (mr *MockFunctionServiceMockRecorder) ListFunctionVersions(arg0, arg1, arg2 interface{}) *gomock.Call
ListFunctionVersions indicates an expected call of ListFunctionVersions
func (*MockFunctionServiceMockRecorder) ListRuntimes ¶
func (mr *MockFunctionServiceMockRecorder) ListRuntimes() *gomock.Call
ListRuntimes indicates an expected call of ListRuntimes
func (*MockFunctionServiceMockRecorder) ListSources ¶
func (mr *MockFunctionServiceMockRecorder) ListSources() *gomock.Call
ListSources indicates an expected call of ListSources
type MockIndexService ¶
type MockIndexService struct {
// contains filtered or unexported fields
}
MockIndexService is a mock of IndexService interface
func NewMockIndexService ¶
func NewMockIndexService(ctrl *gomock.Controller) *MockIndexService
NewMockIndexService creates a new mock instance
func (*MockIndexService) EXPECT ¶
func (m *MockIndexService) EXPECT() *MockIndexServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIndexService) ListAppIndexByConfig ¶
func (m *MockIndexService) ListAppIndexByConfig(arg0, arg1 string) ([]string, error)
ListAppIndexByConfig mocks base method
func (*MockIndexService) ListAppIndexBySecret ¶
func (m *MockIndexService) ListAppIndexBySecret(arg0, arg1 string) ([]string, error)
ListAppIndexBySecret mocks base method
func (*MockIndexService) ListAppsByNode ¶
func (m *MockIndexService) ListAppsByNode(arg0, arg1 string) ([]string, error)
ListAppsByNode mocks base method
func (*MockIndexService) ListConfigIndexByApp ¶
func (m *MockIndexService) ListConfigIndexByApp(arg0, arg1 string) ([]string, error)
ListConfigIndexByApp mocks base method
func (*MockIndexService) ListIndex ¶
func (m *MockIndexService) ListIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) ([]string, error)
ListIndex mocks base method
func (*MockIndexService) ListNodesByApp ¶
func (m *MockIndexService) ListNodesByApp(arg0, arg1 string) ([]string, error)
ListNodesByApp mocks base method
func (*MockIndexService) RefreshAppIndexByConfig ¶
func (m *MockIndexService) RefreshAppIndexByConfig(arg0, arg1 string, arg2 []string) error
RefreshAppIndexByConfig mocks base method
func (*MockIndexService) RefreshAppsIndexByNode ¶
func (m *MockIndexService) RefreshAppsIndexByNode(arg0, arg1 string, arg2 []string) error
RefreshAppsIndexByNode mocks base method
func (*MockIndexService) RefreshConfigIndexByApp ¶
func (m *MockIndexService) RefreshConfigIndexByApp(arg0, arg1 string, arg2 []string) error
RefreshConfigIndexByApp mocks base method
func (*MockIndexService) RefreshIndex ¶
func (m *MockIndexService) RefreshIndex(arg0 string, arg1, arg2 common.Resource, arg3 string, arg4 []string) error
RefreshIndex mocks base method
func (*MockIndexService) RefreshNodesIndexByApp ¶
func (m *MockIndexService) RefreshNodesIndexByApp(arg0, arg1 string, arg2 []string) error
RefreshNodesIndexByApp mocks base method
func (*MockIndexService) RefreshSecretIndexByApp ¶
func (m *MockIndexService) RefreshSecretIndexByApp(arg0, arg1 string, arg2 []string) error
RefreshSecretIndexByApp mocks base method
type MockIndexServiceMockRecorder ¶
type MockIndexServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIndexServiceMockRecorder is the mock recorder for MockIndexService
func (*MockIndexServiceMockRecorder) ListAppIndexByConfig ¶
func (mr *MockIndexServiceMockRecorder) ListAppIndexByConfig(arg0, arg1 interface{}) *gomock.Call
ListAppIndexByConfig indicates an expected call of ListAppIndexByConfig
func (*MockIndexServiceMockRecorder) ListAppIndexBySecret ¶
func (mr *MockIndexServiceMockRecorder) ListAppIndexBySecret(arg0, arg1 interface{}) *gomock.Call
ListAppIndexBySecret indicates an expected call of ListAppIndexBySecret
func (*MockIndexServiceMockRecorder) ListAppsByNode ¶
func (mr *MockIndexServiceMockRecorder) ListAppsByNode(arg0, arg1 interface{}) *gomock.Call
ListAppsByNode indicates an expected call of ListAppsByNode
func (*MockIndexServiceMockRecorder) ListConfigIndexByApp ¶
func (mr *MockIndexServiceMockRecorder) ListConfigIndexByApp(arg0, arg1 interface{}) *gomock.Call
ListConfigIndexByApp indicates an expected call of ListConfigIndexByApp
func (*MockIndexServiceMockRecorder) ListIndex ¶
func (mr *MockIndexServiceMockRecorder) ListIndex(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ListIndex indicates an expected call of ListIndex
func (*MockIndexServiceMockRecorder) ListNodesByApp ¶
func (mr *MockIndexServiceMockRecorder) ListNodesByApp(arg0, arg1 interface{}) *gomock.Call
ListNodesByApp indicates an expected call of ListNodesByApp
func (*MockIndexServiceMockRecorder) RefreshAppIndexByConfig ¶
func (mr *MockIndexServiceMockRecorder) RefreshAppIndexByConfig(arg0, arg1, arg2 interface{}) *gomock.Call
RefreshAppIndexByConfig indicates an expected call of RefreshAppIndexByConfig
func (*MockIndexServiceMockRecorder) RefreshAppsIndexByNode ¶
func (mr *MockIndexServiceMockRecorder) RefreshAppsIndexByNode(arg0, arg1, arg2 interface{}) *gomock.Call
RefreshAppsIndexByNode indicates an expected call of RefreshAppsIndexByNode
func (*MockIndexServiceMockRecorder) RefreshConfigIndexByApp ¶
func (mr *MockIndexServiceMockRecorder) RefreshConfigIndexByApp(arg0, arg1, arg2 interface{}) *gomock.Call
RefreshConfigIndexByApp indicates an expected call of RefreshConfigIndexByApp
func (*MockIndexServiceMockRecorder) RefreshIndex ¶
func (mr *MockIndexServiceMockRecorder) RefreshIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
RefreshIndex indicates an expected call of RefreshIndex
func (*MockIndexServiceMockRecorder) RefreshNodesIndexByApp ¶
func (mr *MockIndexServiceMockRecorder) RefreshNodesIndexByApp(arg0, arg1, arg2 interface{}) *gomock.Call
RefreshNodesIndexByApp indicates an expected call of RefreshNodesIndexByApp
func (*MockIndexServiceMockRecorder) RefreshSecretIndexByApp ¶
func (mr *MockIndexServiceMockRecorder) RefreshSecretIndexByApp(arg0, arg1, arg2 interface{}) *gomock.Call
RefreshSecretIndexByApp indicates an expected call of RefreshSecretIndexByApp
type MockInitService ¶
type MockInitService struct {
// contains filtered or unexported fields
}
MockInitService is a mock of InitService interface
func NewMockInitService ¶
func NewMockInitService(ctrl *gomock.Controller) *MockInitService
NewMockInitService creates a new mock instance
func (*MockInitService) EXPECT ¶
func (m *MockInitService) EXPECT() *MockInitServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInitService) GenApps ¶
func (m *MockInitService) GenApps(arg0, arg1 string) ([]*v1.Application, error)
GenApps mocks base method
func (*MockInitService) GetResource ¶
func (m *MockInitService) GetResource(arg0, arg1, arg2 string, arg3 map[string]interface{}) (interface{}, error)
GetResource mocks base method
type MockInitServiceMockRecorder ¶
type MockInitServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockInitServiceMockRecorder is the mock recorder for MockInitService
func (*MockInitServiceMockRecorder) GenApps ¶
func (mr *MockInitServiceMockRecorder) GenApps(arg0, arg1 interface{}) *gomock.Call
GenApps indicates an expected call of GenApps
func (*MockInitServiceMockRecorder) GetResource ¶
func (mr *MockInitServiceMockRecorder) GetResource(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetResource indicates an expected call of GetResource
type MockLicenseService ¶
type MockLicenseService struct {
// contains filtered or unexported fields
}
MockLicenseService is a mock of LicenseService interface
func NewMockLicenseService ¶
func NewMockLicenseService(ctrl *gomock.Controller) *MockLicenseService
NewMockLicenseService creates a new mock instance
func (*MockLicenseService) AcquireQuota ¶ added in v2.1.1
func (m *MockLicenseService) AcquireQuota(arg0, arg1 string, arg2 int) error
AcquireQuota mocks base method
func (*MockLicenseService) CheckLicense ¶
func (m *MockLicenseService) CheckLicense() error
CheckLicense mocks base method
func (*MockLicenseService) CheckQuota ¶
func (m *MockLicenseService) CheckQuota(arg0 string, arg1 plugin.QuotaCollector) error
CheckQuota mocks base method
func (*MockLicenseService) CreateQuota ¶ added in v2.1.1
func (m *MockLicenseService) CreateQuota(arg0 string, arg1 map[string]int) error
CreateQuota mocks base method
func (*MockLicenseService) DeleteQuota ¶ added in v2.1.1
func (m *MockLicenseService) DeleteQuota(arg0, arg1 string) error
DeleteQuota mocks base method
func (*MockLicenseService) DeleteQuotaByNamespace ¶ added in v2.1.1
func (m *MockLicenseService) DeleteQuotaByNamespace(arg0 string) error
DeleteQuotaByNamespace mocks base method
func (*MockLicenseService) EXPECT ¶
func (m *MockLicenseService) EXPECT() *MockLicenseServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLicenseService) GetDefaultQuotas ¶ added in v2.1.1
func (m *MockLicenseService) GetDefaultQuotas(arg0 string) (map[string]int, error)
GetDefaultQuotas mocks base method
func (*MockLicenseService) GetQuota ¶
func (m *MockLicenseService) GetQuota(arg0 string) (map[string]int, error)
GetQuota mocks base method
func (*MockLicenseService) ProtectCode ¶
func (m *MockLicenseService) ProtectCode() error
ProtectCode mocks base method
func (*MockLicenseService) ReleaseQuota ¶ added in v2.1.1
func (m *MockLicenseService) ReleaseQuota(arg0, arg1 string, arg2 int) error
ReleaseQuota mocks base method
func (*MockLicenseService) UpdateQuota ¶ added in v2.1.1
func (m *MockLicenseService) UpdateQuota(arg0, arg1 string, arg2 int) error
UpdateQuota mocks base method
type MockLicenseServiceMockRecorder ¶
type MockLicenseServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLicenseServiceMockRecorder is the mock recorder for MockLicenseService
func (*MockLicenseServiceMockRecorder) AcquireQuota ¶ added in v2.1.1
func (mr *MockLicenseServiceMockRecorder) AcquireQuota(arg0, arg1, arg2 interface{}) *gomock.Call
AcquireQuota indicates an expected call of AcquireQuota
func (*MockLicenseServiceMockRecorder) CheckLicense ¶
func (mr *MockLicenseServiceMockRecorder) CheckLicense() *gomock.Call
CheckLicense indicates an expected call of CheckLicense
func (*MockLicenseServiceMockRecorder) CheckQuota ¶
func (mr *MockLicenseServiceMockRecorder) CheckQuota(arg0, arg1 interface{}) *gomock.Call
CheckQuota indicates an expected call of CheckQuota
func (*MockLicenseServiceMockRecorder) CreateQuota ¶ added in v2.1.1
func (mr *MockLicenseServiceMockRecorder) CreateQuota(arg0, arg1 interface{}) *gomock.Call
CreateQuota indicates an expected call of CreateQuota
func (*MockLicenseServiceMockRecorder) DeleteQuota ¶ added in v2.1.1
func (mr *MockLicenseServiceMockRecorder) DeleteQuota(arg0, arg1 interface{}) *gomock.Call
DeleteQuota indicates an expected call of DeleteQuota
func (*MockLicenseServiceMockRecorder) DeleteQuotaByNamespace ¶ added in v2.1.1
func (mr *MockLicenseServiceMockRecorder) DeleteQuotaByNamespace(arg0 interface{}) *gomock.Call
DeleteQuotaByNamespace indicates an expected call of DeleteQuotaByNamespace
func (*MockLicenseServiceMockRecorder) GetDefaultQuotas ¶ added in v2.1.1
func (mr *MockLicenseServiceMockRecorder) GetDefaultQuotas(arg0 interface{}) *gomock.Call
GetDefaultQuotas indicates an expected call of GetDefaultQuotas
func (*MockLicenseServiceMockRecorder) GetQuota ¶
func (mr *MockLicenseServiceMockRecorder) GetQuota(arg0 interface{}) *gomock.Call
GetQuota indicates an expected call of GetQuota
func (*MockLicenseServiceMockRecorder) ProtectCode ¶
func (mr *MockLicenseServiceMockRecorder) ProtectCode() *gomock.Call
ProtectCode indicates an expected call of ProtectCode
func (*MockLicenseServiceMockRecorder) ReleaseQuota ¶ added in v2.1.1
func (mr *MockLicenseServiceMockRecorder) ReleaseQuota(arg0, arg1, arg2 interface{}) *gomock.Call
ReleaseQuota indicates an expected call of ReleaseQuota
func (*MockLicenseServiceMockRecorder) UpdateQuota ¶ added in v2.1.1
func (mr *MockLicenseServiceMockRecorder) UpdateQuota(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateQuota indicates an expected call of UpdateQuota
type MockNamespaceService ¶
type MockNamespaceService struct {
// contains filtered or unexported fields
}
MockNamespaceService is a mock of NamespaceService interface
func NewMockNamespaceService ¶
func NewMockNamespaceService(ctrl *gomock.Controller) *MockNamespaceService
NewMockNamespaceService creates a new mock instance
func (*MockNamespaceService) Delete ¶
func (m *MockNamespaceService) Delete(arg0 *models.Namespace) error
Delete mocks base method
func (*MockNamespaceService) EXPECT ¶
func (m *MockNamespaceService) EXPECT() *MockNamespaceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockNamespaceServiceMockRecorder ¶
type MockNamespaceServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceServiceMockRecorder is the mock recorder for MockNamespaceService
func (*MockNamespaceServiceMockRecorder) Create ¶
func (mr *MockNamespaceServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockNamespaceServiceMockRecorder) Delete ¶
func (mr *MockNamespaceServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockNamespaceServiceMockRecorder) Get ¶
func (mr *MockNamespaceServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
type MockNodeService ¶
type MockNodeService struct {
// contains filtered or unexported fields
}
MockNodeService is a mock of NodeService interface
func NewMockNodeService ¶
func NewMockNodeService(ctrl *gomock.Controller) *MockNodeService
NewMockNodeService creates a new mock instance
func (*MockNodeService) Count ¶ added in v2.1.1
func (m *MockNodeService) Count(arg0 string) (map[string]int, error)
Count mocks base method
func (*MockNodeService) Delete ¶
func (m *MockNodeService) Delete(arg0, arg1 string) error
Delete mocks base method
func (*MockNodeService) DeleteNodeAppVersion ¶
func (m *MockNodeService) DeleteNodeAppVersion(arg0 string, arg1 *v1.Application) ([]string, error)
DeleteNodeAppVersion mocks base method
func (*MockNodeService) EXPECT ¶
func (m *MockNodeService) EXPECT() *MockNodeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNodeService) Get ¶
func (m *MockNodeService) Get(arg0, arg1 string) (*v1.Node, error)
Get mocks base method
func (*MockNodeService) GetDesire ¶
func (m *MockNodeService) GetDesire(arg0, arg1 string) (*v1.Desire, error)
GetDesire mocks base method
func (*MockNodeService) GetNodeProperties ¶ added in v2.1.1
func (m *MockNodeService) GetNodeProperties(arg0, arg1 string) (*models.NodeProperties, error)
GetNodeProperties mocks base method
func (*MockNodeService) List ¶
func (m *MockNodeService) List(arg0 string, arg1 *models.ListOptions) (*models.NodeList, error)
List mocks base method
func (*MockNodeService) UpdateDesire ¶
UpdateDesire mocks base method
func (*MockNodeService) UpdateNodeAppVersion ¶
func (m *MockNodeService) UpdateNodeAppVersion(arg0 string, arg1 *v1.Application) ([]string, error)
UpdateNodeAppVersion mocks base method
func (*MockNodeService) UpdateNodeMode ¶ added in v2.1.1
func (m *MockNodeService) UpdateNodeMode(arg0, arg1, arg2 string) error
UpdateNodeMode mocks base method
func (*MockNodeService) UpdateNodeProperties ¶ added in v2.1.1
func (m *MockNodeService) UpdateNodeProperties(arg0, arg1 string, arg2 *models.NodeProperties) (*models.NodeProperties, error)
UpdateNodeProperties mocks base method
func (*MockNodeService) UpdateReport ¶
UpdateReport mocks base method
type MockNodeServiceMockRecorder ¶
type MockNodeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeServiceMockRecorder is the mock recorder for MockNodeService
func (*MockNodeServiceMockRecorder) Count ¶ added in v2.1.1
func (mr *MockNodeServiceMockRecorder) Count(arg0 interface{}) *gomock.Call
Count indicates an expected call of Count
func (*MockNodeServiceMockRecorder) Create ¶
func (mr *MockNodeServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockNodeServiceMockRecorder) Delete ¶
func (mr *MockNodeServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockNodeServiceMockRecorder) DeleteNodeAppVersion ¶
func (mr *MockNodeServiceMockRecorder) DeleteNodeAppVersion(arg0, arg1 interface{}) *gomock.Call
DeleteNodeAppVersion indicates an expected call of DeleteNodeAppVersion
func (*MockNodeServiceMockRecorder) Get ¶
func (mr *MockNodeServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockNodeServiceMockRecorder) GetDesire ¶
func (mr *MockNodeServiceMockRecorder) GetDesire(arg0, arg1 interface{}) *gomock.Call
GetDesire indicates an expected call of GetDesire
func (*MockNodeServiceMockRecorder) GetNodeProperties ¶ added in v2.1.1
func (mr *MockNodeServiceMockRecorder) GetNodeProperties(arg0, arg1 interface{}) *gomock.Call
GetNodeProperties indicates an expected call of GetNodeProperties
func (*MockNodeServiceMockRecorder) List ¶
func (mr *MockNodeServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockNodeServiceMockRecorder) Update ¶
func (mr *MockNodeServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockNodeServiceMockRecorder) UpdateDesire ¶
func (mr *MockNodeServiceMockRecorder) UpdateDesire(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateDesire indicates an expected call of UpdateDesire
func (*MockNodeServiceMockRecorder) UpdateNodeAppVersion ¶
func (mr *MockNodeServiceMockRecorder) UpdateNodeAppVersion(arg0, arg1 interface{}) *gomock.Call
UpdateNodeAppVersion indicates an expected call of UpdateNodeAppVersion
func (*MockNodeServiceMockRecorder) UpdateNodeMode ¶ added in v2.1.1
func (mr *MockNodeServiceMockRecorder) UpdateNodeMode(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateNodeMode indicates an expected call of UpdateNodeMode
func (*MockNodeServiceMockRecorder) UpdateNodeProperties ¶ added in v2.1.1
func (mr *MockNodeServiceMockRecorder) UpdateNodeProperties(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateNodeProperties indicates an expected call of UpdateNodeProperties
func (*MockNodeServiceMockRecorder) UpdateReport ¶
func (mr *MockNodeServiceMockRecorder) UpdateReport(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateReport indicates an expected call of UpdateReport
type MockObjectService ¶
type MockObjectService struct {
// contains filtered or unexported fields
}
MockObjectService is a mock of ObjectService interface
func NewMockObjectService ¶
func NewMockObjectService(ctrl *gomock.Controller) *MockObjectService
NewMockObjectService creates a new mock instance
func (*MockObjectService) CreateInternalBucketIfNotExist ¶
func (m *MockObjectService) CreateInternalBucketIfNotExist(arg0, arg1, arg2, arg3 string) (*models.Bucket, error)
CreateInternalBucketIfNotExist mocks base method
func (*MockObjectService) EXPECT ¶
func (m *MockObjectService) EXPECT() *MockObjectServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockObjectService) GenExternalObjectURL ¶
func (m *MockObjectService) GenExternalObjectURL(arg0 models.ExternalObjectInfo, arg1, arg2, arg3 string) (*models.ObjectURL, error)
GenExternalObjectURL mocks base method
func (*MockObjectService) GenInternalObjectURL ¶
func (m *MockObjectService) GenInternalObjectURL(arg0, arg1, arg2, arg3 string) (*models.ObjectURL, error)
GenInternalObjectURL mocks base method
func (*MockObjectService) ListExternalBucketObjects ¶
func (m *MockObjectService) ListExternalBucketObjects(arg0 models.ExternalObjectInfo, arg1, arg2 string) (*models.ListObjectsResult, error)
ListExternalBucketObjects mocks base method
func (*MockObjectService) ListExternalBuckets ¶
func (m *MockObjectService) ListExternalBuckets(arg0 models.ExternalObjectInfo, arg1 string) ([]models.Bucket, error)
ListExternalBuckets mocks base method
func (*MockObjectService) ListInternalBucketObjects ¶
func (m *MockObjectService) ListInternalBucketObjects(arg0, arg1, arg2 string) (*models.ListObjectsResult, error)
ListInternalBucketObjects mocks base method
func (*MockObjectService) ListInternalBuckets ¶
func (m *MockObjectService) ListInternalBuckets(arg0, arg1 string) ([]models.Bucket, error)
ListInternalBuckets mocks base method
func (*MockObjectService) ListSources ¶
func (m *MockObjectService) ListSources() map[string]models.ObjectStorageSourceV2
ListSources mocks base method
func (*MockObjectService) PutInternalObjectFromURLIfNotExist ¶
func (m *MockObjectService) PutInternalObjectFromURLIfNotExist(arg0, arg1, arg2, arg3, arg4 string) error
PutInternalObjectFromURLIfNotExist mocks base method
type MockObjectServiceMockRecorder ¶
type MockObjectServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectServiceMockRecorder is the mock recorder for MockObjectService
func (*MockObjectServiceMockRecorder) CreateInternalBucketIfNotExist ¶
func (mr *MockObjectServiceMockRecorder) CreateInternalBucketIfNotExist(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateInternalBucketIfNotExist indicates an expected call of CreateInternalBucketIfNotExist
func (*MockObjectServiceMockRecorder) GenExternalObjectURL ¶
func (mr *MockObjectServiceMockRecorder) GenExternalObjectURL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GenExternalObjectURL indicates an expected call of GenExternalObjectURL
func (*MockObjectServiceMockRecorder) GenInternalObjectURL ¶
func (mr *MockObjectServiceMockRecorder) GenInternalObjectURL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GenInternalObjectURL indicates an expected call of GenInternalObjectURL
func (*MockObjectServiceMockRecorder) ListExternalBucketObjects ¶
func (mr *MockObjectServiceMockRecorder) ListExternalBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call
ListExternalBucketObjects indicates an expected call of ListExternalBucketObjects
func (*MockObjectServiceMockRecorder) ListExternalBuckets ¶
func (mr *MockObjectServiceMockRecorder) ListExternalBuckets(arg0, arg1 interface{}) *gomock.Call
ListExternalBuckets indicates an expected call of ListExternalBuckets
func (*MockObjectServiceMockRecorder) ListInternalBucketObjects ¶
func (mr *MockObjectServiceMockRecorder) ListInternalBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call
ListInternalBucketObjects indicates an expected call of ListInternalBucketObjects
func (*MockObjectServiceMockRecorder) ListInternalBuckets ¶
func (mr *MockObjectServiceMockRecorder) ListInternalBuckets(arg0, arg1 interface{}) *gomock.Call
ListInternalBuckets indicates an expected call of ListInternalBuckets
func (*MockObjectServiceMockRecorder) ListSources ¶
func (mr *MockObjectServiceMockRecorder) ListSources() *gomock.Call
ListSources indicates an expected call of ListSources
func (*MockObjectServiceMockRecorder) PutInternalObjectFromURLIfNotExist ¶
func (mr *MockObjectServiceMockRecorder) PutInternalObjectFromURLIfNotExist(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
PutInternalObjectFromURLIfNotExist indicates an expected call of PutInternalObjectFromURLIfNotExist
type MockPKIService ¶
type MockPKIService struct {
// contains filtered or unexported fields
}
MockPKIService is a mock of PKIService interface
func NewMockPKIService ¶
func NewMockPKIService(ctrl *gomock.Controller) *MockPKIService
NewMockPKIService creates a new mock instance
func (*MockPKIService) DeleteClientCertificate ¶
func (m *MockPKIService) DeleteClientCertificate(arg0 string) error
DeleteClientCertificate mocks base method
func (*MockPKIService) DeleteServerCertificate ¶
func (m *MockPKIService) DeleteServerCertificate(arg0 string) error
DeleteServerCertificate mocks base method
func (*MockPKIService) EXPECT ¶
func (m *MockPKIService) EXPECT() *MockPKIServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPKIService) GetCA ¶
func (m *MockPKIService) GetCA() ([]byte, error)
GetCA mocks base method
func (*MockPKIService) SignClientCertificate ¶
func (m *MockPKIService) SignClientCertificate(arg0 string, arg1 models.AltNames) (*models.PEMCredential, error)
SignClientCertificate mocks base method
func (*MockPKIService) SignServerCertificate ¶
func (m *MockPKIService) SignServerCertificate(arg0 string, arg1 models.AltNames) (*models.PEMCredential, error)
SignServerCertificate mocks base method
type MockPKIServiceMockRecorder ¶
type MockPKIServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPKIServiceMockRecorder is the mock recorder for MockPKIService
func (*MockPKIServiceMockRecorder) DeleteClientCertificate ¶
func (mr *MockPKIServiceMockRecorder) DeleteClientCertificate(arg0 interface{}) *gomock.Call
DeleteClientCertificate indicates an expected call of DeleteClientCertificate
func (*MockPKIServiceMockRecorder) DeleteServerCertificate ¶
func (mr *MockPKIServiceMockRecorder) DeleteServerCertificate(arg0 interface{}) *gomock.Call
DeleteServerCertificate indicates an expected call of DeleteServerCertificate
func (*MockPKIServiceMockRecorder) GetCA ¶
func (mr *MockPKIServiceMockRecorder) GetCA() *gomock.Call
GetCA indicates an expected call of GetCA
func (*MockPKIServiceMockRecorder) SignClientCertificate ¶
func (mr *MockPKIServiceMockRecorder) SignClientCertificate(arg0, arg1 interface{}) *gomock.Call
SignClientCertificate indicates an expected call of SignClientCertificate
func (*MockPKIServiceMockRecorder) SignServerCertificate ¶
func (mr *MockPKIServiceMockRecorder) SignServerCertificate(arg0, arg1 interface{}) *gomock.Call
SignServerCertificate indicates an expected call of SignServerCertificate
type MockPropertyService ¶
type MockPropertyService struct {
// contains filtered or unexported fields
}
MockPropertyService is a mock of PropertyService interface
func NewMockPropertyService ¶
func NewMockPropertyService(ctrl *gomock.Controller) *MockPropertyService
NewMockPropertyService creates a new mock instance
func (*MockPropertyService) CountProperty ¶
func (m *MockPropertyService) CountProperty(arg0 string) (int, error)
CountProperty mocks base method
func (*MockPropertyService) CreateProperty ¶
func (m *MockPropertyService) CreateProperty(arg0 *models.Property) error
CreateProperty mocks base method
func (*MockPropertyService) DeleteProperty ¶
func (m *MockPropertyService) DeleteProperty(arg0 string) error
DeleteProperty mocks base method
func (*MockPropertyService) EXPECT ¶
func (m *MockPropertyService) EXPECT() *MockPropertyServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPropertyService) GetProperty ¶
func (m *MockPropertyService) GetProperty(arg0 string) (*models.Property, error)
GetProperty mocks base method
func (*MockPropertyService) GetPropertyValue ¶
func (m *MockPropertyService) GetPropertyValue(arg0 string) (string, error)
GetPropertyValue mocks base method
func (*MockPropertyService) ListProperty ¶
ListProperty mocks base method
func (*MockPropertyService) UpdateProperty ¶
func (m *MockPropertyService) UpdateProperty(arg0 *models.Property) error
UpdateProperty mocks base method
type MockPropertyServiceMockRecorder ¶
type MockPropertyServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPropertyServiceMockRecorder is the mock recorder for MockPropertyService
func (*MockPropertyServiceMockRecorder) CountProperty ¶
func (mr *MockPropertyServiceMockRecorder) CountProperty(arg0 interface{}) *gomock.Call
CountProperty indicates an expected call of CountProperty
func (*MockPropertyServiceMockRecorder) CreateProperty ¶
func (mr *MockPropertyServiceMockRecorder) CreateProperty(arg0 interface{}) *gomock.Call
CreateProperty indicates an expected call of CreateProperty
func (*MockPropertyServiceMockRecorder) DeleteProperty ¶
func (mr *MockPropertyServiceMockRecorder) DeleteProperty(arg0 interface{}) *gomock.Call
DeleteProperty indicates an expected call of DeleteProperty
func (*MockPropertyServiceMockRecorder) GetProperty ¶
func (mr *MockPropertyServiceMockRecorder) GetProperty(arg0 interface{}) *gomock.Call
GetProperty indicates an expected call of GetProperty
func (*MockPropertyServiceMockRecorder) GetPropertyValue ¶
func (mr *MockPropertyServiceMockRecorder) GetPropertyValue(arg0 interface{}) *gomock.Call
GetPropertyValue indicates an expected call of GetPropertyValue
func (*MockPropertyServiceMockRecorder) ListProperty ¶
func (mr *MockPropertyServiceMockRecorder) ListProperty(arg0 interface{}) *gomock.Call
ListProperty indicates an expected call of ListProperty
func (*MockPropertyServiceMockRecorder) UpdateProperty ¶
func (mr *MockPropertyServiceMockRecorder) UpdateProperty(arg0 interface{}) *gomock.Call
UpdateProperty indicates an expected call of UpdateProperty
type MockSecretService ¶
type MockSecretService struct {
// contains filtered or unexported fields
}
MockSecretService is a mock of SecretService interface
func NewMockSecretService ¶
func NewMockSecretService(ctrl *gomock.Controller) *MockSecretService
NewMockSecretService creates a new mock instance
func (*MockSecretService) Delete ¶
func (m *MockSecretService) Delete(arg0, arg1 string) error
Delete mocks base method
func (*MockSecretService) EXPECT ¶
func (m *MockSecretService) EXPECT() *MockSecretServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSecretService) Get ¶
func (m *MockSecretService) Get(arg0, arg1, arg2 string) (*v1.Secret, error)
Get mocks base method
func (*MockSecretService) List ¶
func (m *MockSecretService) List(arg0 string, arg1 *models.ListOptions) (*models.SecretList, error)
List mocks base method
type MockSecretServiceMockRecorder ¶
type MockSecretServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretServiceMockRecorder is the mock recorder for MockSecretService
func (*MockSecretServiceMockRecorder) Create ¶
func (mr *MockSecretServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockSecretServiceMockRecorder) Delete ¶
func (mr *MockSecretServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockSecretServiceMockRecorder) Get ¶
func (mr *MockSecretServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockSecretServiceMockRecorder) List ¶
func (mr *MockSecretServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockSecretServiceMockRecorder) Update ¶
func (mr *MockSecretServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockSyncService ¶
type MockSyncService struct {
// contains filtered or unexported fields
}
MockSyncService is a mock of SyncService interface.
func NewMockSyncService ¶
func NewMockSyncService(ctrl *gomock.Controller) *MockSyncService
NewMockSyncService creates a new mock instance.
func (*MockSyncService) Desire ¶
func (m *MockSyncService) Desire(arg0 string, arg1 []v1.ResourceInfo, arg2 map[string]string) ([]v1.ResourceValue, error)
Desire mocks base method.
func (*MockSyncService) EXPECT ¶
func (m *MockSyncService) EXPECT() *MockSyncServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSyncServiceMockRecorder ¶
type MockSyncServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncServiceMockRecorder is the mock recorder for MockSyncService.
func (*MockSyncServiceMockRecorder) Desire ¶
func (mr *MockSyncServiceMockRecorder) Desire(arg0, arg1, arg2 interface{}) *gomock.Call
Desire indicates an expected call of Desire.
func (*MockSyncServiceMockRecorder) Report ¶
func (mr *MockSyncServiceMockRecorder) Report(arg0, arg1, arg2 interface{}) *gomock.Call
Report indicates an expected call of Report.
type MockTemplateService ¶
type MockTemplateService struct {
// contains filtered or unexported fields
}
MockTemplateService is a mock of TemplateService interface
func NewMockTemplateService ¶
func NewMockTemplateService(ctrl *gomock.Controller) *MockTemplateService
NewMockTemplateService creates a new mock instance
func (*MockTemplateService) EXPECT ¶
func (m *MockTemplateService) EXPECT() *MockTemplateServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTemplateService) Execute ¶
func (m *MockTemplateService) Execute(arg0, arg1 string, arg2 map[string]interface{}) ([]byte, error)
Execute mocks base method
func (*MockTemplateService) GetTemplate ¶
func (m *MockTemplateService) GetTemplate(arg0 string) (string, error)
GetTemplate mocks base method
func (*MockTemplateService) ParseTemplate ¶
func (m *MockTemplateService) ParseTemplate(arg0 string, arg1 map[string]interface{}) ([]byte, error)
ParseTemplate mocks base method
func (*MockTemplateService) UnmarshalTemplate ¶
func (m *MockTemplateService) UnmarshalTemplate(arg0 string, arg1 map[string]interface{}, arg2 interface{}) error
UnmarshalTemplate mocks base method
type MockTemplateServiceMockRecorder ¶
type MockTemplateServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTemplateServiceMockRecorder is the mock recorder for MockTemplateService
func (*MockTemplateServiceMockRecorder) Execute ¶
func (mr *MockTemplateServiceMockRecorder) Execute(arg0, arg1, arg2 interface{}) *gomock.Call
Execute indicates an expected call of Execute
func (*MockTemplateServiceMockRecorder) GetTemplate ¶
func (mr *MockTemplateServiceMockRecorder) GetTemplate(arg0 interface{}) *gomock.Call
GetTemplate indicates an expected call of GetTemplate
func (*MockTemplateServiceMockRecorder) ParseTemplate ¶
func (mr *MockTemplateServiceMockRecorder) ParseTemplate(arg0, arg1 interface{}) *gomock.Call
ParseTemplate indicates an expected call of ParseTemplate
func (*MockTemplateServiceMockRecorder) UnmarshalTemplate ¶
func (mr *MockTemplateServiceMockRecorder) UnmarshalTemplate(arg0, arg1, arg2 interface{}) *gomock.Call
UnmarshalTemplate indicates an expected call of UnmarshalTemplate