cb

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCmd

func NewRootCmd(cli cli.CLI) *cobra.Command

func Output

func Output(cli output.FormatContext, data interface{}) error

Types

type CircuitBreakerSettings

type CircuitBreakerSettings struct {
	// TCP
	MaxConnections int32  `` /* 133-byte string literal not displayed */
	ConnectTimeout string `` /* 127-byte string literal not displayed */

	// HTTP
	HTTP1MaxPendingRequests  int32 `` /* 139-byte string literal not displayed */
	HTTP2MaxRequests         int32 `json:"http2MaxRequests,omitempty" yaml:"http2MaxRequests,omitempty" survey.question:"Maximum number of requests"`
	MaxRequestsPerConnection int32 `` /* 143-byte string literal not displayed */
	MaxRetries               int32 `json:"maxRetries,omitempty" yaml:"maxRetries,omitempty" survey.question:"Maximum number of retries"`

	// Outlier
	ConsecutiveErrors  int32  `` /* 129-byte string literal not displayed */
	Interval           string `json:"interval,omitempty" yaml:"interval,omitempty" survey.question:"Time interval between ejection sweep analysis"`
	BaseEjectionTime   string `json:"baseEjectionTime,omitempty" yaml:"baseEjectionTime,omitempty" survey.question:"Minimum ejection duration"`
	MaxEjectionPercent int32  `json:"maxEjectionPercent,omitempty" yaml:"maxEjectionPercent,omitempty" survey.question:"Maximum ejection percentage"`
}

Jump to

Keyboard shortcuts

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