Documentation ¶
Overview ¶
Package mock_utils is a generated GoMock package.
Index ¶
- type MockSslConfigTranslator
- func (m *MockSslConfigTranslator) EXPECT() *MockSslConfigTranslatorMockRecorder
- func (m *MockSslConfigTranslator) ResolveCommonSslConfig(arg0 utils.CertSource, arg1 v1.SecretList, arg2 bool) (*tlsv3.CommonTlsContext, error)
- func (m *MockSslConfigTranslator) ResolveDownstreamSslConfig(arg0 v1.SecretList, arg1 *v1.SslConfig) (*tlsv3.DownstreamTlsContext, error)
- func (m *MockSslConfigTranslator) ResolveSslParamsConfig(arg0 *v1.SslParameters) (*tlsv3.TlsParameters, error)
- func (m *MockSslConfigTranslator) ResolveUpstreamSslConfig(arg0 v1.SecretList, arg1 *v1.UpstreamSslConfig) (*tlsv3.UpstreamTlsContext, error)
- type MockSslConfigTranslatorMockRecorder
- func (mr *MockSslConfigTranslatorMockRecorder) ResolveCommonSslConfig(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSslConfigTranslatorMockRecorder) ResolveDownstreamSslConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSslConfigTranslatorMockRecorder) ResolveSslParamsConfig(arg0 interface{}) *gomock.Call
- func (mr *MockSslConfigTranslatorMockRecorder) ResolveUpstreamSslConfig(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockSslConfigTranslator) EXPECT() *MockSslConfigTranslatorMockRecorder
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.