consul

package
v0.0.0-...-b2d74e5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName  = "backup"
	TypeName   = "input"
	ModuleName = "consul"
)

Module Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupInputConsul

type BackupInputConsul struct {
	core.Module
	// contains filtered or unexported fields
}

BackupInputConsul is struct storing inner properties for mysql backups

func (*BackupInputConsul) Close

func (b *BackupInputConsul) Close() error

Close closes ...

func (*BackupInputConsul) GetConfig

func (b *BackupInputConsul) GetConfig() interface{}

GetConfig returns config of module

func (*BackupInputConsul) GetGroup

func (b *BackupInputConsul) GetGroup() core.ModuleGroup

GetGroup returns group

func (*BackupInputConsul) GetName

func (b *BackupInputConsul) GetName() string

GetName returns name of module

func (*BackupInputConsul) GetType

func (b *BackupInputConsul) GetType() core.ModuleType

GetType returns type

func (*BackupInputConsul) InitModule

func (b *BackupInputConsul) InitModule(cfg interface{}) error

InitModule initializes module

func (*BackupInputConsul) InitPipe

func (b *BackupInputConsul) InitPipe(w io.Writer, r io.Reader) error

InitPipe initializes pipe

func (*BackupInputConsul) Run

func (b *BackupInputConsul) Run(ctx context.Context) error

Run dumps database

type Config

type Config struct{}

Jump to

Keyboard shortcuts

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