Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
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 ¶
func (_m *Cache) Get() []certsubjmapping.SubjectConsumerTypeMapping
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 ¶
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