Documentation
¶
Index ¶
Constants ¶
View Source
const (
GitspaceInfraEvent events.EventType = "gitspace_infra_event"
)
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideReaderFactory, ProvideReporter, )
WireSet provides a wire set for this package.
Functions ¶
func NewReaderFactory ¶
func ProvideReaderFactory ¶
Types ¶
type GitspaceInfraEventPayload ¶
type GitspaceInfraEventPayload struct {
Infra types.Infrastructure `json:"infra,omitempty"`
Type enum.InfraEvent `json:"type"`
}
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader is the event reader for this package.
func (*Reader) Configure ¶
func (r *Reader) Configure(opts ...events.ReaderOption)
func (*Reader) RegisterGitspaceInfraEvent ¶
func (r *Reader) RegisterGitspaceInfraEvent( fn events.HandlerFunc[*GitspaceInfraEventPayload], opts ...events.HandlerOption, ) error
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter is the event reporter for this package.
func (*Reporter) EmitGitspaceInfraEvent ¶
Click to show internal directories.
Click to hide internal directories.