healthcheck

package
v0.0.0-...-c201ef6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMissingTablets

func GetMissingTablets(client *client.YBClient, tablets []string) ([]string, error)

func GetReplicatedIndexes

func GetReplicatedIndexes(log logr.Logger, client *client.YBClient, streamID string, tablets ...string) (*healthcheck.CDCReplicatedIndexListPB, error)

Types

type CDCProducerReport

type CDCProducerReport struct {
	*healthcheck.CDCProducerReportPB

	Log            logr.Logger
	ConsumerClient *client.YBClient
	ConsumerUUID   string
	Producer       *cdc.ProducerEntryPB
	Config         *config.UniverseConfigPB
}

func NewCDCProducerReport

func NewCDCProducerReport(log logr.Logger, consumerClient *client.YBClient, consumerClusterConfig *config.UniverseConfigPB, consumerUUID string, producerID string, producer *cdc.ProducerEntryPB) *CDCProducerReport

func (*CDCProducerReport) RunCheck

func (r *CDCProducerReport) RunCheck() error

type CDCProducerStreamReport

type CDCProducerStreamReport struct {
	*healthcheck.CDCProducerStreamReportPB

	Log            logr.Logger
	ConsumerClient *client.YBClient
	ProducerClient *client.YBClient
	StreamEntry    *cdc.StreamEntryPB
	ConsumerSchema *master.GetTableSchemaResponsePB
	ProducerSchema *master.GetTableSchemaResponsePB
}

func NewCDCProducerStreamReport

func NewCDCProducerStreamReport(log logr.Logger, consumerClient *client.YBClient, producerClient *client.YBClient, streamID string, streamEntry *cdc.StreamEntryPB) (*CDCProducerStreamReport, error)

func (*CDCProducerStreamReport) RunCheck

func (r *CDCProducerStreamReport) RunCheck() error

Jump to

Keyboard shortcuts

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