mocks

package
v0.0.0-...-6cc5b44 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSRProvider

type CSRProvider struct {
	mock.Mock
}

CSRProvider is an autogenerated mock type for the CSRProvider type

func (*CSRProvider) CreateCSR

func (_m *CSRProvider) CreateCSR(subject pkix.Name) (string, *rsa.PrivateKey, error)

CreateCSR provides a mock function with given fields: subject

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) CredentialsExist

func (_m *Manager) CredentialsExist() (bool, error)

CredentialsExist provides a mock function with given fields:

func (*Manager) GetClientCredentials

func (_m *Manager) GetClientCredentials() (certificates.ClientCredentials, error)

GetClientCredentials provides a mock function with given fields:

func (*Manager) PreserveCredentials

func (_m *Manager) PreserveCredentials(_a0 certificates.Credentials) error

PreserveCredentials provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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