Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusInternalServerError = "Server Error" StatusBadRequest = "Bad Request" StatusConflict = "Conflict Already Exists" StatusNotFound = "Not Found" StatusForbidden = "Forbidden" )
Declaring the Constant Values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DellTDClient ¶
type DellTDClient struct { DellFQDN string ClientId string ClientSecret string APIToken string Client *http.Client }
DellTDClient ... Contstructor required Variables
func NewDellTDClient ¶
func NewDellTDClient(target string, username string, password string, apiToken string) (*DellTDClient, error)
NewDellTDClient ... Initializes the Constructor with the above variables
func (*DellTDClient) FetchWarrantyInfo ¶
func (c *DellTDClient) FetchWarrantyInfo(hostName string, assetTag string) (AssetInfo, error)
FetchDellTD
Click to show internal directories.
Click to hide internal directories.