Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: auth.go
Generated by this command:
mockgen -source=auth.go -destination=../mocks/mock_app/mock_app.go Credentials,createOpener
Package mock_app is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCredentials ¶
type MockCredentials struct {
// contains filtered or unexported fields
}
MockCredentials is a mock of Credentials interface.
func NewMockCredentials ¶
func NewMockCredentials(ctrl *gomock.Controller) *MockCredentials
NewMockCredentials creates a new mock instance.
func (*MockCredentials) AuthProvider ¶
func (m *MockCredentials) AuthProvider(ctx context.Context, workspace string, browser browser.Browser, legacy bool) (auth.Provider, error)
AuthProvider mocks base method.
func (*MockCredentials) EXPECT ¶
func (m *MockCredentials) EXPECT() *MockCredentialsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCredentials) IsEmpty ¶
func (m *MockCredentials) IsEmpty() bool
IsEmpty mocks base method.
type MockCredentialsMockRecorder ¶
type MockCredentialsMockRecorder struct {
// contains filtered or unexported fields
}
MockCredentialsMockRecorder is the mock recorder for MockCredentials.
func (*MockCredentialsMockRecorder) AuthProvider ¶
func (mr *MockCredentialsMockRecorder) AuthProvider(ctx, workspace, browser, legacy any) *gomock.Call
AuthProvider indicates an expected call of AuthProvider.
func (*MockCredentialsMockRecorder) IsEmpty ¶
func (mr *MockCredentialsMockRecorder) IsEmpty() *gomock.Call
IsEmpty indicates an expected call of IsEmpty.
type MockcreateOpener ¶
type MockcreateOpener struct {
// contains filtered or unexported fields
}
MockcreateOpener is a mock of createOpener interface.
func NewMockcreateOpener ¶
func NewMockcreateOpener(ctrl *gomock.Controller) *MockcreateOpener
NewMockcreateOpener creates a new mock instance.
func (*MockcreateOpener) Create ¶
func (m *MockcreateOpener) Create(arg0 string) (io.WriteCloser, error)
Create mocks base method.
func (*MockcreateOpener) EXPECT ¶
func (m *MockcreateOpener) EXPECT() *MockcreateOpenerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockcreateOpener) Open ¶
func (m *MockcreateOpener) Open(arg0 string) (io.ReadCloser, error)
Open mocks base method.
type MockcreateOpenerMockRecorder ¶
type MockcreateOpenerMockRecorder struct {
// contains filtered or unexported fields
}
MockcreateOpenerMockRecorder is the mock recorder for MockcreateOpener.