mocks

package
v0.0.0-...-b6b9972 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChannelRepository

func NewChannelRepository() manager.ChannelRepository

NewChannelRepository creates in-memory channel repository.

func NewClientRepository

func NewClientRepository() manager.ClientRepository

NewClientRepository creates in-memory client repository.

func NewHasher

func NewHasher() manager.Hasher

NewHasher creates "no-op" hasher for test purposes. This implementation will return secrets without changing them.

func NewIdentityProvider

func NewIdentityProvider() manager.IdentityProvider

NewIdentityProvider creates "mirror" identity provider, i.e. generated token will hold value provided by the caller.

func NewUserRepository

func NewUserRepository() manager.UserRepository

NewUserRepository creates in-memory user repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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