Documentation
¶
Index ¶
- func ExecuteConn(sockeFilePath string) (*grpc.ClientConn, error)
- type ObservabilityActionPolicyReconciler
- func (r *ObservabilityActionPolicyReconciler) FindResourceNameByIndex(obi *arbiterv1alpha1.ObservabilityIndicant) (string, error)
- func (r *ObservabilityActionPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ObservabilityActionPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
- type ObservabilityIndicantReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteConn ¶
func ExecuteConn(sockeFilePath string) (*grpc.ClientConn, error)
Types ¶
type ObservabilityActionPolicyReconciler ¶
type ObservabilityActionPolicyReconciler struct {
client.Client
Scheme *runtime.Scheme
SockAddr string
}
ObservabilityActionPolicyReconciler reconciles a ObservabilityActionPolicy object
func (*ObservabilityActionPolicyReconciler) FindResourceNameByIndex ¶
func (r *ObservabilityActionPolicyReconciler) FindResourceNameByIndex(obi *arbiterv1alpha1.ObservabilityIndicant) (string, error)
func (*ObservabilityActionPolicyReconciler) Reconcile ¶
func (r *ObservabilityActionPolicyReconciler) 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. User should modify the Reconcile function to compare the state specified by the ObservabilityActionPolicy 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.11.0/pkg/reconcile
func (*ObservabilityActionPolicyReconciler) SetupWithManager ¶
func (r *ObservabilityActionPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ObservabilityIndicantReconciler ¶
ObservabilityIndicantReconciler reconciles a ObservabilityIndicant object
func (*ObservabilityIndicantReconciler) Reconcile ¶
func (r *ObservabilityIndicantReconciler) 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. User should Modify the Reconcile function to compare the state specified by the ObservabilityIndicant 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.11.0/pkg/reconcile
func (*ObservabilityIndicantReconciler) SetupWithManager ¶
func (r *ObservabilityIndicantReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.