automock

package
v0.0.0-...-6d13c91 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 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 CertificateHeaderParser

type CertificateHeaderParser struct {
	mock.Mock
}

CertificateHeaderParser is an autogenerated mock type for the CertificateHeaderParser type

func NewCertificateHeaderParser

func NewCertificateHeaderParser(t interface {
	mock.TestingT
	Cleanup(func())
}) *CertificateHeaderParser

NewCertificateHeaderParser creates a new instance of CertificateHeaderParser. 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 (*CertificateHeaderParser) GetCertificateData

func (_m *CertificateHeaderParser) GetCertificateData(_a0 *http.Request) *certresolver.CertificateData

GetCertificateData provides a mock function with given fields: _a0

func (*CertificateHeaderParser) GetIssuer

func (_m *CertificateHeaderParser) GetIssuer() string

GetIssuer provides a mock function with given fields:

type RevokedCertificatesCache

type RevokedCertificatesCache struct {
	mock.Mock
}

RevokedCertificatesCache is an autogenerated mock type for the RevokedCertificatesCache type

func NewRevokedCertificatesCache

func NewRevokedCertificatesCache(t interface {
	mock.TestingT
	Cleanup(func())
}) *RevokedCertificatesCache

NewRevokedCertificatesCache creates a new instance of RevokedCertificatesCache. 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 (*RevokedCertificatesCache) Get

func (_m *RevokedCertificatesCache) Get() map[string]string

Get 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