mocks

package
v0.0.0-...-cf21e3d Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientWithResponsesInterface

type ClientWithResponsesInterface struct {
	mock.Mock
}

ClientWithResponsesInterface is an autogenerated mock type for the ClientWithResponsesInterface type

func NewClientWithResponsesInterface

func NewClientWithResponsesInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientWithResponsesInterface

NewClientWithResponsesInterface creates a new instance of ClientWithResponsesInterface. 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 (*ClientWithResponsesInterface) CreateApiSecretWithBodyWithResponse

func (_m *ClientWithResponsesInterface) CreateApiSecretWithBodyWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, contentType string, body io.Reader, reqEditors ...api.RequestEditorFn) (*api.CreateApiSecretResponse, error)

CreateApiSecretWithBodyWithResponse provides a mock function with given fields: ctx, applicationIdentifier, contentType, body, reqEditors

func (*ClientWithResponsesInterface) CreateApiSecretWithResponse

func (_m *ClientWithResponsesInterface) CreateApiSecretWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, body api.ApiSecretData, reqEditors ...api.RequestEditorFn) (*api.CreateApiSecretResponse, error)

CreateApiSecretWithResponse provides a mock function with given fields: ctx, applicationIdentifier, body, reqEditors

func (*ClientWithResponsesInterface) CreateApplicationWithBodyWithResponse

func (_m *ClientWithResponsesInterface) CreateApplicationWithBodyWithResponse(ctx context.Context, params *api.CreateApplicationParams, contentType string, body io.Reader, reqEditors ...api.RequestEditorFn) (*api.CreateApplicationResponse, error)

CreateApplicationWithBodyWithResponse provides a mock function with given fields: ctx, params, contentType, body, reqEditors

func (*ClientWithResponsesInterface) CreateApplicationWithResponse

func (_m *ClientWithResponsesInterface) CreateApplicationWithResponse(ctx context.Context, params *api.CreateApplicationParams, body api.Application, reqEditors ...api.RequestEditorFn) (*api.CreateApplicationResponse, error)

CreateApplicationWithResponse provides a mock function with given fields: ctx, params, body, reqEditors

func (*ClientWithResponsesInterface) DeleteApiSecretWithResponse

func (_m *ClientWithResponsesInterface) DeleteApiSecretWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, params *api.DeleteApiSecretParams, reqEditors ...api.RequestEditorFn) (*api.DeleteApiSecretResponse, error)

DeleteApiSecretWithResponse provides a mock function with given fields: ctx, applicationIdentifier, params, reqEditors

func (*ClientWithResponsesInterface) DeleteApplicationWithResponse

func (_m *ClientWithResponsesInterface) DeleteApplicationWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, reqEditors ...api.RequestEditorFn) (*api.DeleteApplicationResponse, error)

DeleteApplicationWithResponse provides a mock function with given fields: ctx, applicationIdentifier, reqEditors

func (*ClientWithResponsesInterface) EXPECT

func (*ClientWithResponsesInterface) GetAllApplicationsWithResponse

func (_m *ClientWithResponsesInterface) GetAllApplicationsWithResponse(ctx context.Context, params *api.GetAllApplicationsParams, reqEditors ...api.RequestEditorFn) (*api.GetAllApplicationsResponse, error)

GetAllApplicationsWithResponse provides a mock function with given fields: ctx, params, reqEditors

func (*ClientWithResponsesInterface) GetApiSecretsWithResponse

func (_m *ClientWithResponsesInterface) GetApiSecretsWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, reqEditors ...api.RequestEditorFn) (*api.GetApiSecretsResponse, error)

GetApiSecretsWithResponse provides a mock function with given fields: ctx, applicationIdentifier, reqEditors

func (*ClientWithResponsesInterface) GetApplicationWithResponse

func (_m *ClientWithResponsesInterface) GetApplicationWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, params *api.GetApplicationParams, reqEditors ...api.RequestEditorFn) (*api.GetApplicationResponse, error)

GetApplicationWithResponse provides a mock function with given fields: ctx, applicationIdentifier, params, reqEditors

func (*ClientWithResponsesInterface) PatchApplicationWithBodyWithResponse

func (_m *ClientWithResponsesInterface) PatchApplicationWithBodyWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, params *api.PatchApplicationParams, contentType string, body io.Reader, reqEditors ...api.RequestEditorFn) (*api.PatchApplicationResponse, error)

PatchApplicationWithBodyWithResponse provides a mock function with given fields: ctx, applicationIdentifier, params, contentType, body, reqEditors

func (*ClientWithResponsesInterface) PatchApplicationWithResponse

