Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterExporter ¶
Types ¶
type Console ¶
type Console struct {
// contains filtered or unexported fields
}
Console Exporter exports the events into console logs, this exporter is typically used for debugging.
type ConsoleConfig ¶
type ConsoleConfig struct {
Template *EventTemplate `mapstructure:"template"`
}
type EventTemplate ¶
type EventTemplate struct { Source event.Source `mapstructure:"source"` Message string `mapstructure:"message"` // contains filtered or unexported fields }
func (*EventTemplate) Init ¶
func (tmplt *EventTemplate) Init() (err error)
type Exporter ¶
type Exporter interface { Name() string Init(ctx context.Context) error Export(ctx context.Context, events chan *v1.Event) }
func GetExporter ¶
type SkyWalking ¶
type SkyWalking struct {
// contains filtered or unexported fields
}
SkyWalking Exporter exports the events into Apache SkyWalking OAP server.
func (*SkyWalking) Export ¶
func (exporter *SkyWalking) Export(ctx context.Context, events chan *k8score.Event)
func (*SkyWalking) Name ¶
func (exporter *SkyWalking) Name() string
type SkyWalkingConfig ¶
type SkyWalkingConfig struct { Address string `mapstructure:"address"` Template *EventTemplate `mapstructure:"template"` EnableTLS bool `mapstructure:"enableTLS"` ClientCertPath string `mapstructure:"clientCertPath"` ClientKeyPath string `mapstructure:"clientKeyPath"` TrustedCertPath string `mapstructure:"trustedCertPath"` InsecureSkipVerify bool `mapstructure:"insecureSkipVerify"` }
type SourceTemplate ¶
type SourceTemplate struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.