kafka

package
v1.47.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: GPL-3.0 Imports: 19 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(endpoint string) integration.Plugin

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func (*Plugin) ActiveRunsListTopic

func (p *Plugin) ActiveRunsListTopic() string

func (*Plugin) CallStack

func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{})

func (*Plugin) Destroy

func (p *Plugin) Destroy() error

func (*Plugin) ErrorLoggerCallback added in v0.45.2

func (p *Plugin) ErrorLoggerCallback(msg string, a ...interface{})

func (*Plugin) FSMEnterStateTopic added in v0.41.0

func (p *Plugin) FSMEnterStateTopic(state string) string

func (*Plugin) FSMLeaveStateTopic added in v0.41.0

func (p *Plugin) FSMLeaveStateTopic(state string) string

func (*Plugin) GetConnectionState

func (p *Plugin) GetConnectionState() string

func (*Plugin) GetData

func (p *Plugin) GetData(_ []any) string

func (*Plugin) GetEndpoint

func (p *Plugin) GetEndpoint() string

func (*Plugin) GetEnvironmentsData added in v0.56.0

func (p *Plugin) GetEnvironmentsData(_ []uid.ID) map[uid.ID]string

func (*Plugin) GetEnvironmentsShortData added in v0.79.0

func (p *Plugin) GetEnvironmentsShortData(_ []uid.ID) map[uid.ID]string

func (*Plugin) GetName

func (p *Plugin) GetName() string

func (*Plugin) GetPrettyName

func (p *Plugin) GetPrettyName() string

func (*Plugin) GetRunningEnvList

func (p *Plugin) GetRunningEnvList() []*kafkapb.EnvInfo

func (*Plugin) Init

func (p *Plugin) Init(_ string) error

func (*Plugin) LoggerCallback added in v0.45.2

func (p *Plugin) LoggerCallback(msg string, a ...interface{})

func (*Plugin) ObjectStack

func (p *Plugin) ObjectStack(_ map[string]string, _ map[string]string) (stack map[string]interface{})

func (*Plugin) SortDetectorsOfRunningEnvs added in v1.39.0

func (p *Plugin) SortDetectorsOfRunningEnvs(activeEnvs []*kafkapb.EnvInfo)

func (*Plugin) SortRunningEnvList added in v1.39.0

func (p *Plugin) SortRunningEnvList(activeEnvs []*kafkapb.EnvInfo)

OCTRL-932 we sort the active envs here are grafana cannot do it order is defined as: 1) runs with more than 2 detectors first 2) if there are more than 2 runs with more than 2 detectors, those with ITS should be first

func (*Plugin) StartActivityTopic added in v0.49.0

func (p *Plugin) StartActivityTopic(trigger string) string

func (*Plugin) UpdateRunningEnvList

func (p *Plugin) UpdateRunningEnvList(envInfo *kafkapb.EnvInfo)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL