Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventCanonicalType = "com.vmware.event.router" EventSpecVersion = cloudevents.VersionV1 EventContentType = cloudevents.ApplicationJSON )
Variables ¶
This section is empty.
Functions ¶
func NewFromVSphere ¶ added in v0.3.25
func NewFromVSphere(vcEvent vctypes.BaseEvent, source string, options ...Option) (*cloudevents.Event, error)
NewFromVSphere returns a compliant CloudEvent for the given vSphere event
Types ¶
type HttpInput ¶
type HttpInput struct {
// contains filtered or unexported fields
}
func NewHttpInput ¶
func NewHttpInput(options HttpInputOptions, processors *common.Processors, observability *common.Observability) *HttpInput
type HttpInputOptions ¶
type HttpInputOptions struct {
HealthcheckURL string
K8sURL string
WinEventURL string
RancherURL string
AlertmanagerURL string
GitlabURL string
DataDogURL string
Site24x7URL string
CloudflareURL string
GoogleURL string
AWSURL string
CustomJsonURL string
Listen string
Tls bool
Cert string
Key string
Chain string
HeaderTraceID string
}
type HttpProcessHandleFunc ¶ added in v0.1.0
type HttpProcessHandleFunc = func(w http.ResponseWriter, r *http.Request)
type Option ¶ added in v0.3.25
type Option func(e *cloudevents.Event) error
func WithAttributes ¶ added in v0.3.25
type PubSubInput ¶ added in v0.2.0
type PubSubInput struct {
// contains filtered or unexported fields
}
func NewPubSubInput ¶ added in v0.2.0
func NewPubSubInput(options PubSubInputOptions, processors *common.Processors, observability *common.Observability) *PubSubInput
type PubSubInputOptions ¶ added in v0.2.0
type VCInput ¶ added in v0.3.25
type VCInput struct {
// contains filtered or unexported fields
}
func NewVCInput ¶ added in v0.3.25
func NewVCInput(options VCInputOptions, processors *common.Processors, observability *common.Observability) *VCInput
Click to show internal directories.
Click to hide internal directories.