mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.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 Renderer

type Renderer struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

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