Documentation ¶
Index ¶
- type Service
- func (_m *Service) AddConnections(ctx context.Context, conns []clients.Connection) error
- func (_m *Service) Authenticate(ctx context.Context, key string) (string, error)
- func (_m *Service) RemoveChannelConnections(ctx context.Context, channelID string) error
- func (_m *Service) RemoveConnections(ctx context.Context, conns []clients.Connection) error
- func (_m *Service) RetrieveById(ctx context.Context, id string) (clients.Client, error)
- func (_m *Service) RetrieveByIds(ctx context.Context, ids []string) (clients.ClientsPage, error)
- func (_m *Service) UnsetParentGroupFromClient(ctx context.Context, parentGroupID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is an autogenerated mock type for the Service type
func NewService ¶
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 ¶
AddConnections provides a mock function with given fields: ctx, conns
func (*Service) Authenticate ¶
Authenticate provides a mock function with given fields: ctx, key
func (*Service) RemoveChannelConnections ¶
RemoveChannelConnections provides a mock function with given fields: ctx, channelID
func (*Service) RemoveConnections ¶
RemoveConnections provides a mock function with given fields: ctx, conns
func (*Service) RetrieveById ¶
RetrieveById provides a mock function with given fields: ctx, id
func (*Service) RetrieveByIds ¶
RetrieveByIds provides a mock function with given fields: ctx, ids