Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NginxAPIController ¶
type NginxAPIController struct {
	// contains filtered or unexported fields
}
    NginxAPIController works with the NGINX API
func NewNginxAPIController ¶
func NewNginxAPIController(httpClient *http.Client, endpoint string, local bool) (*NginxAPIController, error)
NewNginxAPIController creates an instance of NginxAPIController
func (*NginxAPIController) UpdateServers ¶
func (nginx *NginxAPIController) UpdateServers(upstream string, servers []string, config ServerConfig, configVersion int) error
UpdateServers updates upstream servers
type ServerConfig ¶
ServerConfig holds the config data
 Click to show internal directories. 
   Click to hide internal directories.