mocks

package
v0.0.0-...-f942f97 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 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 Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) Delete

func (_m *Service) Delete(application string, id string) apperrors.AppError

Delete provides a mock function with given fields: application, id

func (*Service) New

func (_m *Service) New(application string, appUID types.UID, id string, displayName string, api *model.API) (*applications.ServiceAPI, apperrors.AppError)

New provides a mock function with given fields: application, appUID, id, displayName, api

func (*Service) Read

func (_m *Service) Read(application string, serviceApi *applications.ServiceAPI) (*model.API, apperrors.AppError)

Read provides a mock function with given fields: application, serviceApi

func (*Service) Update

func (_m *Service) Update(application string, appUID types.UID, id string, displayName string, api *model.API) (*applications.ServiceAPI, apperrors.AppError)

Update provides a mock function with given fields: application, appUID, id, displayName, api

Jump to

Keyboard shortcuts

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