test

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NsName          = "ns-name"
	NsId            = "ns-id"
	SvcName         = "svc-name"
	SvcId           = "svc-id"
	EndptId1        = "tcp-192_168_0_1-1"
	EndptId2        = "tcp-192_168_0_2-2"
	EndptIp1        = "192.168.0.1"
	EndptIp2        = "192.168.0.2"
	Port1           = 1
	PortStr1        = "1"
	PortName1       = "http"
	Protocol1       = "TCP"
	ServicePort1    = 11
	ServicePortStr1 = "11"
	Port2           = 2
	PortStr2        = "2"
	PortName2       = "http"
	Protocol2       = "TCP"
	ServicePort2    = 22
	ServicePortStr2 = "22"
	OpId1           = "operation-id-1"
	OpId2           = "operation-id-2"
	OpStart         = 1
)

Variables

This section is empty.

Functions

func GetTestDnsNamespace

func GetTestDnsNamespace() *model.Namespace

func GetTestEndpoint1 added in v0.2.0

func GetTestEndpoint1() *model.Endpoint

func GetTestEndpoint2

func GetTestEndpoint2() *model.Endpoint

func GetTestHttpNamespace

func GetTestHttpNamespace() *model.Namespace

func GetTestService

func GetTestService() *model.Service

func GetTestServiceWithEndpoint added in v0.2.0

func GetTestServiceWithEndpoint(endpoints []*model.Endpoint) *model.Service

Types

This section is empty.

Jump to

Keyboard shortcuts

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