Versions in this module Expand all Collapse all v0 v0.9.7 Oct 10, 2017 Changes in this version + const DefaultHealthCheckInterval + const DefaultHealthyThreshold + const DefaultTimeout + const DefaultUnhealthyThreshold + type FakeHealthCheckProvider struct + func NewFakeHealthCheckProvider() *FakeHealthCheckProvider + func (f *FakeHealthCheckProvider) CreateHealthCheck(hc *compute.HealthCheck) error + func (f *FakeHealthCheckProvider) CreateHttpHealthCheck(hc *compute.HttpHealthCheck) error + func (f *FakeHealthCheckProvider) DeleteHealthCheck(name string) error + func (f *FakeHealthCheckProvider) DeleteHttpHealthCheck(name string) error + func (f *FakeHealthCheckProvider) GetHealthCheck(name string) (*compute.HealthCheck, error) + func (f *FakeHealthCheckProvider) GetHttpHealthCheck(name string) (*compute.HttpHealthCheck, error) + func (f *FakeHealthCheckProvider) UpdateHealthCheck(hc *compute.HealthCheck) error + func (f *FakeHealthCheckProvider) UpdateHttpHealthCheck(hc *compute.HttpHealthCheck) error + type HealthCheck struct + func DefaultHealthCheck(port int64, protocol utils.AppProtocol) *HealthCheck + func NewHealthCheck(hc *compute.HealthCheck) *HealthCheck + func (hc *HealthCheck) Protocol() utils.AppProtocol + func (hc *HealthCheck) ToComputeHealthCheck() *compute.HealthCheck + type HealthCheckProvider interface + CreateHealthCheck func(hc *compute.HealthCheck) error + CreateHttpHealthCheck func(hc *compute.HttpHealthCheck) error + DeleteHealthCheck func(name string) error + DeleteHttpHealthCheck func(name string) error + GetHealthCheck func(name string) (*compute.HealthCheck, error) + GetHttpHealthCheck func(name string) (*compute.HttpHealthCheck, error) + UpdateHealthCheck func(hc *compute.HealthCheck) error + UpdateHttpHealthCheck func(hc *compute.HttpHealthCheck) error + type HealthChecker interface + Delete func(port int64) error + DeleteLegacy func(port int64) error + Get func(port int64) (*HealthCheck, error) + GetLegacy func(port int64) (*compute.HttpHealthCheck, error) + New func(port int64, protocol utils.AppProtocol) *HealthCheck + Sync func(hc *HealthCheck) (string, error) + func NewHealthChecker(cloud HealthCheckProvider, defaultHealthCheckPath string, namer *utils.Namer) HealthChecker + type HealthChecks struct + func (h *HealthChecks) Delete(port int64) error + func (h *HealthChecks) DeleteLegacy(port int64) error + func (h *HealthChecks) Get(port int64) (*HealthCheck, error) + func (h *HealthChecks) GetLegacy(port int64) (*compute.HttpHealthCheck, error) + func (h *HealthChecks) New(port int64, protocol utils.AppProtocol) *HealthCheck + func (h *HealthChecks) Sync(hc *HealthCheck) (string, error)