Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EventSourceDoesNotExist is a condition reason used when an EventSource // referenced by a Feed does not exist. EventSourceDoesNotExist string = "EventSourceDoesNotExist" // EventSourceDeleting is a condition reason used when an EventSource // referenced by a feed has been marked for deletion. EventSourceDeleting string = "EventSourceDeleting" // EventTypeDoesNotExist is a condition reason used when an EventType // referenced by a Feed does not exist. EventTypeDoesNotExist string = "EventTypeDoesNotExist" // EventTypeDeleting is a condition reason used when an EventType // referenced by a feed has been marked for deletion. EventTypeDeleting string = "EventTypeDeleting" )
Variables ¶
This section is empty.
Functions ¶
func ProvideController ¶
func ProvideController(mrg manager.Manager) (controller.Controller, error)
ProvideController returns a Feed controller and adds it to the given Manager.
Types ¶
type EventSourceError ¶
type EventSourceError struct {
StatusError
}
EventSourceError is a StatusError specifically for EventSource errors.
func (*EventSourceError) Error ¶
func (es *EventSourceError) Error() string
Error implements the error interface.
type EventTypeError ¶
type EventTypeError struct {
StatusError
}
EventTypeError is a StatusError specifically for EventType errors.
func (*EventTypeError) Error ¶
func (es *EventTypeError) Error() string
Error implements the error interface.
type StatusError ¶
type StatusError struct { // Reason is a one-word CamelCase reason for the failure. Reason string // Message is a human-readable message describing the error. Message string }
StatusError can be returned from lower level functions and used as the input for setting conditions on the Feed.
func (*StatusError) Error ¶
func (se *StatusError) Error() string
Error implements the error interface.
Click to show internal directories.
Click to hide internal directories.