test_utils

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package test_utils provides functions and constants that are useful for health service testing

Index

Constants

View Source
const TestFegHwId1 = "Test-FeG-Hw-Id1"
View Source
const TestFegHwId2 = "Test-FeG-Hw-Id2"
View Source
const TestFegLogicalId1 = "Test-FeG-Logical1"
View Source
const TestFegLogicalId2 = "Test-FeG-Logical2"
View Source
const TestFegNetwork = "test-feg-network"

Variables

This section is empty.

Functions

func GetHealthyRequest

func GetHealthyRequest() *protos.HealthRequest

func GetUnhealthyRequest

func GetUnhealthyRequest() *protos.HealthRequest

func RegisterGateway

func RegisterGateway(t *testing.T, networkID, hwID, logicalID string)

func RegisterNetwork

func RegisterNetwork(t *testing.T, networkID string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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