14 lines
315 B
Go
14 lines
315 B
Go
|
package structs
|
||
|
|
||
|
import (
|
||
|
"github.com/mitchellh/go-testing-interface"
|
||
|
)
|
||
|
|
||
|
// TestServiceDefinitionProxy returns a ServiceDefinition for a proxy.
|
||
|
func TestServiceDefinitionProxy(t testing.T) *ServiceDefinition {
|
||
|
return &ServiceDefinition{
|
||
|
Kind: ServiceKindConnectProxy,
|
||
|
ProxyDestination: "db",
|
||
|
}
|
||
|
}
|