Documentation ¶
Index ¶
- type SecurityModuleClient
- func (_m *SecurityModuleClient) DumpActivity(ctx context.Context, in *api.ActivityDumpParams, opts ...grpc.CallOption) (*api.ActivityDumpMessage, error)
- func (_m *SecurityModuleClient) DumpDiscarders(ctx context.Context, in *api.DumpDiscardersParams, opts ...grpc.CallOption) (*api.DumpDiscardersMessage, error)
- func (_m *SecurityModuleClient) DumpNetworkNamespace(ctx context.Context, in *api.DumpNetworkNamespaceParams, ...) (*api.DumpNetworkNamespaceMessage, error)
- func (_m *SecurityModuleClient) DumpProcessCache(ctx context.Context, in *api.DumpProcessCacheParams, opts ...grpc.CallOption) (*api.SecurityDumpProcessCacheMessage, error)
- func (_m *SecurityModuleClient) GetActivityDumpStream(ctx context.Context, in *api.ActivityDumpStreamParams, opts ...grpc.CallOption) (api.SecurityModule_GetActivityDumpStreamClient, error)
- func (_m *SecurityModuleClient) GetConfig(ctx context.Context, in *api.GetConfigParams, opts ...grpc.CallOption) (*api.SecurityConfigMessage, error)
- func (_m *SecurityModuleClient) GetEvents(ctx context.Context, in *api.GetEventParams, opts ...grpc.CallOption) (api.SecurityModule_GetEventsClient, error)
- func (_m *SecurityModuleClient) GetRuleSetReport(ctx context.Context, in *api.GetRuleSetReportParams, opts ...grpc.CallOption) (*api.GetRuleSetReportResultMessage, error)
- func (_m *SecurityModuleClient) GetStatus(ctx context.Context, in *api.GetStatusParams, opts ...grpc.CallOption) (*api.Status, error)
- func (_m *SecurityModuleClient) ListActivityDumps(ctx context.Context, in *api.ActivityDumpListParams, opts ...grpc.CallOption) (*api.ActivityDumpListMessage, error)
- func (_m *SecurityModuleClient) ListSecurityProfiles(ctx context.Context, in *api.SecurityProfileListParams, ...) (*api.SecurityProfileListMessage, error)
- func (_m *SecurityModuleClient) ReloadPolicies(ctx context.Context, in *api.ReloadPoliciesParams, opts ...grpc.CallOption) (*api.ReloadPoliciesResultMessage, error)
- func (_m *SecurityModuleClient) RunSelfTest(ctx context.Context, in *api.RunSelfTestParams, opts ...grpc.CallOption) (*api.SecuritySelfTestResultMessage, error)
- func (_m *SecurityModuleClient) SaveSecurityProfile(ctx context.Context, in *api.SecurityProfileSaveParams, ...) (*api.SecurityProfileSaveMessage, error)
- func (_m *SecurityModuleClient) StopActivityDump(ctx context.Context, in *api.ActivityDumpStopParams, opts ...grpc.CallOption) (*api.ActivityDumpStopMessage, error)
- func (_m *SecurityModuleClient) TranscodingRequest(ctx context.Context, in *api.TranscodingRequestParams, opts ...grpc.CallOption) (*api.TranscodingRequestMessage, error)
- type SecurityModuleServer
- func (_m *SecurityModuleServer) DumpActivity(_a0 context.Context, _a1 *api.ActivityDumpParams) (*api.ActivityDumpMessage, error)
- func (_m *SecurityModuleServer) DumpDiscarders(_a0 context.Context, _a1 *api.DumpDiscardersParams) (*api.DumpDiscardersMessage, error)
- func (_m *SecurityModuleServer) DumpNetworkNamespace(_a0 context.Context, _a1 *api.DumpNetworkNamespaceParams) (*api.DumpNetworkNamespaceMessage, error)
- func (_m *SecurityModuleServer) DumpProcessCache(_a0 context.Context, _a1 *api.DumpProcessCacheParams) (*api.SecurityDumpProcessCacheMessage, error)
- func (_m *SecurityModuleServer) GetActivityDumpStream(_a0 *api.ActivityDumpStreamParams, ...) error
- func (_m *SecurityModuleServer) GetConfig(_a0 context.Context, _a1 *api.GetConfigParams) (*api.SecurityConfigMessage, error)
- func (_m *SecurityModuleServer) GetEvents(_a0 *api.GetEventParams, _a1 api.SecurityModule_GetEventsServer) error
- func (_m *SecurityModuleServer) GetRuleSetReport(_a0 context.Context, _a1 *api.GetRuleSetReportParams) (*api.GetRuleSetReportResultMessage, error)
- func (_m *SecurityModuleServer) GetStatus(_a0 context.Context, _a1 *api.GetStatusParams) (*api.Status, error)
- func (_m *SecurityModuleServer) ListActivityDumps(_a0 context.Context, _a1 *api.ActivityDumpListParams) (*api.ActivityDumpListMessage, error)
- func (_m *SecurityModuleServer) ListSecurityProfiles(_a0 context.Context, _a1 *api.SecurityProfileListParams) (*api.SecurityProfileListMessage, error)
- func (_m *SecurityModuleServer) ReloadPolicies(_a0 context.Context, _a1 *api.ReloadPoliciesParams) (*api.ReloadPoliciesResultMessage, error)
- func (_m *SecurityModuleServer) RunSelfTest(_a0 context.Context, _a1 *api.RunSelfTestParams) (*api.SecuritySelfTestResultMessage, error)
- func (_m *SecurityModuleServer) SaveSecurityProfile(_a0 context.Context, _a1 *api.SecurityProfileSaveParams) (*api.SecurityProfileSaveMessage, error)
- func (_m *SecurityModuleServer) StopActivityDump(_a0 context.Context, _a1 *api.ActivityDumpStopParams) (*api.ActivityDumpStopMessage, error)
- func (_m *SecurityModuleServer) TranscodingRequest(_a0 context.Context, _a1 *api.TranscodingRequestParams) (*api.TranscodingRequestMessage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecurityModuleClient ¶
SecurityModuleClient is an autogenerated mock type for the SecurityModuleClient type
func NewSecurityModuleClient ¶
func NewSecurityModuleClient(t interface { mock.TestingT Cleanup(func()) }) *SecurityModuleClient
NewSecurityModuleClient creates a new instance of SecurityModuleClient. 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 (*SecurityModuleClient) DumpActivity ¶
func (_m *SecurityModuleClient) DumpActivity(ctx context.Context, in *api.ActivityDumpParams, opts ...grpc.CallOption) (*api.ActivityDumpMessage, error)
DumpActivity provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) DumpDiscarders ¶
func (_m *SecurityModuleClient) DumpDiscarders(ctx context.Context, in *api.DumpDiscardersParams, opts ...grpc.CallOption) (*api.DumpDiscardersMessage, error)
DumpDiscarders provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) DumpNetworkNamespace ¶
func (_m *SecurityModuleClient) DumpNetworkNamespace(ctx context.Context, in *api.DumpNetworkNamespaceParams, opts ...grpc.CallOption) (*api.DumpNetworkNamespaceMessage, error)
DumpNetworkNamespace provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) DumpProcessCache ¶
func (_m *SecurityModuleClient) DumpProcessCache(ctx context.Context, in *api.DumpProcessCacheParams, opts ...grpc.CallOption) (*api.SecurityDumpProcessCacheMessage, error)
DumpProcessCache provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) GetActivityDumpStream ¶
func (_m *SecurityModuleClient) GetActivityDumpStream(ctx context.Context, in *api.ActivityDumpStreamParams, opts ...grpc.CallOption) (api.SecurityModule_GetActivityDumpStreamClient, error)
GetActivityDumpStream provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) GetConfig ¶
func (_m *SecurityModuleClient) GetConfig(ctx context.Context, in *api.GetConfigParams, opts ...grpc.CallOption) (*api.SecurityConfigMessage, error)
GetConfig provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) GetEvents ¶
func (_m *SecurityModuleClient) GetEvents(ctx context.Context, in *api.GetEventParams, opts ...grpc.CallOption) (api.SecurityModule_GetEventsClient, error)
GetEvents provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) GetRuleSetReport ¶
func (_m *SecurityModuleClient) GetRuleSetReport(ctx context.Context, in *api.GetRuleSetReportParams, opts ...grpc.CallOption) (*api.GetRuleSetReportResultMessage, error)
GetRuleSetReport provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) GetStatus ¶
func (_m *SecurityModuleClient) GetStatus(ctx context.Context, in *api.GetStatusParams, opts ...grpc.CallOption) (*api.Status, error)
GetStatus provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) ListActivityDumps ¶
func (_m *SecurityModuleClient) ListActivityDumps(ctx context.Context, in *api.ActivityDumpListParams, opts ...grpc.CallOption) (*api.ActivityDumpListMessage, error)
ListActivityDumps provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) ListSecurityProfiles ¶
func (_m *SecurityModuleClient) ListSecurityProfiles(ctx context.Context, in *api.SecurityProfileListParams, opts ...grpc.CallOption) (*api.SecurityProfileListMessage, error)
ListSecurityProfiles provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) ReloadPolicies ¶
func (_m *SecurityModuleClient) ReloadPolicies(ctx context.Context, in *api.ReloadPoliciesParams, opts ...grpc.CallOption) (*api.ReloadPoliciesResultMessage, error)
ReloadPolicies provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) RunSelfTest ¶
func (_m *SecurityModuleClient) RunSelfTest(ctx context.Context, in *api.RunSelfTestParams, opts ...grpc.CallOption) (*api.SecuritySelfTestResultMessage, error)
RunSelfTest provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) SaveSecurityProfile ¶
func (_m *SecurityModuleClient) SaveSecurityProfile(ctx context.Context, in *api.SecurityProfileSaveParams, opts ...grpc.CallOption) (*api.SecurityProfileSaveMessage, error)
SaveSecurityProfile provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) StopActivityDump ¶
func (_m *SecurityModuleClient) StopActivityDump(ctx context.Context, in *api.ActivityDumpStopParams, opts ...grpc.CallOption) (*api.ActivityDumpStopMessage, error)
StopActivityDump provides a mock function with given fields: ctx, in, opts
func (*SecurityModuleClient) TranscodingRequest ¶
func (_m *SecurityModuleClient) TranscodingRequest(ctx context.Context, in *api.TranscodingRequestParams, opts ...grpc.CallOption) (*api.TranscodingRequestMessage, error)
TranscodingRequest provides a mock function with given fields: ctx, in, opts
type SecurityModuleServer ¶
SecurityModuleServer is an autogenerated mock type for the SecurityModuleServer type
func NewSecurityModuleServer ¶
func NewSecurityModuleServer(t interface { mock.TestingT Cleanup(func()) }) *SecurityModuleServer
NewSecurityModuleServer creates a new instance of SecurityModuleServer. 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 (*SecurityModuleServer) DumpActivity ¶
func (_m *SecurityModuleServer) DumpActivity(_a0 context.Context, _a1 *api.ActivityDumpParams) (*api.ActivityDumpMessage, error)
DumpActivity provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) DumpDiscarders ¶
func (_m *SecurityModuleServer) DumpDiscarders(_a0 context.Context, _a1 *api.DumpDiscardersParams) (*api.DumpDiscardersMessage, error)
DumpDiscarders provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) DumpNetworkNamespace ¶
func (_m *SecurityModuleServer) DumpNetworkNamespace(_a0 context.Context, _a1 *api.DumpNetworkNamespaceParams) (*api.DumpNetworkNamespaceMessage, error)
DumpNetworkNamespace provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) DumpProcessCache ¶
func (_m *SecurityModuleServer) DumpProcessCache(_a0 context.Context, _a1 *api.DumpProcessCacheParams) (*api.SecurityDumpProcessCacheMessage, error)
DumpProcessCache provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) GetActivityDumpStream ¶
func (_m *SecurityModuleServer) GetActivityDumpStream(_a0 *api.ActivityDumpStreamParams, _a1 api.SecurityModule_GetActivityDumpStreamServer) error
GetActivityDumpStream provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) GetConfig ¶
func (_m *SecurityModuleServer) GetConfig(_a0 context.Context, _a1 *api.GetConfigParams) (*api.SecurityConfigMessage, error)
GetConfig provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) GetEvents ¶
func (_m *SecurityModuleServer) GetEvents(_a0 *api.GetEventParams, _a1 api.SecurityModule_GetEventsServer) error
GetEvents provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) GetRuleSetReport ¶
func (_m *SecurityModuleServer) GetRuleSetReport(_a0 context.Context, _a1 *api.GetRuleSetReportParams) (*api.GetRuleSetReportResultMessage, error)
GetRuleSetReport provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) GetStatus ¶
func (_m *SecurityModuleServer) GetStatus(_a0 context.Context, _a1 *api.GetStatusParams) (*api.Status, error)
GetStatus provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) ListActivityDumps ¶
func (_m *SecurityModuleServer) ListActivityDumps(_a0 context.Context, _a1 *api.ActivityDumpListParams) (*api.ActivityDumpListMessage, error)
ListActivityDumps provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) ListSecurityProfiles ¶
func (_m *SecurityModuleServer) ListSecurityProfiles(_a0 context.Context, _a1 *api.SecurityProfileListParams) (*api.SecurityProfileListMessage, error)
ListSecurityProfiles provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) ReloadPolicies ¶
func (_m *SecurityModuleServer) ReloadPolicies(_a0 context.Context, _a1 *api.ReloadPoliciesParams) (*api.ReloadPoliciesResultMessage, error)
ReloadPolicies provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) RunSelfTest ¶
func (_m *SecurityModuleServer) RunSelfTest(_a0 context.Context, _a1 *api.RunSelfTestParams) (*api.SecuritySelfTestResultMessage, error)
RunSelfTest provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) SaveSecurityProfile ¶
func (_m *SecurityModuleServer) SaveSecurityProfile(_a0 context.Context, _a1 *api.SecurityProfileSaveParams) (*api.SecurityProfileSaveMessage, error)
SaveSecurityProfile provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) StopActivityDump ¶
func (_m *SecurityModuleServer) StopActivityDump(_a0 context.Context, _a1 *api.ActivityDumpStopParams) (*api.ActivityDumpStopMessage, error)
StopActivityDump provides a mock function with given fields: _a0, _a1
func (*SecurityModuleServer) TranscodingRequest ¶
func (_m *SecurityModuleServer) TranscodingRequest(_a0 context.Context, _a1 *api.TranscodingRequestParams) (*api.TranscodingRequestMessage, error)
TranscodingRequest provides a mock function with given fields: _a0, _a1