mocks

package
v0.0.0-...-8dae9f9 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecurityModuleClientWrapper

type SecurityModuleClientWrapper struct {
	mock.Mock
}

SecurityModuleClientWrapper is an autogenerated mock type for the SecurityModuleClientWrapper type

func NewSecurityModuleClientWrapper

func NewSecurityModuleClientWrapper(t interface {
	mock.TestingT
	Cleanup(func())
}) *SecurityModuleClientWrapper

NewSecurityModuleClientWrapper creates a new instance of SecurityModuleClientWrapper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SecurityModuleClientWrapper) Close

func (_m *SecurityModuleClientWrapper) Close()

Close provides a mock function with no fields

func (*SecurityModuleClientWrapper) DumpDiscarders

func (_m *SecurityModuleClientWrapper) DumpDiscarders() (string, error)

DumpDiscarders provides a mock function with no fields

func (*SecurityModuleClientWrapper) DumpNetworkNamespace

func (_m *SecurityModuleClientWrapper) DumpNetworkNamespace(snapshotInterfaces bool) (*api.DumpNetworkNamespaceMessage, error)

DumpNetworkNamespace provides a mock function with given fields: snapshotInterfaces

func (*SecurityModuleClientWrapper) DumpProcessCache

func (_m *SecurityModuleClientWrapper) DumpProcessCache(withArgs bool, format string) (string, error)

DumpProcessCache provides a mock function with given fields: withArgs, format

func (*SecurityModuleClientWrapper) GenerateActivityDump

func (_m *SecurityModuleClientWrapper) GenerateActivityDump(request *api.ActivityDumpParams) (*api.ActivityDumpMessage, error)

GenerateActivityDump provides a mock function with given fields: request

func (*SecurityModuleClientWrapper) GenerateEncoding

GenerateEncoding provides a mock function with given fields: request

func (*SecurityModuleClientWrapper) GetActivityDumpStream

GetActivityDumpStream provides a mock function with no fields

func (*SecurityModuleClientWrapper) GetConfig

GetConfig provides a mock function with no fields

func (*SecurityModuleClientWrapper) GetEvents

GetEvents provides a mock function with no fields

func (*SecurityModuleClientWrapper) GetRuleSetReport

GetRuleSetReport provides a mock function with no fields

func (*SecurityModuleClientWrapper) GetStatus

func (_m *SecurityModuleClientWrapper) GetStatus() (*api.Status, error)

GetStatus provides a mock function with no fields

func (*SecurityModuleClientWrapper) ListActivityDumps

func (_m *SecurityModuleClientWrapper) ListActivityDumps() (*api.ActivityDumpListMessage, error)

ListActivityDumps provides a mock function with no fields

func (*SecurityModuleClientWrapper) ListSecurityProfiles

func (_m *SecurityModuleClientWrapper) ListSecurityProfiles(includeCache bool) (*api.SecurityProfileListMessage, error)

ListSecurityProfiles provides a mock function with given fields: includeCache

func (*SecurityModuleClientWrapper) ReloadPolicies

ReloadPolicies provides a mock function with no fields

func (*SecurityModuleClientWrapper) RunSelfTest

RunSelfTest provides a mock function with no fields

func (*SecurityModuleClientWrapper) SaveSecurityProfile

func (_m *SecurityModuleClientWrapper) SaveSecurityProfile(name string, tag string) (*api.SecurityProfileSaveMessage, error)

SaveSecurityProfile provides a mock function with given fields: name, tag

func (*SecurityModuleClientWrapper) StopActivityDump

func (_m *SecurityModuleClientWrapper) StopActivityDump(name string, container string, cgroup string) (*api.ActivityDumpStopMessage, error)

StopActivityDump provides a mock function with given fields: name, container, cgroup

Jump to

Keyboard shortcuts

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