tests

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package tests defines common test primitives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterInfo

type ClusterInfo struct {
	URIs     []string `json:"uris"`
	Endpoint string   `json:"endpoint"`
	PID      int      `json:"pid"`
	LogsDir  string   `json:"logsDir"`
}

ClusterInfo represents the local cluster information.

func LoadClusterInfo

func LoadClusterInfo(p string) (ClusterInfo, error)

LoadClusterInfo loads the cluster info YAML file to parse it into "ClusterInfo".

func (ClusterInfo) Save

func (ci ClusterInfo) Save(p string) error

Jump to

Keyboard shortcuts

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