Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHardwareIter ¶ added in v1.1.4
func GetHardwareIter(session session.SLSession, options *sl.Options) (resp []datatypes.Hardware, err error)
Use go-routines to iterate through all hardware results. options should be any Mask or Filter you need, and a Limit if the default is too large. Any error in the subsequent API calls will be logged, but largely ignored
func GetRouterByName ¶
func GetRouterByName(sess *session.Session, hostname string, args ...interface{}) (datatypes.Hardware, error)
GeRouterByName returns a Hardware that matches the provided hostname, or an error if no matching Hardware can be found. SoftLayer does not provide a direct path to retrieve a list of router objects. So, get Location_Datacenter object at first and get an array of router objects from the Datacenter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.