mocks

package
v0.0.0-...-6cc5b44 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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager

func NewManager(t mockConstructorTestingTNewManager) *Manager

NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Manager) Get

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

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

type ServiceRepository

type ServiceRepository struct {
	mock.Mock
}

ServiceRepository is an autogenerated mock type for the ServiceRepository type

func NewServiceRepository

func NewServiceRepository(t mockConstructorTestingTNewServiceRepository) *ServiceRepository

NewServiceRepository creates a new instance of ServiceRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ServiceRepository) GetByEntryName

func (_m *ServiceRepository) GetByEntryName(appName string, serviceName string, entryName string) (applications.Service, apperrors.AppError)

GetByEntryName provides a mock function with given fields: appName, serviceName, entryName

func (*ServiceRepository) GetByServiceName

func (_m *ServiceRepository) GetByServiceName(appName string, serviceName string) (applications.Service, apperrors.AppError)

GetByServiceName provides a mock function with given fields: appName, serviceName

Jump to

Keyboard shortcuts

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