mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapWriter added in v0.5.0

type MapWriter struct {
	mock.Mock
}

MapWriter is an autogenerated mock type for the MapWriter type

func (*MapWriter) WriteConfigToStringDataMap added in v0.5.0

func (_m *MapWriter) WriteConfigToStringDataMap(registryConfig context.CustomKeyValue) (map[string]map[string]string, error)

WriteConfigToMap provides a mock function with given fields: registryConfig

type RegistryWriter

type RegistryWriter struct {
	mock.Mock
}

RegistryWriter is an autogenerated mock type for the RegistryWriter type

func (*RegistryWriter) WriteConfigToRegistry

func (_m *RegistryWriter) WriteConfigToRegistry(registryConfig context.CustomKeyValue) error

WriteConfigToRegistry provides a mock function with given fields: registryConfig

type SSLGenerator

type SSLGenerator struct {
	mock.Mock
}

SSLGenerator is an autogenerated mock type for the SSLGenerator type

func (*SSLGenerator) GenerateSelfSignedCert

func (_m *SSLGenerator) GenerateSelfSignedCert(fqdn string, domain string, certExpireDays int) (string, string, error)

GenerateSelfSignedCert provides a mock function with given fields: fqdn, domain, certExpireDays

type SSLWriter

type SSLWriter struct {
	mock.Mock
}

SSLWriter is an autogenerated mock type for the SSLWriter type

func (*SSLWriter) WriteCertificate

func (_m *SSLWriter) WriteCertificate(certType string, cert string, key string) error

WriteCertificate provides a mock function with given fields: certType, cert, key

Jump to

Keyboard shortcuts

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