Upgrade Go to 1.24.3 (#31220)
* Upgrade Go to 1.24.3 Updates the following files: - server/.go-version: 1.23.9 → 1.24.3 - server/build/Dockerfile.buildenv: golang:1.23.9-bullseye → golang:1.24.3-bullseye - server/go.mod: go 1.23.0 → go 1.24.3, toolchain go1.23.9 → go1.24.3 - server/public/go.mod: go 1.23.0 → go 1.24.3, toolchain go1.23.9 → go1.24.3 Also fixes non-constant format string errors introduced by Go 1.24.3's stricter format string checking: - Added response() helper function in slashcommands/util.go for simple string responses - Removed unused responsef() function from slashcommands/util.go - Replaced responsef() with response() for translated strings that don't need formatting - Fixed fmt.Errorf and fmt.Fprintf calls to use proper format verbs instead of string concatenation - Updated marketplace buildURL to handle format strings conditionally 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Update generated mocks for Go 1.24.3 Regenerated mocks using mockery v2.53.4 to ensure compatibility with Go 1.24.3. This addresses mock generation failures that occurred with the Go upgrade. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * Update to bookworm and fix non-existent sha Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com> * fix non-constant format string --------- Signed-off-by: Stavros Foteinopoulos <stafot@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Stavros Foteinopoulos <stafot@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
d01d6501f7
Коммит
e6d8bf5835
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -16,7 +16,7 @@ type AccessControlSyncJobInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// MakeScheduler provides a mock function with given fields:
|
||||
// MakeScheduler provides a mock function with no fields
|
||||
func (_m *AccessControlSyncJobInterface) MakeScheduler() jobs.Scheduler {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -36,7 +36,7 @@ func (_m *AccessControlSyncJobInterface) MakeScheduler() jobs.Scheduler {
|
||||
return r0
|
||||
}
|
||||
|
||||
// MakeWorker provides a mock function with given fields:
|
||||
// MakeWorker provides a mock function with no fields
|
||||
func (_m *AccessControlSyncJobInterface) MakeWorker() model.Worker {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -449,7 +449,7 @@ func (_m *CloudInterface) GetSubscription(userID string) (*model.Subscription, e
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// HandleLicenseChange provides a mock function with given fields:
|
||||
// HandleLicenseChange provides a mock function with no fields
|
||||
func (_m *CloudInterface) HandleLicenseChange() error {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -467,7 +467,7 @@ func (_m *CloudInterface) HandleLicenseChange() error {
|
||||
return r0
|
||||
}
|
||||
|
||||
// InvalidateCaches provides a mock function with given fields:
|
||||
// InvalidateCaches provides a mock function with no fields
|
||||
func (_m *CloudInterface) InvalidateCaches() error {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -16,7 +16,7 @@ type CloudJobInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// MakeScheduler provides a mock function with given fields:
|
||||
// MakeScheduler provides a mock function with no fields
|
||||
func (_m *CloudJobInterface) MakeScheduler() jobs.Scheduler {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -36,7 +36,7 @@ func (_m *CloudJobInterface) MakeScheduler() jobs.Scheduler {
|
||||
return r0
|
||||
}
|
||||
|
||||
// MakeWorker provides a mock function with given fields:
|
||||
// MakeWorker provides a mock function with no fields
|
||||
func (_m *CloudJobInterface) MakeWorker() model.Worker {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -68,7 +68,7 @@ func (_m *ClusterInterface) GenerateSupportPacket(rctx request.CTX, options *mod
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// GetClusterId provides a mock function with given fields:
|
||||
// GetClusterId provides a mock function with no fields
|
||||
func (_m *ClusterInterface) GetClusterId() string {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -86,7 +86,7 @@ func (_m *ClusterInterface) GetClusterId() string {
|
||||
return r0
|
||||
}
|
||||
|
||||
// GetClusterInfos provides a mock function with given fields:
|
||||
// GetClusterInfos provides a mock function with no fields
|
||||
func (_m *ClusterInterface) GetClusterInfos() ([]*model.ClusterInfo, error) {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -180,7 +180,7 @@ func (_m *ClusterInterface) GetLogs(ctx request.CTX, page int, perPage int) ([]s
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// GetMyClusterInfo provides a mock function with given fields:
|
||||
// GetMyClusterInfo provides a mock function with no fields
|
||||
func (_m *ClusterInterface) GetMyClusterInfo() *model.ClusterInfo {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -200,7 +200,7 @@ func (_m *ClusterInterface) GetMyClusterInfo() *model.ClusterInfo {
|
||||
return r0
|
||||
}
|
||||
|
||||
// GetPluginStatuses provides a mock function with given fields:
|
||||
// GetPluginStatuses provides a mock function with no fields
|
||||
func (_m *ClusterInterface) GetPluginStatuses() (model.PluginStatuses, *model.AppError) {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -262,7 +262,7 @@ func (_m *ClusterInterface) GetWSQueues(userID string, connectionID string, seqN
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// HealthScore provides a mock function with given fields:
|
||||
// HealthScore provides a mock function with no fields
|
||||
func (_m *ClusterInterface) HealthScore() int {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -280,7 +280,7 @@ func (_m *ClusterInterface) HealthScore() int {
|
||||
return r0
|
||||
}
|
||||
|
||||
// IsLeader provides a mock function with given fields:
|
||||
// IsLeader provides a mock function with no fields
|
||||
func (_m *ClusterInterface) IsLeader() bool {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -363,12 +363,12 @@ func (_m *ClusterInterface) SendClusterMessageToNode(nodeID string, msg *model.C
|
||||
return r0
|
||||
}
|
||||
|
||||
// StartInterNodeCommunication provides a mock function with given fields:
|
||||
// StartInterNodeCommunication provides a mock function with no fields
|
||||
func (_m *ClusterInterface) StartInterNodeCommunication() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// StopInterNodeCommunication provides a mock function with given fields:
|
||||
// StopInterNodeCommunication provides a mock function with no fields
|
||||
func (_m *ClusterInterface) StopInterNodeCommunication() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -35,7 +35,7 @@ func (_m *ComplianceInterface) RunComplianceJob(rctx request.CTX, job *model.Com
|
||||
return r0
|
||||
}
|
||||
|
||||
// StartComplianceDailyJob provides a mock function with given fields:
|
||||
// StartComplianceDailyJob provides a mock function with no fields
|
||||
func (_m *ComplianceInterface) StartComplianceDailyJob() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -170,7 +170,7 @@ func (_m *DataRetentionInterface) GetChannelsForPolicy(policyID string, offset i
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// GetGlobalPolicy provides a mock function with given fields:
|
||||
// GetGlobalPolicy provides a mock function with no fields
|
||||
func (_m *DataRetentionInterface) GetGlobalPolicy() (*model.GlobalRetentionPolicy, *model.AppError) {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -234,7 +234,7 @@ func (_m *DataRetentionInterface) GetPolicies(offset int, limit int) (*model.Ret
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// GetPoliciesCount provides a mock function with given fields:
|
||||
// GetPoliciesCount provides a mock function with no fields
|
||||
func (_m *DataRetentionInterface) GetPoliciesCount() (int64, *model.AppError) {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -16,7 +16,7 @@ type DataRetentionJobInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// MakeScheduler provides a mock function with given fields:
|
||||
// MakeScheduler provides a mock function with no fields
|
||||
func (_m *DataRetentionJobInterface) MakeScheduler() jobs.Scheduler {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -36,7 +36,7 @@ func (_m *DataRetentionJobInterface) MakeScheduler() jobs.Scheduler {
|
||||
return r0
|
||||
}
|
||||
|
||||
// MakeWorker provides a mock function with given fields:
|
||||
// MakeWorker provides a mock function with no fields
|
||||
func (_m *DataRetentionJobInterface) MakeWorker() model.Worker {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -16,7 +16,7 @@ type ElasticsearchAggregatorInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// MakeScheduler provides a mock function with given fields:
|
||||
// MakeScheduler provides a mock function with no fields
|
||||
func (_m *ElasticsearchAggregatorInterface) MakeScheduler() jobs.Scheduler {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -36,7 +36,7 @@ func (_m *ElasticsearchAggregatorInterface) MakeScheduler() jobs.Scheduler {
|
||||
return r0
|
||||
}
|
||||
|
||||
// MakeWorker provides a mock function with given fields:
|
||||
// MakeWorker provides a mock function with no fields
|
||||
func (_m *ElasticsearchAggregatorInterface) MakeWorker() model.Worker {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -14,7 +14,7 @@ type ElasticsearchIndexerInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// MakeWorker provides a mock function with given fields:
|
||||
// MakeWorker provides a mock function with no fields
|
||||
func (_m *ElasticsearchIndexerInterface) MakeWorker() model.Worker {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -44,7 +44,7 @@ func (_m *IPFilteringInterface) ApplyIPFilters(allowedIPRanges *model.AllowedIPR
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// GetIPFilters provides a mock function with given fields:
|
||||
// GetIPFilters provides a mock function with no fields
|
||||
func (_m *IPFilteringInterface) GetIPFilters() (*model.AllowedIPRanges, error) {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -14,7 +14,7 @@ type IndexerJobInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// MakeWorker provides a mock function with given fields:
|
||||
// MakeWorker provides a mock function with no fields
|
||||
func (_m *IndexerJobInterface) MakeWorker() model.Worker {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -16,7 +16,7 @@ type LdapSyncInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// MakeScheduler provides a mock function with given fields:
|
||||
// MakeScheduler provides a mock function with no fields
|
||||
func (_m *LdapSyncInterface) MakeScheduler() jobs.Scheduler {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -36,7 +36,7 @@ func (_m *LdapSyncInterface) MakeScheduler() jobs.Scheduler {
|
||||
return r0
|
||||
}
|
||||
|
||||
// MakeWorker provides a mock function with given fields:
|
||||
// MakeWorker provides a mock function with no fields
|
||||
func (_m *LdapSyncInterface) MakeWorker() model.Worker {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -14,7 +14,7 @@ type LicenseInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// CanStartTrial provides a mock function with given fields:
|
||||
// CanStartTrial provides a mock function with no fields
|
||||
func (_m *LicenseInterface) CanStartTrial() (bool, error) {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -42,7 +42,7 @@ func (_m *LicenseInterface) CanStartTrial() (bool, error) {
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// GetPrevTrial provides a mock function with given fields:
|
||||
// GetPrevTrial provides a mock function with no fields
|
||||
func (_m *LicenseInterface) GetPrevTrial() (*model.License, error) {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -16,7 +16,7 @@ type MessageExportJobInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// MakeScheduler provides a mock function with given fields:
|
||||
// MakeScheduler provides a mock function with no fields
|
||||
func (_m *MessageExportJobInterface) MakeScheduler() jobs.Scheduler {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -36,7 +36,7 @@ func (_m *MessageExportJobInterface) MakeScheduler() jobs.Scheduler {
|
||||
return r0
|
||||
}
|
||||
|
||||
// MakeWorker provides a mock function with given fields:
|
||||
// MakeWorker provides a mock function with no fields
|
||||
func (_m *MessageExportJobInterface) MakeWorker() model.Worker {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -28,7 +28,7 @@ func (_m *MetricsInterface) AddMemCacheMissCounter(cacheName string, amount floa
|
||||
_m.Called(cacheName, amount)
|
||||
}
|
||||
|
||||
// ClearMobileClientSessionMetadata provides a mock function with given fields:
|
||||
// ClearMobileClientSessionMetadata provides a mock function with no fields
|
||||
func (_m *MetricsInterface) ClearMobileClientSessionMetadata() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -53,7 +53,7 @@ func (_m *MetricsInterface) DecrementWebSocketBroadcastUsersRegistered(hub strin
|
||||
_m.Called(hub, amount)
|
||||
}
|
||||
|
||||
// GetLoggerMetricsCollector provides a mock function with given fields:
|
||||
// GetLoggerMetricsCollector provides a mock function with no fields
|
||||
func (_m *MetricsInterface) GetLoggerMetricsCollector() logr.MetricsCollector {
|
||||
ret := _m.Called()
|
||||
|
||||
@@ -73,12 +73,12 @@ func (_m *MetricsInterface) GetLoggerMetricsCollector() logr.MetricsCollector {
|
||||
return r0
|
||||
}
|
||||
|
||||
// IncrementAccessControlCacheInvalidation provides a mock function with given fields:
|
||||
// IncrementAccessControlCacheInvalidation provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementAccessControlCacheInvalidation() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementChannelIndexCounter provides a mock function with given fields:
|
||||
// IncrementChannelIndexCounter provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementChannelIndexCounter() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -93,7 +93,7 @@ func (_m *MetricsInterface) IncrementClusterEventType(eventType model.ClusterEve
|
||||
_m.Called(eventType)
|
||||
}
|
||||
|
||||
// IncrementClusterRequest provides a mock function with given fields:
|
||||
// IncrementClusterRequest provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementClusterRequest() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -108,22 +108,22 @@ func (_m *MetricsInterface) IncrementEtagMissCounter(route string) {
|
||||
_m.Called(route)
|
||||
}
|
||||
|
||||
// IncrementFileIndexCounter provides a mock function with given fields:
|
||||
// IncrementFileIndexCounter provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementFileIndexCounter() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementFilesSearchCounter provides a mock function with given fields:
|
||||
// IncrementFilesSearchCounter provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementFilesSearchCounter() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementHTTPError provides a mock function with given fields:
|
||||
// IncrementHTTPError provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementHTTPError() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementHTTPRequest provides a mock function with given fields:
|
||||
// IncrementHTTPRequest provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementHTTPRequest() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -138,12 +138,12 @@ func (_m *MetricsInterface) IncrementJobActive(jobType string) {
|
||||
_m.Called(jobType)
|
||||
}
|
||||
|
||||
// IncrementLogin provides a mock function with given fields:
|
||||
// IncrementLogin provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementLogin() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementLoginFail provides a mock function with given fields:
|
||||
// IncrementLoginFail provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementLoginFail() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -153,7 +153,7 @@ func (_m *MetricsInterface) IncrementMemCacheHitCounter(cacheName string) {
|
||||
_m.Called(cacheName)
|
||||
}
|
||||
|
||||
// IncrementMemCacheHitCounterSession provides a mock function with given fields:
|
||||
// IncrementMemCacheHitCounterSession provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementMemCacheHitCounterSession() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -163,7 +163,7 @@ func (_m *MetricsInterface) IncrementMemCacheInvalidationCounter(cacheName strin
|
||||
_m.Called(cacheName)
|
||||
}
|
||||
|
||||
// IncrementMemCacheInvalidationCounterSession provides a mock function with given fields:
|
||||
// IncrementMemCacheInvalidationCounterSession provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementMemCacheInvalidationCounterSession() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -173,7 +173,7 @@ func (_m *MetricsInterface) IncrementMemCacheMissCounter(cacheName string) {
|
||||
_m.Called(cacheName)
|
||||
}
|
||||
|
||||
// IncrementMemCacheMissCounterSession provides a mock function with given fields:
|
||||
// IncrementMemCacheMissCounterSession provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementMemCacheMissCounterSession() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -208,12 +208,12 @@ func (_m *MetricsInterface) IncrementNotificationUnsupportedCounter(notification
|
||||
_m.Called(notificationType, notSentReason, platform)
|
||||
}
|
||||
|
||||
// IncrementPostBroadcast provides a mock function with given fields:
|
||||
// IncrementPostBroadcast provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementPostBroadcast() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementPostCreate provides a mock function with given fields:
|
||||
// IncrementPostCreate provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementPostCreate() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -223,22 +223,22 @@ func (_m *MetricsInterface) IncrementPostFileAttachment(count int) {
|
||||
_m.Called(count)
|
||||
}
|
||||
|
||||
// IncrementPostIndexCounter provides a mock function with given fields:
|
||||
// IncrementPostIndexCounter provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementPostIndexCounter() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementPostSentEmail provides a mock function with given fields:
|
||||
// IncrementPostSentEmail provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementPostSentEmail() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementPostSentPush provides a mock function with given fields:
|
||||
// IncrementPostSentPush provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementPostSentPush() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
// IncrementPostsSearchCounter provides a mock function with given fields:
|
||||
// IncrementPostsSearchCounter provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementPostsSearchCounter() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -268,7 +268,7 @@ func (_m *MetricsInterface) IncrementSharedChannelsSyncCounter(remoteID string)
|
||||
_m.Called(remoteID)
|
||||
}
|
||||
|
||||
// IncrementUserIndexCounter provides a mock function with given fields:
|
||||
// IncrementUserIndexCounter provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementUserIndexCounter() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -288,7 +288,7 @@ func (_m *MetricsInterface) IncrementWebSocketBroadcastUsersRegistered(hub strin
|
||||
_m.Called(hub, amount)
|
||||
}
|
||||
|
||||
// IncrementWebhookPost provides a mock function with given fields:
|
||||
// IncrementWebhookPost provides a mock function with no fields
|
||||
func (_m *MetricsInterface) IncrementWebhookPost() {
|
||||
_m.Called()
|
||||
}
|
||||
@@ -553,7 +553,7 @@ func (_m *MetricsInterface) ObserveStoreMethodDuration(method string, success st
|
||||
_m.Called(method, success, elapsed)
|
||||
}
|
||||
|
||||
// Register provides a mock function with given fields:
|
||||
// Register provides a mock function with no fields
|
||||
func (_m *MetricsInterface) Register() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -15,7 +15,7 @@ type NotificationInterface struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// CheckLicense provides a mock function with given fields:
|
||||
// CheckLicense provides a mock function with no fields
|
||||
func (_m *NotificationInterface) CheckLicense() *model.AppError {
|
||||
ret := _m.Called()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.53.4. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user