Documentation ¶
Index ¶
Constants ¶
View Source
const ( DnsScheme = "dns" K8sScheme = "k8s" DirectScheme = "direct" DiscovScheme = "discov" EndpointSep = "," )
Variables ¶
View Source
var (
Replica = 1
)
Functions ¶
func BuildDirectTarget ¶
BuildDirectTarget direct://localhost:8080,localhost:8081
func BuildDiscovTarget ¶
BuildDiscovTarget discov://test-service
Types ¶
type CredsRequirement ¶
type CredsRequirement int
const ( // CREDS_REQUIRE - Credentials/certificate required for thi type of connection. CREDS_REQUIRE CredsRequirement = iota // CREDS_DROP - Credentials/certificate not needed and should get ignored. CREDS_DROP // CREDS_OPTIONAL - Credentials/certificate might be used if supplied CREDS_OPTIONAL )
Click to show internal directories.
Click to hide internal directories.