throttlerapp

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExemptFromChecks

func ExemptFromChecks(appName string) bool

ExemptFromChecks returns 'true' for apps that should skip the throttler checks. The throttler should always repsond 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"

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

	VStreamerName         Name = "vstreamer"
	VReplicationName      Name = "vreplication"
	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) 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