mock_operations

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MPL-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 MockClientOption

type MockClientOption struct {
	mock.Mock
}

MockClientOption is an autogenerated mock type for the ClientOption type

func NewMockClientOption

func NewMockClientOption(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockClientOption

NewMockClientOption creates a new instance of MockClientOption. 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 (*MockClientOption) EXPECT

func (*MockClientOption) Execute

func (_m *MockClientOption) Execute(_a0 *runtime.ClientOperation)

Execute provides a mock function with given fields: _a0

type MockClientOption_Execute_Call

type MockClientOption_Execute_Call struct {
	*mock.Call
}

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

func (*MockClientOption_Execute_Call) Return

func (*MockClientOption_Execute_Call) Run

func (*MockClientOption_Execute_Call) RunAndReturn

type MockClientOption_Expecter

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

func (*MockClientOption_Expecter) Execute

func (_e *MockClientOption_Expecter) Execute(_a0 interface{}) *MockClientOption_Execute_Call

Execute is a helper method to define mock.On call

  • _a0 *runtime.ClientOperation

type MockClientService

type MockClientService struct {
	mock.Mock
}

MockClientService is an autogenerated mock type for the ClientService type

func NewMockClientService

func NewMockClientService(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockClientService

NewMockClientService creates a new instance of MockClientService. 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 (*MockClientService) EXPECT

func (*MockClientService) GetReleaseV1

GetReleaseV1 provides a mock function with given fields: params, opts

func (*MockClientService) ListProductsV1

ListProductsV1 provides a mock function with given fields: params, opts

func (*MockClientService) ListReleasesV1

ListReleasesV1 provides a mock function with given fields: params, opts

func (*MockClientService) SetTransport

func (_m *MockClientService) SetTransport(transport runtime.ClientTransport)

SetTransport provides a mock function with given fields: transport

type MockClientService_Expecter

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

func (*MockClientService_Expecter) GetReleaseV1

func (_e *MockClientService_Expecter) GetReleaseV1(params interface{}, opts ...interface{}) *MockClientService_GetReleaseV1_Call

GetReleaseV1 is a helper method to define mock.On call

  • params *operations.GetReleaseV1Params
  • opts ...operations.ClientOption

func (*MockClientService_Expecter) ListProductsV1

func (_e *MockClientService_Expecter) ListProductsV1(params interface{}, opts ...interface{}) *MockClientService_ListProductsV1_Call

ListProductsV1 is a helper method to define mock.On call

  • params *operations.ListProductsV1Params
  • opts ...operations.ClientOption

func (*MockClientService_Expecter) ListReleasesV1

func (_e *MockClientService_Expecter) ListReleasesV1(params interface{}, opts ...interface{}) *MockClientService_ListReleasesV1_Call

ListReleasesV1 is a helper method to define mock.On call

  • params *operations.ListReleasesV1Params
  • opts ...operations.ClientOption

func (*MockClientService_Expecter) SetTransport

func (_e *MockClientService_Expecter) SetTransport(transport interface{}) *MockClientService_SetTransport_Call

SetTransport is a helper method to define mock.On call

  • transport runtime.ClientTransport

type MockClientService_GetReleaseV1_Call

type MockClientService_GetReleaseV1_Call struct {
	*mock.Call
}

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

func (*MockClientService_GetReleaseV1_Call) Return

func (*MockClientService_GetReleaseV1_Call) Run

type MockClientService_ListProductsV1_Call

type MockClientService_ListProductsV1_Call struct {
	*mock.Call
}

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

func (*MockClientService_ListProductsV1_Call) Return

func (*MockClientService_ListProductsV1_Call) Run

type MockClientService_ListReleasesV1_Call

type MockClientService_ListReleasesV1_Call struct {
	*mock.Call
}

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

func (*MockClientService_ListReleasesV1_Call) Return

func (*MockClientService_ListReleasesV1_Call) Run

type MockClientService_SetTransport_Call

type MockClientService_SetTransport_Call struct {
	*mock.Call
}

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

func (*MockClientService_SetTransport_Call) Return

func (*MockClientService_SetTransport_Call) Run

func (*MockClientService_SetTransport_Call) RunAndReturn

Jump to

Keyboard shortcuts

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