Documentation ¶
Index ¶
- func HandleApproveRequest(hc *hubclient.HubClient, deviceID string) error
- func HandleListRequests(hc *hubclient.HubClient) error
- func HandlePreApprove(hc *hubclient.HubClient, deviceID string, pubKey string, mac string) error
- func HandleSubmitRequest(hc *hubclient.HubClient, deviceID string, pubKey string, mac string) error
- func ProvisionApproveRequestCommand(hc **hubclient.HubClient) *cli.Command
- func ProvisionListCommand(hc **hubclient.HubClient) *cli.Command
- func ProvisionPreApproveCommand(hc **hubclient.HubClient) *cli.Command
- func ProvisionRequestCommand(hc **hubclient.HubClient) *cli.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleListRequests ¶
func HandlePreApprove ¶
HandlePreApprove adds a device to the list of pre-approved devices
deviceID is the ID of the device to pre-approve pubKey device's public key
func HandleSubmitRequest ¶
HandleSubmitRequest requests a provisioning token
deviceID is the ID of the device requesting a token pubKey is the public key to use, or use \"" to accept device offered key
func ProvisionApproveRequestCommand ¶
ProvisionApproveRequestCommand prov approve <deviceID>
func ProvisionListCommand ¶
func ProvisionPreApproveCommand ¶
ProvisionPreApproveCommand prov preapprove <deviceID> <pubKey> [<mac>]
func ProvisionRequestCommand ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.