Help us shape the future of Go! Take the 2026 Go Developer Survey

catalog

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 12 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 *awssd.Client, 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