mock

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

utilities for creating tempoary certificates on disk for testing purposes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TemporaryCert

func TemporaryCert(t *testing.T) (certFile string, keyFile string)

create a temporary certificate key/value pair that's deleted after the test that's delted

func TemporaryCertInChain

func TemporaryCertInChain(t *testing.T) (chainFile string, serverFile string, keyFile string)

create a cert chain we validate against

Types

This section is empty.

Jump to

Keyboard shortcuts

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