mock_sessiond

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: 7 Imported by: 0

Documentation

Overview

Package test provides common definitions and function for eap related tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSessionManager

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

MockSessionManager test sessiond implementation

func NewRunningSessionManager

func NewRunningSessionManager(t *testing.T) *MockSessionManager

func (*MockSessionManager) EndSession

func (*MockSessionManager) ReportRuleStats

func (c *MockSessionManager) ReportRuleStats(ctx context.Context, in *protos.RuleRecordTable) (*orc_protos.Void, error)

func (*MockSessionManager) ReturnErrors

func (c *MockSessionManager) ReturnErrors(enable bool)

Jump to

Keyboard shortcuts

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