service

package
v0.0.0-...-1a88b7f Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 2 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) Start

func (_m *ApplicationService) Start() error

Start provides a mock function with given fields:

func (*ApplicationService) Stop

func (_m *ApplicationService) Stop() error

Stop provides a mock function with given fields:

type MockRbac

type MockRbac struct {
	mock.Mock
}

MockRbac is an autogenerated mock type for the MockRbac type

func NewMockRbac

func NewMockRbac(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRbac

NewMockRbac creates a new instance of MockRbac. 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 (*MockRbac) GetBaseURL

func (_m *MockRbac) GetBaseURL() string

GetBaseURL provides a mock function with given fields:

func (*MockRbac) SetPermissions

func (_m *MockRbac) SetPermissions(data []string)

SetPermissions provides a mock function with given fields: data

func (*MockRbac) WaitAddress

func (_m *MockRbac) WaitAddress(timeout time.Duration) error

WaitAddress provides a mock function with given fields: timeout

Jump to

Keyboard shortcuts

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