workflows

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Orchestrator

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

func NewOrchestrator

func NewOrchestrator(logger *logrus.Logger, dockerMgr *docker.Manager) *Orchestrator

NewOrchestrator creates a new deployment orchestrator

func (*Orchestrator) Deploy

func (o *Orchestrator) Deploy(ctx context.Context, config *model.Deployment) error

Deploy deploys a new version of the application

func (*Orchestrator) GetLogs

func (o *Orchestrator) GetLogs(ctx context.Context, containerName string, lines int) (string, error)

GetLogs retrieves logs for the container

func (*Orchestrator) GetStatus

func (o *Orchestrator) GetStatus(ctx context.Context, containerName string) (string, error)

GetStatus returns the current deployment status

func (*Orchestrator) Rollback

func (o *Orchestrator) Rollback(ctx context.Context, config *model.Deployment) error

Rollback reverts to the previous version

Jump to

Keyboard shortcuts

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