Versions in this module Expand all Collapse all v0 v0.2.0 Sep 13, 2019 Changes in this version + type APIClient struct + HTTPClient *http.Client + Service *Service + func Connect(config ClientConfig) (c *APIClient, err error) + func ConnectDefault(endpoint string) (c *APIClient, err error) + func (c *APIClient) Delete(url string) error + func (c *APIClient) Get(url string) (*http.Response, error) + func (c *APIClient) Logout() + func (c *APIClient) Patch(url string, payload interface{}) (*http.Response, error) + func (c *APIClient) Post(url string, payload interface{}) (*http.Response, error) + func (c *APIClient) Put(url string, payload interface{}) (*http.Response, error) + type ClientConfig struct + Endpoint string + HTTPClient *http.Client + Insecure bool + Password string + Username string + type Expand struct + ExpandAll bool + Levels bool + Links bool + MaxLevels int + NoLinks bool + type ProtocolFeaturesSupported struct + ExcerptQuery bool + ExpandQuery Expand + FilterQuery bool + OnlyMemberQuery bool + SelectQuery bool + type Service struct + Description string + ODataContext string + ODataEtag string + ODataID string + ODataType string + Product string + ProtocolFeaturesSupported ProtocolFeaturesSupported + RedfishVersion string + UUID string + Vendor string + func ServiceRoot(c common.Client) (*Service, error) + func (serviceroot *Service) AccountService() (*redfish.AccountService, error) + func (serviceroot *Service) Chassis() ([]*redfish.Chassis, error) + func (serviceroot *Service) CompositionService() (*redfish.CompositionService, error) + func (serviceroot *Service) CreateSession(username string, password string) (*redfish.AuthToken, error) + func (serviceroot *Service) DeleteSession(url string) error + func (serviceroot *Service) EventService() (*redfish.EventService, error) + func (serviceroot *Service) Managers() ([]*redfish.Manager, error) + func (serviceroot *Service) Sessions() ([]*redfish.Session, error) + func (serviceroot *Service) StorageServices() ([]*swordfish.StorageService, error) + func (serviceroot *Service) StorageSystems() ([]*swordfish.StorageSystem, error) + func (serviceroot *Service) Systems() ([]*redfish.ComputerSystem, error) + func (serviceroot *Service) Tasks() ([]*redfish.Task, error) + func (serviceroot *Service) UnmarshalJSON(b []byte) error v0.1.0 Aug 10, 2019