repository

package
v1.24.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth interface {
	AuthenticateWithCredentials(username, password string) (*model.TokenResponse, error)
	ExchangeToken(code string) (*model.TokenResponse, error)
}

type MockAuth added in v1.22.0

type MockAuth struct {
	// contains filtered or unexported fields
}

MockAuth is a mock of Auth interface.

func NewMockAuth added in v1.22.0

func NewMockAuth(ctrl *gomock.Controller) *MockAuth

NewMockAuth creates a new mock instance.

func (*MockAuth) AuthenticateWithCredentials added in v1.22.0

func (m *MockAuth) AuthenticateWithCredentials(username, password string) (*model.TokenResponse, error)

AuthenticateWithCredentials mocks base method.

func (*MockAuth) EXPECT added in v1.22.0

func (m *MockAuth) EXPECT() *MockAuthMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuth) ExchangeToken added in v1.22.0

func (m *MockAuth) ExchangeToken(code string) (*model.TokenResponse, error)

ExchangeToken mocks base method.

type MockAuthMockRecorder added in v1.22.0

type MockAuthMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthMockRecorder is the mock recorder for MockAuth.

func (*MockAuthMockRecorder) AuthenticateWithCredentials added in v1.22.0

func (mr *MockAuthMockRecorder) AuthenticateWithCredentials(username, password any) *gomock.Call

AuthenticateWithCredentials indicates an expected call of AuthenticateWithCredentials.

func (*MockAuthMockRecorder) ExchangeToken added in v1.22.0

func (mr *MockAuthMockRecorder) ExchangeToken(code any) *gomock.Call

ExchangeToken indicates an expected call of ExchangeToken.

Jump to

Keyboard shortcuts

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