Documentation ¶
Index ¶
- Constants
- func GetDummyGateway() *entity.Gateway
- func GetDummyOrg() *entity.Organization
- func GetDummyPagination() entity.Pagination
- func GetDummyProxies(quantity int) (items []entity.Proxy)
- func GetDummyProxy() *entity.Proxy
- func GetDummyService() *entity.Service
- func GetDummyServices(quantity int) (items []entity.Service)
- func GetDummyTagOption() entity.TagOption
- func GetDummyUser() *entity.User
- func GetDummyUserAuth() *entity.UserAuthentication
- func GetDummyUserAuthWithUser() *entity.UserAuthentication
- func GetDummyUsers(quantity int) (items []entity.User)
- func NewDomainProviderMock[T any]() provider.DataResearcherProvider[T]
- type AuthProviderMock
- type DomainProviderMock
- type GatewayProviderMock
- type OrganizationProviderMock
- type ProxyProviderMock
- type UserProviderMock
- func (pkg *UserProviderMock) Get(ctx context.Context, nameOrID string) (item *entity.User, err error)
- func (pkg *UserProviderMock) GetUserByEmail(ctx context.Context, email string) (item *entity.User, err error)
- func (pkg *UserProviderMock) List(ctx context.Context, pagination entity.Pagination) (items []entity.User, err error)
Constants ¶
View Source
const ( TestFakeID = "123456" TestFakeEmail = "fulano.souza@email.com" TestFakePassword = "9kRo7FmFTQ%c" TestFakeJWT = "" /* 160-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func GetDummyGateway ¶
func GetDummyOrg ¶
func GetDummyOrg() *entity.Organization
func GetDummyPagination ¶
func GetDummyPagination() entity.Pagination
func GetDummyProxies ¶
func GetDummyProxy ¶
func GetDummyService ¶
func GetDummyServices ¶
func GetDummyTagOption ¶
func GetDummyUser ¶
func GetDummyUserAuth ¶
func GetDummyUserAuth() *entity.UserAuthentication
func GetDummyUserAuthWithUser ¶
func GetDummyUserAuthWithUser() *entity.UserAuthentication
func GetDummyUsers ¶
func NewDomainProviderMock ¶
func NewDomainProviderMock[T any]() provider.DataResearcherProvider[T]
Types ¶
type AuthProviderMock ¶
func (*AuthProviderMock) SignIn ¶
func (pkg *AuthProviderMock) SignIn(ctx context.Context, email, password string) (item *entity.UserAuthentication, err error)
type DomainProviderMock ¶
type GatewayProviderMock ¶
type OrganizationProviderMock ¶
func (*OrganizationProviderMock) Get ¶
func (pkg *OrganizationProviderMock) Get(ctx context.Context) (item *entity.Organization, err error)
type ProxyProviderMock ¶
type UserProviderMock ¶
func (*UserProviderMock) GetUserByEmail ¶
func (*UserProviderMock) List ¶
func (pkg *UserProviderMock) List(ctx context.Context, pagination entity.Pagination) (items []entity.User, err error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.