mocks

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

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

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

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

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

func (*MockSecretClient) FetchSecret

func (m *MockSecretClient) FetchSecret(ctx context.Context, name string) (*tlsv3.Secret, time.Time, error)

FetchSecret mocks base method.

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

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

func (m *MockSecretManager) Unwatch(ctx context.Context, names []string, node string) error

Unwatch mocks base method.

func (*MockSecretManager) UnwatchAll

func (m *MockSecretManager) UnwatchAll(ctx context.Context, node string) error

UnwatchAll mocks base method.

func (*MockSecretManager) Watch

func (m *MockSecretManager) Watch(ctx context.Context, names []string, node string) error

Watch 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.

Jump to

Keyboard shortcuts

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