Categorygithub.com/wish/targetsync
modulepackage
0.0.13
Repository: https://github.com/wish/targetsync.git
Documentation: pkg.go.dev

# README

targetsync Go Report Card GoDoc Build Status Docker Repository on Quay

Daemon for syncing targets from consul to AWS target groups

# Packages

No description provided by the author

# Functions

ConfigFromFile Loads a config file from `path`.
NewAWSTargetGroup returns a new AWS target group destination.
NewConsulSource returns a new ConsulSource.
No description provided by the author

# Structs

AWSConfig holds the configuration for the aws destination.
AWSTargetGroup is a TargetDestination implementation for AWS target groups.
Config for the targetsync.
ConsulConfig holds the configuration for the consul source.
ConsulSource is an implementation for talkint to consul for both `TargetSource` and `Locker`.
No description provided by the author
No description provided by the author
No description provided by the author
LockOptions holds the options for locking/leader-election.
SyncConfig holds options for the Syncer.
Syncer is the struct that uses the various interfaces to actually do the sync TODO: metrics.
Target represents a single IP+Port pair.

# Interfaces

Locker is an interface for locking/leader-election.
TargetDestination is a place to apply targets to (e.g.
TargetSource is an interface for getting targets for a given config TODO: plugin etc.
No description provided by the author