mocks

package
v0.0.0-...-b175f30 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffiliationClient

type AffiliationClient struct {
	mock.Mock
}

AffiliationClient is an autogenerated mock type for the AffiliationClient type

func (*AffiliationClient) AddIdentity

func (_m *AffiliationClient) AddIdentity(identity *affiliation.Identity) bool

AddIdentity provides a mock function with given fields: identity

func (*AffiliationClient) GetIdentityByUser

func (_m *AffiliationClient) GetIdentityByUser(key string, value string) (*affiliation.AffIdentity, error)

GetIdentityByUser provides a mock function with given fields: key, value

func (*AffiliationClient) GetOrganizations

func (_m *AffiliationClient) GetOrganizations(uuid string, projectSlug string) *[]affiliation.Enrollment

GetOrganizations provides a mock function with given fields: uuid, projectSlug

type AuthClientProvider

type AuthClientProvider struct {
	mock.Mock
}

AuthClientProvider is an autogenerated mock type for the AuthClientProvider type

func (*AuthClientProvider) GetToken

func (_m *AuthClientProvider) GetToken(env string) (string, error)

GetToken provides a mock function with given fields: env

Jump to

Keyboard shortcuts

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