Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutomationReconciler ¶
AutomationReconciler reconciles a Automation object
func (*AutomationReconciler) Reconcile ¶
func (r *AutomationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Automation object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*AutomationReconciler) SetupWithManager ¶
func (r *AutomationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
func (*AutomationReconciler) TriggerLogic ¶
func (r *AutomationReconciler) TriggerLogic(ctx context.Context, trigger iotv1alpha1.AutomationSpec)
//period reconciler
type OCFDeviceBoardingReconciler ¶
OCFDeviceBoardingReconciler reconciles a OCFDeviceBoarding object
func (*OCFDeviceBoardingReconciler) Reconcile ¶
func (r *OCFDeviceBoardingReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the OCFDeviceBoarding object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*OCFDeviceBoardingReconciler) SetupWithManager ¶
func (r *OCFDeviceBoardingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OCFDeviceReconciler ¶
OCFDeviceReconciler reconciles a OCFDevice object
func (*OCFDeviceReconciler) OCFDeviceOnboard ¶
func (r *OCFDeviceReconciler) OCFDeviceOnboard()
func (*OCFDeviceReconciler) PeriodicReconcile ¶
func (r *OCFDeviceReconciler) PeriodicReconcile()
func (*OCFDeviceReconciler) Reconcile ¶
func (r *OCFDeviceReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the OCFDevice object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*OCFDeviceReconciler) SetupWithManager ¶
func (r *OCFDeviceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OCFDeviceResourceReconciler ¶
OCFDeviceResourceReconciler reconciles a OCFDeviceResource object
func (*OCFDeviceResourceReconciler) Reconcile ¶
func (r *OCFDeviceResourceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the OCFDeviceResource object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*OCFDeviceResourceReconciler) SetupWithManager ¶
func (r *OCFDeviceResourceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RawOCFDevice ¶
type RawOCFDevice struct { Details struct { DI string `json:"di"` RT []string `json:"rt"` IF []string `json:"if"` Name string `json:"n"` DMN *string `json:"dmn"` DMNO string `json:"dmno"` PIID string `json:"piid"` } `json:"details"` ID string `json:"id"` Name string `json:"name"` Owned bool `json:"owned"` OwnerID string `json:"ownerID"` }
structure of a discovered OCF device
type RawOCFDeviceResource ¶
type RawOCFDeviceResource struct {
Href string `json:"href"`
}
structure of raw device resources