Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { // Policy is returned as the output to GetPolicy if a Policy // for id is not in PolicyMap Policy *Policy // BasePathVal is returned as the result of BasePath BasePathVal string // PolicyMap is returned is used to look up Policies in PolicyMap map[string]policies.Policy // SubManagers is used for the return value of Manager SubManagersMap map[string]*Manager }
Manager is a mock implementation of the policies.Manager interface
func (*Manager) GetPolicy ¶
GetPolicy returns the value of Manager.Policy and whether it was nil or not
func (*Manager) Manager ¶
Manager returns the Manager from SubManagers for the last component of the path
Click to show internal directories.
Click to hide internal directories.