test

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterSuite

func AfterSuite(
	ctx context.Context,
	model *simulator.Model,
	server *simulator.Server,
	tlsKeyPath, tlsCertPath string,
	tlsModel *simulator.Model,
	tlsServer *simulator.Server)

func BeforeSuite

func BeforeSuite() (ctx context.Context,
	model *simulator.Model,
	server *simulator.Server,
	tlsKeyPath, tlsCertPath string,
	tlsModel *simulator.Model,
	tlsServer *simulator.Server)

func GeneratePrivateKey

func GeneratePrivateKey() *rsa.PrivateKey

func GenerateSelfSignedCert

func GenerateSelfSignedCert() (string, string)

func SetupModelAndServerWithSettings

func SetupModelAndServerWithSettings(tlsConfig *tls.Config) (*simulator.Model, *simulator.Server)

Types

This section is empty.

Jump to

Keyboard shortcuts

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