Documentation ¶
Index ¶
Constants ¶
View Source
const ( Type = "redis" TypeV1 = Type + runtime.VersionSeparator + "v1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Method ¶
type Method struct {
// contains filtered or unexported fields
}
Method finally publishes events.
func (*Method) NotifyComponentVersion ¶
func (m *Method) NotifyComponentVersion(version common.NameVersion) error
type Spec ¶
type Spec struct { runtime.ObjectVersionedType ServerAddr string `json:"serverAddr"` Channel string `json:"channel"` Database int `json:"database"` }
Spec provides a pub sub adapter registering events at its provider.
func (*Spec) PubSubMethod ¶
func (s *Spec) PubSubMethod(repo cpi.Repository) (pubsub.PubSubMethod, error)
Click to show internal directories.
Click to hide internal directories.