broker

package
v5.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteBrokerIDs

func CompleteBrokerIDs(_ *cobra.Command, args []string, _ string) ([]string, cobra.ShellCompDirective)

Types

type Broker

type Broker struct {
	ID      int32
	Address string
	Configs []internal.Config `json:",omitempty" yaml:",omitempty"`
}

func FromYaml

func FromYaml(yamlString string) (Broker, error)

type DescribeBrokerFlags

type DescribeBrokerFlags struct {
	OutputFormat string
}

type GetBrokersFlags

type GetBrokersFlags struct {
	OutputFormat string
}

type Operation

type Operation struct {
}

func (*Operation) DescribeBroker

func (operation *Operation) DescribeBroker(id int32, flags DescribeBrokerFlags) error

func (*Operation) GetBrokers

func (operation *Operation) GetBrokers(flags GetBrokersFlags) error

Jump to

Keyboard shortcuts

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