automock

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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 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) ListAll

func (_m *ApplicationService) ListAll(ctx context.Context) ([]*model.Application, error)

ListAll provides a mock function with given fields: ctx

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) GetByFilters

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

type IntegrationSystemService

type IntegrationSystemService struct {
	mock.Mock
}

IntegrationSystemService is an autogenerated mock type for the IntegrationSystemService type

func NewIntegrationSystemService

func NewIntegrationSystemService(t interface {
	mock.TestingT
	Cleanup(func())
}) *IntegrationSystemService

NewIntegrationSystemService creates a new instance of IntegrationSystemService. 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 (*IntegrationSystemService) Exists

func (_m *IntegrationSystemService) Exists(_a0 context.Context, _a1 string) (bool, error)

Exists provides a mock function with given fields: _a0, _a1

type RuntimeCtxService

type RuntimeCtxService struct {
	mock.Mock
}

RuntimeCtxService is an autogenerated mock type for the RuntimeCtxService type

func NewRuntimeCtxService

func NewRuntimeCtxService(t interface {
	mock.TestingT
	Cleanup(func())
}) *RuntimeCtxService

NewRuntimeCtxService creates a new instance of RuntimeCtxService. 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 (*RuntimeCtxService) ListByFilter

func (_m *RuntimeCtxService) ListByFilter(ctx context.Context, runtimeID string, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.RuntimeContextPage, error)

ListByFilter provides a mock function with given fields: ctx, runtimeID, filter, pageSize, cursor

type RuntimeService

type RuntimeService struct {
	mock.Mock
}

RuntimeService is an autogenerated mock type for the RuntimeService type

func NewRuntimeService

func NewRuntimeService(t interface {
	mock.TestingT
	Cleanup(func())
}) *RuntimeService

NewRuntimeService creates a new instance of RuntimeService. 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 (*RuntimeService) GetByFilters

func (_m *RuntimeService) GetByFilters(ctx context.Context, filters []*labelfilter.LabelFilter) (*model.Runtime, error)

GetByFilters provides a mock function with given fields: ctx, filters

func (*RuntimeService) GetLabel

func (_m *RuntimeService) GetLabel(_a0 context.Context, _a1 string, _a2 string) (*model.Label, error)

GetLabel provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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