func (_m *ClientWithResponsesInterface) PatchApplicationWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, params *api.PatchApplicationParams, body api.ApplicationPatch, reqEditors ...api.RequestEditorFn) (*api.PatchApplicationResponse, error)

PatchApplicationWithResponse provides a mock function with given fields: ctx, applicationIdentifier, params, body, reqEditors

func (*ClientWithResponsesInterface) UpdateApplicationWithBodyWithResponse

func (_m *ClientWithResponsesInterface) UpdateApplicationWithBodyWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, params *api.UpdateApplicationParams, contentType string, body io.Reader, reqEditors ...api.RequestEditorFn) (*api.UpdateApplicationResponse, error)

UpdateApplicationWithBodyWithResponse provides a mock function with given fields: ctx, applicationIdentifier, params, contentType, body, reqEditors

func (*ClientWithResponsesInterface) UpdateApplicationWithResponse

func (_m *ClientWithResponsesInterface) UpdateApplicationWithResponse(ctx context.Context, applicationIdentifier uuid.UUID, params *api.UpdateApplicationParams, body api.Application, reqEditors ...api.RequestEditorFn) (*api.UpdateApplicationResponse, error)

UpdateApplicationWithResponse provides a mock function with given fields: ctx, applicationIdentifier, params, body, reqEditors

type ClientWithResponsesInterface_CreateApiSecretWithBodyWithResponse_Call

type ClientWithResponsesInterface_CreateApiSecretWithBodyWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_CreateApiSecretWithBodyWithResponse_Call) Run

type ClientWithResponsesInterface_CreateApiSecretWithResponse_Call

type ClientWithResponsesInterface_CreateApiSecretWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_CreateApiSecretWithResponse_Call) Return

func (*ClientWithResponsesInterface_CreateApiSecretWithResponse_Call) Run

type ClientWithResponsesInterface_CreateApplicationWithBodyWithResponse_Call

type ClientWithResponsesInterface_CreateApplicationWithBodyWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_CreateApplicationWithBodyWithResponse_Call) Run

type ClientWithResponsesInterface_CreateApplicationWithResponse_Call

type ClientWithResponsesInterface_CreateApplicationWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_CreateApplicationWithResponse_Call) Run

type ClientWithResponsesInterface_DeleteApiSecretWithResponse_Call

type ClientWithResponsesInterface_DeleteApiSecretWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_DeleteApiSecretWithResponse_Call) Return

func (*ClientWithResponsesInterface_DeleteApiSecretWithResponse_Call) Run

type ClientWithResponsesInterface_DeleteApplicationWithResponse_Call

type ClientWithResponsesInterface_DeleteApplicationWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_DeleteApplicationWithResponse_Call) Run

type ClientWithResponsesInterface_Expecter

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

func (*ClientWithResponsesInterface_Expecter) CreateApiSecretWithBodyWithResponse

func (_e *ClientWithResponsesInterface_Expecter) CreateApiSecretWithBodyWithResponse(ctx interface{}, applicationIdentifier interface{}, contentType interface{}, body interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_CreateApiSecretWithBodyWithResponse_Call

CreateApiSecretWithBodyWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • contentType string
  • body io.Reader
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) CreateApiSecretWithResponse

func (_e *ClientWithResponsesInterface_Expecter) CreateApiSecretWithResponse(ctx interface{}, applicationIdentifier interface{}, body interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_CreateApiSecretWithResponse_Call

CreateApiSecretWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • body api.ApiSecretData
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) CreateApplicationWithBodyWithResponse

func (_e *ClientWithResponsesInterface_Expecter) CreateApplicationWithBodyWithResponse(ctx interface{}, params interface{}, contentType interface{}, body interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_CreateApplicationWithBodyWithResponse_Call

CreateApplicationWithBodyWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • params *api.CreateApplicationParams
  • contentType string
  • body io.Reader
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) CreateApplicationWithResponse

func (_e *ClientWithResponsesInterface_Expecter) CreateApplicationWithResponse(ctx interface{}, params interface{}, body interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_CreateApplicationWithResponse_Call

CreateApplicationWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • params *api.CreateApplicationParams
  • body api.Application
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) DeleteApiSecretWithResponse

func (_e *ClientWithResponsesInterface_Expecter) DeleteApiSecretWithResponse(ctx interface{}, applicationIdentifier interface{}, params interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_DeleteApiSecretWithResponse_Call

DeleteApiSecretWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • params *api.DeleteApiSecretParams
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) DeleteApplicationWithResponse

