server

package
v0.0.0-...-4b22d1e Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerServerOptions

type BrokerServerOptions struct {
	RecommendedOptions *genericoptions.RecommendedOptions
	ExtraOptions       *ExtraOptions

	StdOut io.Writer
	StdErr io.Writer
}

func NewBrokerServerOptions

func NewBrokerServerOptions(out, errOut io.Writer) *BrokerServerOptions

func (BrokerServerOptions) AddFlags

func (o BrokerServerOptions) AddFlags(fs *pflag.FlagSet)

func (*BrokerServerOptions) Complete

func (o *BrokerServerOptions) Complete() error

func (BrokerServerOptions) Config

func (BrokerServerOptions) Run

func (o BrokerServerOptions) Run(stopCh <-chan struct{}) error

func (BrokerServerOptions) Validate

func (o BrokerServerOptions) Validate(args []string) error

type ExtraOptions

type ExtraOptions struct {
	DefaultNamespace string
	CatalogPath      string
	CatalogNames     []string
	Async            bool

	QPS   float64
	Burst int
}

func NewExtraOptions

func NewExtraOptions() *ExtraOptions

func (*ExtraOptions) AddFlags

func (s *ExtraOptions) AddFlags(fs *pflag.FlagSet)

func (*ExtraOptions) ApplyTo

func (s *ExtraOptions) ApplyTo(cfg *broker.Config) error

Jump to

Keyboard shortcuts

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