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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	mock.Mock
}

Cache is an autogenerated mock type for the Cache type

func NewCache

func NewCache(t mockConstructorTestingTNewCache) *Cache

NewCache creates a new instance of Cache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Cache) Get

Get provides a mock function with given fields:

func (*Cache) Put

func (_m *Cache) Put(certSubjectMappings []certsubjmapping.SubjectConsumerTypeMapping)

Put provides a mock function with given fields: certSubjectMappings

type DirectorClient

type DirectorClient struct {
	mock.Mock
}

DirectorClient is an autogenerated mock type for the DirectorClient type

func NewDirectorClient

func NewDirectorClient(t mockConstructorTestingTNewDirectorClient) *DirectorClient

NewDirectorClient creates a new instance of DirectorClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DirectorClient) ListCertificateSubjectMappings

func (_m *DirectorClient) ListCertificateSubjectMappings(ctx context.Context, after string) (*graphql.CertificateSubjectMappingPage, error)

ListCertificateSubjectMappings provides a mock function with given fields: ctx, after

Jump to

Keyboard shortcuts

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