configparser

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {

	// MPIImplem provides the MPI implementation details
	MPIImplem string
	// MpiMap stores the URL to download a specific version, the key being the version
	MpiMap map[string]string
	// contains filtered or unexported fields
}

Config represents the configuration of the tests to run

func Parse

func Parse(file string) (*Config, error)

Parse go through the configuration file to load the associated configuration

type OFIConfig

type OFIConfig struct {
	// Ifnet is the identifier of the network interface to use
	Ifnet string
}

OFIConfig is the structure gathering all the configuration details relevant for OFI. These details are loaded from the tool's OFI configuration file.

func LoadOFIConfig

func LoadOFIConfig(filepath string) (*OFIConfig, error)

LoadOFIConfig reads the OFI configuration file and return the associated data structure.

Jump to

Keyboard shortcuts

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