Skip to content
This repository was archived by the owner on Nov 18, 2017. It is now read-only.
This repository was archived by the owner on Nov 18, 2017. It is now read-only.

golang-custom-raft: add abilty to execute post-election script #43

@jberkus

Description

@jberkus

In order to enable Kubernetes services which communicate with the PostgreSQL master, I need to update some annotations in the Kubernetes API. As such, I want to execute a script each time we finish a leader election in golang-custom-raft.

Thoughts on what's the best way to add this? Obviously we could add it to the go code, but we don't necessarily want the dependancies in the main codebase, do we?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions