knative / observability

The controllers and config for custom resources pertaining to egressing logs and metrics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do we need SinkState/SinkStatus in Sink and ClusterSink

wfernandes opened this issue · comments

Creating this issue so that we may investigate the necessity for including the SinkStatus in the Sink and ClusterSink.

// SinkStatus is the status for a Sink resource
type SinkStatus struct {
State SinkState `json:"state,omitempty"`
Message string `json:"message,omitempty"`
}
type SinkState string
const (
SinkStateCreated SinkState = "Created"
SinkStateProcessed SinkState = "Processed"
)

Additional Reference: