Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateEvaluationAttributes ¶
type CreateEvaluationAttributes struct { SpanName string Definition apilifecycle.KeptnEvaluationDefinition CheckType apicommon.CheckType }
type Handler ¶
type Handler struct { client.Client EventSender eventsender.IEvent Log logr.Logger Tracer telemetry.ITracer Scheme *runtime.Scheme SpanHandler telemetry.ISpanHandler }
func NewHandler ¶
func NewHandler(client client.Client, eventSender eventsender.IEvent, log logr.Logger, tracer telemetry.ITracer, scheme *runtime.Scheme, spanHandler telemetry.ISpanHandler) Handler
NewHandler creates a new instance of the Handler.
func (Handler) CreateKeptnEvaluation ¶
func (Handler) ReconcileEvaluations ¶
func (r Handler) ReconcileEvaluations(ctx context.Context, phaseCtx context.Context, reconcileObject client.Object, evaluationCreateAttributes CreateEvaluationAttributes) ([]apilifecycle.ItemStatus, apicommon.StatusSummary, error)
type IEvaluationHandler ¶
type IEvaluationHandler interface {
ReconcileEvaluations(ctx context.Context, phaseCtx context.Context, reconcileObject client.Object, evaluationCreateAttributes CreateEvaluationAttributes) ([]apilifecycle.ItemStatus, apicommon.StatusSummary, error)
}
Click to show internal directories.
Click to hide internal directories.