Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVHandler ¶
KVHandler is used to manipulate the KV
func New ¶
func New(config *config.ConsulConfig) (*KVHandler, error)
New creates new KV handler to manipulate the Consul VK
func (*KVHandler) HandleInit ¶
func (h *KVHandler) HandleInit(repos []*repository.Repository) error
HandleInit handles initial fetching of the KV on start
func (*KVHandler) HandleUpdate ¶
func (h *KVHandler) HandleUpdate(repo *repository.Repository) error
HandleUpdate handles the update of a particular repository by comparing diffs against the KV.
Click to show internal directories.
Click to hide internal directories.