throttlerapp

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 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 added in v0.18.0

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"

	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 added in v0.18.0

func (n Name) Concatenate(other Name) Name

func (Name) ConcatenateString added in v0.18.0

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