client

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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

type SoftLayerClient struct {
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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 (slc *SoftLayerClient) DoRawHttpRequest(path string, requestType string, requestBody *bytes.Buffer) ([]byte, error)

func (*SoftLayerClient) DoRawHttpRequestWithObjectFilter added in v0.3.0

func (slc *SoftLayerClient) DoRawHttpRequestWithObjectFilter(path string, filters string, requestType string, requestBody *bytes.Buffer) ([]byte, error)

func (*SoftLayerClient) DoRawHttpRequestWithObjectFilterAndObjectMask added in v0.3.0

func (slc *SoftLayerClient) DoRawHttpRequestWithObjectFilterAndObjectMask(path string, masks []string, filters string, requestType string, requestBody *bytes.Buffer) ([]byte, error)

func (*SoftLayerClient) DoRawHttpRequestWithObjectMask added in v0.3.0

func (slc *SoftLayerClient) DoRawHttpRequestWithObjectMask(path string, masks []string, requestType string, requestBody *bytes.Buffer) ([]byte, error)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL