Documentation
¶
Index ¶
- type DevDeployer
- type LocalDeployer
- func (d *LocalDeployer) CreateFLNetwork(ctx context.Context) error
- func (d *LocalDeployer) PullCoreImage(ctx context.Context) error
- func (d *LocalDeployer) PullPromImage(ctx context.Context) error
- func (d *LocalDeployer) PullWorkerImage(ctx context.Context) error
- func (d *LocalDeployer) RemoveCoreContainer(ctx context.Context) error
- func (d *LocalDeployer) RemoveFLNetwork(ctx context.Context) error
- func (d *LocalDeployer) RemovePromContainer(ctx context.Context) error
- func (d *LocalDeployer) RemoveWorkerContainer(ctx context.Context) error
- func (d *LocalDeployer) Setup(ctx context.Context, coreImg, workerImg string) error
- func (d *LocalDeployer) StartCore(ctx context.Context) error
- func (d *LocalDeployer) StartProm(ctx context.Context) error
- func (d *LocalDeployer) StartWorker(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevDeployer ¶ added in v0.2.0
type DevDeployer interface {
Setup(ctx context.Context, coreImg, workerImg string) error
CreateFLNetwork(ctx context.Context) error
PullCoreImage(ctx context.Context) error
PullWorkerImage(ctx context.Context) error
PullPromImage(ctx context.Context) error
StartCore(ctx context.Context) error
StartWorker(ctx context.Context) error
StartProm(ctx context.Context) error
RemoveFLNetwork(ctx context.Context) error
RemoveCoreContainer(ctx context.Context) error
RemoveWorkerContainer(ctx context.Context) error
RemovePromContainer(ctx context.Context) error
}
func NewDevDeployer ¶ added in v0.2.0
func NewDevDeployer(coreContainerName, workerContainerName, flNetName string) DevDeployer
type LocalDeployer ¶
type LocalDeployer struct {
// contains filtered or unexported fields
}
func (*LocalDeployer) CreateFLNetwork ¶ added in v0.2.0
func (d *LocalDeployer) CreateFLNetwork(ctx context.Context) error
func (*LocalDeployer) PullCoreImage ¶
func (d *LocalDeployer) PullCoreImage(ctx context.Context) error
func (*LocalDeployer) PullPromImage ¶ added in v0.2.0
func (d *LocalDeployer) PullPromImage(ctx context.Context) error
func (*LocalDeployer) PullWorkerImage ¶
func (d *LocalDeployer) PullWorkerImage(ctx context.Context) error
func (*LocalDeployer) RemoveCoreContainer ¶
func (d *LocalDeployer) RemoveCoreContainer(ctx context.Context) error
func (*LocalDeployer) RemoveFLNetwork ¶ added in v0.2.0
func (d *LocalDeployer) RemoveFLNetwork(ctx context.Context) error
func (*LocalDeployer) RemovePromContainer ¶ added in v0.2.0
func (d *LocalDeployer) RemovePromContainer(ctx context.Context) error
func (*LocalDeployer) RemoveWorkerContainer ¶
func (d *LocalDeployer) RemoveWorkerContainer(ctx context.Context) error
func (*LocalDeployer) Setup ¶
func (d *LocalDeployer) Setup(ctx context.Context, coreImg, workerImg string) error
func (*LocalDeployer) StartProm ¶ added in v0.2.0
func (d *LocalDeployer) StartProm(ctx context.Context) error
func (*LocalDeployer) StartWorker ¶
func (d *LocalDeployer) StartWorker(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.