throttlerapp

package
v0.15.10 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Concatenate

func Concatenate(names ...string) string

func ExemptFromChecks

func ExemptFromChecks(appName string) bool

ExemptFromChecks returns 'true' for apps that should skip the throttler checks. The throttler should always respond with automated "OK" to those apps, without delay. These apps also do not cause a heartbeat renewal.

Types

type Name

type Name string
const (
	// DefaultName is the app name used by vitess when app doesn't indicate its name
	DefaultName             Name = "default"
	VitessName              Name = "vitess"
	ThrottlerStimulatorName Name = "throttler-stimulator"

	TableGCName   Name = "tablegc"
	OnlineDDLName Name = "online-ddl"
	GhostName     Name = "gh-ost"
	PTOSCName     Name = "pt-osc"

	VReplicationName      Name = "vreplication"
	VStreamerName         Name = "vstreamer"
	VPlayerName           Name = "vplayer"
	VCopierName           Name = "vcopier"
	ResultStreamerName    Name = "resultstreamer"
	RowStreamerName       Name = "rowstreamer"
	ExternalConnectorName Name = "external-connector"
	ReplicaConnectorName  Name = "replica-connector"

	BinlogWatcherName Name = "binlog-watcher"
	MessagerName      Name = "messager"
	SchemaTrackerName Name = "schema-tracker"
)

func (Name) Concatenate

func (n Name) Concatenate(other Name) Name

func (Name) ConcatenateString

func (n Name) ConcatenateString(s string) string

func (Name) Equals

func (n Name) Equals(s string) bool

func (Name) String

func (n Name) String() string

Jump to

Keyboard shortcuts

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