mock_utils

package
v1.12.35 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_utils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSslConfigTranslator

type MockSslConfigTranslator struct {
	// contains filtered or unexported fields
}

MockSslConfigTranslator is a mock of SslConfigTranslator interface.

func NewMockSslConfigTranslator

func NewMockSslConfigTranslator(ctrl *gomock.Controller) *MockSslConfigTranslator

NewMockSslConfigTranslator creates a new mock instance.

func (*MockSslConfigTranslator) EXPECT

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

func (*MockSslConfigTranslator) ResolveCommonSslConfig

func (m *MockSslConfigTranslator) ResolveCommonSslConfig(arg0 utils.CertSource, arg1 v1.SecretList, arg2 bool) (*tlsv3.CommonTlsContext, error)

ResolveCommonSslConfig mocks base method.

func (*MockSslConfigTranslator) ResolveDownstreamSslConfig

func (m *MockSslConfigTranslator) ResolveDownstreamSslConfig(arg0 v1.SecretList, arg1 *v1.SslConfig) (*tlsv3.DownstreamTlsContext, error)

ResolveDownstreamSslConfig mocks base method.

func (*MockSslConfigTranslator) ResolveSslParamsConfig added in v1.6.9

func (m *MockSslConfigTranslator) ResolveSslParamsConfig(arg0 *v1.SslParameters) (*tlsv3.TlsParameters, error)

ResolveSslParamsConfig mocks base method.

func (*MockSslConfigTranslator) ResolveUpstreamSslConfig

func (m *MockSslConfigTranslator) ResolveUpstreamSslConfig(arg0 v1.SecretList, arg1 *v1.UpstreamSslConfig) (*tlsv3.UpstreamTlsContext, error)

ResolveUpstreamSslConfig mocks base method.

type MockSslConfigTranslatorMockRecorder

type MockSslConfigTranslatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockSslConfigTranslatorMockRecorder is the mock recorder for MockSslConfigTranslator.

func (*MockSslConfigTranslatorMockRecorder) ResolveCommonSslConfig

func (mr *MockSslConfigTranslatorMockRecorder) ResolveCommonSslConfig(arg0, arg1, arg2 interface{}) *gomock.Call

ResolveCommonSslConfig indicates an expected call of ResolveCommonSslConfig.

func (*MockSslConfigTranslatorMockRecorder) ResolveDownstreamSslConfig

func (mr *MockSslConfigTranslatorMockRecorder) ResolveDownstreamSslConfig(arg0, arg1 interface{}) *gomock.Call

ResolveDownstreamSslConfig indicates an expected call of ResolveDownstreamSslConfig.

func (*MockSslConfigTranslatorMockRecorder) ResolveSslParamsConfig added in v1.6.9

func (mr *MockSslConfigTranslatorMockRecorder) ResolveSslParamsConfig(arg0 interface{}) *gomock.Call

ResolveSslParamsConfig indicates an expected call of ResolveSslParamsConfig.

func (*MockSslConfigTranslatorMockRecorder) ResolveUpstreamSslConfig

func (mr *MockSslConfigTranslatorMockRecorder) ResolveUpstreamSslConfig(arg0, arg1 interface{}) *gomock.Call

ResolveUpstreamSslConfig indicates an expected call of ResolveUpstreamSslConfig.

Jump to

Keyboard shortcuts

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