Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) AddRedfishEndpoint(data []byte, headers map[string]string) error
- func (c *Client) GetComponentEndpoint(xname string) error
- func (c *Client) GetRedfishEndpoints(headers map[string]string, opts ...Option) error
- func (c *Client) MakeRequest(url string, method string, body []byte, headers map[string]string) (*http.Response, []byte, error)
- func (c *Client) UpdateRedfishEndpoint(xname string, data []byte, headers map[string]string) error
- type Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Host = "http://localhost" BaseEndpoint = "/hsm/v2" Port = 27779 )
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.0.7
func (*Client) AddRedfishEndpoint ¶ added in v0.0.7
func (*Client) GetComponentEndpoint ¶ added in v0.0.7
func (*Client) GetRedfishEndpoints ¶ added in v0.0.7
type Option ¶ added in v0.0.7
type Option func(*Client)
func WithCertPool ¶ added in v0.0.7
func WithHttpClient ¶ added in v0.0.7
func WithSecureTLS ¶ added in v0.0.7
Click to show internal directories.
Click to hide internal directories.