Documentation ¶
Index ¶
- func DataSourceHaproxyServer() *schema.Resource
- func DataSourceHaproxyServerRead(d *schema.ResourceData, m interface{}) error
- func ResourceHaproxyServer() *schema.Resource
- func TestHaproxyServer(t *testing.T)
- type ConfigServer
- func (c *ConfigServer) AddServerConfiguration(payload []byte, TransactionID string, parentName string, parentType string) (*http.Response, error)
- func (c *ConfigServer) DeleteServerConfiguration(ServerName string, TransactionID string, parentName string, parentType string) (*http.Response, error)
- func (c *ConfigServer) GetAServerConfiguration(ServerName string, TransactionID string, parentName string, parentType string) (*http.Response, error)
- func (c *ConfigServer) UpdateServerConfiguration(ServerName string, payload []byte, TransactionID string, parentName string, ...) (*http.Response, error)
- type ServerPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceHaproxyServer ¶
func DataSourceHaproxyServerRead ¶
func DataSourceHaproxyServerRead(d *schema.ResourceData, m interface{}) error
func ResourceHaproxyServer ¶
func TestHaproxyServer ¶
Types ¶
type ConfigServer ¶
Config defines variable for haproxy configuration
func (*ConfigServer) AddServerConfiguration ¶
func (c *ConfigServer) AddServerConfiguration(payload []byte, TransactionID string, parentName string, parentType string) (*http.Response, error)
AddServerConfiguration adds a Server configuration.
func (*ConfigServer) DeleteServerConfiguration ¶
func (c *ConfigServer) DeleteServerConfiguration(ServerName string, TransactionID string, parentName string, parentType string) (*http.Response, error)
DeleteServerConfiguration deletes a Server configuration.
func (*ConfigServer) GetAServerConfiguration ¶
func (c *ConfigServer) GetAServerConfiguration(ServerName string, TransactionID string, parentName string, parentType string) (*http.Response, error)
GetAServerConfiguration returns the configuration of a Server.
Click to show internal directories.
Click to hide internal directories.