mock_cognito_service

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCognitoIdentityProvider

type MockCognitoIdentityProvider struct {
	// We only want to implement the methods we actually use...
	cognitoidentityprovideriface.CognitoIdentityProviderAPI
	// contains filtered or unexported fields
}

func NewMockCognitoIdentityProvider

func NewMockCognitoIdentityProvider() *MockCognitoIdentityProvider

func (*MockCognitoIdentityProvider) Clear

func (m *MockCognitoIdentityProvider) Clear()

func (*MockCognitoIdentityProvider) GetMockUser

func (m *MockCognitoIdentityProvider) GetMockUser(poolName, username string) *cognitoidentityprovider.UserType

func (*MockCognitoIdentityProvider) GetUserPool

func (m *MockCognitoIdentityProvider) GetUserPool(name string) *MockUserPool

func (*MockCognitoIdentityProvider) SetPools

func (m *MockCognitoIdentityProvider) SetPools(pools []*MockUserPool)

Jump to

Keyboard shortcuts

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