automock

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditlogClient

type AuditlogClient struct {
	mock.Mock
}

AuditlogClient is an autogenerated mock type for the AuditlogClient type

func (*AuditlogClient) LogConfigurationChange

func (_m *AuditlogClient) LogConfigurationChange(ctx context.Context, change model.ConfigurationChange) error

LogConfigurationChange provides a mock function with given fields: ctx, change

func (*AuditlogClient) LogSecurityEvent

func (_m *AuditlogClient) LogSecurityEvent(ctx context.Context, event model.SecurityEvent) error

LogSecurityEvent provides a mock function with given fields: ctx, event

type AuditlogMessageFactory

type AuditlogMessageFactory struct {
	mock.Mock
}

AuditlogMessageFactory is an autogenerated mock type for the AuditlogMessageFactory type

func (*AuditlogMessageFactory) CreateConfigurationChange

func (_m *AuditlogMessageFactory) CreateConfigurationChange() model.ConfigurationChange

CreateConfigurationChange provides a mock function with given fields:

func (*AuditlogMessageFactory) CreateSecurityEvent

func (_m *AuditlogMessageFactory) CreateSecurityEvent() model.SecurityEvent

CreateSecurityEvent provides a mock function with given fields:

type HttpClient

type HttpClient struct {
	mock.Mock
}

HttpClient is an autogenerated mock type for the HttpClient type

func (*HttpClient) Do

func (_m *HttpClient) Do(request *http.Request) (*http.Response, error)

Do provides a mock function with given fields: request

type MetricCollector

type MetricCollector struct {
	mock.Mock
}

MetricCollector is an autogenerated mock type for the MetricCollector type

func (*MetricCollector) SetChannelSize

func (_m *MetricCollector) SetChannelSize(size int)

SetChannelSize provides a mock function with given fields: size

type TimeService

type TimeService struct {
	mock.Mock
}

TimeService is an autogenerated mock type for the TimeService type

func (*TimeService) Now

func (_m *TimeService) Now() time.Time

Now provides a mock function with given fields:

type UUIDService

type UUIDService struct {
	mock.Mock
}

UUIDService is an autogenerated mock type for the UUIDService type

func (*UUIDService) Generate

func (_m *UUIDService) Generate() string

Generate provides a mock function with given fields:

Jump to

Keyboard shortcuts

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