Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdProxy = &cobra.Command{ Use: "stolon-proxy", Run: proxy, Version: cmd.Version, }
Functions ¶
Types ¶
type ClusterChecker ¶
type ClusterChecker struct {
// contains filtered or unexported fields
}
func NewClusterChecker ¶
func NewClusterChecker(uid string, cfg config) (*ClusterChecker, error)
func (*ClusterChecker) Check ¶
func (c *ClusterChecker) Check() error
Check reads the cluster data and applies the right pollon configuration.
func (*ClusterChecker) SetProxyInfo ¶
func (*ClusterChecker) Start ¶
func (c *ClusterChecker) Start() error
func (*ClusterChecker) TimeoutChecker ¶
func (c *ClusterChecker) TimeoutChecker(checkOkCh chan struct{})
Click to show internal directories.
Click to hide internal directories.