context

package
v0.0.0-...-e472cc8 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BDDContext

type BDDContext struct {
	KeyServerURL string
	HubAuthURL   string

	KeyManager kms.KeyManager
	Crypto     cryptoapi.Crypto
	// contains filtered or unexported fields
}

BDDContext is a global context shared between different test suites in bdd tests.

func NewBDDContext

func NewBDDContext(caCertPath string) (*BDDContext, error)

NewBDDContext creates a new BDD context.

func (*BDDContext) TLSConfig

func (ctx *BDDContext) TLSConfig() *tls.Config

TLSConfig returns a TLS config that BDD context was initialized with.

Jump to

Keyboard shortcuts

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