config

package
Version: v0.0.0-...-6fa03d5 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package config creates a wrapper around Suite proto message. It is consumed by runner while running tests. Config package also performs basic validation as well as fixing overridden fields in Test proto messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Client type to try while subscribing to target.
	ClientType string
	// Suite proto that represents test configuration.
	Suite *spb.Suite
}

Config is a container for high level information needed by runner.

func New

func New(b []byte, clientType string) (*Config, error)

New creates a Config reference with an initialized Suite proto inside.

Source Files

Jump to

Keyboard shortcuts

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