automock

package
v0.0.0-...-0640eb1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectorClient

type DirectorClient struct {
	mock.Mock
}

DirectorClient is an autogenerated mock type for the DirectorClient type

func (*DirectorClient) DeleteSystemAsync

func (_m *DirectorClient) DeleteSystemAsync(ctx context.Context, id string, tenant string) error

DeleteSystemAsync provides a mock function with given fields: ctx, id, tenant

type SystemsAPIClient

type SystemsAPIClient struct {
	mock.Mock
}

SystemsAPIClient is an autogenerated mock type for the SystemsAPIClient type

func (*SystemsAPIClient) FetchSystemsForTenant

func (_m *SystemsAPIClient) FetchSystemsForTenant(ctx context.Context, tenant string) ([]systemfetcher.System, error)

FetchSystemsForTenant provides a mock function with given fields: ctx, tenant

type SystemsService

type SystemsService struct {
	mock.Mock
}

SystemsService is an autogenerated mock type for the SystemsService type

func (*SystemsService) CreateManyIfNotExistsWithEventualTemplate

func (_m *SystemsService) CreateManyIfNotExistsWithEventualTemplate(ctx context.Context, applicationInputs []model.ApplicationRegisterInputWithTemplate) error

CreateManyIfNotExistsWithEventualTemplate provides a mock function with given fields: ctx, applicationInputs

func (*SystemsService) GetByNameAndSystemNumber

func (_m *SystemsService) GetByNameAndSystemNumber(ctx context.Context, name string, systemNumber string) (*model.Application, error)

GetByNameAndSystemNumber provides a mock function with given fields: ctx, name, systemNumber

type TenantService

type TenantService struct {
	mock.Mock
}

TenantService is an autogenerated mock type for the TenantService type

func (*TenantService) GetInternalTenant

func (_m *TenantService) GetInternalTenant(ctx context.Context, externalTenant string) (string, error)

GetInternalTenant provides a mock function with given fields: ctx, externalTenant

func (*TenantService) List

List provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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