immudbcmdtest

package
v1.4.0-RC2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImmuServerMock

type ImmuServerMock struct {
	Options     *server.Options
	Logger      logger.Logger
	StateSigner server.StateSigner
	Ssf         stream.ServiceFactory
	PgsqlSrv    pgsqlsrv.Server
	DbList      database.DatabaseList
}

func (*ImmuServerMock) Initialize added in v0.9.0

func (s *ImmuServerMock) Initialize() error

func (*ImmuServerMock) Start

func (s *ImmuServerMock) Start() error

func (*ImmuServerMock) Stop

func (s *ImmuServerMock) Stop() error

func (*ImmuServerMock) WithDbList added in v1.4.0

func (s *ImmuServerMock) WithDbList(dbList database.DatabaseList) server.ImmuServerIf

func (*ImmuServerMock) WithLogger

func (s *ImmuServerMock) WithLogger(logger logger.Logger) server.ImmuServerIf

func (*ImmuServerMock) WithOptions

func (s *ImmuServerMock) WithOptions(options *server.Options) server.ImmuServerIf

func (*ImmuServerMock) WithPgsqlServer added in v1.0.0

func (s *ImmuServerMock) WithPgsqlServer(psrv pgsqlsrv.Server) server.ImmuServerIf

func (*ImmuServerMock) WithStateSigner added in v0.9.0

func (s *ImmuServerMock) WithStateSigner(stateSigner server.StateSigner) server.ImmuServerIf

func (*ImmuServerMock) WithStreamServiceFactory added in v0.9.2

func (s *ImmuServerMock) WithStreamServiceFactory(ssf stream.ServiceFactory) server.ImmuServerIf

type ManpageServiceMock

type ManpageServiceMock struct{}

func (ManpageServiceMock) InstallManPages

func (ms ManpageServiceMock) InstallManPages(dir string, serviceName string, cmd *cobra.Command) error

InstallManPages installs man pages

func (ManpageServiceMock) UninstallManPages

func (ms ManpageServiceMock) UninstallManPages(dir string, serviceName string) error

UninstallManPages uninstalls man pages

Jump to

Keyboard shortcuts

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