Documentation ¶
Index ¶
- func GetSamplePrivKey() *rsa.PrivateKey
- func GetSamplePrivKeyPem() string
- func GetSamplePubKey() *authservice.PubKey
- func GetSamplePubKeyFingerprint() string
- func GetSamplePubKeyPem() string
- func SetupExampleMockLoader() *mocks.ServiceRegLoader
- func SetupMockServiceLoader(subscribed []string, result []authservice.ServiceReg, err error) *mocks.ServiceRegLoader
- func SetupTestAuthService(mockServiceLoader *mocks.ServiceRegLoader) (*authservice.AuthService, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSamplePrivKey ¶
func GetSamplePrivKey() *rsa.PrivateKey
func GetSamplePrivKeyPem ¶
func GetSamplePrivKeyPem() string
func GetSamplePubKey ¶
func GetSamplePubKey() *authservice.PubKey
func GetSamplePubKeyFingerprint ¶ added in v0.1.2
func GetSamplePubKeyFingerprint() string
func GetSamplePubKeyPem ¶
func GetSamplePubKeyPem() string
func SetupExampleMockLoader ¶ added in v0.1.12
func SetupExampleMockLoader() *mocks.ServiceRegLoader
func SetupMockServiceLoader ¶
func SetupMockServiceLoader(subscribed []string, result []authservice.ServiceReg, err error) *mocks.ServiceRegLoader
func SetupTestAuthService ¶
func SetupTestAuthService(mockServiceLoader *mocks.ServiceRegLoader) (*authservice.AuthService, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.