mock_app

package
v2.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

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

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

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.

func (*MockcreateOpenerMockRecorder) Create

func (mr *MockcreateOpenerMockRecorder) Create(arg0 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockcreateOpenerMockRecorder) Open

func (mr *MockcreateOpenerMockRecorder) Open(arg0 any) *gomock.Call

Open indicates an expected call of Open.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL