Documentation ¶
Index ¶
- Variables
- func NewController() controller.Controller
- type StatusReconciler
- func (r *StatusReconciler) Healthz(*http.Request) error
- func (r *StatusReconciler) Name() string
- func (r *StatusReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
- func (r *StatusReconciler) SchemeBuilder() *scheme.Builder
- func (r *StatusReconciler) Setup(ctx context.Context, mgr ctrl.Manager, met *metrics.Metrics) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoOwnerProfile = errors.New("no owner profile defined for this status") ErrUnkownOwnerKind = errors.New("the node status owner is of an unknown kind") )
Functions ¶
func NewController ¶ added in v0.4.0
func NewController() controller.Controller
NewController returns a new empty controller instance.
Types ¶
type StatusReconciler ¶
type StatusReconciler struct {
// contains filtered or unexported fields
}
A StatusReconciler monitors node changes and updates the profile status.
func (*StatusReconciler) Healthz ¶ added in v0.4.0
func (r *StatusReconciler) Healthz(*http.Request) error
Healthz is the liveness probe endpoint of the controller.
func (*StatusReconciler) Name ¶ added in v0.4.0
func (r *StatusReconciler) Name() string
Name returns the name of the controller.
func (*StatusReconciler) Reconcile ¶
func (r *StatusReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Reconcile reconciles a NodeStatus.
func (*StatusReconciler) SchemeBuilder ¶ added in v0.4.0
func (r *StatusReconciler) SchemeBuilder() *scheme.Builder
SchemeBuilder returns the API scheme of the controller.
Click to show internal directories.
Click to hide internal directories.