Documentation ¶
Overview ¶
Package mock_podbouncer is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPodBouncer ¶
type MockPodBouncer struct {
// contains filtered or unexported fields
}
MockPodBouncer is a mock of PodBouncer interface.
func NewMockPodBouncer ¶
func NewMockPodBouncer(ctrl *gomock.Controller) *MockPodBouncer
NewMockPodBouncer creates a new mock instance.
func (*MockPodBouncer) BouncePods ¶
func (m *MockPodBouncer) BouncePods(ctx context.Context, podBounceDirective *v1.PodBounceDirective, pods v1sets.PodSet, configMaps v1sets.ConfigMapSet, secrets v1sets.SecretSet) (bool, error)
BouncePods mocks base method.
func (*MockPodBouncer) EXPECT ¶
func (m *MockPodBouncer) EXPECT() *MockPodBouncerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPodBouncerMockRecorder ¶
type MockPodBouncerMockRecorder struct {
// contains filtered or unexported fields
}
MockPodBouncerMockRecorder is the mock recorder for MockPodBouncer.
func (*MockPodBouncerMockRecorder) BouncePods ¶
func (mr *MockPodBouncerMockRecorder) BouncePods(ctx, podBounceDirective, pods, configMaps, secrets interface{}) *gomock.Call
BouncePods indicates an expected call of BouncePods.
type MockRootCertMatcher ¶
type MockRootCertMatcher struct {
// contains filtered or unexported fields
}
MockRootCertMatcher is a mock of RootCertMatcher interface.
func NewMockRootCertMatcher ¶
func NewMockRootCertMatcher(ctrl *gomock.Controller) *MockRootCertMatcher
NewMockRootCertMatcher creates a new mock instance.
func (*MockRootCertMatcher) EXPECT ¶
func (m *MockRootCertMatcher) EXPECT() *MockRootCertMatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRootCertMatcher) MatchesRootCert ¶
func (m *MockRootCertMatcher) MatchesRootCert(ctx context.Context, rootCert []byte, selector *v1.PodBounceDirectiveSpec_PodSelector, allSecrets v1sets.SecretSet) (bool, error)
MatchesRootCert mocks base method.
type MockRootCertMatcherMockRecorder ¶
type MockRootCertMatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockRootCertMatcherMockRecorder is the mock recorder for MockRootCertMatcher.
func (*MockRootCertMatcherMockRecorder) MatchesRootCert ¶
func (mr *MockRootCertMatcherMockRecorder) MatchesRootCert(ctx, rootCert, selector, allSecrets interface{}) *gomock.Call
MatchesRootCert indicates an expected call of MatchesRootCert.