update tooling (#5038)

* update tooling

* update nodejs version
This commit is contained in:
Willy Kloucek
2022-11-11 15:01:45 +01:00
committed by GitHub
parent cd2a3e57bc
commit d74b879d4f
31 changed files with 310 additions and 58 deletions
+16 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.10.4. DO NOT EDIT.
// Code generated by mockery v2.14.1. DO NOT EDIT.
package mocks
@@ -347,3 +347,18 @@ func (_m *GatewayClient) UpdateStorageSpace(ctx context.Context, in *providerv1b
return r0, r1
}
type mockConstructorTestingTNewGatewayClient interface {
mock.TestingT
Cleanup(func())
}
// NewGatewayClient creates a new instance of GatewayClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewGatewayClient(t mockConstructorTestingTNewGatewayClient) *GatewayClient {
mock := &GatewayClient{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}
+16 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.10.4. DO NOT EDIT.
// Code generated by mockery v2.14.1. DO NOT EDIT.
package mocks
@@ -35,3 +35,18 @@ func (_m *HTTPClient) Do(req *http.Request) (*http.Response, error) {
return r0, r1
}
type mockConstructorTestingTNewHTTPClient interface {
mock.TestingT
Cleanup(func())
}
// NewHTTPClient creates a new instance of HTTPClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewHTTPClient(t mockConstructorTestingTNewHTTPClient) *HTTPClient {
mock := &HTTPClient{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}
+16 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.10.4. DO NOT EDIT.
// Code generated by mockery v2.14.1. DO NOT EDIT.
package mocks
@@ -341,3 +341,18 @@ func (_m *Client) Unbind() error {
return r0
}
type mockConstructorTestingTNewClient interface {
mock.TestingT
Cleanup(func())
}
// NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewClient(t mockConstructorTestingTNewClient) *Client {
mock := &Client{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}
+16 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.10.4. DO NOT EDIT.
// Code generated by mockery v2.14.1. DO NOT EDIT.
package mocks
@@ -32,3 +32,18 @@ func (_m *Publisher) Publish(_a0 string, _a1 interface{}, _a2 ...events.PublishO
return r0
}
type mockConstructorTestingTNewPublisher interface {
mock.TestingT
Cleanup(func())
}
// NewPublisher creates a new instance of Publisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewPublisher(t mockConstructorTestingTNewPublisher) *Publisher {
mock := &Publisher{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}