kafka

package
v0.0.0-...-1cb001c Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KafkaListErrorCounter, _ = otel.Meter("").Int64Counter("kafka_list_errors_total")
	KafkaListOpsCounter, _   = otel.Meter("").Int64Counter("kafka_list_ops_total")
	KafkaErrorCounter, _     = otel.Meter("").Int64Counter("kafka_errors_total")
	KafkaOpsCounter, _       = otel.Meter("").Int64Counter("kafka_ops_total")
)

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(informers k8s.ClusterInformers, log logrus.FieldLogger, db database.TeamRepo) *Client

func (*Client) Search

func (c *Client) Search(ctx context.Context, q string, filter *model.SearchFilter) []*search.Result

func (*Client) SupportsSearchFilter

func (c *Client) SupportsSearchFilter(filter *model.SearchFilter) bool

func (*Client) Topic

func (c *Client) Topic(env string, teamSlug slug.Slug, topicName string) (*model.KafkaTopic, error)

func (*Client) Topics

func (c *Client) Topics(teamSlug slug.Slug) ([]*model.KafkaTopic, error)

Jump to

Keyboard shortcuts

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