func (_e *ClientWithResponsesInterface_Expecter) DeleteApplicationWithResponse(ctx interface{}, applicationIdentifier interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_DeleteApplicationWithResponse_Call

DeleteApplicationWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) GetAllApplicationsWithResponse

func (_e *ClientWithResponsesInterface_Expecter) GetAllApplicationsWithResponse(ctx interface{}, params interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_GetAllApplicationsWithResponse_Call

GetAllApplicationsWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • params *api.GetAllApplicationsParams
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) GetApiSecretsWithResponse

func (_e *ClientWithResponsesInterface_Expecter) GetApiSecretsWithResponse(ctx interface{}, applicationIdentifier interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_GetApiSecretsWithResponse_Call

GetApiSecretsWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) GetApplicationWithResponse

func (_e *ClientWithResponsesInterface_Expecter) GetApplicationWithResponse(ctx interface{}, applicationIdentifier interface{}, params interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_GetApplicationWithResponse_Call

GetApplicationWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • params *api.GetApplicationParams
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) PatchApplicationWithBodyWithResponse

func (_e *ClientWithResponsesInterface_Expecter) PatchApplicationWithBodyWithResponse(ctx interface{}, applicationIdentifier interface{}, params interface{}, contentType interface{}, body interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_PatchApplicationWithBodyWithResponse_Call

PatchApplicationWithBodyWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • params *api.PatchApplicationParams
  • contentType string
  • body io.Reader
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) PatchApplicationWithResponse

func (_e *ClientWithResponsesInterface_Expecter) PatchApplicationWithResponse(ctx interface{}, applicationIdentifier interface{}, params interface{}, body interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_PatchApplicationWithResponse_Call

PatchApplicationWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • params *api.PatchApplicationParams
  • body api.ApplicationPatch
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) UpdateApplicationWithBodyWithResponse

func (_e *ClientWithResponsesInterface_Expecter) UpdateApplicationWithBodyWithResponse(ctx interface{}, applicationIdentifier interface{}, params interface{}, contentType interface{}, body interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_UpdateApplicationWithBodyWithResponse_Call

UpdateApplicationWithBodyWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • params *api.UpdateApplicationParams
  • contentType string
  • body io.Reader
  • reqEditors ...api.RequestEditorFn

func (*ClientWithResponsesInterface_Expecter) UpdateApplicationWithResponse

func (_e *ClientWithResponsesInterface_Expecter) UpdateApplicationWithResponse(ctx interface{}, applicationIdentifier interface{}, params interface{}, body interface{}, reqEditors ...interface{}) *ClientWithResponsesInterface_UpdateApplicationWithResponse_Call

UpdateApplicationWithResponse is a helper method to define mock.On call

  • ctx context.Context
  • applicationIdentifier uuid.UUID
  • params *api.UpdateApplicationParams
  • body api.Application
  • reqEditors ...api.RequestEditorFn

type ClientWithResponsesInterface_GetAllApplicationsWithResponse_Call

type ClientWithResponsesInterface_GetAllApplicationsWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_GetAllApplicationsWithResponse_Call) Run

type ClientWithResponsesInterface_GetApiSecretsWithResponse_Call

type ClientWithResponsesInterface_GetApiSecretsWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_GetApiSecretsWithResponse_Call) Return

func (*ClientWithResponsesInterface_GetApiSecretsWithResponse_Call) Run

type ClientWithResponsesInterface_GetApplicationWithResponse_Call

type ClientWithResponsesInterface_GetApplicationWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_GetApplicationWithResponse_Call) Return

func (*ClientWithResponsesInterface_GetApplicationWithResponse_Call) Run

type ClientWithResponsesInterface_PatchApplicationWithBodyWithResponse_Call

type ClientWithResponsesInterface_PatchApplicationWithBodyWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_PatchApplicationWithBodyWithResponse_Call) Run

type ClientWithResponsesInterface_PatchApplicationWithResponse_Call

type ClientWithResponsesInterface_PatchApplicationWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_PatchApplicationWithResponse_Call) Run

type ClientWithResponsesInterface_UpdateApplicationWithBodyWithResponse_Call

type ClientWithResponsesInterface_UpdateApplicationWithBodyWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_UpdateApplicationWithBodyWithResponse_Call) Run

type ClientWithResponsesInterface_UpdateApplicationWithResponse_Call

type ClientWithResponsesInterface_UpdateApplicationWithResponse_Call struct {
	*mock.Call
}

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

func (*ClientWithResponsesInterface_UpdateApplicationWithResponse_Call) Run

Jump to

Keyboard shortcuts

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