Documentation ¶
Index ¶
Constants ¶
View Source
const (
DevicesInventory string = "/api/0.1.0/devices/%s"
)
Routes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type MenderAPI ¶
type MenderAPI struct {
// contains filtered or unexported fields
}
func NewMenderAPI ¶
func NewMenderAPI(uri string, options ...MenderAPIOption) (*MenderAPI, error)
type MenderAPIOption ¶
MenderAPIOption is the type of constructor options for NewMenderAPI
func WithHTTPClient ¶
func WithHTTPClient(client *http.Client) MenderAPIOption
Click to show internal directories.
Click to hide internal directories.