factory

package
v0.0.0-...-63ace11 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployerFactory

type DeployerFactory struct {
	DeployerMap   map[string]deployerIntf.ServiceDeployer
	MaintainerMap map[string]deployerIntf.ServiceMaintainer
}

func NewDeployerFactory

func NewDeployerFactory() *DeployerFactory

func (*DeployerFactory) GetDeployer

func (h *DeployerFactory) GetDeployer(servType string) deployerIntf.ServiceDeployer

func (*DeployerFactory) GetMaintainer

func (h *DeployerFactory) GetMaintainer(servType string) deployerIntf.ServiceMaintainer

type ProberFactory

type ProberFactory struct {
	ProberMap map[string]checkerintf.CmptProber
}

func NewProberFactory

func NewProberFactory() *ProberFactory

func (*ProberFactory) GetProber

func (h *ProberFactory) GetProber(servType string) checkerintf.CmptProber

Jump to

Keyboard shortcuts

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