server

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackupBinlogService added in v0.4.0

func NewBackupBinlogService(agent *Agent) agentrpc.BackupBinlogServiceServer

NewBackupBinlogService creates a new BackupBinlogServiceServer

func NewCloneService added in v0.3.0

func NewCloneService(agent *Agent) agentrpc.CloneServiceServer

NewCloneService creates a new CloneServiceServer

func NewHealthService added in v0.3.0

func NewHealthService(agent *Agent) healthpb.HealthServer

NewHealthService creates a new HealthServiceServer

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

Agent is the agent to executes some MySQL commands of the own Pod

func New

func New(podName, clusterName, token, miscUserPassword, donorUserPassword, replicationSourceSecretPath, logDir string, mysqlAdminPort int, config *accessor.MySQLAccessorConfig) *Agent

New returns a Agent

func (*Agent) RotateLog

func (a *Agent) RotateLog()

RotateLog rotates log files

type BackupBinaryLogsParams added in v0.2.0

type BackupBinaryLogsParams struct {
	BackupID     string
	BucketHost   string
	BucketPort   int
	BucketName   string
	BucketRegion string

	AccessKeyID     string
	SecretAccessKey string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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