cmd

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kafkactl

type Kafkactl struct {
	*cobra.Command
	// contains filtered or unexported fields
}

func New

func New() *Kafkactl

func (*Kafkactl) Configuration

func (cmd *Kafkactl) Configuration() *internal.Configuration

func (*Kafkactl) ConnectAdmin

func (cmd *Kafkactl) ConnectAdmin() (sarama.ClusterAdmin, error)

func (*Kafkactl) ConnectClient

func (cmd *Kafkactl) ConnectClient(conf *sarama.Config) (sarama.Client, error)

func (*Kafkactl) SaramaConfig

func (cmd *Kafkactl) SaramaConfig() (*sarama.Config, error)

func (*Kafkactl) SaveConfiguration

func (cmd *Kafkactl) SaveConfiguration() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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