Documentation ¶
Overview ¶
Package status contains types and helpers to manipulate the status of source objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PropagateCondition ¶
func PropagateCondition(ctx context.Context, p *Patcher, src *v1alpha1.AWSSNSSource, cond *apis.Condition) error
PropagateCondition propagates a status condition to the status of the given source object using the provided Patcher.
Types ¶
type Clock ¶
type Clock interface {
Now() apis.VolatileTime
}
Clock can override the timestamp returned by time.Now().
func ClockFromContext ¶
ClockFromContext returns the Clock stored in the context.
type Patcher ¶
type Patcher struct {
// contains filtered or unexported fields
}
Patcher can apply patches to the status of source objects.
func NewPatcher ¶
func NewPatcher(component string, cli clientv1alpha1.AWSSNSSourceInterface) *Patcher
NewPatcher returns a named Patcher scoped at the provided namespace and initialized from the client interface carried by ctx.
Click to show internal directories.
Click to hide internal directories.