quotatest

package
v0.0.1-test Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeQuotaService

type FakeQuotaService struct {
	// contains filtered or unexported fields
}

func NewQuotaServiceFake

func NewQuotaServiceFake() *FakeQuotaService

func (*FakeQuotaService) CheckQuotaReached

func (f *FakeQuotaService) CheckQuotaReached(c context.Context, target string, params *quota.ScopeParameters) (bool, error)

func (*FakeQuotaService) DeleteByUser

func (f *FakeQuotaService) DeleteByUser(c context.Context, userID int64) error

func (*FakeQuotaService) QuotaReached

func (f *FakeQuotaService) QuotaReached(c *models.ReqContext, target string) (bool, error)

Jump to

Keyboard shortcuts

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