Documentation
¶
Index ¶
- type RemoteURLInterface
- type RemoteURLInterface_Expecter
- type RemoteURLInterface_Get_Call
- func (_c *RemoteURLInterface_Get_Call) Return(_a0 *admin.UrlBlob, _a1 error) *RemoteURLInterface_Get_Call
- func (_c *RemoteURLInterface_Get_Call) Run(run func(ctx context.Context, uri string)) *RemoteURLInterface_Get_Call
- func (_c *RemoteURLInterface_Get_Call) RunAndReturn(run func(context.Context, string) (*admin.UrlBlob, error)) *RemoteURLInterface_Get_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteURLInterface ¶ added in v1.15.0
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 (_m *RemoteURLInterface) EXPECT() *RemoteURLInterface_Expecter
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
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 (_c *RemoteURLInterface_Get_Call) Return(_a0 *admin.UrlBlob, _a1 error) *RemoteURLInterface_Get_Call
func (*RemoteURLInterface_Get_Call) Run ¶ added in v1.15.0
func (_c *RemoteURLInterface_Get_Call) Run(run func(ctx context.Context, uri string)) *RemoteURLInterface_Get_Call
func (*RemoteURLInterface_Get_Call) RunAndReturn ¶ added in v1.15.0
func (_c *RemoteURLInterface_Get_Call) RunAndReturn(run func(context.Context, string) (*admin.UrlBlob, error)) *RemoteURLInterface_Get_Call
Click to show internal directories.
Click to hide internal directories.