mocks

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteURLInterface added in v1.15.0

type RemoteURLInterface struct {
	mock.Mock
}

RemoteURLInterface is an autogenerated mock type for the RemoteURLInterface type

func NewRemoteURLInterface added in v1.15.0

func NewRemoteURLInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *RemoteURLInterface

NewRemoteURLInterface creates a new instance of RemoteURLInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RemoteURLInterface) EXPECT added in v1.15.0

func (*RemoteURLInterface) Get added in v1.15.0

func (_m *RemoteURLInterface) Get(ctx context.Context, uri string) (*admin.UrlBlob, error)

Get provides a mock function with given fields: ctx, uri

type RemoteURLInterface_Expecter added in v1.15.0

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

func (*RemoteURLInterface_Expecter) Get added in v1.15.0

func (_e *RemoteURLInterface_Expecter) Get(ctx interface{}, uri interface{}) *RemoteURLInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • uri string

type RemoteURLInterface_Get_Call added in v1.15.0

type RemoteURLInterface_Get_Call struct {
	*mock.Call
}

RemoteURLInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RemoteURLInterface_Get_Call) Return added in v1.15.0

func (*RemoteURLInterface_Get_Call) Run added in v1.15.0

func (*RemoteURLInterface_Get_Call) RunAndReturn added in v1.15.0

Jump to

Keyboard shortcuts

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