mock_cache

package
v0.0.0-...-8f69376 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_cache is a generated GoMock package.

Package mock_cache is a generated GoMock package.

Index

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) Entries

func (m *MockCache) Entries() []*cache.Entry

Entries mocks base method

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) SetEntry

func (m *MockCache) SetEntry(arg0 *cache.Entry)

SetEntry 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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSubscriber) Finish

func (m *MockSubscriber) Finish()

Finish mocks base method

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

Jump to

Keyboard shortcuts

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