mocks

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 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 ServiceAccountLoader

type ServiceAccountLoader struct {
	mock.Mock
	// contains filtered or unexported fields
}

ServiceAccountLoader is an autogenerated mock type for the ServiceAccountLoader type

func NewServiceAccountLoader

func NewServiceAccountLoader(authService *authservice.AuthService) *ServiceAccountLoader

func (*ServiceAccountLoader) LoadAccessToken

func (_m *ServiceAccountLoader) LoadAccessToken(appID string, orgID string) (*authservice.AccessToken, error)

LoadAccessToken provides a mock function with given fields: appID, orgID

func (*ServiceAccountLoader) LoadAccessTokens

LoadAccessTokens provides a mock function with given fields:

type ServiceRegLoader

type ServiceRegLoader struct {
	mock.Mock

	*authservice.ServiceRegSubscriptions
	// contains filtered or unexported fields
}

ServiceRegLoader is an autogenerated mock type for the ServiceRegLoader type

func NewServiceRegLoader

func NewServiceRegLoader(authService *authservice.AuthService, subscribedServices []string) *ServiceRegLoader

func (*ServiceRegLoader) LoadServices

func (_m *ServiceRegLoader) LoadServices() ([]authservice.ServiceReg, error)

LoadServices provides a mock function with given fields:

Jump to

Keyboard shortcuts

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