Documentation ¶
Overview ¶
Package mock_middlewares is a generated GoMock package.
Package mock_middlewares is a generated GoMock package.
Package mock_middlewares is a generated GoMock package.
Index ¶
- type MockAuthMiddleware
- func (m *MockAuthMiddleware) AuthAccessToken() func(http.Handler) http.Handler
- func (m *MockAuthMiddleware) AuthClientSecret() func(http.Handler) http.Handler
- func (m *MockAuthMiddleware) EXPECT() *MockAuthMiddlewareMockRecorder
- func (m *MockAuthMiddleware) MustAuthClientSecret(next echo.HandlerFunc) echo.HandlerFunc
- func (m *MockAuthMiddleware) MustVerifyAdminClient(next echo.HandlerFunc) echo.HandlerFunc
- func (m *MockAuthMiddleware) VerifyClient() func(http.Handler) http.Handler
- func (m *MockAuthMiddleware) VerifyFileDownloadPermission(next echo.HandlerFunc) echo.HandlerFunc
- type MockAuthMiddlewareMockRecorder
- func (mr *MockAuthMiddlewareMockRecorder) AuthAccessToken() *gomock.Call
- func (mr *MockAuthMiddlewareMockRecorder) AuthClientSecret() *gomock.Call
- func (mr *MockAuthMiddlewareMockRecorder) MustAuthClientSecret(next interface{}) *gomock.Call
- func (mr *MockAuthMiddlewareMockRecorder) MustVerifyAdminClient(next interface{}) *gomock.Call
- func (mr *MockAuthMiddlewareMockRecorder) VerifyClient() *gomock.Call
- func (mr *MockAuthMiddlewareMockRecorder) VerifyFileDownloadPermission(next interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthMiddleware ¶
type MockAuthMiddleware struct {
// contains filtered or unexported fields
}
MockAuthMiddleware is a mock of AuthMiddleware interface.
func NewMockAuthMiddleware ¶
func NewMockAuthMiddleware(ctrl *gomock.Controller) *MockAuthMiddleware
NewMockAuthMiddleware creates a new mock instance.
func (*MockAuthMiddleware) AuthAccessToken ¶
func (m *MockAuthMiddleware) AuthAccessToken() func(http.Handler) http.Handler
AuthAccessToken mocks base method.
func (*MockAuthMiddleware) AuthClientSecret ¶
func (m *MockAuthMiddleware) AuthClientSecret() func(http.Handler) http.Handler
AuthClientSecret mocks base method.
func (*MockAuthMiddleware) EXPECT ¶
func (m *MockAuthMiddleware) EXPECT() *MockAuthMiddlewareMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthMiddleware) MustAuthClientSecret ¶
func (m *MockAuthMiddleware) MustAuthClientSecret(next echo.HandlerFunc) echo.HandlerFunc
MustAuthClientSecret mocks base method.
func (*MockAuthMiddleware) MustVerifyAdminClient ¶
func (m *MockAuthMiddleware) MustVerifyAdminClient(next echo.HandlerFunc) echo.HandlerFunc
MustVerifyAdminClient mocks base method.
func (*MockAuthMiddleware) VerifyClient ¶
func (m *MockAuthMiddleware) VerifyClient() func(http.Handler) http.Handler
VerifyClient mocks base method.
func (*MockAuthMiddleware) VerifyFileDownloadPermission ¶
func (m *MockAuthMiddleware) VerifyFileDownloadPermission(next echo.HandlerFunc) echo.HandlerFunc
VerifyFileDownloadPermission mocks base method.
type MockAuthMiddlewareMockRecorder ¶
type MockAuthMiddlewareMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthMiddlewareMockRecorder is the mock recorder for MockAuthMiddleware.
func (*MockAuthMiddlewareMockRecorder) AuthAccessToken ¶
func (mr *MockAuthMiddlewareMockRecorder) AuthAccessToken() *gomock.Call
AuthAccessToken indicates an expected call of AuthAccessToken.
func (*MockAuthMiddlewareMockRecorder) AuthClientSecret ¶
func (mr *MockAuthMiddlewareMockRecorder) AuthClientSecret() *gomock.Call
AuthClientSecret indicates an expected call of AuthClientSecret.
func (*MockAuthMiddlewareMockRecorder) MustAuthClientSecret ¶
func (mr *MockAuthMiddlewareMockRecorder) MustAuthClientSecret(next interface{}) *gomock.Call
MustAuthClientSecret indicates an expected call of MustAuthClientSecret.
func (*MockAuthMiddlewareMockRecorder) MustVerifyAdminClient ¶
func (mr *MockAuthMiddlewareMockRecorder) MustVerifyAdminClient(next interface{}) *gomock.Call
MustVerifyAdminClient indicates an expected call of MustVerifyAdminClient.
func (*MockAuthMiddlewareMockRecorder) VerifyClient ¶
func (mr *MockAuthMiddlewareMockRecorder) VerifyClient() *gomock.Call
VerifyClient indicates an expected call of VerifyClient.
func (*MockAuthMiddlewareMockRecorder) VerifyFileDownloadPermission ¶
func (mr *MockAuthMiddlewareMockRecorder) VerifyFileDownloadPermission(next interface{}) *gomock.Call
VerifyFileDownloadPermission indicates an expected call of VerifyFileDownloadPermission.