mocks

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func NewService

func NewService(t interface {
	mock.TestingT
	Cleanup(func())
}) *Service

NewService creates a new instance of Service. 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 (*Service) AddConnections

func (_m *Service) AddConnections(ctx context.Context, conns []clients.Connection) error

AddConnections provides a mock function with given fields: ctx, conns

func (*Service) Authenticate

func (_m *Service) Authenticate(ctx context.Context, key string) (string, error)

Authenticate provides a mock function with given fields: ctx, key

func (*Service) RemoveChannelConnections

func (_m *Service) RemoveChannelConnections(ctx context.Context, channelID string) error

RemoveChannelConnections provides a mock function with given fields: ctx, channelID

func (*Service) RemoveConnections

func (_m *Service) RemoveConnections(ctx context.Context, conns []clients.Connection) error

RemoveConnections provides a mock function with given fields: ctx, conns

func (*Service) RetrieveById

func (_m *Service) RetrieveById(ctx context.Context, id string) (clients.Client, error)

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

func (*Service) RetrieveByIds

func (_m *Service) RetrieveByIds(ctx context.Context, ids []string) (clients.ClientsPage, error)

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

func (*Service) UnsetParentGroupFromClient

func (_m *Service) UnsetParentGroupFromClient(ctx context.Context, parentGroupID string) error

UnsetParentGroupFromClient provides a mock function with given fields: ctx, parentGroupID

Jump to

Keyboard shortcuts

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