google_cloudsql

package
v0.41.3 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: BSD-2-Clause, BSD-3-Clause, PostgreSQL Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogTestRun

func LogTestRun(server *state.Server, globalCollectionOpts state.CollectionOpts, logger *util.Logger) error

func SetupLogReceiver

func SetupLogReceiver(ctx context.Context, servers []*state.Server, globalCollectionOpts state.CollectionOpts, logger *util.Logger, gcpLogStream <-chan LogStreamItem)

func SetupLogSubscriber

func SetupLogSubscriber(ctx context.Context, wg *sync.WaitGroup, globalCollectionOpts state.CollectionOpts, logger *util.Logger, servers []*state.Server, gcpLogStream chan LogStreamItem) error

Types

type LogStreamItem

type LogStreamItem struct {
	GcpProjectID          string
	GcpCloudSQLInstanceID string
	OccurredAt            time.Time
	Content               string
}

Jump to

Keyboard shortcuts

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