Versions in this module Expand all Collapse all v0 v0.9.0 Jul 13, 2017 Changes in this version + type NginxAPIController struct + func NewNginxAPIController(upstreamConfEndpoint string, statusEndpoint string, local bool) (*NginxAPIController, error) + func (nginx *NginxAPIController) UpdateServers(upstream string, servers []string) error + type NginxClient struct + func NewNginxClient(upstreamConfEndpoint string, statusEndpoint string) (*NginxClient, error) + func (client *NginxClient) AddHTTPServer(upstream string, server string) error + func (client *NginxClient) CheckIfUpstreamExists(upstream string) error + func (client *NginxClient) DeleteHTTPServer(upstream string, server string) error + func (client *NginxClient) GetHTTPServers(upstream string) ([]string, error) + func (client *NginxClient) UpdateHTTPServers(upstream string, servers []string) ([]string, []string, error)