service_mock

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerService

type ServerService struct {
	mock.Mock
}

ServerService is an autogenerated mock type for the ServerService type

func NewServerService

func NewServerService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServerService

NewServerService creates a new instance of ServerService. 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 (*ServerService) AuditRecordsGet

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

func (*ServerService) AuditRecordsList

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

func (*ServerService) AuthContextByAPIToken

func (_m *ServerService) AuthContextByAPIToken(_a0 context.Context, _a1 string) (context.Context, error)

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

func (*ServerService) AuthContextByLarkID

func (_m *ServerService) AuthContextByLarkID(_a0 context.Context, _a1 string) (context.Context, error)

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

func (*ServerService) AuthContextBySlackID

func (_m *ServerService) AuthContextBySlackID(_a0 context.Context, _a1 string) (context.Context, error)

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

func (*ServerService) AuthContextByTelegramID

func (_m *ServerService) AuthContextByTelegramID(_a0 context.Context, _a1 int64) (context.Context, error)

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

func (*ServerService) DNSRecordsClear

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

func (*ServerService) DNSRecordsCreate

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

func (*ServerService) DNSRecordsDelete

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

func (*ServerService) DNSRecordsList

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

func (*ServerService) EventsGet

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

func (*ServerService) EventsList

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

func (*ServerService) HTTPRoutesClear

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

func (*ServerService) HTTPRoutesCreate

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

func (*ServerService) HTTPRoutesDelete

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

func (*ServerService) HTTPRoutesList

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

func (*ServerService) HTTPRoutesUpdate

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

func (*ServerService) LarkProvisionUser

func (_m *ServerService) LarkProvisionUser(_a0 context.Context, _a1 string) error

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

func (*ServerService) PayloadsClear

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

func (*ServerService) PayloadsCreate

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

func (*ServerService) PayloadsDelete

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

func (*ServerService) PayloadsList

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

func (*ServerService) PayloadsUpdate

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

func (*ServerService) ProfileGet

func (_m *ServerService) ProfileGet(_a0 context.Context) (*service.ProfileGetOutput, error)

ProfileGet provides a mock function with given fields: _a0

func (*ServerService) UsersCreate

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

func (*ServerService) UsersDelete

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

Jump to

Keyboard shortcuts

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