catalog

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConsulAWSTag is used for imported services from AWS
	ConsulAWSTag    = "aws"
	ConsulSourceKey = "external-source"
	ConsulAWSNS     = "external-aws-ns"
	ConsulAWSID     = "external-aws-id"
)
View Source
const (
	ConsulAWSNodeName = "consul-aws"
	WaitTime          = 10
)

Variables

This section is empty.

Functions

func Sync

func Sync(toAWS, toConsul bool, namespaceID, consulPrefix, awsPrefix, awsPullInterval string, awsDNSTTL int64, stale bool, awsClient *sd.ServiceDiscovery, consulClient *api.Client, stop, stopped chan struct{})

Sync aws->consul and vice versa.

Types

This section is empty.

Jump to

Keyboard shortcuts

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