Documentation
¶
Index ¶
- Constants
- type SoftLayerClient
- func (slc *SoftLayerClient) CheckForHttpResponseErrors(data []byte) error
- func (slc *SoftLayerClient) DoRawHttpRequest(path string, requestType string, requestBody *bytes.Buffer) ([]byte, error)
- func (slc *SoftLayerClient) DoRawHttpRequestWithObjectFilter(path string, filters string, requestType string, requestBody *bytes.Buffer) ([]byte, error)
- func (slc *SoftLayerClient) DoRawHttpRequestWithObjectFilterAndObjectMask(path string, masks []string, filters string, requestType string, ...) ([]byte, error)
- func (slc *SoftLayerClient) DoRawHttpRequestWithObjectMask(path string, masks []string, requestType string, requestBody *bytes.Buffer) ([]byte, error)
- func (slc *SoftLayerClient) GenerateRequestBody(templateData interface{}) (*bytes.Buffer, error)
- func (slc *SoftLayerClient) GetService(serviceName string) (softlayer.Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Account_Service() (softlayer.SoftLayer_Account_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Billing_Item_Cancellation_Request_Service() (softlayer.SoftLayer_Billing_Item_Cancellation_Request_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Dns_Domain_ResourceRecord_Service() (softlayer.SoftLayer_Dns_Domain_ResourceRecord_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Dns_Domain_Service() (softlayer.SoftLayer_Dns_Domain_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Hardware_Service() (softlayer.SoftLayer_Hardware_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Network_Storage_Allowed_Host_Service() (softlayer.SoftLayer_Network_Storage_Allowed_Host_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Network_Storage_Service() (softlayer.SoftLayer_Network_Storage_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Product_Order_Service() (softlayer.SoftLayer_Product_Order_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Product_Package_Service() (softlayer.SoftLayer_Product_Package_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Security_Ssh_Key_Service() (softlayer.SoftLayer_Security_Ssh_Key_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Virtual_Disk_Image_Service() (softlayer.SoftLayer_Virtual_Disk_Image_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Virtual_Guest_Block_Device_Template_Group_Service() (softlayer.SoftLayer_Virtual_Guest_Block_Device_Template_Group_Service, error)
- func (slc *SoftLayerClient) GetSoftLayer_Virtual_Guest_Service() (softlayer.SoftLayer_Virtual_Guest_Service, error)
- func (slc *SoftLayerClient) HasErrors(body map[string]interface{}) error
Constants ¶
View Source
const ( SOFTLAYER_API_URL = "api.softlayer.com/rest/v3" TEMPLATE_ROOT_PATH = "templates" SL_GO_NON_VERBOSE = "SL_GO_NON_VERBOSE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SoftLayerClient ¶ added in v0.3.0
func NewSoftLayerClient ¶
func NewSoftLayerClient(username, apiKey string) *SoftLayerClient
func (*SoftLayerClient) CheckForHttpResponseErrors ¶ added in v0.3.0
func (slc *SoftLayerClient) CheckForHttpResponseErrors(data []byte) error
func (*SoftLayerClient) DoRawHttpRequest ¶ added in v0.3.0
func (*SoftLayerClient) DoRawHttpRequestWithObjectFilter ¶ added in v0.3.0
func (*SoftLayerClient) DoRawHttpRequestWithObjectFilterAndObjectMask ¶ added in v0.3.0
func (*SoftLayerClient) DoRawHttpRequestWithObjectMask ¶ added in v0.3.0
func (*SoftLayerClient) GenerateRequestBody ¶ added in v0.3.0
func (slc *SoftLayerClient) GenerateRequestBody(templateData interface{}) (*bytes.Buffer, error)
func (*SoftLayerClient) GetService ¶ added in v0.3.0
func (slc *SoftLayerClient) GetService(serviceName string) (softlayer.Service, error)
func (*SoftLayerClient) GetSoftLayer_Account_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Account_Service() (softlayer.SoftLayer_Account_Service, error)
func (*SoftLayerClient) GetSoftLayer_Billing_Item_Cancellation_Request_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Billing_Item_Cancellation_Request_Service() (softlayer.SoftLayer_Billing_Item_Cancellation_Request_Service, error)
func (*SoftLayerClient) GetSoftLayer_Dns_Domain_ResourceRecord_Service ¶ added in v0.4.0
func (slc *SoftLayerClient) GetSoftLayer_Dns_Domain_ResourceRecord_Service() (softlayer.SoftLayer_Dns_Domain_ResourceRecord_Service, error)
func (*SoftLayerClient) GetSoftLayer_Dns_Domain_Service ¶ added in v0.4.0
func (slc *SoftLayerClient) GetSoftLayer_Dns_Domain_Service() (softlayer.SoftLayer_Dns_Domain_Service, error)
func (*SoftLayerClient) GetSoftLayer_Hardware_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Hardware_Service() (softlayer.SoftLayer_Hardware_Service, error)
func (*SoftLayerClient) GetSoftLayer_Network_Storage_Allowed_Host_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Network_Storage_Allowed_Host_Service() (softlayer.SoftLayer_Network_Storage_Allowed_Host_Service, error)
func (*SoftLayerClient) GetSoftLayer_Network_Storage_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Network_Storage_Service() (softlayer.SoftLayer_Network_Storage_Service, error)
func (*SoftLayerClient) GetSoftLayer_Product_Order_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Product_Order_Service() (softlayer.SoftLayer_Product_Order_Service, error)
func (*SoftLayerClient) GetSoftLayer_Product_Package_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Product_Package_Service() (softlayer.SoftLayer_Product_Package_Service, error)
func (*SoftLayerClient) GetSoftLayer_Security_Ssh_Key_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Security_Ssh_Key_Service() (softlayer.SoftLayer_Security_Ssh_Key_Service, error)
func (*SoftLayerClient) GetSoftLayer_Virtual_Disk_Image_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Virtual_Disk_Image_Service() (softlayer.SoftLayer_Virtual_Disk_Image_Service, error)
func (*SoftLayerClient) GetSoftLayer_Virtual_Guest_Block_Device_Template_Group_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Virtual_Guest_Block_Device_Template_Group_Service() (softlayer.SoftLayer_Virtual_Guest_Block_Device_Template_Group_Service, error)
func (*SoftLayerClient) GetSoftLayer_Virtual_Guest_Service ¶ added in v0.3.0
func (slc *SoftLayerClient) GetSoftLayer_Virtual_Guest_Service() (softlayer.SoftLayer_Virtual_Guest_Service, error)
func (*SoftLayerClient) HasErrors ¶ added in v0.3.0
func (slc *SoftLayerClient) HasErrors(body map[string]interface{}) error
Click to show internal directories.
Click to hide internal directories.