mirror of
https://github.com/hanzoai/team.git
synced 2026-09-30 01:57:35 +00:00
+14









Ben Schumacher
GitHub
Jesse Hallam
Michael Kochell
Alejandro García Montoro
Alex Dovenmuehle
Michael Kochell
Christopher Poile
İlker Göktuğ Öztürk
Shota Gvinepadze
Ali Farooq
Maria A Nunez
Daniel Espino García
Christopher Speller
Alex Dovenmuehle
Szymon Gibała
Lev
Jason Frerich
Agniva De Sarker
Artur M. Wolff
Madhav Hugar
Joe
Ibrahim Serdar Acikgoz
José Peso
ba79c48dca
Include https://github.com/mattermost/mattermost-plugin-api into the mono repo Co-authored-by: Jesse Hallam <[email protected]> Co-authored-by: Michael Kochell <[email protected]> Co-authored-by: Alejandro García Montoro <[email protected]> Co-authored-by: Ben Schumacher <[email protected]> Co-authored-by: Alex Dovenmuehle <[email protected]> Co-authored-by: Michael Kochell <[email protected]> Co-authored-by: Christopher Poile <[email protected]> Co-authored-by: İlker Göktuğ Öztürk <[email protected]> Co-authored-by: Shota Gvinepadze <[email protected]> Co-authored-by: Ali Farooq <[email protected]> Co-authored-by: Maria A Nunez <[email protected]> Co-authored-by: Daniel Espino García <[email protected]> Co-authored-by: Christopher Speller <[email protected]> Co-authored-by: Alex Dovenmuehle <[email protected]> Co-authored-by: Szymon Gibała <[email protected]> Co-authored-by: Lev <[email protected]> Co-authored-by: Jason Frerich <[email protected]> Co-authored-by: Agniva De Sarker <[email protected]> Co-authored-by: Artur M. Wolff <[email protected]> Co-authored-by: Madhav Hugar <[email protected]> Co-authored-by: Joe <[email protected]> Co-authored-by: Ibrahim Serdar Acikgoz <[email protected]> Co-authored-by: José Peso <[email protected]>
106 lines
3.3 KiB
Go
106 lines
3.3 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: github.com/mattermost/mattermost/server/public/pluginapi/experimental/oauther (interfaces: OAuther)
|
|
|
|
// Package mock_oauther is a generated GoMock package.
|
|
package mock_oauther
|
|
|
|
import (
|
|
http "net/http"
|
|
reflect "reflect"
|
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
oauth2 "golang.org/x/oauth2"
|
|
)
|
|
|
|
// MockOAuther is a mock of OAuther interface.
|
|
type MockOAuther struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockOAutherMockRecorder
|
|
}
|
|
|
|
// MockOAutherMockRecorder is the mock recorder for MockOAuther.
|
|
type MockOAutherMockRecorder struct {
|
|
mock *MockOAuther
|
|
}
|
|
|
|
// NewMockOAuther creates a new mock instance.
|
|
func NewMockOAuther(ctrl *gomock.Controller) *MockOAuther {
|
|
mock := &MockOAuther{ctrl: ctrl}
|
|
mock.recorder = &MockOAutherMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockOAuther) EXPECT() *MockOAutherMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// AddPayload mocks base method.
|
|
func (m *MockOAuther) AddPayload(arg0 string, arg1 []byte) error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "AddPayload", arg0, arg1)
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// AddPayload indicates an expected call of AddPayload.
|
|
func (mr *MockOAutherMockRecorder) AddPayload(arg0, arg1 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPayload", reflect.TypeOf((*MockOAuther)(nil).AddPayload), arg0, arg1)
|
|
}
|
|
|
|
// Deauthorize mocks base method.
|
|
func (m *MockOAuther) Deauthorize(arg0 string) error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "Deauthorize", arg0)
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// Deauthorize indicates an expected call of Deauthorize.
|
|
func (mr *MockOAutherMockRecorder) Deauthorize(arg0 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Deauthorize", reflect.TypeOf((*MockOAuther)(nil).Deauthorize), arg0)
|
|
}
|
|
|
|
// GetConnectURL mocks base method.
|
|
func (m *MockOAuther) GetConnectURL() string {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetConnectURL")
|
|
ret0, _ := ret[0].(string)
|
|
return ret0
|
|
}
|
|
|
|
// GetConnectURL indicates an expected call of GetConnectURL.
|
|
func (mr *MockOAutherMockRecorder) GetConnectURL() *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConnectURL", reflect.TypeOf((*MockOAuther)(nil).GetConnectURL))
|
|
}
|
|
|
|
// GetToken mocks base method.
|
|
func (m *MockOAuther) GetToken(arg0 string) (*oauth2.Token, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetToken", arg0)
|
|
ret0, _ := ret[0].(*oauth2.Token)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// GetToken indicates an expected call of GetToken.
|
|
func (mr *MockOAutherMockRecorder) GetToken(arg0 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetToken", reflect.TypeOf((*MockOAuther)(nil).GetToken), arg0)
|
|
}
|
|
|
|
// ServeHTTP mocks base method.
|
|
func (m *MockOAuther) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request) {
|
|
m.ctrl.T.Helper()
|
|
m.ctrl.Call(m, "ServeHTTP", arg0, arg1)
|
|
}
|
|
|
|
// ServeHTTP indicates an expected call of ServeHTTP.
|
|
func (mr *MockOAutherMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServeHTTP", reflect.TypeOf((*MockOAuther)(nil).ServeHTTP), arg0, arg1)
|
|
}
|