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
Click to show internal directories.
Click to hide internal directories.