MCPcopy Index your code
hub / github.com/OpenFunction/OpenFunction / AddCondition

Method AddCondition

apis/events/v1alpha1/event.go:110–113  ·  view source on GitHub ↗
(condition Condition)

Source from the content-addressed store, hash-verified

108}
109
110func (t *Trigger) AddCondition(condition Condition) *Trigger {
111 t.Status.Conditions = append(t.Status.Conditions, condition)
112 return t
113}
114
115// SaveStatus will trigger an object update to save the current status conditions
116func (t *Trigger) SaveStatus(ctx context.Context, logger logr.Logger, cl client.Client) {

Callers 9

handleEventBusMethod · 0.45
handleSinkMethod · 0.45
handleEventSourceMethod · 0.45
createOrUpdateTriggerMethod · 0.45
handleEventBusMethod · 0.45
handleSubscriberMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected