Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultEventTypeCreate = iota DefaultEventTypeModify = 1 DefaultEventTypeDelete = 2 DefaultEventTypeReady = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultEventType ¶
type DefaultEventType int32
type Event ¶
type Event[T any] struct { EventType T }
Event is a struct that represents a single event. It is a generic struct that can be cast to a more specific struct.
type INotify ¶
type INotify interface {
GetEvent() Event[DefaultEventType]
}
type Notifier ¶
type Notifier struct {
Event Event[DefaultEventType]
}
func (*Notifier) GetEvent ¶
func (w *Notifier) GetEvent() Event[DefaultEventType]
type Sync ¶
type Sync struct { URI string // contains filtered or unexported fields }
func NewK8sSync ¶
type SyncOption ¶ added in v0.7.3
type SyncOption func(s *Sync)
Click to show internal directories.
Click to hide internal directories.