mocks

package
v0.7.3-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppealService

type AppealService struct {
	mock.Mock
}

AppealService is an autogenerated mock type for the appealService type

func (*AppealService) Find

Find provides a mock function with given fields: _a0, _a1

func (*AppealService) Revoke

func (_m *AppealService) Revoke(ctx context.Context, id string, actor string, reason string) (*domain.Appeal, error)

Revoke provides a mock function with given fields: ctx, id, actor, reason

type GrantService

type GrantService struct {
	mock.Mock
}

GrantService is an autogenerated mock type for the grantService type

func (*GrantService) List

List provides a mock function with given fields: _a0, _a1

func (*GrantService) Revoke

func (_m *GrantService) Revoke(ctx context.Context, id string, actor string, reason string, opts ...grant.Option) (*domain.Grant, error)

Revoke provides a mock function with given fields: ctx, id, actor, reason, opts

type ProviderService

type ProviderService struct {
	mock.Mock
}

ProviderService is an autogenerated mock type for the providerService type

func (*ProviderService) FetchResources

func (_m *ProviderService) FetchResources(_a0 context.Context) error

FetchResources provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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