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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppManager

type AppManager struct {
	mock.Mock
}

AppManager is an autogenerated mock type for the AppManager type

func (*AppManager) Get

func (_m *AppManager) Get(ctx context.Context, name string, options v1.GetOptions) (*v1alpha1.Application, error)

Get provides a mock function with given fields: ctx, name, options

func (*AppManager) Update

func (_m *AppManager) Update(ctx context.Context, application *v1alpha1.Application, options v1.UpdateOptions) (*v1alpha1.Application, error)

Update provides a mock function with given fields: ctx, application, options

type ServiceRepository

type ServiceRepository struct {
	mock.Mock
}

ServiceRepository is an autogenerated mock type for the ServiceRepository type

func (*ServiceRepository) Create

func (_m *ServiceRepository) Create(application string, service applications.Service) apperrors.AppError

Create provides a mock function with given fields: application, service

func (*ServiceRepository) Delete

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

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

func (*ServiceRepository) Get

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

func (*ServiceRepository) GetAll

func (_m *ServiceRepository) GetAll(application string) ([]applications.Service, apperrors.AppError)

GetAll provides a mock function with given fields: application

func (*ServiceRepository) Update

func (_m *ServiceRepository) Update(application string, service applications.Service) apperrors.AppError

Update provides a mock function with given fields: application, service

Jump to

Keyboard shortcuts

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