mocks

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicyDBClient

type PolicyDBClient struct {
	mock.Mock
}

PolicyDBClient is an autogenerated mock type for the PolicyDBClient type

func (*PolicyDBClient) GetChargingKeysForRules

func (_m *PolicyDBClient) GetChargingKeysForRules(ruleIDs []string, ruleDefs []*protos.PolicyRule) []policydb.ChargingKey

GetChargingKeysForRules provides a mock function with given fields: ruleIDs, ruleDefs

func (*PolicyDBClient) GetOmnipresentRules

func (_m *PolicyDBClient) GetOmnipresentRules() ([]string, []string)

GetOmnipresentRules provides a mock function with given fields:

func (*PolicyDBClient) GetPolicyRuleByID

func (_m *PolicyDBClient) GetPolicyRuleByID(id string) (*protos.PolicyRule, error)

GetPolicyRuleByID provides a mock function with given fields: id

func (*PolicyDBClient) GetRuleIDsForBaseNames

func (_m *PolicyDBClient) GetRuleIDsForBaseNames(baseNames []string) []string

GetRuleIDsForBaseNames provides a mock function with given fields: baseNames

Jump to

Keyboard shortcuts

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