automock

package
v0.0.0-...-984dfe6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 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 ApplicationConverter

type ApplicationConverter struct {
	mock.Mock
}

ApplicationConverter is an autogenerated mock type for the applicationConverter type

func NewApplicationConverter

func NewApplicationConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApplicationConverter

NewApplicationConverter creates a new instance of ApplicationConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ApplicationConverter) CreateInputJSONToModel

func (_m *ApplicationConverter) CreateInputJSONToModel(ctx context.Context, in string) (model.ApplicationRegisterInput, error)

CreateInputJSONToModel provides a mock function with given fields: ctx, in

type ApplicationService

type ApplicationService struct {
	mock.Mock
}

ApplicationService is an autogenerated mock type for the applicationService type

func NewApplicationService

func NewApplicationService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApplicationService

NewApplicationService creates a new instance of ApplicationService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ApplicationService) CreateFromTemplate

func (_m *ApplicationService) CreateFromTemplate(ctx context.Context, in model.ApplicationRegisterInput, appTemplateID *string, systemFieldDiscoveryLabelIsTrue bool) (string, error)

CreateFromTemplate provides a mock function with given fields: ctx, in, appTemplateID, systemFieldDiscoveryLabelIsTrue

func (*ApplicationService) GetLabel

func (_m *ApplicationService) GetLabel(ctx context.Context, applicationID string, key string) (*model.Label, error)

GetLabel provides a mock function with given fields: ctx, applicationID, key

func (*ApplicationService) GetSccSystem

func (_m *ApplicationService) GetSccSystem(ctx context.Context, sccSubaccount string, locationID string, virtualHost string) (*model.Application, error)

GetSccSystem provides a mock function with given fields: ctx, sccSubaccount, locationID, virtualHost

func (*ApplicationService) ListBySCC

ListBySCC provides a mock function with given fields: ctx, filter

func (*ApplicationService) ListSCCs

func (_m *ApplicationService) ListSCCs(ctx context.Context) ([]*model.SccMetadata, error)

ListSCCs provides a mock function with given fields: ctx

func (*ApplicationService) SetLabel

func (_m *ApplicationService) SetLabel(ctx context.Context, label *model.LabelInput) error

SetLabel provides a mock function with given fields: ctx, label

func (*ApplicationService) Update

Update provides a mock function with given fields: ctx, id, in

func (*ApplicationService) Upsert

Upsert provides a mock function with given fields: ctx, in

type ApplicationTemplateService

type ApplicationTemplateService struct {
	mock.Mock
}

ApplicationTemplateService is an autogenerated mock type for the applicationTemplateService type

func NewApplicationTemplateService

func NewApplicationTemplateService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ApplicationTemplateService

NewApplicationTemplateService creates a new instance of ApplicationTemplateService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ApplicationTemplateService) Get

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

func (*ApplicationTemplateService) PrepareApplicationCreateInputJSON

func (_m *ApplicationTemplateService) PrepareApplicationCreateInputJSON(appTemplate *model.ApplicationTemplate, values model.ApplicationFromTemplateInputValues) (string, error)

PrepareApplicationCreateInputJSON provides a mock function with given fields: appTemplate, values

type TenantService

type TenantService struct {
	mock.Mock
}

TenantService is an autogenerated mock type for the tenantService type

func NewTenantService

func NewTenantService(t interface {
	mock.TestingT
	Cleanup(func())
}) *TenantService

NewTenantService creates a new instance of TenantService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TenantService) ListsByExternalIDs

func (_m *TenantService) ListsByExternalIDs(ctx context.Context, ids []string) ([]*model.BusinessTenantMapping, error)

ListsByExternalIDs provides a mock function with given fields: ctx, ids

Jump to

Keyboard shortcuts

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