package
0.0.0-alpha.2
Repository: https://github.com/hashicorp/consul-smi-controller.git
Documentation: pkg.go.dev

# Functions

NewController returns a new sample controller.

# Constants

ErrResourceExists is used as part of the Event 'reason' when a Foo fails to sync due to a Deployment of the same name already existing.
ErrSyncingIntentions is used as part of the Event 'reason' when a TrafficTarget intentions can not be synced.
MessageResourceExists is the message used for Events when a resource fails to sync due to a Deployment already existing.
MessageResourceSynced is the message used for an Event fired when a TrafficTarget is synced successfully.
MessageResourceSyncFailed is the message used for an Event fired when a TrafficTarget is not synced successfully.
SuccessSynced is used as part of the Event 'reason' when a TrafficTarget is synced.

# Structs

Controller is the controller implementation for Foo resources.