Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
Renderer is an autogenerated mock type for the Renderer type
func NewRenderer ¶
func NewRenderer(t mockConstructorTestingTNewRenderer) *Renderer
NewRenderer creates a new instance of Renderer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Renderer) RenderEgress ¶
func (_m *Renderer) RenderEgress(target *controllers.PodInfo, currentPolicies controllers.PolicyMap, currentPods controllers.PodMap, currentNamespaces controllers.NamespaceMap) ([]policyrules.PolicyRuleSet, error)
RenderEgress provides a mock function with given fields: target, currentPolicies, currentPods, currentNamespaces
func (*Renderer) RenderIngress ¶
func (_m *Renderer) RenderIngress(target *controllers.PodInfo, currentPolicies controllers.PolicyMap, currentPods controllers.PodMap, currentNamespaces controllers.NamespaceMap) ([]policyrules.PolicyRuleSet, error)
RenderIngress provides a mock function with given fields: target, currentPolicies, currentPods, currentNamespaces
Click to show internal directories.
Click to hide internal directories.