context

package
v0.0.0-...-e237cb8 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 8 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 {
	Store map[string]interface{}

	VDRI vdriapi.Registry
	// contains filtered or unexported fields
}

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

func NewBDDContext

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

NewBDDContext create new BDDContext.

func (*BDDContext) Get

func (b *BDDContext) Get(key string) (interface{}, bool)

Get returns value by key from bddcontext store

func (*BDDContext) GetString

func (b *BDDContext) GetString(key string) (string, bool)

GetString returns string value by key from bddcontext store

func (*BDDContext) TLSConfig

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

TLSConfig return tls config.

Jump to

Keyboard shortcuts

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