Versions in this module Expand all Collapse all v1 v1.0.0 Dec 17, 2020 Changes in this version + func RenderDrainerCommand(model *DrainerCommandModel) (string, error) + func RenderDrainerConfig(model *DrainerConfigModel) (string, error) + type Drainer struct + type DrainerCommandModel struct + Component string + type DrainerConfigModel struct + DownStreamDB string + PDAddress string + RelayPath string + type Ops struct + func New(ns, name string) *Ops + func (t *Ops) Apply() error + func (t *Ops) Delete() error + func (t *Ops) GetClientNodes() ([]cluster.ClientNode, error) + func (t *Ops) GetNodes() ([]cluster.Node, error)