mocks

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 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 ApplicationManager

type ApplicationManager struct {
	mock.Mock
}

ApplicationManager is an autogenerated mock type for the ApplicationManager type

func (*ApplicationManager) Get

func (_m *ApplicationManager) Get(name string, options v1.GetOptions) (*v1alpha1.Application, error)

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

func (*ApplicationManager) Update

func (_m *ApplicationManager) Update(application *v1alpha1.Application) (*v1alpha1.Application, error)

Update provides a mock function with given fields: application

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