Documentation ¶
Overview ¶
Package mock_cache is a generated GoMock package.
Package mock_cache is a generated GoMock package.
Index ¶
- type MockCache
- func (m *MockCache) Bundle() []*x509.Certificate
- func (m *MockCache) DeleteEntry(arg0 *common.RegistrationEntry) bool
- func (m *MockCache) EXPECT() *MockCacheMockRecorder
- func (m *MockCache) Entries() []*cache.Entry
- func (m *MockCache) Entry(arg0 *common.RegistrationEntry) *cache.Entry
- func (m *MockCache) SetBundles(arg0 map[string][]*x509.Certificate)
- func (m *MockCache) SetEntry(arg0 *cache.Entry)
- func (m *MockCache) Subscribe(arg0 cache.Selectors) cache.Subscriber
- func (m *MockCache) SubscribeToBundleChanges() *cache.BundleStream
- type MockCacheMockRecorder
- func (mr *MockCacheMockRecorder) Bundle() *gomock.Call
- func (mr *MockCacheMockRecorder) DeleteEntry(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Entries() *gomock.Call
- func (mr *MockCacheMockRecorder) Entry(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) SetBundles(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) SetEntry(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) SubscribeToBundleChanges() *gomock.Call
- type MockSubscriber
- type MockSubscriberMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance
func (*MockCache) Bundle ¶
func (m *MockCache) Bundle() []*x509.Certificate
Bundle mocks base method
func (*MockCache) DeleteEntry ¶
func (m *MockCache) DeleteEntry(arg0 *common.RegistrationEntry) bool
DeleteEntry mocks base method
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCache) Entry ¶
func (m *MockCache) Entry(arg0 *common.RegistrationEntry) *cache.Entry
Entry mocks base method
func (*MockCache) SetBundles ¶
func (m *MockCache) SetBundles(arg0 map[string][]*x509.Certificate)
SetBundles mocks base method
func (*MockCache) Subscribe ¶
func (m *MockCache) Subscribe(arg0 cache.Selectors) cache.Subscriber
Subscribe mocks base method
func (*MockCache) SubscribeToBundleChanges ¶
func (m *MockCache) SubscribeToBundleChanges() *cache.BundleStream
SubscribeToBundleChanges mocks base method
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache
func (*MockCacheMockRecorder) Bundle ¶
func (mr *MockCacheMockRecorder) Bundle() *gomock.Call
Bundle indicates an expected call of Bundle
func (*MockCacheMockRecorder) DeleteEntry ¶
func (mr *MockCacheMockRecorder) DeleteEntry(arg0 interface{}) *gomock.Call
DeleteEntry indicates an expected call of DeleteEntry
func (*MockCacheMockRecorder) Entries ¶
func (mr *MockCacheMockRecorder) Entries() *gomock.Call
Entries indicates an expected call of Entries
func (*MockCacheMockRecorder) Entry ¶
func (mr *MockCacheMockRecorder) Entry(arg0 interface{}) *gomock.Call
Entry indicates an expected call of Entry
func (*MockCacheMockRecorder) SetBundles ¶
func (mr *MockCacheMockRecorder) SetBundles(arg0 interface{}) *gomock.Call
SetBundles indicates an expected call of SetBundles
func (*MockCacheMockRecorder) SetEntry ¶
func (mr *MockCacheMockRecorder) SetEntry(arg0 interface{}) *gomock.Call
SetEntry indicates an expected call of SetEntry
func (*MockCacheMockRecorder) Subscribe ¶
func (mr *MockCacheMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe
func (*MockCacheMockRecorder) SubscribeToBundleChanges ¶
func (mr *MockCacheMockRecorder) SubscribeToBundleChanges() *gomock.Call
SubscribeToBundleChanges indicates an expected call of SubscribeToBundleChanges
type MockSubscriber ¶
type MockSubscriber struct {
// contains filtered or unexported fields
}
MockSubscriber is a mock of Subscriber interface
func NewMockSubscriber ¶
func NewMockSubscriber(ctrl *gomock.Controller) *MockSubscriber
NewMockSubscriber creates a new mock instance
func (*MockSubscriber) EXPECT ¶
func (m *MockSubscriber) EXPECT() *MockSubscriberMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSubscriber) Updates ¶
func (m *MockSubscriber) Updates() <-chan *cache.WorkloadUpdate
Updates mocks base method
type MockSubscriberMockRecorder ¶
type MockSubscriberMockRecorder struct {
// contains filtered or unexported fields
}
MockSubscriberMockRecorder is the mock recorder for MockSubscriber
func (*MockSubscriberMockRecorder) Finish ¶
func (mr *MockSubscriberMockRecorder) Finish() *gomock.Call
Finish indicates an expected call of Finish
func (*MockSubscriberMockRecorder) Updates ¶
func (mr *MockSubscriberMockRecorder) Updates() *gomock.Call
Updates indicates an expected call of Updates