models

package
v0.0.0-...-973c644 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	Name      string
	State     string
	Consumers int
}

func (*Group) ToTSRec

func (g *Group) ToTSRec() string

type GroupDesc

type GroupDesc struct {
	GroupID      string
	State        string
	Protocol     string
	ProtocolType string
}

type Node

type Node struct {
	ID           int32
	Address      string
	IsController bool
}

func (*Node) ToTSRec

func (n *Node) ToTSRec() string

type PartitionConfig

type PartitionConfig struct {
	Name      string
	Value     string
	ReadOnly  bool
	Sensitive bool
}

func (*PartitionConfig) ToTSRec

func (c *PartitionConfig) ToTSRec() string

type PartitionDetail

type PartitionDetail struct {
	Partition int32
	Leader    int32
	Replicas  []int32
	ISR       []int32
}

func (*PartitionDetail) ToTSRec

func (d *PartitionDetail) ToTSRec() string

type Topic

type Topic struct {
	Name       string
	Partitions int32
	Replicas   int16
}

func (Topic) ToTSRec

func (t Topic) ToTSRec() string

type TopicDesc

type TopicDesc struct {
	Name                string
	Internal            bool
	Compacted           bool
	SummedHighWatermark int
	Partitions          []*PartitionDetail
	Config              []*PartitionConfig
}

Jump to

Keyboard shortcuts

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