Documentation ¶
Index ¶
- type Ha
- func (ha *Ha) DecreaseClusterReplicas(cluster *dcs3.Cluster)
- func (ha *Ha) DeleteCurrentMember(ctx context.Context, cluster *dcs3.Cluster) error
- func (ha *Ha) HasOtherHealthyMember(cluster *dcs3.Cluster) bool
- func (ha *Ha) IsHealthiestMember(ctx context.Context, cluster *dcs3.Cluster) bool
- func (ha *Ha) IsPodReady() (bool, error)
- func (ha *Ha) RunCycle()
- func (ha *Ha) ShutdownWithWait()
- func (ha *Ha) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ha ¶
type Ha struct {
// contains filtered or unexported fields
}
func (*Ha) DecreaseClusterReplicas ¶
func (*Ha) DeleteCurrentMember ¶
func (*Ha) IsHealthiestMember ¶
func (*Ha) IsPodReady ¶
IsPodReady checks if pod is ready, it can successfully resolve domain
func (*Ha) ShutdownWithWait ¶
func (ha *Ha) ShutdownWithWait()
Click to show internal directories.
Click to hide internal directories.