Documentation ¶
Index ¶
- func NewHTTPClient(host, username, password string, shortClient boshhttp.Client, ...) httpClient
- func NewMonitRetryHandler(maxUnavailableAttempts, maxOtherAttempts uint) boshhttp.RetryHandler
- func NewMonitRetryStrategy(maxUnavailableAttempts, maxOtherAttempts uint) boshhttp.RetryStrategy
- func NewProvider(platform boshplatform.Platform, logger boshlog.Logger, ...) clientProvider
- type Client
- type Service
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶
func NewHTTPClient( host, username, password string, shortClient boshhttp.Client, longClient boshhttp.Client, logger boshlog.Logger, ) httpClient
NewHTTPClient creates a new monit client
status & start use the shortClient unmonitor & stop use the longClient
func NewMonitRetryHandler ¶
func NewMonitRetryHandler(maxUnavailableAttempts, maxOtherAttempts uint) boshhttp.RetryHandler
func NewMonitRetryStrategy ¶
func NewMonitRetryStrategy(maxUnavailableAttempts, maxOtherAttempts uint) boshhttp.RetryStrategy
func NewProvider ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.