Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrService ¶
type OrService struct { IsShuttingDown *bool // contains filtered or unexported fields }
OrService handles the business logic of OpenrestyService
func CreateOpenrestyService ¶
CreateOpenrestyService create openresty service
func (*OrService) Check ¶
Check returns if the nginx healthz endpoint is returning ok (status code 200)
func (*OrService) PersistConfig ¶
PersistConfig persists ocfg
func (*OrService) UpdatePools ¶
UpdatePools updates http upstreams dynamically.
func (*OrService) WaitPluginReady ¶
func (o *OrService) WaitPluginReady()
WaitPluginReady waits for nginx to be ready.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.