This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(modbus): add modbus mqtt extension
- Loading branch information
1 parent
027e191
commit 278b386
Showing
12 changed files
with
1,310 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package v1alpha1 | ||
|
||
import "github.com/rancher/octopus/pkg/mqtt/api/v1alpha1" | ||
|
||
// DeviceExtensionSpec defines the desired state of device extension. | ||
type DeviceExtensionSpec struct { | ||
// Specifies the MQTT settings. | ||
// +optional | ||
MQTT *v1alpha1.MQTTOptionsSpec `json:"mqtt,omitempty"` | ||
} | ||
|
||
// DeviceExtensionStatus defines the observed state of device extension. | ||
type DeviceExtensionStatus struct { | ||
// Reports the MQTT settings. | ||
// +optional | ||
MQTT *v1alpha1.MQTTOptionsStatus `json:"mqtt,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.