Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCertificateFetcher
- type MockCertificateFetcherMockRecorder
- type MockSecretCache
- type MockSecretCacheMockRecorder
- type MockSecretClient
- type MockSecretClientMockRecorder
- type MockSecretManager
- func (m *MockSecretManager) EXPECT() *MockSecretManagerMockRecorder
- func (m *MockSecretManager) Manage(ctx context.Context, forceInterval time.Duration)
- func (m *MockSecretManager) SetResourcesForNode(ctx context.Context, names []string, node string) error
- func (m *MockSecretManager) Unwatch(ctx context.Context, names []string, node string) error
- func (m *MockSecretManager) UnwatchAll(ctx context.Context, node string) error
- func (m *MockSecretManager) Watch(ctx context.Context, names []string, node string) error
- type MockSecretManagerMockRecorder
- func (mr *MockSecretManagerMockRecorder) Manage(ctx, forceInterval interface{}) *gomock.Call
- func (mr *MockSecretManagerMockRecorder) SetResourcesForNode(ctx, names, node interface{}) *gomock.Call
- func (mr *MockSecretManagerMockRecorder) Unwatch(ctx, names, node interface{}) *gomock.Call
- func (mr *MockSecretManagerMockRecorder) UnwatchAll(ctx, node interface{}) *gomock.Call
- func (mr *MockSecretManagerMockRecorder) Watch(ctx, names, node interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCertificateFetcher ¶
type MockCertificateFetcher struct {
// contains filtered or unexported fields
}
MockCertificateFetcher is a mock of CertificateFetcher interface.
func NewMockCertificateFetcher ¶
func NewMockCertificateFetcher(ctrl *gomock.Controller) *MockCertificateFetcher
NewMockCertificateFetcher creates a new mock instance.
func (*MockCertificateFetcher) EXPECT ¶
func (m *MockCertificateFetcher) EXPECT() *MockCertificateFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCertificateFetcher) RootPool ¶
func (m *MockCertificateFetcher) RootPool() *x509.CertPool
RootPool mocks base method.
func (*MockCertificateFetcher) TLSCertificate ¶
func (m *MockCertificateFetcher) TLSCertificate() *tls.Certificate
TLSCertificate mocks base method.
type MockCertificateFetcherMockRecorder ¶
type MockCertificateFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockCertificateFetcherMockRecorder is the mock recorder for MockCertificateFetcher.
func (*MockCertificateFetcherMockRecorder) RootPool ¶
func (mr *MockCertificateFetcherMockRecorder) RootPool() *gomock.Call
RootPool indicates an expected call of RootPool.
func (*MockCertificateFetcherMockRecorder) TLSCertificate ¶
func (mr *MockCertificateFetcherMockRecorder) TLSCertificate() *gomock.Call
TLSCertificate indicates an expected call of TLSCertificate.
type MockSecretCache ¶
type MockSecretCache struct {
// contains filtered or unexported fields
}
MockSecretCache is a mock of SecretCache interface.
func NewMockSecretCache ¶
func NewMockSecretCache(ctrl *gomock.Controller) *MockSecretCache
NewMockSecretCache creates a new mock instance.
func (*MockSecretCache) DeleteResource ¶
func (m *MockSecretCache) DeleteResource(name string) error
DeleteResource mocks base method.
func (*MockSecretCache) EXPECT ¶
func (m *MockSecretCache) EXPECT() *MockSecretCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretCache) UpdateResource ¶
func (m *MockSecretCache) UpdateResource(name string, res types.Resource) error
UpdateResource mocks base method.
type MockSecretCacheMockRecorder ¶
type MockSecretCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretCacheMockRecorder is the mock recorder for MockSecretCache.
func (*MockSecretCacheMockRecorder) DeleteResource ¶
func (mr *MockSecretCacheMockRecorder) DeleteResource(name interface{}) *gomock.Call
DeleteResource indicates an expected call of DeleteResource.
func (*MockSecretCacheMockRecorder) UpdateResource ¶
func (mr *MockSecretCacheMockRecorder) UpdateResource(name, res interface{}) *gomock.Call
UpdateResource indicates an expected call of UpdateResource.
type MockSecretClient ¶
type MockSecretClient struct {
// contains filtered or unexported fields
}
MockSecretClient is a mock of SecretClient interface.
func NewMockSecretClient ¶
func NewMockSecretClient(ctrl *gomock.Controller) *MockSecretClient
NewMockSecretClient creates a new mock instance.
func (*MockSecretClient) EXPECT ¶
func (m *MockSecretClient) EXPECT() *MockSecretClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSecretClientMockRecorder ¶
type MockSecretClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretClientMockRecorder is the mock recorder for MockSecretClient.
func (*MockSecretClientMockRecorder) FetchSecret ¶
func (mr *MockSecretClientMockRecorder) FetchSecret(ctx, name interface{}) *gomock.Call
FetchSecret indicates an expected call of FetchSecret.
type MockSecretManager ¶
type MockSecretManager struct {
// contains filtered or unexported fields
}
MockSecretManager is a mock of SecretManager interface.
func NewMockSecretManager ¶
func NewMockSecretManager(ctrl *gomock.Controller) *MockSecretManager
NewMockSecretManager creates a new mock instance.
func (*MockSecretManager) EXPECT ¶
func (m *MockSecretManager) EXPECT() *MockSecretManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretManager) Manage ¶
func (m *MockSecretManager) Manage(ctx context.Context, forceInterval time.Duration)
Manage mocks base method.
func (*MockSecretManager) SetResourcesForNode ¶
func (m *MockSecretManager) SetResourcesForNode(ctx context.Context, names []string, node string) error
SetResourcesForNode mocks base method.
func (*MockSecretManager) UnwatchAll ¶
func (m *MockSecretManager) UnwatchAll(ctx context.Context, node string) error
UnwatchAll mocks base method.
type MockSecretManagerMockRecorder ¶
type MockSecretManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretManagerMockRecorder is the mock recorder for MockSecretManager.
func (*MockSecretManagerMockRecorder) Manage ¶
func (mr *MockSecretManagerMockRecorder) Manage(ctx, forceInterval interface{}) *gomock.Call
Manage indicates an expected call of Manage.
func (*MockSecretManagerMockRecorder) SetResourcesForNode ¶
func (mr *MockSecretManagerMockRecorder) SetResourcesForNode(ctx, names, node interface{}) *gomock.Call
SetResourcesForNode indicates an expected call of SetResourcesForNode.
func (*MockSecretManagerMockRecorder) Unwatch ¶
func (mr *MockSecretManagerMockRecorder) Unwatch(ctx, names, node interface{}) *gomock.Call
Unwatch indicates an expected call of Unwatch.
func (*MockSecretManagerMockRecorder) UnwatchAll ¶
func (mr *MockSecretManagerMockRecorder) UnwatchAll(ctx, node interface{}) *gomock.Call
UnwatchAll indicates an expected call of UnwatchAll.
func (*MockSecretManagerMockRecorder) Watch ¶
func (mr *MockSecretManagerMockRecorder) Watch(ctx, names, node interface{}) *gomock.Call
Watch indicates an expected call of Watch.