mocks

package
v0.23.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 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 AuthzKeeper

type AuthzKeeper struct {
	mock.Mock
}

AuthzKeeper is an autogenerated mock type for the AuthzKeeper type

func NewAuthzKeeper

func NewAuthzKeeper(t mockConstructorTestingTNewAuthzKeeper) *AuthzKeeper

NewAuthzKeeper creates a new instance of AuthzKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AuthzKeeper) DeleteGrant

func (_m *AuthzKeeper) DeleteGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) error

DeleteGrant provides a mock function with given fields: ctx, grantee, granter, msgType

func (*AuthzKeeper) GetCleanAuthorization

func (_m *AuthzKeeper) GetCleanAuthorization(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) (authz.Authorization, time.Time)

GetCleanAuthorization provides a mock function with given fields: ctx, grantee, granter, msgType

func (*AuthzKeeper) SaveGrant

func (_m *AuthzKeeper) SaveGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, authorization authz.Authorization, expiration time.Time) error

SaveGrant provides a mock function with given fields: ctx, grantee, granter, authorization, expiration

Jump to

Keyboard shortcuts

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