mocks

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 MockCertificateGenerator

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

MockCertificateGenerator is a mock of CertificateGenerator interface.

func NewMockCertificateGenerator

func NewMockCertificateGenerator(ctrl *gomock.Controller) *MockCertificateGenerator

NewMockCertificateGenerator creates a new mock instance.

func (*MockCertificateGenerator) EXPECT

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

func (*MockCertificateGenerator) GenerateIamAuthSelfSignCertKeyPair

func (m *MockCertificateGenerator) GenerateIamAuthSelfSignCertKeyPair() ([]byte, []byte, error)

GenerateIamAuthSelfSignCertKeyPair mocks base method.

type MockCertificateGeneratorMockRecorder

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

MockCertificateGeneratorMockRecorder is the mock recorder for MockCertificateGenerator.

func (*MockCertificateGeneratorMockRecorder) GenerateIamAuthSelfSignCertKeyPair

func (mr *MockCertificateGeneratorMockRecorder) GenerateIamAuthSelfSignCertKeyPair() *gomock.Call

GenerateIamAuthSelfSignCertKeyPair indicates an expected call of GenerateIamAuthSelfSignCertKeyPair.

type MockTlsValidator added in v0.13.0

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

MockTlsValidator is a mock of TlsValidator interface.

func NewMockTlsValidator added in v0.13.0

func NewMockTlsValidator(ctrl *gomock.Controller) *MockTlsValidator

NewMockTlsValidator creates a new mock instance.

func (*MockTlsValidator) EXPECT added in v0.13.0

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

func (*MockTlsValidator) IsSignedByUnknownAuthority added in v0.13.0

func (m *MockTlsValidator) IsSignedByUnknownAuthority(host, port string) (bool, error)

IsSignedByUnknownAuthority mocks base method.

func (*MockTlsValidator) ValidateCert added in v0.13.0

func (m *MockTlsValidator) ValidateCert(host, port, caCertContent string) error

ValidateCert mocks base method.

type MockTlsValidatorMockRecorder added in v0.13.0

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

MockTlsValidatorMockRecorder is the mock recorder for MockTlsValidator.

func (*MockTlsValidatorMockRecorder) IsSignedByUnknownAuthority added in v0.13.0

func (mr *MockTlsValidatorMockRecorder) IsSignedByUnknownAuthority(host, port interface{}) *gomock.Call

IsSignedByUnknownAuthority indicates an expected call of IsSignedByUnknownAuthority.

func (*MockTlsValidatorMockRecorder) ValidateCert added in v0.13.0

func (mr *MockTlsValidatorMockRecorder) ValidateCert(host, port, caCertContent interface{}) *gomock.Call

ValidateCert indicates an expected call of ValidateCert.

Jump to

Keyboard shortcuts

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